semantic-forms 3.0.8 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -14
- package/package.json +13 -10
- package/semanticForms.css +252 -161
- package/semanticForms.js +85 -125
- package/{semanticFormsNoImages.less → semanticForms.less} +243 -76
- package/semanticFormsImages.less +0 -15
- package/semanticFormsImagesReset.less +0 -5
- package/semanticFormsNoImages.css +0 -369
- package/semanticFormsNoImagesReset.css +0 -372
- package/semanticFormsNoImagesReset.less +0 -5
- package/semanticFormsReset.css +0 -379
package/semanticForms.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.semanticForms {
|
|
1
|
+
form.semanticForms {
|
|
2
2
|
font-family: sans-serif;
|
|
3
3
|
}
|
|
4
|
-
.semanticForms input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
5
|
-
.semanticForms select,
|
|
6
|
-
.semanticForms textarea {
|
|
4
|
+
form.semanticForms input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
5
|
+
form.semanticForms select,
|
|
6
|
+
form.semanticForms textarea {
|
|
7
7
|
box-sizing: content-box;
|
|
8
8
|
background-color: #fff;
|
|
9
9
|
outline: 0;
|
|
@@ -15,92 +15,134 @@
|
|
|
15
15
|
font-family: sans-serif;
|
|
16
16
|
padding: 5px 20px;
|
|
17
17
|
}
|
|
18
|
-
.semanticForms input[type=color] {
|
|
18
|
+
form.semanticForms input[type=color] {
|
|
19
19
|
background-color: #fff;
|
|
20
|
-
border:
|
|
20
|
+
border: 1px #c0c0c0 solid;
|
|
21
|
+
border-radius: 10px;
|
|
21
22
|
width: 292px;
|
|
22
23
|
height: 37px;
|
|
23
24
|
padding: 5px 20px;
|
|
24
25
|
}
|
|
25
|
-
.semanticForms select {
|
|
26
|
+
form.semanticForms select {
|
|
26
27
|
box-sizing: border-box;
|
|
27
28
|
}
|
|
28
|
-
.semanticForms input[type=range] {
|
|
29
|
+
form.semanticForms input[type=range] {
|
|
29
30
|
border: 0 !important;
|
|
30
31
|
width: 248px !important;
|
|
31
32
|
}
|
|
32
|
-
.semanticForms fieldset {
|
|
33
|
+
form.semanticForms fieldset {
|
|
34
|
+
background-color: #f5f5f5;
|
|
35
|
+
border: 1px #c0c0c0 solid;
|
|
36
|
+
border-radius: 10px;
|
|
33
37
|
text-align: center;
|
|
34
38
|
margin-bottom: 25px;
|
|
35
39
|
}
|
|
36
|
-
.semanticForms fieldset p {
|
|
40
|
+
form.semanticForms fieldset p {
|
|
37
41
|
text-align: left;
|
|
38
42
|
width: 100%;
|
|
39
43
|
clear: both;
|
|
40
44
|
}
|
|
41
|
-
.semanticForms legend {
|
|
45
|
+
form.semanticForms legend {
|
|
42
46
|
text-align: left;
|
|
43
47
|
}
|
|
44
|
-
.semanticForms dl {
|
|
48
|
+
form.semanticForms dl {
|
|
45
49
|
text-align: left;
|
|
46
50
|
}
|
|
47
|
-
.semanticForms .checkboxes ul,
|
|
48
|
-
.semanticForms .radios ul {
|
|
51
|
+
form.semanticForms .checkboxes ul,
|
|
52
|
+
form.semanticForms .radios ul {
|
|
49
53
|
list-style: none;
|
|
50
54
|
padding: 0;
|
|
51
55
|
}
|
|
52
|
-
.semanticForms dd.checkboxes,
|
|
53
|
-
.semanticForms dd.radios {
|
|
56
|
+
form.semanticForms dd.checkboxes,
|
|
57
|
+
form.semanticForms dd.radios {
|
|
58
|
+
margin: 0;
|
|
59
|
+
}
|
|
60
|
+
form.semanticForms menu {
|
|
61
|
+
width: 100%;
|
|
62
|
+
clear: both;
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: space-between;
|
|
65
|
+
padding: 0;
|
|
66
|
+
}
|
|
67
|
+
form.semanticForms menu li {
|
|
68
|
+
list-style-type: none;
|
|
69
|
+
}
|
|
70
|
+
form.semanticForms menu input[type='submit'],
|
|
71
|
+
form.semanticForms menu input[type='reset'],
|
|
72
|
+
form.semanticForms menu input[type='image'],
|
|
73
|
+
form.semanticForms menu button {
|
|
74
|
+
float: none;
|
|
75
|
+
clear: none;
|
|
54
76
|
margin: 0;
|
|
55
77
|
}
|
|
56
|
-
.semanticForms input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
57
|
-
.semanticForms textarea {
|
|
58
|
-
background-image:
|
|
78
|
+
form.semanticForms input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
79
|
+
form.semanticForms textarea {
|
|
80
|
+
background-image: url("data:image/svg+xml;utf8,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 1000 1000' enable-background='new 0 0 1000 1000' xml:space='preserve'%3E%3Cg%3E%3Cpath fill='%23000' d='M964.7,157.6L622.3,500l342.4,342.4l0,0c15.7,15.7,25.3,37.3,25.3,61.1c0,47.7-38.7,86.5-86.5,86.5c-23.9,0-45.5-9.7-61.1-25.3l0,0L500,622.3L157.6,964.7l0,0C142,980.3,120.3,990,96.5,990C48.7,990,10,951.3,10,903.5c0-23.9,9.7-45.5,25.3-61.1l0,0L377.7,500L35.3,157.6l0,0C19.7,142,10,120.3,10,96.5C10,48.7,48.7,10,96.5,10c23.9,0,45.5,9.7,61.1,25.3l0,0L500,377.7L842.4,35.3l0,0C858,19.7,879.7,10,903.5,10c47.8,0,86.5,38.7,86.5,86.5C990,120.3,980.3,142,964.7,157.6L964.7,157.6z'/%3E%3C/g%3E%3C/svg%3E");
|
|
59
81
|
background-size: 12px;
|
|
60
82
|
background-repeat: no-repeat;
|
|
61
|
-
transition: background 0.2s;
|
|
62
83
|
}
|
|
63
|
-
.semanticForms input:not([type=checkbox]):not([type=radio]) {
|
|
84
|
+
form.semanticForms input:not([type=checkbox]):not([type=radio]) {
|
|
64
85
|
background-position: right -12px center;
|
|
65
86
|
}
|
|
66
|
-
.semanticForms textarea {
|
|
87
|
+
form.semanticForms textarea {
|
|
67
88
|
background-position: right -12px top 10px;
|
|
68
89
|
height: 100px;
|
|
69
90
|
}
|
|
70
|
-
.semanticForms
|
|
91
|
+
form.semanticForms select {
|
|
92
|
+
background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23000'%3E%3Cpolygon points='0,0 100,0 50,50'/%3E%3C/svg%3E");
|
|
93
|
+
background-size: 14px;
|
|
94
|
+
background-position: calc(99%) 16px;
|
|
95
|
+
background-repeat: no-repeat;
|
|
96
|
+
width: 292px;
|
|
97
|
+
height: 37px;
|
|
98
|
+
-webkit-appearance: none;
|
|
99
|
+
-moz-appearance: none;
|
|
100
|
+
appearance: none;
|
|
101
|
+
}
|
|
102
|
+
form.semanticForms input::placeholder {
|
|
71
103
|
color: #aaa;
|
|
104
|
+
opacity: 1;
|
|
72
105
|
}
|
|
73
|
-
.semanticForms textarea::placeholder {
|
|
106
|
+
form.semanticForms textarea::placeholder {
|
|
74
107
|
color: #aaa;
|
|
108
|
+
opacity: 1;
|
|
75
109
|
}
|
|
76
|
-
.semanticForms input:focus::placeholder {
|
|
110
|
+
form.semanticForms input:focus::placeholder {
|
|
77
111
|
color: #aaa;
|
|
112
|
+
opacity: 1;
|
|
78
113
|
}
|
|
79
|
-
.semanticForms input:focus::-moz-placeholder {
|
|
114
|
+
form.semanticForms input:focus::-moz-placeholder {
|
|
80
115
|
color: #aaa;
|
|
116
|
+
opacity: 1;
|
|
81
117
|
}
|
|
82
|
-
.semanticForms input:focus::-webkit-input-placeholder {
|
|
118
|
+
form.semanticForms input:focus::-webkit-input-placeholder {
|
|
83
119
|
color: #aaa;
|
|
120
|
+
opacity: 1;
|
|
84
121
|
}
|
|
85
|
-
.semanticForms input:focus:-ms-input-placeholder {
|
|
122
|
+
form.semanticForms input:focus:-ms-input-placeholder {
|
|
86
123
|
color: #aaa;
|
|
124
|
+
opacity: 1;
|
|
87
125
|
}
|
|
88
|
-
.semanticForms textarea:focus::placeholder {
|
|
126
|
+
form.semanticForms textarea:focus::placeholder {
|
|
89
127
|
color: #aaa;
|
|
128
|
+
opacity: 1;
|
|
90
129
|
}
|
|
91
|
-
.semanticForms textarea:focus::-moz-placeholder {
|
|
130
|
+
form.semanticForms textarea:focus::-moz-placeholder {
|
|
92
131
|
color: #aaa;
|
|
132
|
+
opacity: 1;
|
|
93
133
|
}
|
|
94
|
-
.semanticForms textarea:focus::-webkit-input-placeholder {
|
|
134
|
+
form.semanticForms textarea:focus::-webkit-input-placeholder {
|
|
95
135
|
color: #aaa;
|
|
136
|
+
opacity: 1;
|
|
96
137
|
}
|
|
97
|
-
.semanticForms textarea:focus:-ms-input-placeholder {
|
|
138
|
+
form.semanticForms textarea:focus:-ms-input-placeholder {
|
|
98
139
|
color: #aaa;
|
|
140
|
+
opacity: 1;
|
|
99
141
|
}
|
|
100
|
-
.semanticForms input[type='submit'],
|
|
101
|
-
.semanticForms input[type='reset'],
|
|
102
|
-
.semanticForms input[type='image'],
|
|
103
|
-
.semanticForms button {
|
|
142
|
+
form.semanticForms input[type='submit'],
|
|
143
|
+
form.semanticForms input[type='reset'],
|
|
144
|
+
form.semanticForms input[type='image'],
|
|
145
|
+
form.semanticForms button {
|
|
104
146
|
width: auto;
|
|
105
147
|
box-sizing: content-box;
|
|
106
148
|
float: none;
|
|
@@ -113,65 +155,44 @@
|
|
|
113
155
|
font-size: 100%;
|
|
114
156
|
margin: 25px 10px;
|
|
115
157
|
padding: 5px 25px;
|
|
116
|
-
border:
|
|
117
|
-
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #c0c0c0));
|
|
118
|
-
background-image: -o-linear-gradient(bottom, #fff 0%, #c0c0c0 100%);
|
|
119
|
-
background-image: -moz-linear-gradient(bottom, #fff 0%, #c0c0c0 100%);
|
|
120
|
-
background-image: -webkit-linear-gradient(bottom, #fff 0%, #c0c0c0 100%);
|
|
121
|
-
background-image: -ms-linear-gradient(bottom, #fff 0%, #c0c0c0 100%);
|
|
158
|
+
border: 2px #c0c0c0 solid;
|
|
122
159
|
background-image: linear-gradient(to bottom, #fff 0%, #c0c0c0 100%);
|
|
123
160
|
}
|
|
124
|
-
.semanticForms input[type='submit']:first-of-type,
|
|
125
|
-
.semanticForms input[type='reset']:first-of-type,
|
|
126
|
-
.semanticForms input[type='image']:first-of-type,
|
|
127
|
-
.semanticForms button:first-of-type {
|
|
161
|
+
form.semanticForms input[type='submit']:first-of-type,
|
|
162
|
+
form.semanticForms input[type='reset']:first-of-type,
|
|
163
|
+
form.semanticForms input[type='image']:first-of-type,
|
|
164
|
+
form.semanticForms button:first-of-type {
|
|
128
165
|
margin-left: 0;
|
|
129
166
|
}
|
|
130
|
-
.semanticForms input[type='submit']:active,
|
|
131
|
-
.semanticForms input[type='reset']:active,
|
|
132
|
-
.semanticForms input[type='image']:active,
|
|
133
|
-
.semanticForms button:active {
|
|
134
|
-
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(#fff, 0), color-stop(#c0c0c0, 1));
|
|
135
|
-
background-image: -o-linear-gradient(bottom, #c0c0c0 0%, #fff 100%);
|
|
136
|
-
background-image: -moz-linear-gradient(bottom, #c0c0c0 0%, #fff 100%);
|
|
137
|
-
background-image: -webkit-linear-gradient(bottom, #c0c0c0 0%, #fff 100%);
|
|
138
|
-
background-image: -ms-linear-gradient(bottom, #c0c0c0 0%, #fff 100%);
|
|
167
|
+
form.semanticForms input[type='submit']:active,
|
|
168
|
+
form.semanticForms input[type='reset']:active,
|
|
169
|
+
form.semanticForms input[type='image']:active,
|
|
170
|
+
form.semanticForms button:active {
|
|
139
171
|
background-image: linear-gradient(to bottom, #c0c0c0 0%, #fff 100%);
|
|
140
172
|
}
|
|
141
|
-
.semanticForms
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
height: 37px;
|
|
148
|
-
-webkit-appearance: none;
|
|
149
|
-
-moz-appearance: none;
|
|
150
|
-
appearance: none;
|
|
151
|
-
}
|
|
152
|
-
.semanticForms label.floatLabelFormAnimatedLabel,
|
|
153
|
-
.semanticForms input:not([type=checkbox]):not([type=radio]),
|
|
154
|
-
.semanticForms select,
|
|
155
|
-
.semanticForms textarea,
|
|
156
|
-
.semanticForms section {
|
|
157
|
-
transition: all 0.2s;
|
|
173
|
+
form.semanticForms label.floatLabelFormAnimatedLabel,
|
|
174
|
+
form.semanticForms input:not([type=checkbox]):not([type=radio]),
|
|
175
|
+
form.semanticForms select,
|
|
176
|
+
form.semanticForms textarea,
|
|
177
|
+
form.semanticForms section {
|
|
178
|
+
transition: color 0.2s, text-indent 0.2s, transform 0.2s, background-position 0.2s;
|
|
158
179
|
touch-action: manipulation;
|
|
159
180
|
}
|
|
160
|
-
.semanticForms .floatLabelForm {
|
|
181
|
+
form.semanticForms .floatLabelForm {
|
|
161
182
|
margin: 0 auto;
|
|
162
183
|
}
|
|
163
|
-
.semanticForms .floatLabelForm input[disabled] {
|
|
184
|
+
form.semanticForms .floatLabelForm input[disabled] {
|
|
164
185
|
opacity: 0.5;
|
|
165
186
|
}
|
|
166
|
-
.semanticForms .floatLabelForm input:not([type=date])::-webkit-clear-button {
|
|
187
|
+
form.semanticForms .floatLabelForm input:not([type=date])::-webkit-clear-button {
|
|
167
188
|
-webkit-appearance: none;
|
|
168
189
|
margin: 0;
|
|
169
190
|
}
|
|
170
|
-
.semanticForms .floatLabelForm dd {
|
|
191
|
+
form.semanticForms .floatLabelForm dd {
|
|
171
192
|
float: left;
|
|
172
193
|
margin: 0 10px 0 10px;
|
|
173
194
|
}
|
|
174
|
-
.semanticForms .floatLabelForm dt:not(.checkboxes):not(.radios) {
|
|
195
|
+
form.semanticForms .floatLabelForm dt:not(.checkboxes):not(.radios) {
|
|
175
196
|
font-size: 1px;
|
|
176
197
|
text-indent: 100%;
|
|
177
198
|
white-space: nowrap;
|
|
@@ -179,17 +200,17 @@
|
|
|
179
200
|
position: absolute;
|
|
180
201
|
right: 9999px;
|
|
181
202
|
}
|
|
182
|
-
.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios) {
|
|
203
|
+
form.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios) {
|
|
183
204
|
display: flex;
|
|
184
205
|
flex-flow: column-reverse;
|
|
185
206
|
}
|
|
186
|
-
.semanticForms .floatLabelForm .checkboxes ul,
|
|
187
|
-
.semanticForms .floatLabelForm .radios ul {
|
|
207
|
+
form.semanticForms .floatLabelForm .checkboxes ul,
|
|
208
|
+
form.semanticForms .floatLabelForm .radios ul {
|
|
188
209
|
margin: 3px 20px 0 0;
|
|
189
210
|
width: 262px;
|
|
190
211
|
padding-left: 10px;
|
|
191
212
|
}
|
|
192
|
-
.semanticForms .floatLabelForm label.floatLabelFormAnimatedLabel {
|
|
213
|
+
form.semanticForms .floatLabelForm label.floatLabelFormAnimatedLabel {
|
|
193
214
|
width: 170px;
|
|
194
215
|
padding: 6px 15px;
|
|
195
216
|
font-size: 75%;
|
|
@@ -201,176 +222,246 @@
|
|
|
201
222
|
transform-origin: left bottom;
|
|
202
223
|
transform: translate(0, 38px) scale(1.5);
|
|
203
224
|
}
|
|
204
|
-
.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios).singleCheckbox {
|
|
225
|
+
form.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios).singleCheckbox {
|
|
205
226
|
width: 292px;
|
|
206
227
|
display: flex;
|
|
207
228
|
flex-direction: row-reverse;
|
|
208
229
|
align-items: flex-start;
|
|
209
230
|
justify-content: left;
|
|
210
231
|
}
|
|
211
|
-
.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios).singleCheckbox label {
|
|
232
|
+
form.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios).singleCheckbox label {
|
|
212
233
|
margin-top: 10px;
|
|
213
234
|
}
|
|
214
|
-
.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios).singleCheckbox input {
|
|
235
|
+
form.semanticForms .floatLabelForm dd:not(.checkboxes):not(.radios).singleCheckbox input {
|
|
215
236
|
margin: 10px 10px 0 0;
|
|
216
237
|
}
|
|
217
|
-
.semanticForms .floatLabelForm ::placeholder {
|
|
238
|
+
form.semanticForms .floatLabelForm ::placeholder {
|
|
218
239
|
opacity: 0;
|
|
219
240
|
transition: inherit;
|
|
220
241
|
}
|
|
221
|
-
.semanticForms .floatLabelForm ::-moz-placeholder {
|
|
242
|
+
form.semanticForms .floatLabelForm ::-moz-placeholder {
|
|
222
243
|
opacity: 0;
|
|
223
244
|
transition: inherit;
|
|
224
245
|
}
|
|
225
|
-
.semanticForms .floatLabelForm ::-webkit-input-placeholder {
|
|
246
|
+
form.semanticForms .floatLabelForm ::-webkit-input-placeholder {
|
|
226
247
|
opacity: 0;
|
|
227
248
|
transition: inherit;
|
|
228
249
|
}
|
|
229
|
-
.semanticForms .floatLabelForm :-ms-input-placeholder {
|
|
250
|
+
form.semanticForms .floatLabelForm :-ms-input-placeholder {
|
|
230
251
|
opacity: 0;
|
|
231
252
|
transition: inherit;
|
|
232
253
|
}
|
|
233
|
-
.semanticForms .floatLabelForm input:focus::placeholder {
|
|
254
|
+
form.semanticForms .floatLabelForm input:focus::placeholder {
|
|
234
255
|
opacity: 1;
|
|
235
256
|
}
|
|
236
|
-
.semanticForms .floatLabelForm input:focus::-moz-placeholder {
|
|
257
|
+
form.semanticForms .floatLabelForm input:focus::-moz-placeholder {
|
|
237
258
|
opacity: 1;
|
|
238
259
|
}
|
|
239
|
-
.semanticForms .floatLabelForm input:focus::-webkit-input-placeholder {
|
|
260
|
+
form.semanticForms .floatLabelForm input:focus::-webkit-input-placeholder {
|
|
240
261
|
opacity: 1;
|
|
241
262
|
}
|
|
242
|
-
.semanticForms .floatLabelForm input:focus:-ms-input-placeholder {
|
|
263
|
+
form.semanticForms .floatLabelForm input:focus:-ms-input-placeholder {
|
|
243
264
|
opacity: 1;
|
|
244
265
|
}
|
|
245
|
-
.semanticForms .floatLabelForm textarea:focus::placeholder {
|
|
266
|
+
form.semanticForms .floatLabelForm textarea:focus::placeholder {
|
|
246
267
|
opacity: 1;
|
|
247
268
|
}
|
|
248
|
-
.semanticForms .floatLabelForm textarea:focus::-moz-placeholder {
|
|
269
|
+
form.semanticForms .floatLabelForm textarea:focus::-moz-placeholder {
|
|
249
270
|
opacity: 1;
|
|
250
271
|
}
|
|
251
|
-
.semanticForms .floatLabelForm textarea:focus::-webkit-input-placeholder {
|
|
272
|
+
form.semanticForms .floatLabelForm textarea:focus::-webkit-input-placeholder {
|
|
252
273
|
opacity: 1;
|
|
253
274
|
}
|
|
254
|
-
.semanticForms .floatLabelForm textarea:focus:-ms-input-placeholder {
|
|
275
|
+
form.semanticForms .floatLabelForm textarea:focus:-ms-input-placeholder {
|
|
255
276
|
opacity: 1;
|
|
256
277
|
}
|
|
257
|
-
.semanticForms .floatLabelForm input:not(:placeholder-shown) + label,
|
|
258
|
-
.semanticForms .floatLabelForm input:focus + label,
|
|
259
|
-
.semanticForms .floatLabelForm textarea:not(:placeholder-shown) + label,
|
|
260
|
-
.semanticForms .floatLabelForm textarea:focus + label,
|
|
261
|
-
.semanticForms .floatLabelForm select + label.floatLabelFormAnimatedLabel,
|
|
262
|
-
.semanticForms .floatLabelForm .checkboxes label.floatLabelFormAnimatedLabel,
|
|
263
|
-
.semanticForms .floatLabelForm .radios label.floatLabelFormAnimatedLabel {
|
|
278
|
+
form.semanticForms .floatLabelForm input:not(:placeholder-shown) + label,
|
|
279
|
+
form.semanticForms .floatLabelForm input:focus + label,
|
|
280
|
+
form.semanticForms .floatLabelForm textarea:not(:placeholder-shown) + label,
|
|
281
|
+
form.semanticForms .floatLabelForm textarea:focus + label,
|
|
282
|
+
form.semanticForms .floatLabelForm select + label.floatLabelFormAnimatedLabel,
|
|
283
|
+
form.semanticForms .floatLabelForm .checkboxes label.floatLabelFormAnimatedLabel,
|
|
284
|
+
form.semanticForms .floatLabelForm .radios label.floatLabelFormAnimatedLabel {
|
|
264
285
|
transform: translate(0, 0) scale(1);
|
|
265
286
|
text-indent: 6px;
|
|
266
287
|
cursor: default;
|
|
267
288
|
color: #000;
|
|
268
289
|
}
|
|
269
|
-
.semanticForms .floatLabelForm input.x {
|
|
290
|
+
form.semanticForms .floatLabelForm input.x {
|
|
270
291
|
background-position: right 6px center;
|
|
271
292
|
}
|
|
272
|
-
.semanticForms .floatLabelForm textarea.x {
|
|
293
|
+
form.semanticForms .floatLabelForm textarea.x {
|
|
273
294
|
background-position: right 6px top 10px;
|
|
274
295
|
}
|
|
275
|
-
.semanticForms .floatLabelForm .onX {
|
|
296
|
+
form.semanticForms .floatLabelForm .onX {
|
|
276
297
|
cursor: pointer;
|
|
277
298
|
}
|
|
278
|
-
.semanticForms .floatLabelForm input:-webkit-autofill,
|
|
279
|
-
.semanticForms .floatLabelForm input:-webkit-autofill:hover,
|
|
280
|
-
.semanticForms .floatLabelForm input:-webkit-autofill:focus,
|
|
281
|
-
.semanticForms .floatLabelForm input:-webkit-autofill:active,
|
|
282
|
-
.semanticForms .floatLabelForm textarea:-webkit-autofill,
|
|
283
|
-
.semanticForms .floatLabelForm textarea:-webkit-autofill:hover,
|
|
284
|
-
.semanticForms .floatLabelForm textarea:-webkit-autofill:focus,
|
|
285
|
-
.semanticForms .floatLabelForm textarea:-webkit-autofill:active,
|
|
286
|
-
.semanticForms .floatLabelForm select:-webkit-autofill,
|
|
287
|
-
.semanticForms .floatLabelForm select:-webkit-autofill:hover,
|
|
288
|
-
.semanticForms .floatLabelForm select:-webkit-autofill:focus,
|
|
289
|
-
.semanticForms .floatLabelForm select:-webkit-autofill:active {
|
|
299
|
+
form.semanticForms .floatLabelForm input:-webkit-autofill,
|
|
300
|
+
form.semanticForms .floatLabelForm input:-webkit-autofill:hover,
|
|
301
|
+
form.semanticForms .floatLabelForm input:-webkit-autofill:focus,
|
|
302
|
+
form.semanticForms .floatLabelForm input:-webkit-autofill:active,
|
|
303
|
+
form.semanticForms .floatLabelForm textarea:-webkit-autofill,
|
|
304
|
+
form.semanticForms .floatLabelForm textarea:-webkit-autofill:hover,
|
|
305
|
+
form.semanticForms .floatLabelForm textarea:-webkit-autofill:focus,
|
|
306
|
+
form.semanticForms .floatLabelForm textarea:-webkit-autofill:active,
|
|
307
|
+
form.semanticForms .floatLabelForm select:-webkit-autofill,
|
|
308
|
+
form.semanticForms .floatLabelForm select:-webkit-autofill:hover,
|
|
309
|
+
form.semanticForms .floatLabelForm select:-webkit-autofill:focus,
|
|
310
|
+
form.semanticForms .floatLabelForm select:-webkit-autofill:active {
|
|
290
311
|
-webkit-box-shadow: 0 0 0 1000px #fff inset;
|
|
291
312
|
transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
|
|
292
313
|
transition-delay: 5000s;
|
|
293
314
|
transition-property: background-color, color;
|
|
294
315
|
}
|
|
295
|
-
.semanticForms .floatLabelForm::after {
|
|
316
|
+
form.semanticForms .floatLabelForm::after {
|
|
296
317
|
content: " ";
|
|
297
318
|
visibility: hidden;
|
|
298
319
|
display: block;
|
|
299
320
|
height: 0;
|
|
300
321
|
clear: both;
|
|
301
322
|
}
|
|
302
|
-
.semanticForms menu {
|
|
303
|
-
width: 100%;
|
|
304
|
-
clear: both;
|
|
305
|
-
display: flex;
|
|
306
|
-
justify-content: space-between;
|
|
307
|
-
padding: 0;
|
|
308
|
-
}
|
|
309
|
-
.semanticForms menu li {
|
|
310
|
-
list-style-type: none;
|
|
311
|
-
}
|
|
312
|
-
.semanticForms menu input[type='submit'],
|
|
313
|
-
.semanticForms menu input[type='reset'],
|
|
314
|
-
.semanticForms menu input[type='image'],
|
|
315
|
-
.semanticForms menu button {
|
|
316
|
-
float: none;
|
|
317
|
-
clear: none;
|
|
318
|
-
margin: 0;
|
|
319
|
-
}
|
|
320
323
|
@media (min-width: 700px) {
|
|
321
|
-
.semanticForms .floatLabelForm {
|
|
324
|
+
form.semanticForms .floatLabelForm {
|
|
322
325
|
margin: 0 -10px;
|
|
323
326
|
width: auto;
|
|
324
327
|
text-align: left;
|
|
325
328
|
}
|
|
326
|
-
.semanticForms fieldset {
|
|
329
|
+
form.semanticForms fieldset {
|
|
327
330
|
text-align: left;
|
|
328
331
|
}
|
|
329
|
-
.semanticForms fieldset input[type='submit'],
|
|
330
|
-
.semanticForms fieldset input[type='reset'],
|
|
331
|
-
.semanticForms fieldset input[type='image'],
|
|
332
|
-
.semanticForms fieldset button {
|
|
332
|
+
form.semanticForms fieldset input[type='submit'],
|
|
333
|
+
form.semanticForms fieldset input[type='reset'],
|
|
334
|
+
form.semanticForms fieldset input[type='image'],
|
|
335
|
+
form.semanticForms fieldset button {
|
|
333
336
|
float: left;
|
|
334
337
|
clear: none;
|
|
335
338
|
}
|
|
336
|
-
.semanticForms fieldset :last-child {
|
|
339
|
+
form.semanticForms fieldset :last-child {
|
|
337
340
|
margin-right: 0;
|
|
338
341
|
}
|
|
339
|
-
.semanticForms .x2 input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
340
|
-
.semanticForms .x2 select,
|
|
341
|
-
.semanticForms .x2 textarea {
|
|
342
|
+
form.semanticForms .x2 input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
343
|
+
form.semanticForms .x2 select,
|
|
344
|
+
form.semanticForms .x2 textarea {
|
|
342
345
|
width: 562px;
|
|
343
346
|
}
|
|
344
|
-
.semanticForms .x2 input[type=color] {
|
|
347
|
+
form.semanticForms .x2 input[type=color] {
|
|
345
348
|
width: 604px;
|
|
346
349
|
}
|
|
347
|
-
.semanticForms .x2 input[type=range] {
|
|
350
|
+
form.semanticForms .x2 input[type=range] {
|
|
348
351
|
width: 560px !important;
|
|
349
352
|
}
|
|
350
|
-
.semanticForms .x2 select {
|
|
353
|
+
form.semanticForms .x2 select {
|
|
351
354
|
width: 604px;
|
|
352
355
|
}
|
|
353
|
-
.semanticForms .x2.checkboxes ul,
|
|
354
|
-
.semanticForms .x2.radios ul {
|
|
356
|
+
form.semanticForms .x2.checkboxes ul,
|
|
357
|
+
form.semanticForms .x2.radios ul {
|
|
355
358
|
width: 574px;
|
|
356
359
|
}
|
|
357
|
-
.semanticForms .x2 label.floatLabelFormAnimatedLabel {
|
|
360
|
+
form.semanticForms .x2 label.floatLabelFormAnimatedLabel {
|
|
358
361
|
width: 375px;
|
|
359
362
|
}
|
|
360
363
|
}
|
|
361
|
-
.semanticForms.lowFlow dl {
|
|
364
|
+
form.semanticForms.lowFlow dl {
|
|
362
365
|
margin: 10px 0 0 0;
|
|
363
366
|
}
|
|
364
|
-
.semanticForms.lowFlow dd {
|
|
367
|
+
form.semanticForms.lowFlow dd {
|
|
365
368
|
margin: 0 0 25px 0;
|
|
366
369
|
}
|
|
367
|
-
.semanticForms.lowFlow dd:last-child {
|
|
370
|
+
form.semanticForms.lowFlow dd:last-child {
|
|
368
371
|
margin: 0;
|
|
369
372
|
}
|
|
370
|
-
.semanticForms input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
371
|
-
.semanticForms
|
|
372
|
-
|
|
373
|
+
form.semanticForms.dark input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
374
|
+
form.semanticForms.dark select,
|
|
375
|
+
form.semanticForms.dark textarea {
|
|
376
|
+
background-color: #555;
|
|
377
|
+
border: 1px #555 solid;
|
|
378
|
+
color: #fff;
|
|
373
379
|
}
|
|
374
|
-
.semanticForms
|
|
375
|
-
background-
|
|
380
|
+
form.semanticForms.dark input[type=color] {
|
|
381
|
+
background-color: #555;
|
|
382
|
+
border: 1px #555 solid;
|
|
383
|
+
color: #fff;
|
|
384
|
+
}
|
|
385
|
+
form.semanticForms.dark fieldset {
|
|
386
|
+
background-color: #2f2f2f;
|
|
387
|
+
border: 1px #3f3f3f solid;
|
|
388
|
+
}
|
|
389
|
+
form.semanticForms.dark input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
390
|
+
form.semanticForms.dark textarea {
|
|
391
|
+
background-image: url("data:image/svg+xml;utf8,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' stroke='%23fff' viewBox='0 0 1000 1000' enable-background='new 0 0 1000 1000' xml:space='preserve'%3E%3Cg%3E%3Cpath fill='%23fff' d='M964.7,157.6L622.3,500l342.4,342.4l0,0c15.7,15.7,25.3,37.3,25.3,61.1c0,47.7-38.7,86.5-86.5,86.5c-23.9,0-45.5-9.7-61.1-25.3l0,0L500,622.3L157.6,964.7l0,0C142,980.3,120.3,990,96.5,990C48.7,990,10,951.3,10,903.5c0-23.9,9.7-45.5,25.3-61.1l0,0L377.7,500L35.3,157.6l0,0C19.7,142,10,120.3,10,96.5C10,48.7,48.7,10,96.5,10c23.9,0,45.5,9.7,61.1,25.3l0,0L500,377.7L842.4,35.3l0,0C858,19.7,879.7,10,903.5,10c47.8,0,86.5,38.7,86.5,86.5C990,120.3,980.3,142,964.7,157.6L964.7,157.6z'/%3E%3C/g%3E%3C/svg%3E");
|
|
392
|
+
}
|
|
393
|
+
form.semanticForms.dark select {
|
|
394
|
+
background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23fff'%3E%3Cpolygon stroke='%23fff' points='0,0 100,0 50,50'/%3E%3C/svg%3E");
|
|
395
|
+
color: #fff;
|
|
396
|
+
}
|
|
397
|
+
form.semanticForms.dark input::placeholder {
|
|
398
|
+
color: #aaa;
|
|
399
|
+
}
|
|
400
|
+
form.semanticForms.dark textarea::placeholder {
|
|
401
|
+
color: #aaa;
|
|
402
|
+
}
|
|
403
|
+
form.semanticForms.dark input:focus::placeholder {
|
|
404
|
+
color: #aaa;
|
|
405
|
+
}
|
|
406
|
+
form.semanticForms.dark input:focus::-moz-placeholder {
|
|
407
|
+
color: #aaa;
|
|
408
|
+
}
|
|
409
|
+
form.semanticForms.dark input:focus::-webkit-input-placeholder {
|
|
410
|
+
color: #aaa;
|
|
411
|
+
}
|
|
412
|
+
form.semanticForms.dark input:focus:-ms-input-placeholder {
|
|
413
|
+
color: #aaa;
|
|
414
|
+
}
|
|
415
|
+
form.semanticForms.dark textarea:focus::placeholder {
|
|
416
|
+
color: #aaa;
|
|
417
|
+
}
|
|
418
|
+
form.semanticForms.dark textarea:focus::-moz-placeholder {
|
|
419
|
+
color: #aaa;
|
|
420
|
+
}
|
|
421
|
+
form.semanticForms.dark textarea:focus::-webkit-input-placeholder {
|
|
422
|
+
color: #aaa;
|
|
423
|
+
}
|
|
424
|
+
form.semanticForms.dark textarea:focus:-ms-input-placeholder {
|
|
425
|
+
color: #aaa;
|
|
426
|
+
}
|
|
427
|
+
form.semanticForms.dark input[type='submit'],
|
|
428
|
+
form.semanticForms.dark input[type='reset'],
|
|
429
|
+
form.semanticForms.dark input[type='image'],
|
|
430
|
+
form.semanticForms.dark button {
|
|
431
|
+
border: 2px #373737 solid;
|
|
432
|
+
background-image: linear-gradient(to bottom, #6f6f6f 0%, #373737 100%);
|
|
433
|
+
color: #fff;
|
|
434
|
+
}
|
|
435
|
+
form.semanticForms.dark input[type='submit']:active,
|
|
436
|
+
form.semanticForms.dark input[type='reset']:active,
|
|
437
|
+
form.semanticForms.dark input[type='image']:active,
|
|
438
|
+
form.semanticForms.dark button:active {
|
|
439
|
+
background-image: linear-gradient(to bottom, #373737 0%, #6f6f6f 100%);
|
|
440
|
+
color: #fff;
|
|
441
|
+
}
|
|
442
|
+
form.semanticForms.dark .floatLabelForm label.floatLabelFormAnimatedLabel {
|
|
443
|
+
color: #aaa;
|
|
444
|
+
}
|
|
445
|
+
form.semanticForms.dark .floatLabelForm input:not(:placeholder-shown) + label,
|
|
446
|
+
form.semanticForms.dark .floatLabelForm input:focus + label,
|
|
447
|
+
form.semanticForms.dark .floatLabelForm textarea:not(:placeholder-shown) + label,
|
|
448
|
+
form.semanticForms.dark .floatLabelForm textarea:focus + label,
|
|
449
|
+
form.semanticForms.dark .floatLabelForm select + label.floatLabelFormAnimatedLabel,
|
|
450
|
+
form.semanticForms.dark .floatLabelForm .checkboxes label.floatLabelFormAnimatedLabel,
|
|
451
|
+
form.semanticForms.dark .floatLabelForm .radios label.floatLabelFormAnimatedLabel {
|
|
452
|
+
color: #fff;
|
|
453
|
+
}
|
|
454
|
+
form.semanticForms.dark .floatLabelForm input:-webkit-autofill,
|
|
455
|
+
form.semanticForms.dark .floatLabelForm input:-webkit-autofill:hover,
|
|
456
|
+
form.semanticForms.dark .floatLabelForm input:-webkit-autofill:focus,
|
|
457
|
+
form.semanticForms.dark .floatLabelForm input:-webkit-autofill:active,
|
|
458
|
+
form.semanticForms.dark .floatLabelForm textarea:-webkit-autofill,
|
|
459
|
+
form.semanticForms.dark .floatLabelForm textarea:-webkit-autofill:hover,
|
|
460
|
+
form.semanticForms.dark .floatLabelForm textarea:-webkit-autofill:focus,
|
|
461
|
+
form.semanticForms.dark .floatLabelForm textarea:-webkit-autofill:active,
|
|
462
|
+
form.semanticForms.dark .floatLabelForm select:-webkit-autofill,
|
|
463
|
+
form.semanticForms.dark .floatLabelForm select:-webkit-autofill:hover,
|
|
464
|
+
form.semanticForms.dark .floatLabelForm select:-webkit-autofill:focus,
|
|
465
|
+
form.semanticForms.dark .floatLabelForm select:-webkit-autofill:active {
|
|
466
|
+
-webkit-box-shadow: 0 0 0 1000px #555 inset;
|
|
376
467
|
}
|