aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-price-button-group/index.scss
blob: 7647c42c06c583d4907e58180204d9ade8e9aa38 (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.gas-price-button-group {
  margin-top: 22px;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;

  &__primary-currency {
    font-size: 18px;
    height: 20.5px;
    margin-bottom: 7.5px;
  }

  &__time-estimate {
    margin-top: 5.5px;
    color: $silver-chalice;
    height: 15.4px;
  }

  &__loading-container {
    height: 130px;
  }

  .button-group__button, .button-group__button--active {
    height: 130px;
    max-width: 108px;
    font-size: 12px;
    flex-direction: column;
    align-items: center;
    display: flex;
    padding-top: 17px;
    border-radius: 4px;
    border: 2px solid $spindle;
    background: $white;
    color: $scorpion;

    div {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    i {
      &:last-child {
        display: none;
      }
    }
  }

  .button-group__button--active {
    border: 2px solid $curious-blue;
    color: $scorpion;

    i {
      &:last-child {
        display: flex;
        color: $curious-blue;
        margin-top: 8px
      }
    }
  }
}

.gas-price-button-group--small {
  display: flex;
  justify-content: stretch;
  max-width: 260px;

  &__button-fiat-price {
    font-size: 13px;
  }

  &__button-label {
    font-size: 16px;
  }

  &__label {
    font-weight: 500;
  }

  &__primary-currency {
    font-size: 12px;
  }

  &__secondary-currency {
    font-size: 12px;
  }

  &__loading-container {
    height: 78px;
  }

  .button-group__button, .button-group__button--active {
    height: 78px;
    background: white;
    color: $scorpion;
    padding-top: 9px;
    padding-left: 8.5px;

    div {
      display: flex;
      flex-flow: column;
      align-items: flex-start;
      justify-content: flex-start;
    }

    i {
      &:last-child {
        display: none;
      }
    }
  }

  .button-group__button--active {
    color: $white;
    background: $dodger-blue;

    i {
      &:last-child {
        display: flex;
        color: $curious-blue;
        margin-top: 10px
      }
    }
  }
}