aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/transaction-view-balance/index.scss
blob: 659f896ff7a52a494fae49539ba579f5bcf57fcf (plain) (blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.transaction-view-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  height: 54px;
  min-width: 0;

  &__balance {
    margin: 0 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;

    @media screen and (max-width: $break-small) {
      align-items: center;
      margin: 16px 0;
    }
  }

  &__token-balance {
    margin-left: 12px;
    font-size: 1.5rem;

    @media screen and (max-width: $break-small) {
      margin: 12px 0;
      margin-left: 0;
      font-size: 1.75rem;
    }
  }

  &__primary-balance {
    font-size: 1.5rem;

    @media screen and (max-width: $break-small) {
      font-size: 1.75rem;
    }
  }

  &__secondary-balance {
    font-size: 1.15rem;
    color: #a0a0a0;
  }

  &__balance-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;

    @media screen and (max-width: $break-small) {
      flex-direction: column;
    }
  }

  &__buttons {
    display: flex;
    flex-direction: row;

    @media screen and (max-width: $break-small) {
      margin-bottom: 16px;
    }
  }

  &__button {
    min-width: initial;
    width: 100px;

    &:not(:last-child) {
      margin-right: 12px;
    }
  }

  @media screen and (max-width: $break-small) {
    flex-direction: column;
    height: initial
  }
}