UNPKG

23.8 kBSCSSView Raw
1// Name: Form
2// Description: Styles for forms
3//
4// Component: `uk-form-*`
5// `uk-input`
6// `uk-select`
7// `uk-textarea`
8// `uk-radio`
9// `uk-checkbox`
10// `uk-legend`
11// `uk-fieldset`
12//
13// Sub-objects: `uk-form-custom`
14// `uk-form-stacked`
15// `uk-form-horizontal`
16// `uk-form-label`
17// `uk-form-controls`
18// `uk-form-icon`
19// `uk-form-icon-flip`
20//
21// Modifiers: `uk-form-small`
22// `uk-form-large`
23// `uk-form-danger`
24// `uk-form-success`
25// `uk-form-blank`
26// `uk-form-width-xsmall`
27// `uk-form-width-small`
28// `uk-form-width-medium`
29// `uk-form-width-large`
30// `uk-form-controls-text`
31//
32// ========================================================================
33
34
35// Variables
36// ========================================================================
37
38$form-height: $global-control-height !default;
39$form-line-height: $form-height !default;
40$form-padding-horizontal: 10px !default;
41$form-padding-vertical: 4px !default;
42
43$form-background: $global-muted-background !default;
44$form-color: $global-color !default;
45
46$form-focus-background: $global-muted-background !default;
47$form-focus-color: $global-color !default;
48
49$form-disabled-background: $global-muted-background !default;
50$form-disabled-color: $global-muted-color !default;
51
52$form-placeholder-color: $global-muted-color !default;
53
54$form-small-height: $global-control-small-height !default;
55$form-small-padding-horizontal: 8px !default;
56$form-small-line-height: $form-small-height !default;
57$form-small-font-size: $global-small-font-size !default;
58
59$form-large-height: $global-control-large-height !default;
60$form-large-padding-horizontal: 12px !default;
61$form-large-line-height: $form-large-height !default;
62$form-large-font-size: $global-medium-font-size !default;
63
64$form-danger-color: $global-danger-background !default;
65$form-success-color: $global-success-background !default;
66
67$form-width-xsmall: 50px !default;
68$form-width-small: 130px !default;
69$form-width-medium: 200px !default;
70$form-width-large: 500px !default;
71
72$form-select-padding-right: 20px !default;
73$form-select-icon-color: $global-color !default;
74$form-select-option-color: #444 !default;
75$form-select-disabled-icon-color: $global-muted-color !default;
76
77$form-datalist-padding-right: 20px !default;
78$form-datalist-icon-color: $global-color !default;
79
80$form-radio-size: 16px !default;
81$form-radio-margin-top: -4px !default;
82$form-radio-background: darken($global-muted-background, 5%) !default;
83
84$form-radio-checked-background: $global-primary-background !default;
85$form-radio-checked-icon-color: $global-inverse-color !default;
86
87$form-radio-checked-focus-background: darken($global-primary-background, 10%) !default;
88
89$form-radio-disabled-background: $global-muted-background !default;
90$form-radio-disabled-icon-color: $global-muted-color !default;
91
92$form-legend-font-size: $global-large-font-size !default;
93$form-legend-line-height: 1.4 !default;
94
95$form-stacked-margin-bottom: $global-small-margin !default;
96
97$form-horizontal-label-width: 200px !default;
98$form-horizontal-label-margin-top: 7px !default;
99$form-horizontal-controls-margin-left: 215px !default;
100$form-horizontal-controls-text-padding-top: 7px !default;
101
102$form-icon-width: $form-height !default;
103$form-icon-color: $global-muted-color !default;
104$form-icon-hover-color: $global-color !default;
105
106$internal-form-select-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22#000%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22#000%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A" !default;
107$internal-form-datalist-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22#000%22%20points%3D%2212%2012%208%206%2016%206%22%20%2F%3E%0A%3C%2Fsvg%3E%0A" !default;
108$internal-form-radio-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22#000%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
109$internal-form-checkbox-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22#000%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A" !default;
110$internal-form-checkbox-indeterminate-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22#000%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
111
112
113/* ========================================================================
114 Component: Form
115 ========================================================================== */
116
117/*
118 * 1. Define consistent box sizing.
119 * Default is `content-box` with following exceptions set to `border-box`
120 * `select`, `input[type="checkbox"]` and `input[type="radio"]`
121 * `input[type="search"]` in Chrome, Safari and Opera
122 * `input[type="color"]` in Firefox
123 * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
124 * 3. Remove `border-radius` in iOS.
125 * 4. Change font properties to `inherit` in all browsers.
126 */
127
128.uk-input,
129.uk-select,
130.uk-textarea,
131.uk-radio,
132.uk-checkbox {
133 /* 1 */
134 box-sizing: border-box;
135 /* 2 */
136 margin: 0;
137 /* 3 */
138 border-radius: 0;
139 /* 4 */
140 font: inherit;
141}
142
143/*
144 * Show the overflow in Edge.
145 */
146
147.uk-input { overflow: visible; }
148
149/*
150 * Remove the inheritance of text transform in Firefox.
151 */
152
153.uk-select { text-transform: none; }
154
155/*
156 * 1. Change font properties to `inherit` in all browsers
157 * 2. Don't inherit the `font-weight` and use `bold` instead.
158 * NOTE: Both declarations don't work in Chrome, Safari and Opera.
159 */
160
161.uk-select optgroup {
162 /* 1 */
163 font: inherit;
164 /* 2 */
165 font-weight: bold;
166}
167
168/*
169 * Remove the default vertical scrollbar in IE 10+.
170 */
171
172.uk-textarea { overflow: auto; }
173
174/*
175 * Remove the inner padding and cancel buttons in Chrome on OS X and Safari on OS X.
176 */
177
178.uk-input[type="search"]::-webkit-search-cancel-button,
179.uk-input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
180
181
182/*
183 * Correct the cursor style of increment and decrement buttons in Chrome.
184 */
185
186.uk-input[type="number"]::-webkit-inner-spin-button,
187.uk-input[type="number"]::-webkit-outer-spin-button { height: auto; }
188
189/*
190 * Removes placeholder transparency in Firefox.
191 */
192
193.uk-input::-moz-placeholder,
194.uk-textarea::-moz-placeholder { opacity: 1; }
195
196/*
197 * Improves consistency of cursor style for clickable elements
198 */
199
200.uk-radio:not(:disabled),
201.uk-checkbox:not(:disabled) { cursor: pointer; }
202
203/*
204 * Define consistent border, margin, and padding.
205 */
206
207.uk-fieldset {
208 border: none;
209 margin: 0;
210 padding: 0;
211}
212
213
214/* Input, select and textarea
215 * Allowed: `text`, `password`, `datetime`, `datetime-local`, `date`, `month`,
216 `time`, `week`, `number`, `email`, `url`, `search`, `tel`, `color`
217 * Disallowed: `range`, `radio`, `checkbox`, `file`, `submit`, `reset` and `image`
218 ========================================================================== */
219
220/*
221 * Remove default style in iOS.
222 */
223
224.uk-input,
225.uk-textarea { -webkit-appearance: none; }
226
227/*
228 * 1. Prevent content overflow if a fixed width is used
229 * 2. Take the full width
230 * 3. Reset default
231 * 4. Style
232 */
233
234.uk-input,
235.uk-select,
236.uk-textarea {
237 /* 1 */
238 max-width: 100%;
239 /* 2 */
240 width: 100%;
241 /* 3 */
242 border: 0 none;
243 /* 4 */
244 padding: 0 $form-padding-horizontal;
245 background: $form-background;
246 color: $form-color;
247 @if(mixin-exists(hook-form)) {@include hook-form();}
248}
249
250/*
251 * Single-line
252 * 1. Allow any element to look like an `input` or `select` element
253 * 2. Make sure line-height is not larger than height
254 * Also needed to center the text vertically
255 */
256
257.uk-input,
258.uk-select:not([multiple]):not([size]) {
259 height: $form-height;
260 vertical-align: middle;
261 /* 1 */
262 display: inline-block;
263 @if(mixin-exists(hook-form-single-line)) {@include hook-form-single-line();}
264}
265
266/* 2 */
267.uk-input:not(input),
268.uk-select:not(select) { line-height: $form-line-height; }
269
270/*
271 * Multi-line
272 */
273
274.uk-select[multiple],
275.uk-select[size],
276.uk-textarea {
277 padding-top: $form-padding-vertical;
278 padding-bottom: $form-padding-vertical;
279 vertical-align: top;
280 @if(mixin-exists(hook-form-multi-line)) {@include hook-form-multi-line();}
281}
282
283/* Focus */
284.uk-input:focus,
285.uk-select:focus,
286.uk-textarea:focus {
287 outline: none;
288 background-color: $form-focus-background;
289 color: $form-focus-color;
290 @if(mixin-exists(hook-form-focus)) {@include hook-form-focus();}
291}
292
293/* Disabled */
294.uk-input:disabled,
295.uk-select:disabled,
296.uk-textarea:disabled {
297 background-color: $form-disabled-background;
298 color: $form-disabled-color;
299 @if(mixin-exists(hook-form-disabled)) {@include hook-form-disabled();}
300}
301
302/*
303 * Placeholder
304 */
305
306.uk-input::-ms-input-placeholder { color: $form-placeholder-color !important; }
307.uk-input::placeholder { color: $form-placeholder-color; }
308
309.uk-textarea::-ms-input-placeholder { color: $form-placeholder-color !important; }
310.uk-textarea::placeholder { color: $form-placeholder-color; }
311
312
313/* Style modifier (`uk-input`, `uk-select` and `uk-textarea`)
314 ========================================================================== */
315
316/*
317 * Small
318 */
319
320.uk-form-small { font-size: $form-small-font-size; }
321
322.uk-form-small:not(textarea):not([multiple]):not([size]) {
323 height: $form-small-height;
324 padding-left: $form-small-padding-horizontal;
325 padding-right: $form-small-padding-horizontal;
326}
327
328.uk-form-small:not(select):not(input):not(textarea) { line-height: $form-small-line-height; }
329
330/*
331 * Large
332 */
333
334.uk-form-large { font-size: $form-large-font-size; }
335
336.uk-form-large:not(textarea):not([multiple]):not([size]) {
337 height: $form-large-height;
338 padding-left: $form-large-padding-horizontal;
339 padding-right: $form-large-padding-horizontal;
340}
341
342.uk-form-large:not(select):not(input):not(textarea) { line-height: $form-large-line-height; }
343
344
345/* Style modifier (`uk-input`, `uk-select` and `uk-textarea`)
346 ========================================================================== */
347
348/*
349 * Error
350 */
351
352.uk-form-danger,
353.uk-form-danger:focus {
354 color: $form-danger-color;
355 @if(mixin-exists(hook-form-danger)) {@include hook-form-danger();}
356}
357
358/*
359 * Success
360 */
361
362.uk-form-success,
363.uk-form-success:focus {
364 color: $form-success-color;
365 @if(mixin-exists(hook-form-success)) {@include hook-form-success();}
366}
367
368/*
369 * Blank
370 */
371
372.uk-form-blank {
373 background: none;
374 @if(mixin-exists(hook-form-blank)) {@include hook-form-blank();}
375}
376
377.uk-form-blank:focus {
378 @if(mixin-exists(hook-form-blank-focus)) {@include hook-form-blank-focus();}
379}
380
381
382/* Width modifiers (`uk-input`, `uk-select` and `uk-textarea`)
383 ========================================================================== */
384
385/*
386 * Fixed widths
387 * Different widths for mini sized `input` and `select` elements
388 */
389
390input.uk-form-width-xsmall { width: $form-width-xsmall; }
391
392select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
393
394.uk-form-width-small { width: $form-width-small; }
395
396.uk-form-width-medium { width: $form-width-medium; }
397
398.uk-form-width-large { width: $form-width-large; }
399
400
401/* Select
402 ========================================================================== */
403
404/*
405 * 1. Remove default style. Also works in Firefox
406 * 2. Style
407 * 3. Remove default style in IE 10/11
408 * 4. Set `color` for options in the select dropdown, because the inherited `color` might be too light.
409 */
410
411.uk-select:not([multiple]):not([size]) {
412 /* 1 */
413 -webkit-appearance: none;
414 -moz-appearance: none;
415 /* 2 */
416 padding-right: $form-select-padding-right;
417 @include svg-fill($internal-form-select-image, "#000", $form-select-icon-color);
418 background-repeat: no-repeat;
419 background-position: 100% 50%;
420}
421
422/* 3 */
423.uk-select:not([multiple]):not([size])::-ms-expand { display: none; }
424
425/* 4 */
426.uk-select:not([multiple]):not([size]) option { color: $form-select-option-color; }
427
428/*
429 * Disabled
430 */
431
432.uk-select:not([multiple]):not([size]):disabled { @include svg-fill($internal-form-select-image, "#000", $form-select-disabled-icon-color); }
433
434
435/* Datalist
436 ========================================================================== */
437
438/*
439 * 1. Remove default style in Chrome
440 */
441
442 .uk-input[list] {
443 padding-right: $form-datalist-padding-right;
444 background-repeat: no-repeat;
445 background-position: 100% 50%;
446}
447
448.uk-input[list]:hover,
449.uk-input[list]:focus { @include svg-fill($internal-form-datalist-image, "#000", $form-datalist-icon-color); }
450
451/* 1 */
452.uk-input[list]::-webkit-calendar-picker-indicator { display: none; }
453
454
455/* Radio and checkbox
456 * Note: Does not work in IE11
457 ========================================================================== */
458
459/*
460 * 1. Style
461 * 2. Make box more robust so it clips the child element
462 * 3. Vertical alignment
463 * 4. Remove default style
464 * 5. Fix black background on iOS
465 * 6. Center icons
466 */
467
468.uk-radio,
469.uk-checkbox {
470 /* 1 */
471 display: inline-block;
472 height: $form-radio-size;
473 width: $form-radio-size;
474 /* 2 */
475 overflow: hidden;
476 /* 3 */
477 margin-top: $form-radio-margin-top;
478 vertical-align: middle;
479 /* 4 */
480 -webkit-appearance: none;
481 -moz-appearance: none;
482 /* 5 */
483 background-color: $form-radio-background;
484 /* 6 */
485 background-repeat: no-repeat;
486 background-position: 50% 50%;
487 @if(mixin-exists(hook-form-radio)) {@include hook-form-radio();}
488}
489
490.uk-radio { border-radius: 50%; }
491
492/* Focus */
493.uk-radio:focus,
494.uk-checkbox:focus {
495 outline: none;
496 @if(mixin-exists(hook-form-radio-focus)) {@include hook-form-radio-focus();}
497}
498
499/*
500 * Checked
501 */
502
503.uk-radio:checked,
504.uk-checkbox:checked,
505.uk-checkbox:indeterminate {
506 background-color: $form-radio-checked-background;
507 @if(mixin-exists(hook-form-radio-checked)) {@include hook-form-radio-checked();}
508}
509
510/* Focus */
511.uk-radio:checked:focus,
512.uk-checkbox:checked:focus,
513.uk-checkbox:indeterminate:focus {
514 background-color: $form-radio-checked-focus-background;
515 @if(mixin-exists(hook-form-radio-checked-focus)) {@include hook-form-radio-checked-focus();}
516}
517
518/*
519 * Icons
520 */
521
522.uk-radio:checked { @include svg-fill($internal-form-radio-image, "#000", $form-radio-checked-icon-color); }
523.uk-checkbox:checked { @include svg-fill($internal-form-checkbox-image, "#000", $form-radio-checked-icon-color); }
524.uk-checkbox:indeterminate { @include svg-fill($internal-form-checkbox-indeterminate-image, "#000", $form-radio-checked-icon-color); }
525
526/*
527 * Disabled
528 */
529
530.uk-radio:disabled,
531.uk-checkbox:disabled {
532 background-color: $form-radio-disabled-background;
533 @if(mixin-exists(hook-form-radio-disabled)) {@include hook-form-radio-disabled();}
534}
535
536.uk-radio:disabled:checked { @include svg-fill($internal-form-radio-image, "#000", $form-radio-disabled-icon-color); }
537.uk-checkbox:disabled:checked { @include svg-fill($internal-form-checkbox-image, "#000", $form-radio-disabled-icon-color); }
538.uk-checkbox:disabled:indeterminate { @include svg-fill($internal-form-checkbox-indeterminate-image, "#000", $form-radio-disabled-icon-color); }
539
540
541/* Legend
542 ========================================================================== */
543
544/*
545 * Legend
546 * 1. Behave like block element
547 * 2. Correct the color inheritance from `fieldset` elements in IE.
548 * 3. Remove padding so people aren't caught out if they zero out fieldsets.
549 * 4. Style
550 */
551
552.uk-legend {
553 /* 1 */
554 width: 100%;
555 /* 2 */
556 color: inherit;
557 /* 3 */
558 padding: 0;
559 /* 4 */
560 font-size: $form-legend-font-size;
561 line-height: $form-legend-line-height;
562 @if(mixin-exists(hook-form-legend)) {@include hook-form-legend();}
563}
564
565
566/* Custom controls
567 ========================================================================== */
568
569/*
570 * 1. Container fits its content
571 * 2. Create position context
572 * 3. Prevent content overflow
573 * 4. Behave like most inline-block elements
574 */
575
576.uk-form-custom {
577 /* 1 */
578 display: inline-block;
579 /* 2 */
580 position: relative;
581 /* 3 */
582 max-width: 100%;
583 /* 4 */
584 vertical-align: middle;
585}
586
587/*
588 * 1. Position and resize the form control to always cover its container
589 * 2. Required for Firefox for positioning to the left
590 * 3. Required for Webkit to make `height` work
591 * 4. Hide controle and show cursor
592 * 5. Needed for the cursor
593 * 6. Clip height caused by 5. Needed for Webkit only
594 */
595
596.uk-form-custom select,
597.uk-form-custom input[type="file"] {
598 /* 1 */
599 position: absolute;
600 top: 0;
601 z-index: 1;
602 width: 100%;
603 height: 100%;
604 /* 2 */
605 left: 0;
606 /* 3 */
607 -webkit-appearance: none;
608 /* 4 */
609 opacity: 0;
610 cursor: pointer;
611}
612
613.uk-form-custom input[type="file"] {
614 /* 5 */
615 font-size: 500px;
616 /* 6 */
617 overflow: hidden;
618}
619
620
621/* Label
622 ========================================================================== */
623
624.uk-form-label {
625 @if(mixin-exists(hook-form-label)) {@include hook-form-label();}
626}
627
628
629/* Layout
630 ========================================================================== */
631
632/*
633 * Stacked
634 */
635
636.uk-form-stacked .uk-form-label {
637 display: block;
638 margin-bottom: $form-stacked-margin-bottom;
639 @if(mixin-exists(hook-form-stacked-label)) {@include hook-form-stacked-label();}
640}
641
642/*
643 * Horizontal
644 */
645
646/* Tablet portrait and smaller */
647@media (max-width: $breakpoint-small-max) {
648
649 /* Behave like `uk-form-stacked` */
650 .uk-form-horizontal .uk-form-label {
651 display: block;
652 margin-bottom: $form-stacked-margin-bottom;
653 @if(mixin-exists(hook-form-stacked-label)) {@include hook-form-stacked-label();}
654 }
655
656}
657
658/* Tablet landscape and bigger */
659@media (min-width: $breakpoint-medium) {
660
661 .uk-form-horizontal .uk-form-label {
662 width: $form-horizontal-label-width;
663 margin-top: $form-horizontal-label-margin-top;
664 float: left;
665 @if(mixin-exists(hook-form-horizontal-label)) {@include hook-form-horizontal-label();}
666 }
667
668 .uk-form-horizontal .uk-form-controls { margin-left: $form-horizontal-controls-margin-left; }
669
670 /* Better vertical alignment if controls are checkboxes and radio buttons with text */
671 .uk-form-horizontal .uk-form-controls-text { padding-top: $form-horizontal-controls-text-padding-top; }
672
673}
674
675
676/* Icons
677 ========================================================================== */
678
679/*
680 * 1. Set position
681 * 2. Set width
682 * 3. Center icon vertically and horizontally
683 * 4. Style
684 */
685
686.uk-form-icon {
687 /* 1 */
688 position: absolute;
689 top: 0;
690 bottom: 0;
691 left: 0;
692 /* 2 */
693 width: $form-icon-width;
694 /* 3 */
695 display: inline-flex;
696 justify-content: center;
697 align-items: center;
698 /* 4 */
699 color: $form-icon-color;
700}
701
702/*
703 * Required for `a`.
704 */
705
706.uk-form-icon:hover { color: $form-icon-hover-color; }
707
708/*
709 * Make `input` element clickable through icon, e.g. if it's a `span`
710 */
711
712.uk-form-icon:not(a):not(button):not(input) { pointer-events: none; }
713
714/*
715 * Input padding
716 */
717
718.uk-form-icon:not(.uk-form-icon-flip) ~ .uk-input { padding-left: $form-icon-width !important; }
719
720/*
721 * Position modifier
722 */
723
724.uk-form-icon-flip {
725 right: 0;
726 left: auto;
727}
728
729.uk-form-icon-flip ~ .uk-input { padding-right: $form-icon-width !important; }
730
731
732// Hooks
733// ========================================================================
734
735@if(mixin-exists(hook-form-misc)) {@include hook-form-misc();}
736
737// @mixin hook-form(){}
738// @mixin hook-form-single-line(){}
739// @mixin hook-form-multi-line(){}
740// @mixin hook-form-focus(){}
741// @mixin hook-form-disabled(){}
742// @mixin hook-form-danger(){}
743// @mixin hook-form-success(){}
744// @mixin hook-form-blank(){}
745// @mixin hook-form-blank-focus(){}
746// @mixin hook-form-radio(){}
747// @mixin hook-form-radio-focus(){}
748// @mixin hook-form-radio-checked(){}
749// @mixin hook-form-radio-checked-focus(){}
750// @mixin hook-form-radio-disabled(){}
751// @mixin hook-form-legend(){}
752// @mixin hook-form-label(){}
753// @mixin hook-form-stacked-label(){}
754// @mixin hook-form-horizontal-label(){}
755// @mixin hook-form-misc(){}
756
757
758// Inverse
759// ========================================================================
760
761$inverse-form-background: $inverse-global-muted-background !default;
762$inverse-form-color: $inverse-global-color !default;
763$inverse-form-focus-background: $inverse-global-muted-background !default;
764$inverse-form-focus-color: $inverse-global-color !default;
765$inverse-form-placeholder-color: $inverse-global-muted-color !default;
766
767$inverse-form-select-icon-color: $inverse-global-color !default;
768
769$inverse-form-datalist-icon-color: $inverse-global-color !default;
770
771$inverse-form-radio-background: darken($inverse-global-muted-background, 5%) !default;
772
773$inverse-form-radio-checked-background: $inverse-global-primary-background !default;
774$inverse-form-radio-checked-icon-color: $inverse-global-inverse-color !default;
775
776$inverse-form-radio-checked-focus-background: darken($inverse-global-primary-background, 10%) !default;
777
778$inverse-form-icon-color: $inverse-global-muted-color !default;
779$inverse-form-icon-hover-color: $inverse-global-color !default;
780
781
782
783// @mixin hook-inverse-form(){}
784// @mixin hook-inverse-form-focus(){}
785// @mixin hook-inverse-form-radio(){}
786// @mixin hook-inverse-form-radio-focus(){}
787// @mixin hook-inverse-form-radio-checked(){}
788// @mixin hook-inverse-form-radio-checked-focus(){}
789// @mixin hook-inverse-form-label(){}