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
|
@@ -1,19 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
@borderColor: #c0c0c0;
|
|
3
|
-
@placeholderColor: #aaa;
|
|
1
|
+
// #region variables
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
@lightFormBackgroundColor: #fff;
|
|
4
|
+
@lightFormSubBackgroundColor: #f5f5f5;
|
|
5
|
+
@lightFormTextColor: #000;
|
|
6
|
+
@lightBorderColor: #c0c0c0;
|
|
7
|
+
@lightPlaceholderColor: #aaa;
|
|
8
|
+
@darkFormBackgroundColor: #555;
|
|
9
|
+
@darkFormSubBackgroundColor: #2f2f2f;
|
|
10
|
+
@darkFormSubBorderColor: #3f3f3f;
|
|
11
|
+
@darkFormTextColor: #fff;
|
|
12
|
+
@darkBorderColor: #555;
|
|
13
|
+
@darkPlaceholderColor: #aaa;
|
|
14
|
+
@darkButtonGradientLight: #6f6f6f;
|
|
15
|
+
@darkButtonGradientDark: #373737;
|
|
16
|
+
|
|
17
|
+
// #endregion
|
|
18
|
+
|
|
19
|
+
// #region default (light mode) styles
|
|
20
|
+
|
|
21
|
+
form.semanticForms {
|
|
22
|
+
|
|
23
|
+
// #region globals
|
|
6
24
|
|
|
7
|
-
// globals
|
|
8
25
|
font-family: sans-serif;
|
|
9
26
|
|
|
10
27
|
input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
11
28
|
select,
|
|
12
29
|
textarea {
|
|
13
30
|
box-sizing: content-box;
|
|
14
|
-
background-color: @
|
|
31
|
+
background-color: @lightFormBackgroundColor;
|
|
15
32
|
outline: 0;
|
|
16
|
-
border: 1px @
|
|
33
|
+
border: 1px @lightBorderColor solid;
|
|
17
34
|
border-radius: 10px;
|
|
18
35
|
width: 250px;
|
|
19
36
|
height: 25px;
|
|
@@ -23,8 +40,9 @@
|
|
|
23
40
|
}
|
|
24
41
|
|
|
25
42
|
input[type=color] {
|
|
26
|
-
background-color: @
|
|
27
|
-
border:
|
|
43
|
+
background-color: @lightFormBackgroundColor;
|
|
44
|
+
border: 1px @lightBorderColor solid;
|
|
45
|
+
border-radius: 10px;
|
|
28
46
|
width: 292px;
|
|
29
47
|
height: 37px;
|
|
30
48
|
padding: 5px 20px;
|
|
@@ -40,6 +58,9 @@
|
|
|
40
58
|
}
|
|
41
59
|
|
|
42
60
|
fieldset {
|
|
61
|
+
background-color: @lightFormSubBackgroundColor;
|
|
62
|
+
border: 1px @lightBorderColor solid;
|
|
63
|
+
border-radius: 10px;
|
|
43
64
|
text-align: center;
|
|
44
65
|
margin-bottom: 25px;
|
|
45
66
|
|
|
@@ -69,13 +90,36 @@
|
|
|
69
90
|
margin: 0;
|
|
70
91
|
}
|
|
71
92
|
|
|
72
|
-
|
|
93
|
+
menu {
|
|
94
|
+
width: 100%;
|
|
95
|
+
clear: both;
|
|
96
|
+
display: flex;
|
|
97
|
+
justify-content: space-between;
|
|
98
|
+
padding: 0;
|
|
99
|
+
|
|
100
|
+
li {
|
|
101
|
+
list-style-type: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
input[type='submit'],
|
|
105
|
+
input[type='reset'],
|
|
106
|
+
input[type='image'],
|
|
107
|
+
button {
|
|
108
|
+
float: none;
|
|
109
|
+
clear: none;
|
|
110
|
+
margin: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// #endregion
|
|
115
|
+
|
|
116
|
+
// #region clear fields and custom select box design
|
|
117
|
+
|
|
73
118
|
input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
74
119
|
textarea {
|
|
75
|
-
background-image:
|
|
120
|
+
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");
|
|
76
121
|
background-size: 12px;
|
|
77
122
|
background-repeat: no-repeat;
|
|
78
|
-
transition: background 0.2s;
|
|
79
123
|
}
|
|
80
124
|
|
|
81
125
|
input:not([type=checkbox]):not([type=radio]) {
|
|
@@ -87,50 +131,76 @@
|
|
|
87
131
|
height: 100px;
|
|
88
132
|
}
|
|
89
133
|
|
|
134
|
+
select {
|
|
135
|
+
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");
|
|
136
|
+
background-size: 14px;
|
|
137
|
+
background-position: calc(99%) 16px;
|
|
138
|
+
background-repeat: no-repeat;
|
|
139
|
+
width: 292px;
|
|
140
|
+
height: 37px;
|
|
141
|
+
-webkit-appearance: none;
|
|
142
|
+
-moz-appearance: none;
|
|
143
|
+
appearance: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// #endregion
|
|
147
|
+
|
|
148
|
+
// #region style placeholders
|
|
90
149
|
|
|
91
|
-
// style placeholders
|
|
92
150
|
input::placeholder {
|
|
93
|
-
color: @
|
|
151
|
+
color: @lightPlaceholderColor;
|
|
152
|
+
opacity: 1;
|
|
94
153
|
}
|
|
95
154
|
|
|
96
155
|
textarea::placeholder {
|
|
97
|
-
color: @
|
|
156
|
+
color: @lightPlaceholderColor;
|
|
157
|
+
opacity: 1;
|
|
98
158
|
}
|
|
99
159
|
|
|
100
160
|
input:focus::placeholder {
|
|
101
|
-
color: @
|
|
161
|
+
color: @lightPlaceholderColor;
|
|
162
|
+
opacity: 1;
|
|
102
163
|
}
|
|
103
164
|
|
|
104
165
|
input:focus::-moz-placeholder {
|
|
105
|
-
color: @
|
|
166
|
+
color: @lightPlaceholderColor;
|
|
167
|
+
opacity: 1;
|
|
106
168
|
}
|
|
107
169
|
|
|
108
170
|
input:focus::-webkit-input-placeholder {
|
|
109
|
-
color: @
|
|
171
|
+
color: @lightPlaceholderColor;
|
|
172
|
+
opacity: 1;
|
|
110
173
|
}
|
|
111
174
|
|
|
112
175
|
input:focus:-ms-input-placeholder {
|
|
113
|
-
color: @
|
|
176
|
+
color: @lightPlaceholderColor;
|
|
177
|
+
opacity: 1;
|
|
114
178
|
}
|
|
115
179
|
|
|
116
180
|
textarea:focus::placeholder {
|
|
117
|
-
color: @
|
|
181
|
+
color: @lightPlaceholderColor;
|
|
182
|
+
opacity: 1;
|
|
118
183
|
}
|
|
119
184
|
|
|
120
185
|
textarea:focus::-moz-placeholder {
|
|
121
|
-
color: @
|
|
186
|
+
color: @lightPlaceholderColor;
|
|
187
|
+
opacity: 1;
|
|
122
188
|
}
|
|
123
189
|
|
|
124
190
|
textarea:focus::-webkit-input-placeholder {
|
|
125
|
-
color: @
|
|
191
|
+
color: @lightPlaceholderColor;
|
|
192
|
+
opacity: 1;
|
|
126
193
|
}
|
|
127
194
|
|
|
128
195
|
textarea:focus:-ms-input-placeholder {
|
|
129
|
-
color: @
|
|
196
|
+
color: @lightPlaceholderColor;
|
|
197
|
+
opacity: 1;
|
|
130
198
|
}
|
|
131
199
|
|
|
200
|
+
// #endregion
|
|
201
|
+
|
|
202
|
+
// #region buttons
|
|
132
203
|
|
|
133
|
-
// buttons
|
|
134
204
|
input[type='submit'],
|
|
135
205
|
input[type='reset'],
|
|
136
206
|
input[type='image'],
|
|
@@ -147,13 +217,8 @@
|
|
|
147
217
|
font-size: 100%;
|
|
148
218
|
margin: 25px 10px;
|
|
149
219
|
padding: 5px 25px;
|
|
150
|
-
border:
|
|
151
|
-
background-image: -
|
|
152
|
-
background-image: -o-linear-gradient(bottom, @formBackgroundColor 0%, @borderColor 100%);
|
|
153
|
-
background-image: -moz-linear-gradient(bottom, @formBackgroundColor 0%, @borderColor 100%);
|
|
154
|
-
background-image: -webkit-linear-gradient(bottom, @formBackgroundColor 0%, @borderColor 100%);
|
|
155
|
-
background-image: -ms-linear-gradient(bottom, @formBackgroundColor 0%, @borderColor 100%);
|
|
156
|
-
background-image: linear-gradient(to bottom, @formBackgroundColor 0%, @borderColor 100%);
|
|
220
|
+
border: 2px @lightBorderColor solid;
|
|
221
|
+
background-image: linear-gradient(to bottom, @lightFormBackgroundColor 0%, @lightBorderColor 100%);
|
|
157
222
|
}
|
|
158
223
|
|
|
159
224
|
input[type='submit']:first-of-type,
|
|
@@ -167,30 +232,15 @@
|
|
|
167
232
|
input[type='reset']:active,
|
|
168
233
|
input[type='image']:active,
|
|
169
234
|
button:active {
|
|
170
|
-
background-image: -
|
|
171
|
-
background-image: -o-linear-gradient(bottom, @borderColor 0%, @formBackgroundColor 100%);
|
|
172
|
-
background-image: -moz-linear-gradient(bottom, @borderColor 0%, @formBackgroundColor 100%);
|
|
173
|
-
background-image: -webkit-linear-gradient(bottom, @borderColor 0%, @formBackgroundColor 100%);
|
|
174
|
-
background-image: -ms-linear-gradient(bottom, @borderColor 0%, @formBackgroundColor 100%);
|
|
175
|
-
background-image: linear-gradient(to bottom, @borderColor 0%, @formBackgroundColor 100%);
|
|
235
|
+
background-image: linear-gradient(to bottom, @lightBorderColor 0%, @lightFormBackgroundColor 100%);
|
|
176
236
|
}
|
|
177
237
|
|
|
178
|
-
//
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
background-size: 14px;
|
|
182
|
-
background-position: calc(99%) 16px;
|
|
183
|
-
background-repeat: no-repeat;
|
|
184
|
-
width: 292px;
|
|
185
|
-
height: 37px;
|
|
186
|
-
-webkit-appearance: none;
|
|
187
|
-
-moz-appearance: none;
|
|
188
|
-
appearance: none;
|
|
189
|
-
}
|
|
238
|
+
// #endregion
|
|
239
|
+
|
|
240
|
+
// #region float label forms
|
|
190
241
|
|
|
191
|
-
// float label forms
|
|
192
242
|
label.floatLabelFormAnimatedLabel, input:not([type=checkbox]):not([type=radio]), select, textarea, section {
|
|
193
|
-
transition:
|
|
243
|
+
transition: color 0.2s, text-indent 0.2s, transform 0.2s, background-position 0.2s;
|
|
194
244
|
touch-action: manipulation;
|
|
195
245
|
}
|
|
196
246
|
|
|
@@ -237,7 +287,7 @@
|
|
|
237
287
|
width: 170px;
|
|
238
288
|
padding: 6px 15px;
|
|
239
289
|
font-size: 75%;
|
|
240
|
-
color:
|
|
290
|
+
color: @lightPlaceholderColor;
|
|
241
291
|
cursor: text;
|
|
242
292
|
white-space: nowrap;
|
|
243
293
|
overflow: hidden;
|
|
@@ -327,7 +377,7 @@
|
|
|
327
377
|
transform: translate(0, 0) scale(1);
|
|
328
378
|
text-indent: 6px;
|
|
329
379
|
cursor: default;
|
|
330
|
-
color:
|
|
380
|
+
color: @lightFormTextColor;
|
|
331
381
|
}
|
|
332
382
|
|
|
333
383
|
input.x {
|
|
@@ -355,7 +405,7 @@
|
|
|
355
405
|
select:-webkit-autofill:hover,
|
|
356
406
|
select:-webkit-autofill:focus,
|
|
357
407
|
select:-webkit-autofill:active {
|
|
358
|
-
-webkit-box-shadow: 0 0 0 1000px
|
|
408
|
+
-webkit-box-shadow: 0 0 0 1000px @lightFormBackgroundColor inset;
|
|
359
409
|
transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
|
|
360
410
|
transition-delay: 5000s;
|
|
361
411
|
transition-property: background-color, color;
|
|
@@ -370,28 +420,10 @@
|
|
|
370
420
|
clear: both;
|
|
371
421
|
}
|
|
372
422
|
|
|
373
|
-
|
|
374
|
-
width: 100%;
|
|
375
|
-
clear: both;
|
|
376
|
-
display: flex;
|
|
377
|
-
justify-content: space-between;
|
|
378
|
-
padding: 0;
|
|
379
|
-
|
|
380
|
-
li {
|
|
381
|
-
list-style-type: none;
|
|
382
|
-
}
|
|
423
|
+
// #endregion
|
|
383
424
|
|
|
384
|
-
|
|
385
|
-
input[type='reset'],
|
|
386
|
-
input[type='image'],
|
|
387
|
-
button {
|
|
388
|
-
float: none;
|
|
389
|
-
clear: none;
|
|
390
|
-
margin: 0;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
425
|
+
// #region side-by-side pattern on large screens
|
|
393
426
|
|
|
394
|
-
// side-by-side pattern on large screens
|
|
395
427
|
@media (min-width: 700px) {
|
|
396
428
|
.floatLabelForm {
|
|
397
429
|
margin: 0 -10px;
|
|
@@ -452,11 +484,15 @@
|
|
|
452
484
|
}
|
|
453
485
|
}
|
|
454
486
|
}
|
|
487
|
+
|
|
488
|
+
// #endregion
|
|
455
489
|
}
|
|
456
490
|
|
|
491
|
+
// #endregion
|
|
457
492
|
|
|
458
|
-
// non-js exclusive styles
|
|
459
|
-
|
|
493
|
+
// #region non-js exclusive styles
|
|
494
|
+
|
|
495
|
+
form.semanticForms.lowFlow {
|
|
460
496
|
dl {
|
|
461
497
|
margin: 10px 0 0 0;
|
|
462
498
|
}
|
|
@@ -469,3 +505,134 @@
|
|
|
469
505
|
margin: 0;
|
|
470
506
|
}
|
|
471
507
|
}
|
|
508
|
+
|
|
509
|
+
// #endregion
|
|
510
|
+
|
|
511
|
+
// #region dark mode styles
|
|
512
|
+
|
|
513
|
+
form.semanticForms.dark {
|
|
514
|
+
input:not([type='submit']):not([type='reset']):not([type='image']):not([type=checkbox]):not([type=radio]):not([type=color]),
|
|
515
|
+
select,
|
|
516
|
+
textarea {
|
|
517
|
+
background-color: @darkFormBackgroundColor;
|
|
518
|
+
border: 1px @darkBorderColor solid;
|
|
519
|
+
color: @darkFormTextColor;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
input[type=color] {
|
|
523
|
+
background-color: @darkFormBackgroundColor;
|
|
524
|
+
border: 1px @darkBorderColor solid;
|
|
525
|
+
color: @darkFormTextColor;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
fieldset {
|
|
529
|
+
background-color: @darkFormSubBackgroundColor;
|
|
530
|
+
border: 1px @darkFormSubBorderColor solid;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
// clear fields
|
|
534
|
+
input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
535
|
+
textarea {
|
|
536
|
+
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");
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// custom select box design
|
|
540
|
+
select {
|
|
541
|
+
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");
|
|
542
|
+
color: @darkFormTextColor;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
// style placeholders
|
|
546
|
+
input::placeholder {
|
|
547
|
+
color: @darkPlaceholderColor;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
textarea::placeholder {
|
|
551
|
+
color: @darkPlaceholderColor;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
input:focus::placeholder {
|
|
555
|
+
color: @darkPlaceholderColor;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
input:focus::-moz-placeholder {
|
|
559
|
+
color: @darkPlaceholderColor;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
input:focus::-webkit-input-placeholder {
|
|
563
|
+
color: @darkPlaceholderColor;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
input:focus:-ms-input-placeholder {
|
|
567
|
+
color: @darkPlaceholderColor;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
textarea:focus::placeholder {
|
|
571
|
+
color: @darkPlaceholderColor;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
textarea:focus::-moz-placeholder {
|
|
575
|
+
color: @darkPlaceholderColor;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
textarea:focus::-webkit-input-placeholder {
|
|
579
|
+
color: @darkPlaceholderColor;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
textarea:focus:-ms-input-placeholder {
|
|
583
|
+
color: @darkPlaceholderColor;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
// buttons
|
|
587
|
+
input[type='submit'],
|
|
588
|
+
input[type='reset'],
|
|
589
|
+
input[type='image'],
|
|
590
|
+
button {
|
|
591
|
+
border: 2px @darkButtonGradientDark solid;
|
|
592
|
+
background-image: linear-gradient(to bottom, @darkButtonGradientLight 0%, @darkButtonGradientDark 100%);
|
|
593
|
+
color: @darkFormTextColor;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
input[type='submit']:active,
|
|
597
|
+
input[type='reset']:active,
|
|
598
|
+
input[type='image']:active,
|
|
599
|
+
button:active {
|
|
600
|
+
background-image: linear-gradient(to bottom, @darkButtonGradientDark 0%, @darkButtonGradientLight 100%);
|
|
601
|
+
color: @darkFormTextColor;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.floatLabelForm {
|
|
605
|
+
label.floatLabelFormAnimatedLabel {
|
|
606
|
+
color: @darkPlaceholderColor;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
// move the label off of input to make room for input content
|
|
610
|
+
input:not(:placeholder-shown) + label,
|
|
611
|
+
input:focus + label,
|
|
612
|
+
textarea:not(:placeholder-shown) + label,
|
|
613
|
+
textarea:focus + label,
|
|
614
|
+
select + label.floatLabelFormAnimatedLabel,
|
|
615
|
+
.checkboxes label.floatLabelFormAnimatedLabel,
|
|
616
|
+
.radios label.floatLabelFormAnimatedLabel {
|
|
617
|
+
color: @darkFormTextColor;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
// disable autofill yellow
|
|
621
|
+
input:-webkit-autofill,
|
|
622
|
+
input:-webkit-autofill:hover,
|
|
623
|
+
input:-webkit-autofill:focus,
|
|
624
|
+
input:-webkit-autofill:active,
|
|
625
|
+
textarea:-webkit-autofill,
|
|
626
|
+
textarea:-webkit-autofill:hover,
|
|
627
|
+
textarea:-webkit-autofill:focus,
|
|
628
|
+
textarea:-webkit-autofill:active,
|
|
629
|
+
select:-webkit-autofill,
|
|
630
|
+
select:-webkit-autofill:hover,
|
|
631
|
+
select:-webkit-autofill:focus,
|
|
632
|
+
select:-webkit-autofill:active {
|
|
633
|
+
-webkit-box-shadow: 0 0 0 1000px @darkFormBackgroundColor inset;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
// #endregion
|
package/semanticFormsImages.less
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@import 'semanticFormsNoImages';
|
|
2
|
-
|
|
3
|
-
.semanticForms {
|
|
4
|
-
|
|
5
|
-
// clear fields
|
|
6
|
-
input:not([type='submit']):not([type='reset']):not([type=checkbox]):not([type=radio]),
|
|
7
|
-
textarea {
|
|
8
|
-
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");
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// custom select box design
|
|
12
|
-
select {
|
|
13
|
-
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");
|
|
14
|
-
}
|
|
15
|
-
}
|