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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
@use "mixins";
@use "variables";
/* btns */
.btn {
margin: 0;
padding: 0.5rem 1.5rem;
background: variables.$grey-lighter;
color: variables.$grey-dark;
font-size: 1rem;
border: none;
border-radius: 5px;
min-height: 25px;
min-width: 15px;
line-height: 25px;
vertical-align: middle;
@include mixins.transition(all, 0.15s, ease-in-out);
&.btn-important {
background: variables.$main-first;
color: variables.$white;
&:hover,
&:active {
background: variables.$main-first-alt;
}
img {
filter: brightness(3);
}
}
&.btn-attention {
background: variables.$alert-bg;
color: #fff;
&:hover,
&:active {
background: variables.$alert-text;
}
}
&:hover {
text-decoration: none;
}
}
/*=== Forms */
legend {
margin: 2rem 0 1rem 0;
padding: 0;
display: inline-block;
width: auto;
font-size: 1rem;
clear: both;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
}
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
color: variables.$grey-dark;
}
textarea {
max-width: 100%;
width: 360px;
height: 100px;
}
input, select, textarea, button {
padding: 5px 10px;
background: variables.$white;
color: variables.$grey-dark;
font-family: "lato", "Helvetica", "Arial", sans-serif;
font-size: 1rem;
border: 1px solid variables.$grey-light;
border-radius: 2px;
min-height: 25px;
line-height: 25px;
vertical-align: middle;
}
select {
padding-top: 9px;
padding-bottom: 9px;
}
option {
padding: 0 .5em;
}
input:focus, select:focus, textarea:focus {
color: variables.$main-font-color;
border-color: variables.$main-first;
}
input:invalid, select:invalid {
color: variables.$alert-bg;
border-color: variables.$alert-bg;
box-shadow: none;
}
input:disabled, select:disabled {
background: variables.$grey-light;
}
.form-group {
padding: 5px;
border-radius: 3px;
&::after {
display: block;
clear: both;
}
.group-name {
padding: 10px 0;
}
.group-controls {
min-height: 25px;
padding: 5px 0;
}
.group-controls .control {
line-height: 2.0em;
}
&.form-actions {
margin: 15px 0 25px;
padding: 5px 0;
}
&.form-actions .btn {
margin: 0 0.5rem 0 0;
}
}
|