aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/hero-balance.scss
blob: ccc9a01186086628b65d84f08017215a4308481b (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
.hero-balance {

  @media screen and (max-width: $break-small) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: .3em .9em 0;
    // height: 80vh;
    // max-height: 225px;
    flex: 0 0 auto;
  }

  @media screen and (min-width: $break-large) {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 2.3em 2.37em .8em;
    flex: 0 0 auto;
  }

  .balance-container {
    display: flex;
    margin: 0;
    justify-content: flex-start;
    align-items: center;

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

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

  .balance-display {
    .token-amount {
      color: $black;
    }

    @media screen and (max-width: $break-small) {
      text-align: center;

      .token-amount {
        font-size: 1.75rem;
        margin-top: 1rem;
      }

      .fiat-amount {
        font-size: 115%;
        margin-top: 8.5%;
        color: #a0a0a0;
      }
    }

    @media screen and (min-width: $break-large) {
      margin-left: .8em;
      justify-content: flex-start;
      align-items: flex-start;

      .token-amount {
        font-size: 1.5rem;
      }

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

  .hero-balance-buttons {

    @media screen and (max-width: $break-small) {
      width: 100%;
      // height: 100px; // needed a round number to set the heights of the buttons inside
      flex: 0 0 auto;
      padding: 16px 0;
    }

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

.hero-balance-button {
  width: 6rem;
}