-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
124 lines (107 loc) · 1.88 KB
/
styles.scss
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
html {
width: 100%;
height: 100%;
}
body {
background-color: #202020;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
color: #cdcdcd;
font-family: "Tahoma" !important;
font-weight: 600;
.container {
width: 100%;
display: flex;
flex-flow: row wrap;
justify-content: center;
.form {
width: auto;
margin: 1rem;
}
}
}
/* CSS */
.button {
width: 15.6rem;
appearance: none;
background-color: #2ea44f;
border: 1px solid rgba(27, 31, 35, 0.15);
border-radius: 6px;
box-shadow: rgba(27, 31, 35, 0.1) 0 1px 0;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 14px;
line-height: 20px;
margin-top: 1rem;
padding: 16px 16px;
position: relative;
text-align: center;
text-decoration: none;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
vertical-align: middle;
white-space: nowrap;
}
.button:focus:not(:focus-visible):not(.focus-visible) {
box-shadow: none;
outline: none;
}
.button:hover {
background-color: #2c974b;
}
.button:focus {
box-shadow: rgba(46, 164, 79, 0.4) 0 0 0 3px;
outline: none;
}
.button:disabled {
background-color: #94d3a2;
border-color: rgba(27, 31, 35, 0.1);
color: rgba(255, 255, 255, 0.8);
cursor: default;
}
.button:active {
background-color: #298e46;
box-shadow: rgba(20, 70, 32, 0.2) 0 1px 0 inset;
}
.form__label {
font-size: 1.2rem;
}
.form__input {
color: #333;
font-size: 1.2rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
padding: 0.5rem 0.4rem;
border-radius: 0.2rem;
background-color: rgb(255, 255, 255);
border: none;
width: 15rem;
display: block;
border-bottom: 0.3rem solid transparent;
transition: all 0.3s;
}
.range-slider {
input {
width: 15.5rem;
}
}
.messages {
display: flex;
flex-direction: column;
width: 15rem;
font-weight: 500;
> * {
margin-top: 1rem;
}
.errorMsg {
color: #e26e6e;
}
.infoMsg {
color: #EFEFEF;
}
}