aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/advanced-gas-inputs/index.scss
blob: 50953cbe5a793e699740f8f53e9702b0f7efb287 (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
128
129
130
131
132
133
.advanced-gas-inputs {
  &__gas-edit-rows {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
  }

  &__gas-edit-row {
    display: flex;
    flex-flow: column;
    width: 47.5%;

    &__label {
      color: #313B5E;
      font-size: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      @media screen and (max-width: 576px) {
        font-size: 10px;
      }
      
      .fa-info-circle {
        color: $silver;
        margin-left: 10px;
        cursor: pointer;
      }

      .fa-info-circle:hover {
        color: $mid-gray;
      }
    }

    &__error-text {
      font-size: 12px;
      color: red;
    }

    &__warning-text {
      font-size: 12px;
      color: orange;
    }

    &__input-wrapper {
      position: relative;
    }

    &__input {
      border: 1px solid $dusty-gray;
      border-radius: 4px;
      color: $mid-gray;
      font-size: 16px;
      height: 24px;
      width: 100%;
      padding-left: 8px;
      padding-top: 2px;
      margin-top: 7px;
    }

    &__input--error {
       border: 1px solid $red;
    }

    &__input--warning {
       border: 1px solid $orange;
    }

    &__input-arrows {
      position: absolute;
      top: 7px;
      right: 0px;
      width: 17px;
      height: 24px;
      border: 1px solid #dadada;
      border-top-right-radius: 4px;
      display: flex;
      flex-direction: column;
      color: #9b9b9b;
      font-size: .8em;
      border-bottom-right-radius: 4px;
      cursor: pointer;

      &__i-wrap {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        cursor: pointer;
      }

      &__i-wrap:hover {
        background: #4EADE7;
        color: $white;
      }

      i:hover {
        background: #4EADE7;
      }

      i {
        font-size: 10px;
      }
    }

    &__input-arrows--error {
      border: 1px solid $red;
    }

    &__input-arrows--warning {
      border: 1px solid $orange;
    }

    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      -moz-appearance: none;
      display: none;
    }

    input[type="number"]:hover::-webkit-inner-spin-button {
      -webkit-appearance: none;
      -moz-appearance: none;
      display: none;
    }

    &__gwei-symbol {
      position: absolute;
      top: 8px;
      right: 10px;
      color: $dusty-gray;
    }
  }
}