aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/customize-gas/index.scss
blob: e10452691293f16f81ff9629c664821c417826de (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
.customize-gas {
  border: 1px solid #D8D8D8;
  border-radius: 4px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.14);
  font-family: Roboto;
  display: flex;
  flex-flow: column;

  @media screen and (max-width: $break-small) {
    width: 100vw;
    height: 100vh;
  }

  &__header {
    height: 52px;
    border-bottom: 1px solid $alto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;

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

  &__title {
    margin-left: 19.25px;
  }

  &__close::after {
    content: '\00D7';
    font-size: 1.8em;
    color: $dusty-gray;
    font-family: sans-serif;
    cursor: pointer;
    margin-right: 19.25px;
  }

  &__content {
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
  }

  &__body {
    display: flex;
    margin-bottom: 24px;

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

  &__footer {
    height: 75px;
    border-top: 1px solid $alto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    position: relative;

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

  &__buttons {
    display: flex;
    justify-content: space-between;
    margin-right: 21.25px;
  }

  &__revert, &__cancel, &__save, &__save__error {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3px;
    cursor: pointer;
  }

  &__revert {
    color: $silver-chalice;
    font-size: 16px;
    margin-left: 21.25px;
  }

  &__cancel, &__save, &__save__error {
    width: 85.74px;
    min-width: initial;
  }

  &__save__error {
    opacity: 0.5;
    cursor: auto;
  }

  &__error-message {
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 12px;
    line-height: 12px;
    color: $red;
  }
}