aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/hero-balance.scss
blob: be5b69e0a853fa74ad4369492a51c1c1fe426631 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
$break-small: 575px;
$break-medium: 780px;
$break-large: 576px;

.hero-balance {
  @media screen and (max-width: $break-small) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0.3em 0.9em 0.8em 0.9em;
  }

  @media screen and (min-width: $break-large) {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 1.5em 0.9em 0.8em 0.9em;
  }

  .hero-balance-display {
    .fiat-amount {
      color: #A0A0A0;
      // TODO: colors
    }
    @media screen and (max-width: $break-small) {
      text-align: center;

      .token-amount {
        font-size: 1.8em;
        margin-top: 1em;
      }

      .fiat-amount {
        font-size: 1.1em;
        margin-top: 0.8em;
      }
    }

    @media screen and (min-width: $break-large) {
      flex-grow: 3;
      margin-left: 3%;

      .token-amount {
        font-size: 125%;
      }

      .fiat-amount {
        font-size: 105%;
      }

    }

  }

  .hero-balance-icon {
    border-radius: 10vw;
    // TODO: colors
    border: 1px solid #DEDEDE; 
    width: 5vw;
    height: 5vw;
    min-width: 45px;
    min-height: 45px;
    max-width: 65px;
    max-height: 65px;
  }

  .hero-balance-buttons {
    button.btn-clear {
      width: 5%;
      height: 32px;
      font-size: .7em;
      background: white;
      border: 1px solid;

      @media screen and (max-width: $break-small) {
        width: 100%;
        margin-top: 1.3em;
      }

      @media screen and (min-width: $break-large) {
        flex-grow: 2;
        height: 4.2vh;
        min-height: 28px;
        font-size: .7em;
      }

    }

    @media screen and (max-width: $break-small) {
      width: 100%;
      margin-top: 1.3em;
    }

    @media screen and (min-width: $break-large) {
      flex-grow: 2;
    }

  }
}