aboutsummaryrefslogtreecommitdiff
path: root/src/components/domain_mute_card/domain_mute_card.vue
blob: 567d81c508445ad8ccefbf5c3ed7446fc4d2d2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<template>
  <div class="domain-mute-card">
    <div class="domain-mute-card-domain">
      {{ domain }}
    </div>
    <ProgressButton
      :click="unmuteDomain"
      class="btn btn-default"
    >
      {{ $t('domain_mute_card.unmute') }}
      <template slot="progress">
        {{ $t('domain_mute_card.unmute_progress') }}
      </template>
    </ProgressButton>
  </div>
</template>

<script src="./domain_mute_card.js"></script>

<style lang="scss">
.domain-mute-card {
  flex: 1 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6em 1em 0.6em 0;

  &-domain {
    margin-right: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  button {
    width: 10em;
  }
}
</style>