@clayui/css 3.161.0 → 3.162.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.
Files changed (97) hide show
  1. package/lib/css/atlas.css +136 -6
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +134 -5
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +74 -7
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/arrow-key-down.svg +9 -0
  8. package/lib/images/icons/arrow-key-left.svg +9 -0
  9. package/lib/images/icons/arrow-key-right.svg +9 -0
  10. package/lib/images/icons/arrow-key-up.svg +9 -0
  11. package/lib/images/icons/icons.svg +1 -1
  12. package/package.json +1 -1
  13. package/src/images/icons/arrow-key-down.svg +9 -0
  14. package/src/images/icons/arrow-key-left.svg +9 -0
  15. package/src/images/icons/arrow-key-right.svg +9 -0
  16. package/src/images/icons/arrow-key-up.svg +9 -0
  17. package/src/images/icons/icons.svg +1 -1
  18. package/src/scss/_components.scss +2 -0
  19. package/src/scss/_license-text.scss +1 -1
  20. package/src/scss/atlas/variables/_forms.scss +3 -1
  21. package/src/scss/atlas/variables/_reorder.scss +1 -1
  22. package/src/scss/atlas-custom-properties/_variables.scss +0 -2
  23. package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
  24. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
  25. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
  26. package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
  27. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
  28. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
  29. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
  30. package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
  31. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
  32. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
  33. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
  34. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
  35. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
  36. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
  37. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
  38. package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
  39. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
  40. package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
  41. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
  42. package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
  43. package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
  44. package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
  45. package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
  46. package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
  47. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
  48. package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
  49. package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
  50. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
  51. package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
  52. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
  53. package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
  54. package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
  55. package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
  56. package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
  57. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
  58. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
  59. package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
  60. package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
  61. package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
  62. package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
  63. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
  64. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
  65. package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
  66. package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
  67. package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
  68. package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
  69. package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
  70. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
  71. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
  72. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
  73. package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
  74. package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
  75. package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
  76. package/src/scss/atlas-variables.scss +0 -2
  77. package/src/scss/atlas.scss +0 -2
  78. package/src/scss/base-variables.scss +0 -2
  79. package/src/scss/base.scss +0 -2
  80. package/src/scss/cadmin/components/_focus-ring.scss +74 -0
  81. package/src/scss/cadmin/components/_forms.scss +2 -0
  82. package/src/scss/cadmin/components/_menubar.scss +8 -0
  83. package/src/scss/cadmin/components/_resizer.scss +19 -4
  84. package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
  85. package/src/scss/cadmin/variables/_forms.scss +3 -1
  86. package/src/scss/cadmin/variables/_reorder.scss +1 -0
  87. package/src/scss/cadmin/variables/_resizer.scss +16 -3
  88. package/src/scss/cadmin.scss +1 -0
  89. package/src/scss/components/_focus-ring.scss +64 -0
  90. package/src/scss/components/_forms.scss +2 -0
  91. package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
  92. package/src/scss/components/_menubar.scss +8 -0
  93. package/src/scss/components/_resizer.scss +15 -4
  94. package/src/scss/functions/_lx-icons-generated.scss +8 -0
  95. package/src/scss/variables/_breadcrumbs.scss +4 -2
  96. package/src/scss/variables/_forms.scss +2 -0
  97. package/src/scss/variables/_resizer.scss +16 -3
@@ -1,1026 +1,1039 @@
1
- @if ($enable-atlas-custom-properties) {
2
- $input-bg: var(--input-background-color, $gray-200);
3
-
4
- $input-border-color: var(--input-border-color, $gray-300);
5
- $input-border-style: var(--input-border-style, solid);
6
- $input-border-width: 1px;
7
-
8
- $input-border-bottom-width: var(
9
- --input-border-bottom-width,
10
- $input-border-width
11
- );
12
- $input-border-left-width: var(
13
- --input-border-left-width,
14
- $input-border-width
15
- );
16
- $input-border-right-width: var(
17
- --input-border-right-width,
18
- $input-border-width
19
- );
20
- $input-border-top-width: var(--input-border-top-width, $input-border-width);
21
-
22
- $input-border-radius: var(--input-border-radius, $border-radius);
23
- $input-box-shadow: var(--input-box-shadow, none);
24
- $input-color: var(--input-color, $gray-900);
25
- $input-font-family: var(--input-font-family, $input-btn-font-family);
26
- $input-font-size: var(--input-font-size, $input-btn-font-size);
27
- $input-font-weight: var(--input-font-weight, $font-weight-base);
28
- $input-height: var(--input-height, 40px);
29
- $input-line-height: var(--input-line-height, $input-btn-line-height);
30
- $input-padding-x: var(--input-padding-x, 16px);
31
- $input-padding-y: var(--input-padding-y, 7px);
32
- $input-transition:
33
- border-color 0.15s ease-in-out,
34
- box-shadow 0.15s ease-in-out;
35
-
36
- $input-font-size-mobile: 16px;
37
- $input-height-mobile: null;
38
-
39
- // Input Focus
40
-
41
- $input-focus-bg: var(--input-focus-bg, $primary-l3);
42
- $input-focus-border-color: var(
43
- --input-focus-border-color,
44
- unquote('hsl(from #{$component-active-bg} h s calc(l + 22.9))')
45
- );
46
- $input-focus-box-shadow: var(
47
- --input-focus-box-shadow,
48
- $component-focus-box-shadow
49
- );
50
- $input-focus-color: var(--input-focus-color, $input-color);
51
- $input-focus-width: $input-btn-focus-width;
52
-
53
- // Input Disabled
54
-
55
- $input-disabled-bg: var(--input-disabled-bg, $input-bg);
56
- $input-disabled-border-color: var(--input-disabled-border-color, $input-bg);
57
- $input-disabled-color: var(--input-disabled-color, $gray-500);
58
- $input-disabled-cursor: $disabled-cursor;
59
- $input-disabled-opacity: var(--input-disabled-opacity, 1);
60
-
61
- // Input Placeholder
62
-
63
- $input-placeholder-color: var(--input-placeholder-color, $gray-600);
64
-
65
- $input-placeholder-focus-color: var(
66
- --input-focus-placeholder-color,
67
- $gray-600
68
- );
69
-
70
- $input-placeholder-disabled-color: var(
71
- --input-disabled-placeholder-color,
72
- $input-disabled-color
73
- );
74
-
75
- $input: ();
76
- $input: map-deep-merge(
77
- (
78
- background-color: $input-bg,
79
- border-color: $input-border-color,
80
- border-style: $input-border-style,
81
- border-width: $input-border-width,
82
- border-bottom-width: $input-border-bottom-width,
83
- border-left-width: $input-border-left-width,
84
- border-right-width: $input-border-right-width,
85
- border-top-width: $input-border-top-width,
86
- border-radius: $input-border-radius,
87
- box-shadow: $input-box-shadow,
88
- color: $input-color,
89
- display: block,
90
- font-family: $input-font-family,
91
- font-size: $input-font-size,
92
- font-weight: $input-font-weight,
93
- height: $input-height,
94
- letter-spacing: inherit,
95
- line-height: $input-line-height,
96
- min-width: 0px,
97
- padding-bottom: $input-padding-y,
98
- padding-left: $input-padding-x,
99
- padding-right: $input-padding-x,
100
- padding-top: $input-padding-y,
101
- transition: $input-transition,
102
- width: 100%,
103
-
104
- mobile: (
105
- font-size: $input-font-size-mobile,
106
- height: $input-height-mobile,
107
- ),
1
+ $input-bg: var(--input-background-color, $gray-200) !default;
2
+
3
+ $input-border-color: var(--input-border-color, $gray-300) !default;
4
+ $input-border-style: var(--input-border-style, solid) !default;
5
+ $input-border-width: 1px !default;
6
+
7
+ $input-border-bottom-width: var(
8
+ --input-border-bottom-width,
9
+ $input-border-width
10
+ ) !default;
11
+ $input-border-left-width: var(
12
+ --input-border-left-width,
13
+ $input-border-width
14
+ ) !default;
15
+ $input-border-right-width: var(
16
+ --input-border-right-width,
17
+ $input-border-width
18
+ ) !default;
19
+ $input-border-top-width: var(
20
+ --input-border-top-width,
21
+ $input-border-width
22
+ ) !default;
23
+
24
+ $input-border-radius: var(--input-border-radius, $border-radius) !default;
25
+ $input-box-shadow: var(--input-box-shadow, none) !default;
26
+ $input-color: var(--input-color, $gray-900) !default;
27
+ $input-font-family: var(--input-font-family, $input-btn-font-family) !default;
28
+ $input-font-size: var(--input-font-size, $input-btn-font-size) !default;
29
+ $input-font-weight: var(--input-font-weight, $font-weight-base) !default;
30
+ $input-height: var(--input-height, 40px) !default;
31
+ $input-line-height: var(--input-line-height, $input-btn-line-height) !default;
32
+ $input-padding-x: var(--input-padding-x, 16px) !default;
33
+ $input-padding-y: var(--input-padding-y, 7px) !default;
34
+ $input-transition:
35
+ border-color 0.15s ease-in-out,
36
+ box-shadow 0.15s ease-in-out !default;
37
+
38
+ $input-font-size-mobile: 16px !default;
39
+ $input-height-mobile: null !default;
40
+
41
+ // Input Focus
42
+
43
+ $input-focus-bg: var(--input-focus-background-color, $primary-l3) !default;
44
+ $input-focus-border-color: var(
45
+ --input-focus-border-color,
46
+ unquote('hsl(from #{$component-active-bg} h s calc(l + 22.9))')
47
+ ) !default;
48
+ $input-focus-box-shadow: var(
49
+ --input-focus-box-shadow,
50
+ $component-focus-box-shadow
51
+ ) !default;
52
+ $input-focus-color: var(--input-focus-color, $input-color) !default;
53
+ $input-focus-width: $input-btn-focus-width !default;
54
+
55
+ // Input Disabled
56
+
57
+ $input-disabled-bg: var(--input-disabled-bg, $input-bg) !default;
58
+ $input-disabled-border-color: var(
59
+ --input-disabled-border-color,
60
+ $input-bg
61
+ ) !default;
62
+ $input-disabled-color: var(--input-disabled-color, $gray-500) !default;
63
+ $input-disabled-cursor: $disabled-cursor !default;
64
+ $input-disabled-opacity: var(--input-disabled-opacity, 1) !default;
65
+
66
+ // Input Placeholder
67
+
68
+ $input-placeholder-color: var(--input-placeholder-color, $gray-600) !default;
69
+
70
+ $input-placeholder-focus-color: var(
71
+ --input-focus-placeholder-color,
72
+ $gray-600
73
+ ) !default;
74
+
75
+ $input-placeholder-disabled-color: var(
76
+ --input-disabled-placeholder-color,
77
+ $input-disabled-color
78
+ ) !default;
79
+
80
+ $input: () !default;
81
+ $input: map-deep-merge(
82
+ (
83
+ background-color: $input-bg,
84
+ border-color: $input-border-color,
85
+ border-style: $input-border-style,
86
+ border-width: $input-border-width,
87
+ border-bottom-width: $input-border-bottom-width,
88
+ border-left-width: $input-border-left-width,
89
+ border-right-width: $input-border-right-width,
90
+ border-top-width: $input-border-top-width,
91
+ border-radius: $input-border-radius,
92
+ box-shadow: $input-box-shadow,
93
+ color: $input-color,
94
+ display: block,
95
+ font-family: $input-font-family,
96
+ font-size: $input-font-size,
97
+ font-weight: $input-font-weight,
98
+ height: $input-height,
99
+ letter-spacing: inherit,
100
+ line-height: $input-line-height,
101
+ min-width: 0px,
102
+ padding-bottom: $input-padding-y,
103
+ padding-left: $input-padding-x,
104
+ padding-right: $input-padding-x,
105
+ padding-top: $input-padding-y,
106
+ transition: $input-transition,
107
+ width: 100%,
108
+
109
+ mobile: (
110
+ font-size: $input-font-size-mobile,
111
+ height: $input-height-mobile,
112
+ ),
113
+
114
+ placeholder: (
115
+ color: $input-placeholder-color,
116
+ opacity: 1,
117
+ ),
118
+
119
+ focus: (
120
+ background-color: $input-focus-bg,
121
+ border-color: $input-focus-border-color,
122
+ box-shadow: $input-focus-box-shadow,
123
+ color: $input-focus-color,
124
+ outline: 0,
108
125
 
109
126
  placeholder: (
110
- color: $input-placeholder-color,
111
- opacity: 1,
127
+ color: $input-placeholder-focus-color,
112
128
  ),
129
+ ),
113
130
 
114
- focus: (
115
- background-color: $input-focus-bg,
116
- border-color: $input-focus-border-color,
117
- box-shadow: $input-focus-box-shadow,
118
- color: $input-focus-color,
119
- outline: 0,
131
+ focus-within: (
132
+ background-color: $input-focus-bg,
133
+ border-color: $input-focus-border-color,
134
+ box-shadow: $input-focus-box-shadow,
135
+ color: $input-focus-color,
136
+ ),
120
137
 
121
- placeholder: (
122
- color: $input-placeholder-focus-color,
123
- ),
124
- ),
138
+ disabled: (
139
+ background-color: $input-disabled-bg,
140
+ border-color: $input-disabled-border-color,
141
+ color: $input-disabled-color,
142
+ cursor: $input-disabled-cursor,
143
+ opacity: $input-disabled-opacity,
125
144
 
126
- focus-within: (
127
- background-color: $input-focus-bg,
128
- border-color: $input-focus-border-color,
129
- box-shadow: $input-focus-box-shadow,
130
- color: $input-focus-color,
145
+ placeholder: (
146
+ color: $input-placeholder-disabled-color,
131
147
  ),
148
+ ),
149
+ ),
150
+ $input
151
+ );
132
152
 
133
- disabled: (
134
- background-color: $input-disabled-bg,
135
- border-color: $input-disabled-border-color,
136
- color: $input-disabled-color,
137
- cursor: $input-disabled-cursor,
138
- opacity: $input-disabled-opacity,
153
+ // Form Control Variants
139
154
 
140
- placeholder: (
141
- color: $input-placeholder-disabled-color,
142
- ),
155
+ $input-palette: () !default;
156
+ $input-palette: map-deep-merge(
157
+ (
158
+ '.form-control-shrink': (
159
+ max-width: 100%,
160
+ white-space: nowrap,
161
+ width: min-content,
162
+ ),
163
+ ),
164
+ $input-palette
165
+ );
166
+
167
+ // Form Control Plaintext
168
+
169
+ $input-plaintext-color: $body-color !default;
170
+
171
+ $input-plaintext: () !default;
172
+ $input-plaintext: map-deep-merge(
173
+ (
174
+ background-clip: border-box,
175
+ background-color: transparent,
176
+ border-bottom-width: $input-border-bottom-width,
177
+ border-color: transparent,
178
+ border-left-width: $input-border-left-width,
179
+ border-right-width: $input-border-right-width,
180
+ border-style: solid,
181
+ border-top-width: $input-border-top-width,
182
+ color: $input-plaintext-color,
183
+ display: block,
184
+ font-size: $input-font-size,
185
+ height: $input-height,
186
+ letter-spacing: inherit,
187
+ line-height: $input-line-height,
188
+ // match inputs if this class comes on inputs with default margins
189
+ margin-bottom: 0px,
190
+ min-width: 0px,
191
+ padding-bottom: $input-padding-y,
192
+ padding-left: 0px,
193
+ padding-right: 0px,
194
+ padding-top: $input-padding-y,
195
+ text-overflow: ellipsis,
196
+ width: 100%,
197
+ ),
198
+ $input-plaintext
199
+ );
200
+
201
+ // Input Lg
202
+
203
+ $input-border-radius-lg: var(
204
+ --input-lg-border-radius,
205
+ $border-radius-lg
206
+ ) !default;
207
+ $input-font-size-lg: var(
208
+ --input-lg-font-size,
209
+ $input-btn-font-size-lg
210
+ ) !default;
211
+ $input-height-lg: var(--input-lg-height, 48px) !default;
212
+ $input-line-height-lg: var(
213
+ --input-lg-line-height,
214
+ $input-btn-line-height-lg
215
+ ) !default;
216
+ $input-padding-x-lg: var(--input-lg-padding-x, $input-padding-x) !default;
217
+ $input-padding-y-lg: var(--input-lg-padding-y, $input-padding-y) !default;
218
+
219
+ $input-font-size-lg-mobile: null !default;
220
+ $input-height-lg-mobile: null !default;
221
+
222
+ $input-lg: () !default;
223
+ $input-lg: map-deep-merge(
224
+ (
225
+ border-radius: $input-border-radius-lg,
226
+ font-size: $input-font-size-lg,
227
+ height: $input-height-lg,
228
+ line-height: $input-line-height-lg,
229
+ padding-bottom: $input-padding-y-lg,
230
+ padding-left: $input-padding-x-lg,
231
+ padding-right: $input-padding-x-lg,
232
+ padding-top: $input-padding-y-lg,
233
+
234
+ media-breakpoint-down: (
235
+ sm: (
236
+ font-size: $input-font-size-lg-mobile,
237
+ height: $input-height-lg-mobile,
238
+ ),
239
+ ),
240
+ ),
241
+ $input-lg
242
+ );
243
+
244
+ // Input Sm
245
+
246
+ $input-border-radius-sm: var(--input-sm-border-radius, $border-radius) !default;
247
+ $input-font-size-sm: var(
248
+ --input-sm-font-size,
249
+ $input-btn-font-size-sm
250
+ ) !default;
251
+ $input-height-sm: var(--input-sm-height, 32px) !default;
252
+ $input-line-height-sm: var(
253
+ --input-sm-line-height,
254
+ $input-btn-line-height-sm
255
+ ) !default;
256
+ $input-padding-x-sm: var(--input-sm-padding-x, 12px) !default;
257
+ $input-padding-y-sm: var(--input-sm-padding-y, 4px) !default;
258
+
259
+ $input-font-size-sm-mobile: null !default;
260
+ $input-height-sm-mobile: null !default;
261
+
262
+ $input-sm: () !default;
263
+ $input-sm: map-deep-merge(
264
+ (
265
+ border-radius: $input-border-radius-sm,
266
+ font-size: $input-font-size-sm,
267
+ height: $input-height-sm,
268
+ line-height: $input-line-height-sm,
269
+ padding-bottom: $input-padding-y-sm,
270
+ padding-left: $input-padding-x-sm,
271
+ padding-right: $input-padding-x-sm,
272
+ padding-top: $input-padding-y-sm,
273
+
274
+ media-breakpoint-down: (
275
+ sm: (
276
+ height: $input-height-sm-mobile,
143
277
  ),
144
278
  ),
145
- $input
146
- );
279
+ ),
280
+ $input-sm
281
+ );
147
282
 
148
- // Form Control Variants
283
+ // Input Label (<label>)
149
284
 
150
- $input-palette: ();
151
- $input-palette: map-deep-merge(
152
- (
153
- '.form-control-shrink': (
154
- max-width: 100%,
155
- white-space: nowrap,
156
- width: min-content,
157
- ),
158
- ),
159
- $input-palette
160
- );
161
-
162
- // Form Control Plaintext
163
-
164
- $input-plaintext-color: $body-color;
165
-
166
- $input-plaintext: ();
167
- $input-plaintext: map-deep-merge(
168
- (
169
- background-clip: border-box,
170
- background-color: transparent,
171
- border-bottom-width: $input-border-bottom-width,
172
- border-color: transparent,
173
- border-left-width: $input-border-left-width,
174
- border-right-width: $input-border-right-width,
175
- border-style: solid,
176
- border-top-width: $input-border-top-width,
177
- color: $input-plaintext-color,
178
- display: block,
179
- font-size: $input-font-size,
180
- height: $input-height,
181
- letter-spacing: inherit,
182
- line-height: $input-line-height,
183
- // match inputs if this class comes on inputs with default margins
184
- margin-bottom:
185
- 0px,
186
- min-width: 0px,
187
- padding-bottom: $input-padding-y,
188
- padding-left: 0px,
189
- padding-right: 0px,
190
- padding-top: $input-padding-y,
191
- text-overflow: ellipsis,
192
- width: 100%,
193
- ),
194
- $input-plaintext
195
- );
196
-
197
- // Input Lg
198
-
199
- $input-border-radius-lg: var(--input-lg-border-radius, $border-radius-lg);
200
- $input-font-size-lg: var(--input-lg-font-size, $input-btn-font-size-lg);
201
- $input-height-lg: var(--input-lg-height, 48px);
202
- $input-line-height-lg: var(
203
- --input-lg-line-height,
204
- $input-btn-line-height-lg
205
- );
206
- $input-padding-x-lg: var(--input-lg-padding-x, $input-padding-x);
207
- $input-padding-y-lg: var(--input-lg-padding-y, $input-padding-y);
208
-
209
- $input-font-size-lg-mobile: null;
210
- $input-height-lg-mobile: null;
211
-
212
- $input-lg: ();
213
- $input-lg: map-deep-merge(
214
- (
215
- border-radius: $input-border-radius-lg,
216
- font-size: $input-font-size-lg,
217
- height: $input-height-lg,
218
- line-height: $input-line-height-lg,
219
- padding-bottom: $input-padding-y-lg,
220
- padding-left: $input-padding-x-lg,
221
- padding-right: $input-padding-x-lg,
222
- padding-top: $input-padding-y-lg,
223
-
224
- media-breakpoint-down: (
225
- sm: (
226
- font-size: $input-font-size-lg-mobile,
227
- height: $input-height-lg-mobile,
228
- ),
229
- ),
230
- ),
231
- $input-lg
232
- );
233
-
234
- // Input Sm
235
-
236
- $input-border-radius-sm: var(--input-sm-border-radius, $border-radius);
237
- $input-font-size-sm: var(--input-sm-font-size, $input-btn-font-size-sm);
238
- $input-height-sm: var(--input-sm-height, 32px);
239
- $input-line-height-sm: var(
240
- --input-sm-line-height,
241
- $input-btn-line-height-sm
242
- );
243
- $input-padding-x-sm: var(--input-sm-padding-x, 12px);
244
- $input-padding-y-sm: var(--input-sm-padding-y, 4px);
245
-
246
- $input-font-size-sm-mobile: null;
247
- $input-height-sm-mobile: null;
248
-
249
- $input-sm: ();
250
- $input-sm: map-deep-merge(
251
- (
252
- border-radius: $input-border-radius-sm,
253
- font-size: $input-font-size-sm,
254
- height: $input-height-sm,
255
- line-height: $input-line-height-sm,
256
- padding-bottom: $input-padding-y-sm,
257
- padding-left: $input-padding-x-sm,
258
- padding-right: $input-padding-x-sm,
259
- padding-top: $input-padding-y-sm,
260
-
261
- media-breakpoint-down: (
262
- sm: (
263
- height: $input-height-sm-mobile,
264
- ),
265
- ),
266
- ),
267
- $input-sm
268
- );
269
-
270
- // Input Label (<label>)
271
-
272
- $input-label-color: var(--input-label-color, $gray-900);
273
- $input-label-font-size: var(--input-label-font-size, 14px);
274
- $input-label-font-weight: var(
275
- --input-label-font-weight,
276
- $font-weight-semi-bold
277
- );
278
- $input-label-margin-bottom: var(--input-label-margin-bottom, 4px);
279
-
280
- $input-label-font-size-mobile: null;
281
-
282
- $input-label-for-cursor: $link-cursor;
283
-
284
- $input-label-focus-color: var(--input-label-focus-color, $gray-900);
285
-
286
- $input-label-disabled-color: var(--input-label-disabled-color, $gray-500);
287
- $input-label-disabled-cursor: $disabled-cursor;
288
-
289
- // Label Reference Mark
290
-
291
- $input-label-reference-mark-color: var(
292
- --input-label-reference-mark-color,
293
- $warning
294
- );
295
- $input-label-reference-mark-font-size: var(
296
- --input-label-reference-mark-font-size,
297
- 6px
298
- );
299
- $input-label-reference-mark-spacer: var(
300
- --input-label-reference-mark-spacer,
301
- 0px
302
- );
303
- $input-label-reference-mark-vertical-align: var(
304
- --input-label-reference-mark-vertical-align,
305
- super
306
- );
307
-
308
- $input-label: ();
309
- $input-label: map-deep-merge(
310
- (
311
- color: $input-label-color,
312
- font-size: $input-label-font-size,
313
- font-weight: $input-label-font-weight,
314
- margin-bottom: $input-label-margin-bottom,
315
- max-width: 100%,
316
- position: static,
317
- word-wrap: break-word,
285
+ $input-label-color: var(--input-label-color, $gray-900) !default;
286
+ $input-label-font-size: var(--input-label-font-size, 14px) !default;
287
+ $input-label-font-weight: var(
288
+ --input-label-font-weight,
289
+ $font-weight-semi-bold
290
+ ) !default;
291
+ $input-label-margin-bottom: var(--input-label-margin-bottom, 4px) !default;
318
292
 
319
- mobile: (
320
- font-size: $input-label-font-size-mobile,
321
- ),
293
+ $input-label-font-size-mobile: null !default;
322
294
 
323
- focus: (
324
- color: $input-label-focus-color,
325
- ),
295
+ $input-label-for-cursor: $link-cursor !default;
326
296
 
327
- disabled: (
328
- color: $input-label-disabled-color,
329
- cursor: $input-label-disabled-cursor,
330
- opacity: $input-disabled-opacity,
331
- ),
297
+ $input-label-focus-color: var(--input-label-focus-color, $gray-900) !default;
332
298
 
333
- for: (
334
- cursor: $input-label-for-cursor,
335
- ),
299
+ $input-label-disabled-color: var(
300
+ --input-label-disabled-color,
301
+ $gray-500
302
+ ) !default;
303
+ $input-label-disabled-cursor: $disabled-cursor !default;
336
304
 
337
- '+ .form-feedback-group': (
338
- margin-bottom: 12px,
339
- ),
305
+ // Label Reference Mark
340
306
 
341
- form-text: (
342
- margin-bottom: $input-label-margin-bottom,
343
- margin-top: 0px,
344
- ),
307
+ $input-label-reference-mark-color: var(
308
+ --input-label-reference-mark-color,
309
+ $warning
310
+ ) !default;
311
+ $input-label-reference-mark-font-size: var(
312
+ --input-label-reference-mark-font-size,
313
+ 6px
314
+ ) !default;
315
+ $input-label-reference-mark-spacer: var(
316
+ --input-label-reference-mark-spacer,
317
+ 0px
318
+ ) !default;
319
+ $input-label-reference-mark-vertical-align: var(
320
+ --input-label-reference-mark-vertical-align,
321
+ super
322
+ ) !default;
345
323
 
346
- form-help-text: (
347
- color: $secondary-l0,
348
- display: inline,
349
- font-size: 14px,
350
- font-weight: $font-weight-normal,
351
- margin-left: 8px,
352
- margin-top: 0px,
353
- ),
324
+ $input-label: () !default;
325
+ $input-label: map-deep-merge(
326
+ (
327
+ color: $input-label-color,
328
+ font-size: $input-label-font-size,
329
+ font-weight: $input-label-font-weight,
330
+ margin-bottom: $input-label-margin-bottom,
331
+ max-width: 100%,
332
+ position: static,
333
+ word-wrap: break-word,
354
334
 
355
- reference-mark: (
356
- color: $input-label-reference-mark-color,
357
- font-size: $input-label-reference-mark-font-size,
358
- margin-left: $input-label-reference-mark-spacer,
359
- margin-right: $input-label-reference-mark-spacer,
360
- vertical-align: $input-label-reference-mark-vertical-align,
361
- ),
335
+ mobile: (
336
+ font-size: $input-label-font-size-mobile,
362
337
  ),
363
- $input-label
364
- );
365
-
366
- // .form-control-label
367
338
 
368
- $form-control-label: ();
369
- $form-control-label: map-merge(
370
- (
371
- display: inline,
372
- margin-bottom: 0px,
339
+ focus: (
340
+ color: $input-label-focus-color,
373
341
  ),
374
- $form-control-label
375
- );
376
342
 
377
- // .form-control-label-text
343
+ disabled: (
344
+ color: $input-label-disabled-color,
345
+ cursor: $input-label-disabled-cursor,
346
+ opacity: $input-disabled-opacity,
347
+ ),
378
348
 
379
- $form-control-label-text: ();
380
- $form-control-label-text: map-merge(
381
- (
382
- cursor: map-deep-get($input-label, for, cursor),
383
- display: inline-block,
384
- margin-bottom: map-get($input-label, margin-bottom),
385
- max-width: 100%,
386
- word-wrap: break-word,
349
+ for: (
350
+ cursor: $input-label-for-cursor,
387
351
  ),
388
- $form-control-label-text
389
- );
390
352
 
391
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
353
+ '+ .form-feedback-group': (
354
+ margin-bottom: 12px,
355
+ ),
392
356
 
393
- $input-readonly-bg: $white;
357
+ form-text: (
358
+ margin-bottom: $input-label-margin-bottom,
359
+ margin-top: 0px,
360
+ ),
394
361
 
395
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
362
+ form-help-text: (
363
+ color: $secondary-l0,
364
+ display: inline,
365
+ font-size: 14px,
366
+ font-weight: $font-weight-normal,
367
+ margin-left: 8px,
368
+ margin-top: 0px,
369
+ ),
396
370
 
397
- $input-readonly-border-color: $input-border-color;
371
+ reference-mark: (
372
+ color: $input-label-reference-mark-color,
373
+ font-size: $input-label-reference-mark-font-size,
374
+ margin-left: $input-label-reference-mark-spacer,
375
+ margin-right: $input-label-reference-mark-spacer,
376
+ vertical-align: $input-label-reference-mark-vertical-align,
377
+ ),
378
+ ),
379
+ $input-label
380
+ );
398
381
 
399
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
382
+ // .form-control-label
400
383
 
401
- $input-readonly-color: null;
384
+ $form-control-label: () !default;
385
+ $form-control-label: map-merge(
386
+ (
387
+ display: inline,
388
+ margin-bottom: 0px,
389
+ ),
390
+ $form-control-label
391
+ );
402
392
 
403
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
393
+ // .form-control-label-text
404
394
 
405
- $input-readonly-cursor: null;
395
+ $form-control-label-text: () !default;
396
+ $form-control-label-text: map-merge(
397
+ (
398
+ cursor: map-deep-get($input-label, for, cursor),
399
+ display: inline-block,
400
+ margin-bottom: map-get($input-label, margin-bottom),
401
+ max-width: 100%,
402
+ word-wrap: break-word,
403
+ ),
404
+ $form-control-label-text
405
+ );
406
406
 
407
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
407
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
408
408
 
409
- $input-readonly-focus-bg: null;
409
+ $input-readonly-bg: $white !default;
410
410
 
411
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
411
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
412
412
 
413
- $input-readonly-focus-border-color: $input-focus-border-color;
413
+ $input-readonly-border-color: $input-border-color !default;
414
414
 
415
- // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
415
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
416
416
 
417
- $input-readonly-focus-color: null;
417
+ $input-readonly-color: null !default;
418
418
 
419
- $input-readonly: ();
420
- $input-readonly: map-deep-merge(
421
- (
422
- background-color:
423
- var(--input-readonly-background-color, $input-readonly-bg),
424
- border-color:
425
- var(
426
- --input-readonly-border-color,
427
- $input-readonly-border-color
428
- ),
429
- color: var(--input-readonly-color, $input-readonly-color),
430
- cursor: $input-readonly-cursor,
431
- opacity: var(--input-readonly-opacity, 1),
432
- focus: (
433
- background-color:
434
- var(
435
- --input-readonly-focus-background-color,
436
- $input-readonly-focus-bg
437
- ),
438
- border-color:
439
- var(
440
- --input-readonly-focus-border-color,
441
- $input-readonly-focus-border-color
442
- ),
443
- box-shadow: none,
444
- color:
445
- var(
446
- --input-readonly-focus-color,
447
- $input-readonly-focus-color
448
- ),
449
- ),
450
- ),
451
- $input-readonly
452
- );
419
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
453
420
 
454
- $input-plaintext-readonly: ();
455
- $input-plaintext-readonly: map-deep-merge(
456
- (
457
- border-radius: $input-border-radius,
458
- outline: 0,
459
- transition: $input-transition,
421
+ $input-readonly-cursor: null !default;
460
422
 
461
- focus: (
462
- border-color: $input-focus-border-color,
463
- box-shadow: none,
464
- ),
465
- ),
466
- $input-plaintext-readonly
467
- );
423
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
468
424
 
469
- // textarea.form-control, textarea.form-control-plaintext, .form-control.form-control-textarea
425
+ $input-readonly-focus-bg: null !default;
470
426
 
471
- $input-textarea-height: 100px;
427
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
472
428
 
473
- $input-textarea: ();
474
- $input-textarea: map-merge(
475
- (
476
- height: $input-textarea-height,
477
- resize: vertical,
478
- ),
479
- $input-textarea
480
- );
429
+ $input-readonly-focus-border-color: $input-focus-border-color !default;
481
430
 
482
- // textarea.form-control-lg, .form-control-lg.form-control-textarea
431
+ // @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
483
432
 
484
- $input-textarea-height-lg: 120px;
433
+ $input-readonly-focus-color: null !default;
485
434
 
486
- $input-textarea-lg: ();
487
- $input-textarea-lg: map-deep-merge(
488
- (
489
- height: $input-textarea-height-lg,
435
+ $input-readonly: () !default;
436
+ $input-readonly: map-deep-merge(
437
+ (
438
+ background-color:
439
+ var(--input-readonly-background-color, $input-readonly-bg),
440
+ border-color:
441
+ var(--input-readonly-border-color, $input-readonly-border-color),
442
+ color: var(--input-readonly-color, $input-readonly-color),
443
+ cursor: $input-readonly-cursor,
444
+ opacity: var(--input-readonly-opacity, 1),
445
+ focus: (
446
+ background-color:
447
+ var(
448
+ --input-readonly-focus-background-color,
449
+ $input-readonly-focus-bg
450
+ ),
451
+ border-color:
452
+ var(
453
+ --input-readonly-focus-border-color,
454
+ $input-readonly-focus-border-color
455
+ ),
456
+ box-shadow: none,
457
+ color:
458
+ var(--input-readonly-focus-color, $input-readonly-focus-color),
459
+ ),
460
+ ),
461
+ $input-readonly
462
+ );
463
+
464
+ $input-plaintext-readonly: () !default;
465
+ $input-plaintext-readonly: map-deep-merge(
466
+ (
467
+ border-radius: $input-border-radius,
468
+ outline: 0,
469
+ transition: $input-transition,
470
+
471
+ focus: (
472
+ border-color: $input-focus-border-color,
473
+ box-shadow: none,
474
+ ),
475
+ ),
476
+ $input-plaintext-readonly
477
+ );
478
+
479
+ // textarea.form-control, textarea.form-control-plaintext, .form-control.form-control-textarea
480
+
481
+ $input-textarea-height: 100px !default;
482
+
483
+ $input-textarea: () !default;
484
+ $input-textarea: map-merge(
485
+ (
486
+ height: $input-textarea-height,
487
+ resize: vertical,
488
+ ),
489
+ $input-textarea
490
+ );
491
+
492
+ // textarea.form-control-lg, .form-control-lg.form-control-textarea
493
+
494
+ $input-textarea-height-lg: 120px !default;
495
+
496
+ $input-textarea-lg: () !default;
497
+ $input-textarea-lg: map-deep-merge(
498
+ (
499
+ height: $input-textarea-height-lg,
500
+ ),
501
+ $input-textarea-lg
502
+ );
503
+
504
+ // textarea.form-control-sm, .form-control-sm.form-control-textarea
505
+
506
+ $input-textarea-height-sm: 80px !default;
507
+
508
+ $input-textarea-sm: () !default;
509
+ $input-textarea-sm: map-deep-merge(
510
+ (
511
+ height: $input-textarea-height-sm,
512
+ ),
513
+ $input-textarea-sm
514
+ );
515
+
516
+ // Form Control Label (Labels inside Form Control Tag Group)
517
+
518
+ $form-control-label-size: () !default;
519
+ $form-control-label-size: map-deep-merge(
520
+ (
521
+ border-width: 1px,
522
+ font-size: 12px,
523
+ height: auto,
524
+ margin-bottom: 5px,
525
+ margin-right: 10px,
526
+ margin-top: 5px,
527
+ min-height: 24px,
528
+ padding-bottom: 5px,
529
+ padding-left: 8px,
530
+ padding-right: 8px,
531
+ padding-top: 5px,
532
+ text-transform: none,
533
+
534
+ label-item: (
535
+ margin-bottom: -1px,
536
+ margin-top: -1px,
537
+ ),
538
+ ),
539
+ $form-control-label-size
540
+ );
541
+
542
+ // Form Control Tag Group
543
+
544
+ $form-control-tag-group-padding-y: calc(
545
+ (
546
+ #{$input-height} - #{$input-border-bottom-width} - #{$input-border-top-width} -
547
+ #{map-get($form-control-label-size, min-height)} - #{map-get(
548
+ $form-control-label-size,
549
+ margin-bottom
550
+ )} - #{map-get($form-control-label-size, margin-top)}
551
+ ) * 0.5
552
+ ) !default;
553
+
554
+ $form-control-inset-min-height: calc(
555
+ #{$input-font-size} * #{$input-line-height}
556
+ ) !default;
557
+
558
+ $form-control-inset-margin-y: calc(
559
+ (
560
+ #{$input-height} - #{$input-border-bottom-width} - #{$input-border-top-width} -
561
+ (#{$form-control-tag-group-padding-y} * 2) - #{$form-control-inset-min-height}
562
+ ) * 0.5
563
+ ) !default;
564
+
565
+ $form-control-inset: () !default;
566
+ $form-control-inset: map-deep-merge(
567
+ (
568
+ background-color: transparent,
569
+ border-width: 0px,
570
+ color: $input-color,
571
+ flex-grow: 1,
572
+ margin-bottom: $form-control-inset-margin-y,
573
+ margin-left: 8px,
574
+ margin-top: $form-control-inset-margin-y,
575
+ min-height: $form-control-inset-min-height,
576
+ padding: 0px,
577
+ width: 50px,
578
+
579
+ focus: (
580
+ outline: 0,
490
581
  ),
491
- $input-textarea-lg
492
- );
493
-
494
- // textarea.form-control-sm, .form-control-sm.form-control-textarea
495
582
 
496
- $input-textarea-height-sm: 80px;
497
-
498
- $input-textarea-sm: ();
499
- $input-textarea-sm: map-deep-merge(
500
- (
501
- height: $input-textarea-height-sm,
583
+ disabled: (
584
+ background-color: $input-disabled-bg,
585
+ border-color: $input-disabled-border-color,
586
+ color: $input-disabled-color,
587
+ cursor: $input-disabled-cursor,
588
+ opacity: $input-disabled-opacity,
589
+ ),
590
+ ),
591
+ $form-control-inset
592
+ );
593
+
594
+ $form-control-tag-group: () !default;
595
+ $form-control-tag-group: map-merge(
596
+ (
597
+ align-items: center,
598
+ color: $secondary,
599
+ display: flex,
600
+ flex-wrap: wrap,
601
+ height: auto,
602
+ padding-bottom: $form-control-tag-group-padding-y,
603
+ padding-left: 8px,
604
+ padding-right: 8px,
605
+ padding-top: $form-control-tag-group-padding-y,
606
+ ),
607
+ $form-control-tag-group
608
+ );
609
+
610
+ $form-control-tag-group-autofit-row: () !default;
611
+ $form-control-tag-group-autofit-row: map-merge(
612
+ (
613
+ align-items: center,
614
+ flex-grow: 1,
615
+ margin-left: -8px,
616
+ margin-right: -8px,
617
+ width: auto,
618
+ ),
619
+ $form-control-tag-group-autofit-row
620
+ );
621
+
622
+ $form-control-tag-group-autofit-col: () !default;
623
+ $form-control-tag-group-autofit-col: map-merge(
624
+ (
625
+ padding-left: 8px,
626
+ padding-right: 8px,
627
+ ),
628
+ $form-control-tag-group-autofit-col
629
+ );
630
+
631
+ $form-control-tag-group-input-group-item: () !default;
632
+ $form-control-tag-group-input-group-item: map-merge(
633
+ (
634
+ align-items: center,
635
+ ),
636
+ $form-control-tag-group-input-group-item
637
+ );
638
+
639
+ $form-control-tag-group-inline-item: () !default;
640
+ $form-control-tag-group-inline-item: map-merge(
641
+ (
642
+ height: $form-control-inset-min-height,
643
+ margin-bottom: $form-control-inset-margin-y,
644
+ margin-top: $form-control-inset-margin-y,
645
+ ),
646
+ $form-control-tag-group-inline-item
647
+ );
648
+
649
+ $form-control-tag-group-btn: () !default;
650
+ $form-control-tag-group-btn: map-deep-merge(
651
+ (
652
+ height: $form-control-inset-min-height,
653
+ line-height: 1,
654
+ margin-bottom: $form-control-inset-margin-y,
655
+ margin-top: $form-control-inset-margin-y,
656
+ padding-bottom: 0px,
657
+ padding-left: $btn-padding-x-sm,
658
+ padding-right: $btn-padding-x-sm,
659
+ padding-top: 0px,
660
+ ),
661
+ $form-control-tag-group-btn
662
+ );
663
+
664
+ $form-control-tag-group-btn-monospaced: () !default;
665
+ $form-control-tag-group-btn-monospaced: map-deep-merge(
666
+ (
667
+ height: $form-control-inset-min-height,
668
+ line-height: 1,
669
+ margin-bottom: $form-control-inset-margin-y,
670
+ margin-top: $form-control-inset-margin-y,
671
+ padding-left: 0px,
672
+ padding-right: 0px,
673
+ width: $form-control-inset-min-height,
674
+ ),
675
+ $form-control-tag-group-btn-monospaced
676
+ );
677
+
678
+ $form-control-tag-group-component-action: () !default;
679
+ $form-control-tag-group-component-action: map-deep-merge(
680
+ (
681
+ height: 100%,
682
+ margin-bottom: 0px,
683
+ margin-top: 0px,
684
+ width: 32px,
685
+ ),
686
+ $form-control-tag-group-component-action
687
+ );
688
+
689
+ // .form-control-tag-group-sm.form-control
690
+
691
+ $form-control-tag-group-sm: () !default;
692
+ $form-control-tag-group-sm: map-deep-merge(
693
+ (
694
+ border-radius: clay-enable-rounded($input-border-radius-sm),
695
+ font-size: $input-font-size-sm,
696
+ height: auto,
697
+ line-height: $input-line-height-sm,
698
+ min-height: $input-height-sm,
699
+ padding-bottom: 0px,
700
+ padding-left: 4px,
701
+ padding-right: 4px,
702
+ padding-top: 0px,
703
+
704
+ inline-item: (
705
+ margin-bottom: 0px,
706
+ margin-top: 0px,
502
707
  ),
503
- $input-textarea-sm
504
- );
505
-
506
- // Form Control Label (Labels inside Form Control Tag Group)
507
708
 
508
- $form-control-label-size: ();
509
- $form-control-label-size: map-deep-merge(
510
- (
511
- border-width: 1px,
512
- font-size: 12px,
513
- height: auto,
514
- margin-bottom: 5px,
515
- margin-right: 10px,
516
- margin-top: 5px,
517
- min-height: 24px,
518
- padding-bottom: 5px,
519
- padding-left: 8px,
520
- padding-right: 8px,
521
- padding-top: 5px,
522
- text-transform: none,
523
-
524
- label-item: (
525
- margin-bottom: -1px,
526
- margin-top: -1px,
527
- ),
709
+ label: (
710
+ margin-bottom: 3px,
711
+ margin-right: 4px,
712
+ margin-top: 3px,
528
713
  ),
529
- $form-control-label-size
530
- );
531
-
532
- // Form Control Tag Group
533
-
534
- $form-control-tag-group-padding-y: calc(
535
- (
536
- #{$input-height} -
537
- #{$input-border-bottom-width} -
538
- #{$input-border-top-width} -
539
- #{map-get($form-control-label-size, min-height)} -
540
- #{map-get($form-control-label-size, margin-bottom)} -
541
- #{map-get($form-control-label-size, margin-top)}
542
- ) *
543
- 0.5
544
- );
545
-
546
- $form-control-inset-min-height: calc(
547
- #{$input-font-size} * #{$input-line-height}
548
- );
549
-
550
- $form-control-inset-margin-y: calc(
551
- (
552
- #{$input-height} -
553
- #{$input-border-bottom-width} -
554
- #{$input-border-top-width} -
555
- (#{$form-control-tag-group-padding-y} * 2) -
556
- #{$form-control-inset-min-height}
557
- ) *
558
- 0.5
559
- );
560
-
561
- $form-control-inset: ();
562
- $form-control-inset: map-deep-merge(
563
- (
564
- background-color: transparent,
565
- border-width: 0px,
566
- color: $input-color,
567
- flex-grow: 1,
568
- margin-bottom: $form-control-inset-margin-y,
569
- margin-left: 8px,
570
- margin-top: $form-control-inset-margin-y,
571
- min-height: $form-control-inset-min-height,
572
- padding: 0px,
573
- width: 50px,
574
-
575
- focus: (
576
- outline: 0,
577
- ),
578
714
 
579
- disabled: (
580
- background-color: $input-disabled-bg,
581
- border-color: $input-disabled-border-color,
582
- color: $input-disabled-color,
583
- cursor: $input-disabled-cursor,
584
- opacity: $input-disabled-opacity,
585
- ),
715
+ form-control-inset: (
716
+ margin-bottom: 2px,
717
+ margin-left: 8px,
718
+ margin-top: 3px,
586
719
  ),
587
- $form-control-inset
588
- );
720
+ ),
721
+ $form-control-tag-group-sm
722
+ );
589
723
 
590
- $form-control-tag-group: ();
591
- $form-control-tag-group: map-merge(
592
- (
593
- align-items: center,
594
- color: $secondary,
595
- display: flex,
596
- flex-wrap: wrap,
597
- height: auto,
598
- padding-bottom: $form-control-tag-group-padding-y,
599
- padding-left: 8px,
600
- padding-right: 8px,
601
- padding-top: $form-control-tag-group-padding-y,
602
- ),
603
- $form-control-tag-group
604
- );
605
-
606
- $form-control-tag-group-autofit-row: ();
607
- $form-control-tag-group-autofit-row: map-merge(
608
- (
609
- align-items: center,
610
- flex-grow: 1,
611
- margin-left: -8px,
612
- margin-right: -8px,
613
- width: auto,
614
- ),
615
- $form-control-tag-group-autofit-row
616
- );
617
-
618
- $form-control-tag-group-autofit-col: ();
619
- $form-control-tag-group-autofit-col: map-merge(
620
- (
621
- padding-left: 8px,
622
- padding-right: 8px,
623
- ),
624
- $form-control-tag-group-autofit-col
625
- );
626
-
627
- $form-control-tag-group-input-group-item: ();
628
- $form-control-tag-group-input-group-item: map-merge(
629
- (
630
- align-items: center,
631
- ),
632
- $form-control-tag-group-input-group-item
633
- );
634
-
635
- $form-control-tag-group-inline-item: ();
636
- $form-control-tag-group-inline-item: map-merge(
637
- (
638
- height: $form-control-inset-min-height,
639
- margin-bottom: $form-control-inset-margin-y,
640
- margin-top: $form-control-inset-margin-y,
641
- ),
642
- $form-control-tag-group-inline-item
643
- );
644
-
645
- $form-control-tag-group-btn: ();
646
- $form-control-tag-group-btn: map-deep-merge(
647
- (
648
- height: $form-control-inset-min-height,
649
- line-height: 1,
650
- margin-bottom: $form-control-inset-margin-y,
651
- margin-top: $form-control-inset-margin-y,
652
- padding-bottom: 0px,
653
- padding-left: $btn-padding-x-sm,
654
- padding-right: $btn-padding-x-sm,
655
- padding-top: 0px,
656
- ),
657
- $form-control-tag-group-btn
658
- );
659
-
660
- $form-control-tag-group-btn-monospaced: ();
661
- $form-control-tag-group-btn-monospaced: map-deep-merge(
662
- (
663
- height: $form-control-inset-min-height,
664
- line-height: 1,
665
- margin-bottom: $form-control-inset-margin-y,
666
- margin-top: $form-control-inset-margin-y,
667
- padding-left: 0px,
668
- padding-right: 0px,
669
- width: $form-control-inset-min-height,
670
- ),
671
- $form-control-tag-group-btn-monospaced
672
- );
673
-
674
- $form-control-tag-group-component-action: ();
675
- $form-control-tag-group-component-action: map-deep-merge(
676
- (
677
- height: 100%,
678
- margin-bottom: 0px,
679
- margin-top: 0px,
680
- width: 32px,
681
- ),
682
- $form-control-tag-group-component-action
683
- );
684
-
685
- // .form-control-tag-group-sm.form-control
686
-
687
- $form-control-tag-group-sm: ();
688
- $form-control-tag-group-sm: map-deep-merge(
689
- (
690
- border-radius: clay-enable-rounded($input-border-radius-sm),
691
- font-size: $input-font-size-sm,
692
- height: auto,
693
- line-height: $input-line-height-sm,
694
- min-height: $input-height-sm,
695
- padding-bottom: 0px,
696
- padding-left: 4px,
697
- padding-right: 4px,
698
- padding-top: 0px,
699
-
700
- inline-item: (
701
- margin-bottom: 0px,
702
- margin-top: 0px,
703
- ),
724
+ // Form Grid
704
725
 
705
- label: (
706
- margin-bottom: 3px,
707
- margin-right: 4px,
708
- margin-top: 3px,
709
- ),
726
+ // @deprecated as of v3.x with no replacement
710
727
 
711
- form-control-inset: (
712
- margin-bottom: 2px,
713
- margin-left: 8px,
714
- margin-top: 3px,
715
- ),
716
- ),
717
- $form-control-tag-group-sm
718
- );
728
+ $form-grid-gutter-width: 10px !default;
719
729
 
720
- // Form Grid
730
+ // .form-fieldset
721
731
 
722
- // @deprecated as of v3.x with no replacement
732
+ $form-fieldset: () !default;
723
733
 
724
- $form-grid-gutter-width: 10px;
734
+ // .form-legend
725
735
 
726
- // .form-fieldset
736
+ $form-legend: () !default;
727
737
 
728
- $form-fieldset: ();
738
+ // Form Group
729
739
 
730
- // .form-legend
740
+ $form-group-margin-bottom: 24px !default;
731
741
 
732
- $form-legend: ();
742
+ $form-group-margin-bottom-mobile: 16px !default;
733
743
 
734
- // Form Group
744
+ $form-group-sm-margin-bottom: 16px !default;
735
745
 
736
- $form-group-margin-bottom: 24px;
746
+ $form-group-sm-margin-bottom-mobile: null !default;
737
747
 
738
- $form-group-margin-bottom-mobile: 16px;
748
+ $form-group-sm-input-label-font-size: 12px !default;
739
749
 
740
- $form-group-sm-margin-bottom: 16px;
750
+ $form-group-sm-input-label-line-height: 1.5 !default;
741
751
 
742
- $form-group-sm-margin-bottom-mobile: null;
752
+ $form-group-sm-input-label-margin-bottom: 2px !default;
743
753
 
744
- $form-group-sm-input-label-margin-bottom: 3px;
754
+ $form-group-sm-item-label-spacer: 25px !default;
745
755
 
746
- $form-group-sm-item-label-spacer: 25px;
756
+ // Form Group Autofit
747
757
 
748
- // Form Group Autofit
758
+ $form-group-autofit-margin-bottom: $form-group-margin-bottom !default;
749
759
 
750
- $form-group-autofit-margin-bottom: $form-group-margin-bottom;
760
+ // Form Control File
751
761
 
752
- // Form Control File
762
+ $input-file-cursor: $link-cursor !default;
753
763
 
754
- $input-file-cursor: $link-cursor;
764
+ // Form Check
755
765
 
756
- // Form Check
766
+ $form-check-input-cursor: $link-cursor !default;
767
+ $form-check-input-gutter: 0px !default;
768
+ $form-check-input-margin-y: 0px !default;
757
769
 
758
- $form-check-input-cursor: $link-cursor;
759
- $form-check-input-gutter: 0px;
760
- $form-check-input-margin-y: 0px;
770
+ $form-check-label-cursor: $input-label-for-cursor !default;
761
771
 
762
- $form-check-label-cursor: $input-label-for-cursor;
772
+ $form-check-label-text-margin-left: -3px !default;
773
+ $form-check-label-text-padding-left: 8px !default;
763
774
 
764
- $form-check-label-text-margin-left: -3px;
765
- $form-check-label-text-padding-left: 8px;
775
+ $form-check-input-disabled-cursor: $disabled-cursor !default;
766
776
 
767
- $form-check-input-disabled-cursor: $disabled-cursor;
777
+ $form-check-label-text-disabled-cursor: $disabled-cursor !default;
768
778
 
769
- $form-check-label-text-disabled-cursor: $disabled-cursor;
779
+ // Form Check Inline
770
780
 
771
- // Form Check Inline
781
+ $form-check-inline-margin-x: 12px !default;
772
782
 
773
- $form-check-inline-margin-x: 12px;
783
+ $form-check-inline-input-margin-x: auto !default;
774
784
 
775
- $form-check-inline-input-margin-x: auto;
785
+ // .form-feedback-group
776
786
 
777
- // .form-feedback-group
787
+ $form-feedback-group: () !default;
788
+ $form-feedback-group: map-merge(
789
+ (
790
+ width: 100%,
791
+ word-wrap: break-word,
792
+ ),
793
+ $form-feedback-group
794
+ );
778
795
 
779
- $form-feedback-group: ();
780
- $form-feedback-group: map-merge(
781
- (
782
- width: 100%,
783
- word-wrap: break-word,
784
- ),
785
- $form-feedback-group
786
- );
796
+ // .form-text
787
797
 
788
- // .form-text
798
+ $form-text-color: $gray-600 !default;
799
+ $form-text-font-size: 14px !default;
800
+ $form-text-font-weight: $font-weight-semi-bold !default;
801
+ $form-text-margin-top: 4px !default;
789
802
 
790
- $form-text-color: $gray-600;
791
- $form-text-font-size: 14px;
792
- $form-text-font-weight: $font-weight-semi-bold;
793
- $form-text-margin-top: 4px;
803
+ $form-text: () !default;
804
+ $form-text: map-merge(
805
+ (
806
+ color: $form-text-color,
807
+ display: block,
808
+ font-size: $form-text-font-size,
809
+ font-weight: $form-text-font-weight,
810
+ margin-top: $form-text-margin-top,
811
+ word-wrap: break-word,
794
812
 
795
- $form-text: ();
796
- $form-text: map-merge(
797
- (
798
- color: $form-text-color,
799
- display: block,
800
- font-size: $form-text-font-size,
801
- font-weight: $form-text-font-weight,
802
- margin-top: $form-text-margin-top,
803
- word-wrap: break-word,
813
+ blockquote: (
814
+ font-style: italic,
815
+ font-weight: $font-weight-normal,
816
+ margin-bottom: 0px,
817
+ margin-top: 12px,
818
+ padding-left: 12px,
819
+ position: relative,
804
820
 
805
- blockquote: (
806
- font-style: italic,
807
- font-weight: $font-weight-normal,
808
- margin-bottom: 0px,
809
- margin-top: 12px,
810
- padding-left: 12px,
811
- position: relative,
812
-
813
- before: (
814
- background-color: $secondary-l1,
815
- bottom: 0px,
816
- content: '',
817
- display: block,
818
- left: 0px,
819
- position: absolute,
820
- top: 0px,
821
- width: 2px,
821
+ before: (
822
+ background-color: $secondary-l1,
823
+ bottom: 0px,
824
+ content: '',
825
+ display: block,
826
+ left: 0px,
827
+ position: absolute,
828
+ top: 0px,
829
+ width: 2px,
830
+ ),
831
+ ),
832
+ ),
833
+ $form-text
834
+ );
835
+
836
+ $form-help-text: () !default;
837
+ $form-help-text: map-deep-merge(
838
+ (
839
+ color: $secondary,
840
+ display: block,
841
+ font-size: 14px,
842
+ margin-top: 4px,
843
+ ),
844
+ $form-help-text
845
+ );
846
+
847
+ // .form-feedback-item
848
+
849
+ $form-feedback-font-size: 14px !default;
850
+ $form-feedback-font-weight: $font-weight-semi-bold !default;
851
+ $form-feedback-margin-top: 4px !default;
852
+
853
+ $form-feedback-item: () !default;
854
+ $form-feedback-item: map-merge(
855
+ (
856
+ font-size: $form-feedback-font-size,
857
+ font-weight: $form-feedback-font-weight,
858
+ margin-top: $form-feedback-margin-top,
859
+ word-wrap: break-word,
860
+ ),
861
+ $form-feedback-item
862
+ );
863
+
864
+ // .form-feedback-indicator
865
+
866
+ $form-feedback-indicator-margin-x: 0px !default;
867
+
868
+ $form-feedback-indicator: () !default;
869
+ $form-feedback-indicator: map-deep-merge(
870
+ (
871
+ margin-left: $form-feedback-indicator-margin-x,
872
+ margin-right: $form-feedback-indicator-margin-x,
873
+
874
+ first-child: (
875
+ margin-left: 0px,
876
+ ),
877
+ ),
878
+ $form-feedback-indicator
879
+ );
880
+
881
+ $form-feedback-valid-color: $success !default;
882
+
883
+ $form-feedback-warning-color: $warning !default;
884
+
885
+ $form-feedback-invalid-color: $danger !default;
886
+
887
+ // .has-error .form-control
888
+
889
+ $input-danger-bg: $danger-l2 !default;
890
+ $input-danger-border-color: $danger-l1 !default;
891
+ $input-danger-box-shadow: null !default;
892
+ $input-danger-color: $input-color !default;
893
+
894
+ $input-danger-focus-bg: $input-danger-bg !default;
895
+ $input-danger-focus-border-color: $input-danger-border-color !default;
896
+ $input-danger-focus-box-shadow: $input-focus-box-shadow !default;
897
+ $input-danger-focus-color: $input-danger-color !default;
898
+
899
+ $input-danger: () !default;
900
+ $input-danger: map-deep-merge(
901
+ (
902
+ background-color: var(--input-danger-background-color, $input-danger-bg),
903
+ border-color:
904
+ var(--input-danger-border-color, $input-danger-border-color),
905
+ box-shadow: var(--input-danger-box-shadow, $input-danger-box-shadow),
906
+ color: var(--input-danger-color, $input-danger-color),
907
+ focus: (
908
+ background-color:
909
+ var(
910
+ --input-danger-focus-background-color,
911
+ $input-danger-focus-bg
822
912
  ),
823
- ),
824
- ),
825
- $form-text
826
- );
827
-
828
- $form-help-text: ();
829
- $form-help-text: map-deep-merge(
830
- (
831
- color: $secondary,
832
- display: block,
833
- font-size: 14px,
834
- margin-top: 4px,
913
+ border-color:
914
+ var(
915
+ --input-danger-focus-border-color,
916
+ $input-danger-focus-border-color
917
+ ),
918
+ box-shadow:
919
+ var(
920
+ --input-danger-focus-box-shadow,
921
+ $input-danger-focus-box-shadow
922
+ ),
923
+ color: var(--input-danger-focus-color, $input-danger-focus-color),
835
924
  ),
836
- $form-help-text
837
- );
838
-
839
- // .form-feedback-item
840
-
841
- $form-feedback-font-size: 14px;
842
- $form-feedback-font-weight: $font-weight-semi-bold;
843
- $form-feedback-margin-top: 4px;
844
925
 
845
- $form-feedback-item: ();
846
- $form-feedback-item: map-merge(
847
- (
848
- font-size: $form-feedback-font-size,
849
- font-weight: $form-feedback-font-weight,
850
- margin-top: $form-feedback-margin-top,
851
- word-wrap: break-word,
926
+ focus-within: (
927
+ background-color: $input-danger-bg,
928
+ border-color: $input-danger-border-color,
929
+ box-shadow: $input-danger-box-shadow,
930
+ color: $input-danger-color,
852
931
  ),
853
- $form-feedback-item
854
- );
855
-
856
- // .form-feedback-indicator
932
+ ),
933
+ $input-danger
934
+ );
857
935
 
858
- $form-feedback-indicator-margin-x: 0px;
936
+ // .has-error .form-control[readonly]
859
937
 
860
- $form-feedback-indicator: ();
861
- $form-feedback-indicator: map-deep-merge(
862
- (
863
- margin-left: $form-feedback-indicator-margin-x,
864
- margin-right: $form-feedback-indicator-margin-x,
865
-
866
- first-child: (
867
- margin-left: 0px,
868
- ),
938
+ $input-danger-readonly: () !default;
939
+ $input-danger-readonly: map-deep-merge(
940
+ (
941
+ background-color: map-get($input-readonly, background-color),
942
+ border-color: map-get($input-readonly, border-color),
943
+ focus: (
944
+ border-color: $input-focus-border-color,
869
945
  ),
870
- $form-feedback-indicator
871
- );
872
-
873
- $form-feedback-valid-color: $success;
874
-
875
- $form-feedback-warning-color: $warning;
876
-
877
- $form-feedback-invalid-color: $danger;
878
-
879
- // .has-error .form-control
946
+ ),
947
+ $input-danger-readonly
948
+ );
880
949
 
881
- $input-danger-bg: $danger-l2;
882
- $input-danger-border-color: $danger-l1;
883
- $input-danger-box-shadow: null;
884
- $input-danger-color: $input-color;
950
+ $input-danger-checkbox-label-color: $danger !default;
885
951
 
886
- $input-danger-focus-bg: $input-danger-bg;
887
- $input-danger-focus-border-color: $input-danger-border-color;
888
- $input-danger-focus-box-shadow: $input-focus-box-shadow;
889
- $input-danger-focus-color: $input-danger-color;
952
+ $input-danger-label-color: null !default;
890
953
 
891
- $input-danger: ();
892
- $input-danger: map-deep-merge(
893
- (
894
- background-color:
895
- var(--input-danger-background-color, $input-danger-bg),
896
- border-color:
897
- var(--input-danger-border-color, $input-danger-border-color),
898
- box-shadow:
899
- var(--input-danger-box-shadow, $input-danger-box-shadow),
900
- color: var(--input-danger-color, $input-danger-color),
901
- focus: (
902
- background-color:
903
- var(
904
- --input-danger-focus-background-color,
905
- $input-danger-focus-bg
906
- ),
907
- border-color:
908
- var(
909
- --input-danger-focus-border-color,
910
- $input-danger-focus-border-color
911
- ),
912
- box-shadow:
913
- var(
914
- --input-danger-focus-box-shadow,
915
- $input-danger-focus-box-shadow
916
- ),
917
- color:
918
- var(--input-danger-focus-color, $input-danger-focus-color),
919
- ),
954
+ // .has-error select.form-control
920
955
 
921
- focus-within: (
922
- background-color: $input-danger-bg,
923
- border-color: $input-danger-border-color,
924
- box-shadow: $input-danger-box-shadow,
925
- color: $input-danger-color,
926
- ),
927
- ),
928
- $input-danger
929
- );
956
+ $input-danger-select-icon-color: $input-danger-border-color !default;
930
957
 
931
- // .has-error .form-control[readonly]
958
+ $input-danger-select-icon: clay-icon(caret-double-l, #f48989) !default;
932
959
 
933
- $input-danger-readonly: ();
934
- $input-danger-readonly: map-deep-merge(
935
- (
936
- background-color: map-get($input-readonly, background-color),
937
- border-color: map-get($input-readonly, border-color),
938
- focus: (
939
- border-color: $input-focus-border-color,
940
- ),
941
- ),
942
- $input-danger-readonly
943
- );
960
+ $input-danger-select: () !default;
961
+ $input-danger-select: map-deep-merge(
962
+ (
963
+ background-image: $input-danger-select-icon,
964
+ ),
965
+ $input-danger-select
966
+ );
944
967
 
945
- $input-danger-checkbox-label-color: $danger;
968
+ // .has-error select.form-control[size]
946
969
 
947
- $input-danger-label-color: null;
970
+ $input-danger-select-size: () !default;
971
+ $input-danger-select-size: map-deep-merge(
972
+ (
973
+ background-image: none,
974
+ ),
975
+ $input-danger-select-size
976
+ );
948
977
 
949
- // .has-error select.form-control
978
+ // .has-error select.form-control[multiple]
950
979
 
951
- $input-danger-select-icon-color: $input-danger-border-color;
980
+ $input-danger-select-multiple: () !default;
981
+ $input-danger-select-multiple: map-deep-merge(
982
+ $input-danger-select-size,
983
+ $input-danger-select-multiple
984
+ );
952
985
 
953
- $input-danger-select-icon: clay-icon(caret-double-l, #f48989);
986
+ // .has-error
954
987
 
955
- $input-danger-select: ();
956
- $input-danger-select: map-deep-merge(
957
- (
958
- background-image: $input-danger-select-icon,
988
+ $has-error: () !default;
989
+ $has-error: map-deep-merge(
990
+ (
991
+ label: (
992
+ color: $input-danger-label-color,
959
993
  ),
960
- $input-danger-select
961
- );
962
-
963
- // .has-error select.form-control[size]
964
994
 
965
- $input-danger-select-size: ();
966
- $input-danger-select-size: map-deep-merge(
967
- (
968
- background-image: none,
995
+ custom-control-label: (
996
+ color: $input-danger-checkbox-label-color,
969
997
  ),
970
- $input-danger-select-size
971
- );
972
-
973
- // .has-error select.form-control[multiple]
974
-
975
- $input-danger-select-multiple: ();
976
- $input-danger-select-multiple: map-deep-merge(
977
- $input-danger-select-size,
978
- $input-danger-select-multiple
979
- );
980
-
981
- // .has-error
982
998
 
983
- $has-error: ();
984
- $has-error: map-deep-merge(
985
- (
986
- label: (
987
- color: $input-danger-label-color,
988
- ),
989
-
990
- custom-control-label: (
991
- color: $input-danger-checkbox-label-color,
999
+ form-control:
1000
+ map-deep-merge(
1001
+ (
1002
+ readonly: $input-danger-readonly,
1003
+ ),
1004
+ $input-danger
992
1005
  ),
1006
+ form-feedback-item: (
1007
+ color: $form-feedback-invalid-color,
1008
+ ),
993
1009
 
1010
+ select: (
994
1011
  form-control:
995
1012
  map-deep-merge(
996
1013
  (
997
- readonly: $input-danger-readonly,
1014
+ multiple: $input-danger-select-multiple,
1015
+ size: $input-danger-select-size,
998
1016
  ),
999
- $input-danger
1017
+ $input-danger-select
1000
1018
  ),
1001
- form-feedback-item: (
1002
- color: $form-feedback-invalid-color,
1003
- ),
1019
+ ),
1004
1020
 
1005
- select: (
1006
- form-control:
1007
- map-deep-merge(
1008
- (
1009
- multiple: $input-danger-select-multiple,
1010
- size: $input-danger-select-size,
1011
- ),
1012
- $input-danger-select
1021
+ input-group-item: (
1022
+ focus: (
1023
+ box-shadow:
1024
+ setter(
1025
+ $input-danger-focus-box-shadow,
1026
+ $input-danger-box-shadow
1013
1027
  ),
1014
- ),
1015
-
1016
- input-group-item: (
1017
- focus: (
1018
- box-shadow:
1028
+ input-group-inset: (
1029
+ background-color:
1030
+ setter($input-danger-focus-bg, $input-danger-bg),
1031
+ border-color:
1019
1032
  setter(
1020
- $input-danger-focus-box-shadow,
1021
- $input-danger-box-shadow
1033
+ $input-danger-focus-border-color,
1034
+ $input-danger-border-color
1022
1035
  ),
1023
- input-group-inset: (
1036
+ input-group-inset-item: (
1024
1037
  background-color:
1025
1038
  setter($input-danger-focus-bg, $input-danger-bg),
1026
1039
  border-color:
@@ -1028,198 +1041,187 @@
1028
1041
  $input-danger-focus-border-color,
1029
1042
  $input-danger-border-color
1030
1043
  ),
1031
- input-group-inset-item: (
1032
- background-color:
1033
- setter(
1034
- $input-danger-focus-bg,
1035
- $input-danger-bg
1036
- ),
1037
- border-color:
1038
- setter(
1039
- $input-danger-focus-border-color,
1040
- $input-danger-border-color
1041
- ),
1042
- ),
1043
1044
  ),
1044
1045
  ),
1046
+ ),
1045
1047
 
1046
- input-group-inset: (
1047
- input-group-inset-item: (
1048
- background-color: $input-danger-bg,
1049
- border-color: $input-danger-border-color,
1050
- box-shadow: $input-danger-box-shadow,
1051
- ),
1048
+ input-group-inset: (
1049
+ input-group-inset-item: (
1050
+ background-color: $input-danger-bg,
1051
+ border-color: $input-danger-border-color,
1052
+ box-shadow: $input-danger-box-shadow,
1053
+ ),
1052
1054
 
1053
- focus: (
1054
- box-shadow: none,
1055
-
1056
- input-group-inset-item: (
1057
- background-color:
1058
- setter(
1059
- $input-danger-focus-bg,
1060
- $input-danger-bg
1061
- ),
1062
- border-color:
1063
- setter(
1064
- $input-danger-focus-border-color,
1065
- $input-danger-border-color
1066
- ),
1067
- ),
1055
+ focus: (
1056
+ box-shadow: none,
1057
+
1058
+ input-group-inset-item: (
1059
+ background-color:
1060
+ setter($input-danger-focus-bg, $input-danger-bg),
1061
+ border-color:
1062
+ setter(
1063
+ $input-danger-focus-border-color,
1064
+ $input-danger-border-color
1065
+ ),
1068
1066
  ),
1069
1067
  ),
1070
1068
  ),
1071
1069
  ),
1072
- $has-error
1073
- );
1074
-
1075
- // .has-warning .form-control
1076
-
1077
- $input-warning-bg: $warning-l2;
1078
- $input-warning-border-color: $warning-l1;
1079
- $input-warning-box-shadow: null;
1080
- $input-warning-color: $input-color;
1081
-
1082
- $input-warning-focus-bg: $input-warning-bg;
1083
- $input-warning-focus-border-color: $input-warning-border-color;
1084
- $input-warning-focus-box-shadow: $input-focus-box-shadow;
1085
- $input-warning-focus-color: $input-warning-color;
1086
-
1087
- $input-warning: ();
1088
- $input-warning: map-deep-merge(
1089
- (
1070
+ ),
1071
+ $has-error
1072
+ );
1073
+
1074
+ // .has-warning .form-control
1075
+
1076
+ $input-warning-bg: $warning-l2 !default;
1077
+ $input-warning-border-color: $warning-l1 !default;
1078
+ $input-warning-box-shadow: null !default;
1079
+ $input-warning-color: $input-color !default;
1080
+
1081
+ $input-warning-focus-bg: $input-warning-bg !default;
1082
+ $input-warning-focus-border-color: $input-warning-border-color !default;
1083
+ $input-warning-focus-box-shadow: $input-focus-box-shadow !default;
1084
+ $input-warning-focus-color: $input-warning-color !default;
1085
+
1086
+ $input-warning: () !default;
1087
+ $input-warning: map-deep-merge(
1088
+ (
1089
+ background-color:
1090
+ var(--input-warning-background-color, $input-warning-bg),
1091
+ border-color:
1092
+ var(--input-warning-border-color, $input-warning-border-color),
1093
+ box-shadow: var(--input-warning-box-shadow, $input-warning-box-shadow),
1094
+ color: var(--input-warning-color, $input-warning-color),
1095
+ focus: (
1090
1096
  background-color:
1091
- var(--input-warning-background-color, $input-warning-bg),
1097
+ var(
1098
+ --input-warning-focus-background-color,
1099
+ $input-warning-focus-bg
1100
+ ),
1092
1101
  border-color:
1093
- var(--input-warning-border-color, $input-warning-border-color),
1102
+ var(
1103
+ --input-warning-focus-border-color,
1104
+ $input-warning-focus-border-color
1105
+ ),
1094
1106
  box-shadow:
1095
- var(--input-warning-box-shadow, $input-warning-box-shadow),
1096
- color: var(--input-warning-color, $input-warning-color),
1097
- focus: (
1098
- background-color:
1099
- var(
1100
- --input-warning-focus-background-color,
1101
- $input-warning-focus-bg
1102
- ),
1103
- border-color:
1104
- var(
1105
- --input-warning-focus-border-color,
1106
- $input-warning-focus-border-color
1107
- ),
1108
- box-shadow:
1109
- var(
1110
- --input-warning-focus-box-shadow,
1111
- $input-warning-focus-box-shadow
1112
- ),
1113
- color:
1114
- var(
1115
- --input-warning-focus-color,
1116
- $input-warning-focus-color
1117
- ),
1118
- ),
1107
+ var(
1108
+ --input-warning-focus-box-shadow,
1109
+ $input-warning-focus-box-shadow
1110
+ ),
1111
+ color: var(--input-warning-focus-color, $input-warning-focus-color),
1112
+ ),
1119
1113
 
1120
- focus-within: (
1121
- background-color: $input-warning-bg,
1122
- border-color: $input-warning-border-color,
1123
- box-shadow: $input-warning-box-shadow,
1124
- color: $input-warning-color,
1125
- ),
1114
+ focus-within: (
1115
+ background-color: $input-warning-bg,
1116
+ border-color: $input-warning-border-color,
1117
+ box-shadow: $input-warning-box-shadow,
1118
+ color: $input-warning-color,
1126
1119
  ),
1127
- $input-warning
1128
- );
1120
+ ),
1121
+ $input-warning
1122
+ );
1129
1123
 
1130
- // .has-warning .form-control[readonly]
1124
+ // .has-warning .form-control[readonly]
1131
1125
 
1132
- $input-warning-readonly: ();
1133
- $input-warning-readonly: map-deep-merge(
1134
- (
1135
- background-color: map-get($input-readonly, background-color),
1136
- border-color: map-get($input-readonly, border-color),
1137
- focus: (
1138
- border-color: $input-focus-border-color,
1139
- ),
1126
+ $input-warning-readonly: () !default;
1127
+ $input-warning-readonly: map-deep-merge(
1128
+ (
1129
+ background-color: map-get($input-readonly, background-color),
1130
+ border-color: map-get($input-readonly, border-color),
1131
+ focus: (
1132
+ border-color: $input-focus-border-color,
1140
1133
  ),
1141
- $input-warning-readonly
1142
- );
1134
+ ),
1135
+ $input-warning-readonly
1136
+ );
1143
1137
 
1144
- $input-warning-checkbox-label-color: $warning;
1138
+ $input-warning-checkbox-label-color: $warning !default;
1145
1139
 
1146
- $input-warning-label-color: null;
1140
+ $input-warning-label-color: null !default;
1147
1141
 
1148
- // .has-warning select.form-control
1142
+ // .has-warning select.form-control
1149
1143
 
1150
- $input-warning-select-icon-color: $input-warning-border-color;
1144
+ $input-warning-select-icon-color: $input-warning-border-color !default;
1151
1145
 
1152
- $input-warning-select-icon: clay-icon(caret-double-l, #ff8f39);
1146
+ $input-warning-select-icon: clay-icon(caret-double-l, #ff8f39) !default;
1153
1147
 
1154
- $input-warning-select: ();
1155
- $input-warning-select: map-deep-merge(
1156
- (
1157
- background-image: $input-warning-select-icon,
1158
- ),
1159
- $input-warning-select
1160
- );
1148
+ $input-warning-select: () !default;
1149
+ $input-warning-select: map-deep-merge(
1150
+ (
1151
+ background-image: $input-warning-select-icon,
1152
+ ),
1153
+ $input-warning-select
1154
+ );
1161
1155
 
1162
- // .has-warning select.form-control[size]
1156
+ // .has-warning select.form-control[size]
1163
1157
 
1164
- $input-warning-select-size: ();
1165
- $input-warning-select-size: map-deep-merge(
1166
- (
1167
- background-image: none,
1168
- ),
1169
- $input-warning-select-size
1170
- );
1158
+ $input-warning-select-size: () !default;
1159
+ $input-warning-select-size: map-deep-merge(
1160
+ (
1161
+ background-image: none,
1162
+ ),
1163
+ $input-warning-select-size
1164
+ );
1171
1165
 
1172
- // .has-warning select.form-control[multiple]
1166
+ // .has-warning select.form-control[multiple]
1173
1167
 
1174
- $input-warning-select-multiple: ();
1175
- $input-warning-select-multiple: map-deep-merge(
1176
- $input-warning-select-size,
1177
- $input-warning-select-multiple
1178
- );
1168
+ $input-warning-select-multiple: () !default;
1169
+ $input-warning-select-multiple: map-deep-merge(
1170
+ $input-warning-select-size,
1171
+ $input-warning-select-multiple
1172
+ );
1179
1173
 
1180
- // .has-warning
1174
+ // .has-warning
1181
1175
 
1182
- $has-warning: ();
1183
- $has-warning: map-deep-merge(
1184
- (
1185
- label: (
1186
- color: $input-warning-label-color,
1187
- ),
1176
+ $has-warning: () !default;
1177
+ $has-warning: map-deep-merge(
1178
+ (
1179
+ label: (
1180
+ color: $input-warning-label-color,
1181
+ ),
1182
+
1183
+ custom-control-label: (
1184
+ color: $input-warning-checkbox-label-color,
1185
+ ),
1188
1186
 
1189
- custom-control-label: (
1190
- color: $input-warning-checkbox-label-color,
1187
+ form-control:
1188
+ map-deep-merge(
1189
+ (
1190
+ readonly: $input-warning-readonly,
1191
+ ),
1192
+ $input-warning
1191
1193
  ),
1194
+ form-feedback-item: (
1195
+ color: $form-feedback-warning-color,
1196
+ ),
1192
1197
 
1198
+ select: (
1193
1199
  form-control:
1194
1200
  map-deep-merge(
1195
1201
  (
1196
- readonly: $input-warning-readonly,
1202
+ multiple: $input-warning-select-multiple,
1203
+ size: $input-warning-select-size,
1197
1204
  ),
1198
- $input-warning
1205
+ $input-warning-select
1199
1206
  ),
1200
- form-feedback-item: (
1201
- color: $form-feedback-warning-color,
1202
- ),
1207
+ ),
1203
1208
 
1204
- select: (
1205
- form-control:
1206
- map-deep-merge(
1207
- (
1208
- multiple: $input-warning-select-multiple,
1209
- size: $input-warning-select-size,
1210
- ),
1211
- $input-warning-select
1209
+ input-group-item: (
1210
+ focus: (
1211
+ box-shadow:
1212
+ setter(
1213
+ $input-warning-focus-box-shadow,
1214
+ $input-warning-box-shadow
1212
1215
  ),
1213
- ),
1214
-
1215
- input-group-item: (
1216
- focus: (
1217
- box-shadow:
1216
+ input-group-inset: (
1217
+ background-color:
1218
+ setter($input-warning-focus-bg, $input-warning-bg),
1219
+ border-color:
1218
1220
  setter(
1219
- $input-warning-focus-box-shadow,
1220
- $input-warning-box-shadow
1221
+ $input-warning-focus-border-color,
1222
+ $input-warning-border-color
1221
1223
  ),
1222
- input-group-inset: (
1224
+ input-group-inset-item: (
1223
1225
  background-color:
1224
1226
  setter($input-warning-focus-bg, $input-warning-bg),
1225
1227
  border-color:
@@ -1227,198 +1229,187 @@
1227
1229
  $input-warning-focus-border-color,
1228
1230
  $input-warning-border-color
1229
1231
  ),
1230
- input-group-inset-item: (
1231
- background-color:
1232
- setter(
1233
- $input-warning-focus-bg,
1234
- $input-warning-bg
1235
- ),
1236
- border-color:
1237
- setter(
1238
- $input-warning-focus-border-color,
1239
- $input-warning-border-color
1240
- ),
1241
- ),
1242
1232
  ),
1243
1233
  ),
1234
+ ),
1244
1235
 
1245
- input-group-inset: (
1246
- input-group-inset-item: (
1247
- background-color: $input-warning-bg,
1248
- border-color: $input-warning-border-color,
1249
- box-shadow: $input-warning-box-shadow,
1250
- ),
1236
+ input-group-inset: (
1237
+ input-group-inset-item: (
1238
+ background-color: $input-warning-bg,
1239
+ border-color: $input-warning-border-color,
1240
+ box-shadow: $input-warning-box-shadow,
1241
+ ),
1251
1242
 
1252
- focus: (
1253
- box-shadow: none,
1254
-
1255
- input-group-inset-item: (
1256
- background-color:
1257
- setter(
1258
- $input-warning-focus-bg,
1259
- $input-warning-bg
1260
- ),
1261
- border-color:
1262
- setter(
1263
- $input-warning-focus-border-color,
1264
- $input-warning-border-color
1265
- ),
1266
- ),
1243
+ focus: (
1244
+ box-shadow: none,
1245
+
1246
+ input-group-inset-item: (
1247
+ background-color:
1248
+ setter($input-warning-focus-bg, $input-warning-bg),
1249
+ border-color:
1250
+ setter(
1251
+ $input-warning-focus-border-color,
1252
+ $input-warning-border-color
1253
+ ),
1267
1254
  ),
1268
1255
  ),
1269
1256
  ),
1270
1257
  ),
1271
- $has-warning
1272
- );
1273
-
1274
- // .has-success .form-control
1275
-
1276
- $input-success-bg: $success-l2;
1277
- $input-success-border-color: $success-l1;
1278
- $input-success-box-shadow: null;
1279
- $input-success-color: $input-color;
1280
-
1281
- $input-success-focus-bg: $input-success-bg;
1282
- $input-success-focus-border-color: $input-success-border-color;
1283
- $input-success-focus-box-shadow: $input-focus-box-shadow;
1284
- $input-success-focus-color: $input-success-color;
1285
-
1286
- $input-success: ();
1287
- $input-success: map-deep-merge(
1288
- (
1258
+ ),
1259
+ $has-warning
1260
+ );
1261
+
1262
+ // .has-success .form-control
1263
+
1264
+ $input-success-bg: $success-l2 !default;
1265
+ $input-success-border-color: $success-l1 !default;
1266
+ $input-success-box-shadow: null !default;
1267
+ $input-success-color: $input-color !default;
1268
+
1269
+ $input-success-focus-bg: $input-success-bg !default;
1270
+ $input-success-focus-border-color: $input-success-border-color !default;
1271
+ $input-success-focus-box-shadow: $input-focus-box-shadow !default;
1272
+ $input-success-focus-color: $input-success-color !default;
1273
+
1274
+ $input-success: () !default;
1275
+ $input-success: map-deep-merge(
1276
+ (
1277
+ background-color:
1278
+ var(--input-success-background-color, $input-success-bg),
1279
+ border-color:
1280
+ var(--input-success-border-color, $input-success-border-color),
1281
+ box-shadow: var(--input-success-box-shadow, $input-success-box-shadow),
1282
+ color: var(--input-success-color, $input-success-color),
1283
+ focus: (
1289
1284
  background-color:
1290
- var(--input-success-background-color, $input-success-bg),
1285
+ var(
1286
+ --input-success-focus-background-color,
1287
+ $input-success-focus-bg
1288
+ ),
1291
1289
  border-color:
1292
- var(--input-success-border-color, $input-success-border-color),
1290
+ var(
1291
+ --input-success-focus-border-color,
1292
+ $input-success-focus-border-color
1293
+ ),
1293
1294
  box-shadow:
1294
- var(--input-success-box-shadow, $input-success-box-shadow),
1295
- color: var(--input-success-color, $input-success-color),
1296
- focus: (
1297
- background-color:
1298
- var(
1299
- --input-success-focus-background-color,
1300
- $input-success-focus-bg
1301
- ),
1302
- border-color:
1303
- var(
1304
- --input-success-focus-border-color,
1305
- $input-success-focus-border-color
1306
- ),
1307
- box-shadow:
1308
- var(
1309
- --input-success-focus-box-shadow,
1310
- $input-success-focus-box-shadow
1311
- ),
1312
- color:
1313
- var(
1314
- --input-success-focus-color,
1315
- $input-success-focus-color
1316
- ),
1317
- ),
1295
+ var(
1296
+ --input-success-focus-box-shadow,
1297
+ $input-success-focus-box-shadow
1298
+ ),
1299
+ color: var(--input-success-focus-color, $input-success-focus-color),
1300
+ ),
1318
1301
 
1319
- focus-within: (
1320
- background-color: $input-success-bg,
1321
- border-color: $input-success-border-color,
1322
- box-shadow: $input-success-box-shadow,
1323
- color: $input-success-color,
1324
- ),
1302
+ focus-within: (
1303
+ background-color: $input-success-bg,
1304
+ border-color: $input-success-border-color,
1305
+ box-shadow: $input-success-box-shadow,
1306
+ color: $input-success-color,
1325
1307
  ),
1326
- $input-success
1327
- );
1308
+ ),
1309
+ $input-success
1310
+ );
1328
1311
 
1329
- // .has-success .form-control[readonly]
1312
+ // .has-success .form-control[readonly]
1330
1313
 
1331
- $input-success-readonly: ();
1332
- $input-success-readonly: map-deep-merge(
1333
- (
1334
- background-color: map-get($input-readonly, background-color),
1335
- border-color: map-get($input-readonly, border-color),
1336
- focus: (
1337
- border-color: $input-focus-border-color,
1338
- ),
1314
+ $input-success-readonly: () !default;
1315
+ $input-success-readonly: map-deep-merge(
1316
+ (
1317
+ background-color: map-get($input-readonly, background-color),
1318
+ border-color: map-get($input-readonly, border-color),
1319
+ focus: (
1320
+ border-color: $input-focus-border-color,
1339
1321
  ),
1340
- $input-success-readonly
1341
- );
1322
+ ),
1323
+ $input-success-readonly
1324
+ );
1342
1325
 
1343
- $input-success-checkbox-label-color: $success;
1326
+ $input-success-checkbox-label-color: $success !default;
1344
1327
 
1345
- $input-success-label-color: null;
1328
+ $input-success-label-color: null !default;
1346
1329
 
1347
- // .has-success select.form-control
1330
+ // .has-success select.form-control
1348
1331
 
1349
- $input-success-select-icon-color: $input-success-border-color;
1332
+ $input-success-select-icon-color: $input-success-border-color !default;
1350
1333
 
1351
- $input-success-select-icon: clay-icon(caret-double-l, #5aca75);
1334
+ $input-success-select-icon: clay-icon(caret-double-l, #5aca75) !default;
1352
1335
 
1353
- $input-success-select: ();
1354
- $input-success-select: map-deep-merge(
1355
- (
1356
- background-image: $input-success-select-icon,
1357
- ),
1358
- $input-success-select
1359
- );
1336
+ $input-success-select: () !default;
1337
+ $input-success-select: map-deep-merge(
1338
+ (
1339
+ background-image: $input-success-select-icon,
1340
+ ),
1341
+ $input-success-select
1342
+ );
1360
1343
 
1361
- // .has-success select.form-control[size]
1344
+ // .has-success select.form-control[size]
1362
1345
 
1363
- $input-success-select-size: ();
1364
- $input-success-select-size: map-deep-merge(
1365
- (
1366
- background-image: none,
1367
- ),
1368
- $input-success-select-size
1369
- );
1346
+ $input-success-select-size: () !default;
1347
+ $input-success-select-size: map-deep-merge(
1348
+ (
1349
+ background-image: none,
1350
+ ),
1351
+ $input-success-select-size
1352
+ );
1370
1353
 
1371
- // .has-success select.form-control[multiple]
1354
+ // .has-success select.form-control[multiple]
1372
1355
 
1373
- $input-success-select-multiple: ();
1374
- $input-success-select-multiple: map-deep-merge(
1375
- $input-success-select-size,
1376
- $input-success-select-multiple
1377
- );
1356
+ $input-success-select-multiple: () !default;
1357
+ $input-success-select-multiple: map-deep-merge(
1358
+ $input-success-select-size,
1359
+ $input-success-select-multiple
1360
+ );
1378
1361
 
1379
- // .has-select
1362
+ // .has-select
1380
1363
 
1381
- $has-success: ();
1382
- $has-success: map-deep-merge(
1383
- (
1384
- label: (
1385
- color: $input-success-label-color,
1386
- ),
1364
+ $has-success: () !default;
1365
+ $has-success: map-deep-merge(
1366
+ (
1367
+ label: (
1368
+ color: $input-success-label-color,
1369
+ ),
1387
1370
 
1388
- custom-control-label: (
1389
- color: $input-success-checkbox-label-color,
1371
+ custom-control-label: (
1372
+ color: $input-success-checkbox-label-color,
1373
+ ),
1374
+
1375
+ form-control:
1376
+ map-deep-merge(
1377
+ (
1378
+ readonly: $input-success-readonly,
1379
+ ),
1380
+ $input-success
1390
1381
  ),
1382
+ form-feedback-item: (
1383
+ color: $form-feedback-valid-color,
1384
+ ),
1391
1385
 
1386
+ select: (
1392
1387
  form-control:
1393
1388
  map-deep-merge(
1394
1389
  (
1395
- readonly: $input-success-readonly,
1390
+ multiple: $input-success-select-multiple,
1391
+ size: $input-success-select-size,
1396
1392
  ),
1397
- $input-success
1393
+ $input-success-select
1398
1394
  ),
1399
- form-feedback-item: (
1400
- color: $form-feedback-valid-color,
1401
- ),
1395
+ ),
1402
1396
 
1403
- select: (
1404
- form-control:
1405
- map-deep-merge(
1406
- (
1407
- multiple: $input-success-select-multiple,
1408
- size: $input-success-select-size,
1409
- ),
1410
- $input-success-select
1397
+ input-group-item: (
1398
+ focus: (
1399
+ box-shadow:
1400
+ setter(
1401
+ $input-success-focus-box-shadow,
1402
+ $input-success-box-shadow
1411
1403
  ),
1412
- ),
1413
-
1414
- input-group-item: (
1415
- focus: (
1416
- box-shadow:
1404
+ input-group-inset: (
1405
+ background-color:
1406
+ setter($input-success-focus-bg, $input-success-bg),
1407
+ border-color:
1417
1408
  setter(
1418
- $input-success-focus-box-shadow,
1419
- $input-success-box-shadow
1409
+ $input-success-focus-border-color,
1410
+ $input-success-border-color
1420
1411
  ),
1421
- input-group-inset: (
1412
+ input-group-inset-item: (
1422
1413
  background-color:
1423
1414
  setter($input-success-focus-bg, $input-success-bg),
1424
1415
  border-color:
@@ -1426,610 +1417,602 @@
1426
1417
  $input-success-focus-border-color,
1427
1418
  $input-success-border-color
1428
1419
  ),
1429
- input-group-inset-item: (
1430
- background-color:
1431
- setter(
1432
- $input-success-focus-bg,
1433
- $input-success-bg
1434
- ),
1435
- border-color:
1436
- setter(
1437
- $input-success-focus-border-color,
1438
- $input-success-border-color
1439
- ),
1440
- ),
1441
1420
  ),
1442
1421
  ),
1422
+ ),
1423
+
1424
+ input-group-inset: (
1425
+ input-group-inset-item: (
1426
+ background-color: $input-success-bg,
1427
+ border-color: $input-success-border-color,
1428
+ box-shadow: $input-success-box-shadow,
1429
+ ),
1430
+ focus: (
1431
+ box-shadow: none,
1443
1432
 
1444
- input-group-inset: (
1445
1433
  input-group-inset-item: (
1446
- background-color: $input-success-bg,
1447
- border-color: $input-success-border-color,
1448
- box-shadow: $input-success-box-shadow,
1449
- ),
1450
- focus: (
1451
- box-shadow: none,
1452
-
1453
- input-group-inset-item: (
1454
- background-color:
1455
- setter(
1456
- $input-success-focus-bg,
1457
- $input-success-bg
1458
- ),
1459
- border-color:
1460
- setter(
1461
- $input-success-focus-border-color,
1462
- $input-success-border-color
1463
- ),
1464
- ),
1434
+ background-color:
1435
+ setter($input-success-focus-bg, $input-success-bg),
1436
+ border-color:
1437
+ setter(
1438
+ $input-success-focus-border-color,
1439
+ $input-success-border-color
1440
+ ),
1465
1441
  ),
1466
1442
  ),
1467
1443
  ),
1468
1444
  ),
1469
- $has-success
1470
- );
1445
+ ),
1446
+ $has-success
1447
+ );
1471
1448
 
1472
- // Select Element
1449
+ // Select Element
1473
1450
 
1474
- $input-select-bg: $input-bg;
1475
- $input-select-bg-position: right 0.5em center;
1476
- $input-select-bg-size: 1.5em 1.5em;
1477
- $input-select-cursor: $link-cursor;
1478
- $input-select-padding-bottom: $input-padding-y;
1479
- $input-select-padding-left: $input-padding-x;
1480
- $input-select-padding-right: 2em;
1481
- $input-select-padding-top: $input-padding-y;
1451
+ $input-select-bg: $input-bg !default;
1452
+ $input-select-bg-position: right 0.5em center !default;
1453
+ $input-select-bg-size: 1.5em 1.5em !default;
1454
+ $input-select-cursor: $link-cursor !default;
1455
+ $input-select-padding-bottom: $input-padding-y !default;
1456
+ $input-select-padding-left: $input-padding-x !default;
1457
+ $input-select-padding-right: 2em !default;
1458
+ $input-select-padding-top: $input-padding-y !default;
1482
1459
 
1483
- $input-select-focus-bg: $input-focus-bg;
1460
+ $input-select-focus-bg: $input-focus-bg !default;
1484
1461
 
1485
- $input-select-icon-color: $gray-600;
1462
+ $input-select-icon-color: $gray-600 !default;
1486
1463
 
1487
- $input-select-icon: clay-icon(caret-double-l, #6b6c7e);
1464
+ $input-select-icon: clay-icon(caret-double-l, #6b6c7e) !default;
1488
1465
 
1489
- $input-select-icon-focus-color: $input-select-icon-color;
1466
+ $input-select-icon-focus-color: $input-select-icon-color !default;
1490
1467
 
1491
- $input-select-icon-focus: clay-icon(caret-double-l, #6b6c7e);
1468
+ $input-select-icon-focus: clay-icon(caret-double-l, #6b6c7e) !default;
1492
1469
 
1493
- $input-select-icon-disabled-color: $gray-500;
1470
+ $input-select-icon-disabled-color: $gray-500 !default;
1494
1471
 
1495
- $input-select-icon-disabled: clay-icon(caret-double-l, #a7a9bc);
1472
+ $input-select-icon-disabled: clay-icon(caret-double-l, #a7a9bc) !default;
1496
1473
 
1497
- $input-select: ();
1498
- $input-select: map-deep-merge(
1499
- (
1474
+ $input-select: () !default;
1475
+ $input-select: map-deep-merge(
1476
+ (
1477
+ background-color: var(--input-select-background-color, $input-select-bg),
1478
+ background-image:
1479
+ var(--input-select-background-image, $input-select-icon),
1480
+ background-position:
1481
+ var(--input-select-background-position, $input-select-bg-position),
1482
+ background-repeat: no-repeat,
1483
+ background-size:
1484
+ var(--input-select-background-size, $input-select-bg-size),
1485
+ cursor: $input-select-cursor,
1486
+ padding-bottom:
1487
+ var(--input-select-padding-bottom, $input-select-padding-bottom),
1488
+ padding-left:
1489
+ var(--input-select-padding-left, $input-select-padding-left),
1490
+ padding-right:
1491
+ var(--input-select-padding-right, $input-select-padding-right),
1492
+ padding-top: var(--input-select-padding-top, $input-select-padding-top),
1493
+ focus: (
1500
1494
  background-color:
1501
- var(--input-select-background-color, $input-select-bg),
1502
- background-image:
1503
- var(--input-select-background-image, $input-select-icon),
1504
- background-position:
1505
1495
  var(
1506
- --input-select-background-position,
1507
- $input-select-bg-position
1496
+ --input-select-focus-background-color,
1497
+ $input-select-focus-bg
1508
1498
  ),
1509
- background-repeat: no-repeat,
1510
- background-size:
1511
- var(--input-select-background-size, $input-select-bg-size),
1512
- cursor: $input-select-cursor,
1513
- padding-bottom:
1499
+ background-image:
1514
1500
  var(
1515
- --input-select-padding-bottom,
1516
- $input-select-padding-bottom
1501
+ --input-select-focus-background-image,
1502
+ $input-select-icon-focus
1517
1503
  ),
1518
- padding-left:
1519
- var(--input-select-padding-left, $input-select-padding-left),
1520
- padding-right:
1521
- var(--input-select-padding-right, $input-select-padding-right),
1522
- padding-top:
1523
- var(--input-select-padding-top, $input-select-padding-top),
1524
- focus: (
1525
- background-color:
1526
- var(
1527
- --input-select-focus-background-color,
1528
- $input-select-focus-bg
1529
- ),
1530
- background-image:
1531
- var(
1532
- --input-select-focus-background-image,
1533
- $input-select-icon-focus
1534
- ),
1535
- ),
1504
+ ),
1536
1505
 
1537
- disabled: (
1538
- background-image:
1539
- var(
1540
- --input-select-disabled-background-image,
1541
- $input-select-icon-disabled
1542
- ),
1543
- option: (
1544
- cursor: $disabled-cursor,
1506
+ disabled: (
1507
+ background-image:
1508
+ var(
1509
+ --input-select-disabled-background-image,
1510
+ $input-select-icon-disabled
1545
1511
  ),
1546
- ),
1547
-
1548
1512
  option: (
1549
- cursor: $input-select-cursor,
1513
+ cursor: $disabled-cursor,
1550
1514
  ),
1551
1515
  ),
1552
- $input-select
1553
- );
1554
1516
 
1555
- // Form Control Select for Divs Styled Like Select
1517
+ option: (
1518
+ cursor: $input-select-cursor,
1519
+ ),
1520
+ ),
1521
+ $input-select
1522
+ );
1523
+
1524
+ // Form Control Select for Divs Styled Like Select
1525
+
1526
+ $form-control-select: () !default;
1527
+ $form-control-select: map-deep-merge(
1528
+ (
1529
+ map-deep-merge(
1530
+ $input-select,
1531
+ (
1532
+ appearance: null,
1533
+ cursor: null,
1534
+ overflow: hidden,
1535
+ text-align: left,
1536
+ text-overflow: ellipsis,
1537
+ white-space: nowrap,
1556
1538
 
1557
- $form-control-select: ();
1558
- $form-control-select: map-deep-merge(
1559
- (
1560
- map-deep-merge(
1561
- $input-select,
1562
- (
1563
- appearance: null,
1564
- cursor: null,
1565
- overflow: hidden,
1566
- text-align: left,
1567
- text-overflow: ellipsis,
1568
- white-space: nowrap,
1569
-
1570
- hover: (
1571
- color: inherit,
1572
- text-decoration: none,
1573
- ),
1574
- )
1539
+ hover: (
1540
+ color: inherit,
1541
+ text-decoration: none,
1542
+ ),
1575
1543
  )
1576
- ),
1577
- $form-control-select
1578
- );
1544
+ )
1545
+ ),
1546
+ $form-control-select
1547
+ );
1548
+
1549
+ // Form Control Select Variants
1550
+
1551
+ $form-control-select-palette: () !default;
1552
+ $form-control-select-palette: map-deep-merge(
1553
+ (
1554
+ form-control-select-secondary: (
1555
+ background-color: $white,
1556
+ border-color: $secondary-l0,
1557
+ color: $gray-600,
1558
+
1559
+ hover: (
1560
+ color: $gray-600,
1561
+ ),
1579
1562
 
1580
- // Form Control Select Variants
1563
+ focus: (
1564
+ background-image: clay-icon(caret-double-l, #272833),
1565
+ color: $gray-900,
1566
+ ),
1581
1567
 
1582
- $form-control-select-palette: ();
1583
- $form-control-select-palette: map-deep-merge(
1584
- (
1585
- form-control-select-secondary: (
1568
+ disabled: (
1586
1569
  background-color: $white,
1587
- border-color: $secondary-l0,
1588
1570
  color: $gray-600,
1571
+ opacity: $component-disabled-opacity,
1572
+ ),
1589
1573
 
1590
- hover: (
1591
- color: $gray-600,
1592
- ),
1593
-
1594
- focus: (
1595
- background-image: clay-icon(caret-double-l, #272833),
1596
- color: $gray-900,
1597
- ),
1574
+ show: (
1575
+ background-color: $gray-200,
1576
+ background-image: clay-icon(caret-double-l, #272833),
1577
+ color: $gray-900,
1578
+ ),
1579
+ ),
1598
1580
 
1599
- disabled: (
1600
- background-color: $white,
1601
- color: $gray-600,
1602
- opacity: $component-disabled-opacity,
1603
- ),
1581
+ '.form-control-select-shrink': (
1582
+ max-width: 100%,
1583
+ width: min-content,
1584
+ ),
1585
+ ),
1586
+ $form-control-select-palette
1587
+ );
1588
+
1589
+ $form-control-select-sm: () !default;
1590
+ $form-control-select-sm: map-deep-merge(
1591
+ (
1592
+ height: $input-height-sm,
1593
+ padding-right: 2em,
1594
+
1595
+ mobile: (
1596
+ height: $input-height-sm-mobile,
1597
+ ),
1598
+ ),
1599
+ $form-control-select-sm
1600
+ );
1601
+
1602
+ // Select Size
1603
+
1604
+ // scrollbar-width: Future proof https://github.com/w3c/csswg-drafts/issues/1958
1605
+ // if/when it gets added
1606
+ // focus.option.checked: Chrome can't style text, we invert colors to make text white
1607
+ // option.checked: hack for changing the background-color
1608
+ // firefox-only: undo some styles for Chrome to make it match Lexicon
1609
+
1610
+ $input-select-size: () !default;
1611
+ $input-select-size: map-deep-merge(
1612
+ (
1613
+ background-image: none,
1614
+ height: auto,
1615
+ padding-left: 8px,
1616
+ padding-right: 8px,
1617
+ scrollbar-width: thin,
1618
+
1619
+ focus: (
1620
+ background-image: none,
1604
1621
 
1605
- show: (
1606
- background-color: $gray-200,
1607
- background-image: clay-icon(caret-double-l, #272833),
1608
- color: $gray-900,
1622
+ option: (
1623
+ checked: (
1624
+ background-image: linear-gradient(#ffa700, #ffa700),
1625
+ filter: invert(100%),
1609
1626
  ),
1610
1627
  ),
1628
+ ),
1611
1629
 
1612
- '.form-control-select-shrink': (
1613
- max-width: 100%,
1614
- width: min-content,
1630
+ disabled: (
1631
+ option: (
1632
+ hover: (
1633
+ background-image: none,
1634
+ ),
1615
1635
  ),
1616
1636
  ),
1617
- $form-control-select-palette
1618
- );
1619
1637
 
1620
- $form-control-select-sm: ();
1621
- $form-control-select-sm: map-deep-merge(
1622
- (
1623
- height: $input-height-sm,
1624
- padding-right: 2em,
1638
+ option: (
1639
+ padding: 7px 8px,
1625
1640
 
1626
- mobile: (
1627
- height: $input-height-sm-mobile,
1641
+ checked: (
1642
+ background-image: linear-gradient(#{$gray-300}, #{$gray-300}),
1628
1643
  ),
1629
1644
  ),
1630
- $form-control-select-sm
1631
- );
1632
-
1633
- // Select Size
1634
-
1635
- // scrollbar-width: Future proof https://github.com/w3c/csswg-drafts/issues/1958
1636
- // if/when it gets added
1637
- // focus.option.checked: Chrome can't style text, we invert colors to make text white
1638
- // option.checked: hack for changing the background-color
1639
- // firefox-only: undo some styles for Chrome to make it match Lexicon
1640
-
1641
- $input-select-size: ();
1642
- $input-select-size: map-deep-merge(
1643
- (
1644
- background-image: none,
1645
- height: auto,
1646
- padding-left: 8px,
1647
- padding-right: 8px,
1648
- scrollbar-width: thin,
1649
1645
 
1646
+ firefox-only: (
1650
1647
  focus: (
1651
- background-image: none,
1652
-
1653
1648
  option: (
1654
1649
  checked: (
1655
- background-image: linear-gradient(#ffa700, #ffa700),
1656
- filter: invert(100%),
1657
- ),
1658
- ),
1659
- ),
1660
-
1661
- disabled: (
1662
- option: (
1663
- hover: (
1664
- background-image: none,
1650
+ background-image:
1651
+ linear-gradient(#{$primary-d2}, #{$primary-d2}),
1652
+ filter: invert(0),
1665
1653
  ),
1666
1654
  ),
1667
1655
  ),
1668
1656
 
1669
1657
  option: (
1670
- padding: 7px 8px,
1671
-
1672
- checked: (
1673
- background-image:
1674
- linear-gradient(#{$gray-300}, #{$gray-300}),
1675
- ),
1676
- ),
1677
-
1678
- firefox-only: (
1679
- focus: (
1680
- option: (
1681
- checked: (
1682
- background-image:
1683
- linear-gradient(#{$primary-d2}, #{$primary-d2}),
1684
- filter: invert(0),
1685
- ),
1686
- ),
1687
- ),
1688
-
1689
- option: (
1690
- padding: 6.5px 8px,
1691
- ),
1692
- ),
1658
+ padding: 6.5px 8px,
1659
+ ),
1660
+ ),
1661
+ ),
1662
+ $input-select-size
1663
+ );
1664
+
1665
+ // Select Multiple
1666
+
1667
+ $input-select-multiple: () !default;
1668
+ $input-select-multiple: map-deep-merge(
1669
+ $input-select-size,
1670
+ $input-select-multiple
1671
+ );
1672
+
1673
+ // Form Group Autofit
1674
+
1675
+ $form-group-item-label-max-width: 200px !default;
1676
+ $form-group-item-label-spacer: calc(
1677
+ #{$input-label-font-size} * #{$line-height-base} + #{$input-label-margin-bottom}
1678
+ ) !default;
1679
+
1680
+ // .input-group
1681
+
1682
+ $input-group: () !default;
1683
+ $input-group: map-deep-merge(
1684
+ (
1685
+ align-items: stretch,
1686
+ display: flex,
1687
+ flex-wrap: wrap,
1688
+ position: relative,
1689
+ width: 100%,
1690
+
1691
+ btn-unstyled: (
1692
+ color: inherit,
1693
+ ),
1694
+ ),
1695
+ $input-group
1696
+ );
1697
+
1698
+ // .input-group-text
1699
+
1700
+ $input-group-addon-bg: $gray-300 !default;
1701
+ $input-group-addon-border-color: $input-group-addon-bg !default;
1702
+ $input-group-addon-color: $gray-600 !default;
1703
+ $input-group-addon-font-weight: $font-weight-semi-bold !default;
1704
+ $input-group-addon-min-width: 40px !default;
1705
+ $input-group-addon-padding-x: 12px !default;
1706
+ $input-group-addon-padding-y: $input-padding-y !default;
1707
+
1708
+ $input-group-text: () !default;
1709
+ $input-group-text: map-deep-merge(
1710
+ (
1711
+ align-items: center,
1712
+ background-color: $input-group-addon-bg,
1713
+ border-bottom-width: $input-border-bottom-width,
1714
+ border-color: $input-group-addon-border-color,
1715
+ border-left-width: $input-border-left-width,
1716
+ border-radius: clay-enable-rounded($input-border-radius),
1717
+ border-right-width: $input-border-right-width,
1718
+ border-style: solid,
1719
+ border-top-width: $input-border-top-width,
1720
+ color: $input-group-addon-color,
1721
+ display: flex,
1722
+ font-size: $input-font-size,
1723
+ font-weight: $input-group-addon-font-weight,
1724
+ height: $input-height,
1725
+ justify-content: center,
1726
+ line-height: $input-line-height,
1727
+ margin-bottom: 0px,
1728
+ min-width: $input-group-addon-min-width,
1729
+ padding-bottom: $input-group-addon-padding-y,
1730
+ padding-left: $input-group-addon-padding-x,
1731
+ padding-right: $input-group-addon-padding-x,
1732
+ padding-top: $input-group-addon-padding-y,
1733
+ text-align: center,
1734
+ white-space: nowrap,
1735
+
1736
+ label: (
1737
+ color: $input-group-addon-color,
1693
1738
  ),
1694
- $input-select-size
1695
- );
1696
-
1697
- // Select Multiple
1698
-
1699
- $input-select-multiple: ();
1700
- $input-select-multiple: map-deep-merge(
1701
- $input-select-size,
1702
- $input-select-multiple
1703
- );
1704
-
1705
- // Form Group Autofit
1706
-
1707
- $form-group-item-label-max-width: 200px;
1708
- $form-group-item-label-spacer: calc(
1709
- #{$input-label-font-size} *
1710
- #{$line-height-base} +
1711
- #{$input-label-margin-bottom}
1712
- );
1713
-
1714
- // .input-group
1715
-
1716
- $input-group: ();
1717
- $input-group: map-deep-merge(
1718
- (
1719
- align-items: stretch,
1720
- display: flex,
1721
- flex-wrap: wrap,
1722
- position: relative,
1723
- width: 100%,
1724
1739
 
1725
- btn-unstyled: (
1726
- color: inherit,
1727
- ),
1740
+ custom-control: (
1741
+ margin-bottom: 0px,
1728
1742
  ),
1729
- $input-group
1730
- );
1731
1743
 
1732
- // .input-group-text
1733
-
1734
- $input-group-addon-bg: $gray-300;
1735
- $input-group-addon-border-color: $input-group-addon-bg;
1736
- $input-group-addon-color: $gray-600;
1737
- $input-group-addon-font-weight: $font-weight-semi-bold;
1738
- $input-group-addon-min-width: 40px;
1739
- $input-group-addon-padding-x: 12px;
1740
- $input-group-addon-padding-y: $input-padding-y;
1741
-
1742
- $input-group-text: ();
1743
- $input-group-text: map-deep-merge(
1744
- (
1745
- align-items: center,
1746
- background-color: $input-group-addon-bg,
1747
- border-bottom-width: $input-border-bottom-width,
1748
- border-color: $input-group-addon-border-color,
1749
- border-left-width: $input-border-left-width,
1750
- border-radius: clay-enable-rounded($input-border-radius),
1751
- border-right-width: $input-border-right-width,
1752
- border-style: solid,
1753
- border-top-width: $input-border-top-width,
1754
- color: $input-group-addon-color,
1755
- display: flex,
1756
- font-size: $input-font-size,
1757
- font-weight: $input-group-addon-font-weight,
1758
- height: $input-height,
1759
- justify-content: center,
1760
- line-height: $input-line-height,
1744
+ form-check: (
1761
1745
  margin-bottom: 0px,
1762
- min-width: $input-group-addon-min-width,
1763
- padding-bottom: $input-group-addon-padding-y,
1764
- padding-left: $input-group-addon-padding-x,
1765
- padding-right: $input-group-addon-padding-x,
1766
- padding-top: $input-group-addon-padding-y,
1767
- text-align: center,
1768
- white-space: nowrap,
1769
-
1770
- label: (
1771
- color: $input-group-addon-color,
1772
- ),
1773
-
1774
- custom-control: (
1775
- margin-bottom: 0px,
1776
- ),
1777
-
1778
- form-check: (
1779
- margin-bottom: 0px,
1780
1746
 
1781
- input: (
1782
- margin-top: 0px,
1783
- ),
1784
- ),
1785
-
1786
- lexicon-icon: (
1747
+ input: (
1787
1748
  margin-top: 0px,
1788
1749
  ),
1789
-
1790
- media-breakpoint-down: (
1791
- sm: (
1792
- height: $input-height-mobile,
1793
- ),
1794
- ),
1795
1750
  ),
1796
- $input-group-text
1797
- );
1798
1751
 
1799
- // .input-group-text-secondary
1800
-
1801
- $input-group-secondary-addon-bg: $white;
1802
- $input-group-secondary-addon-border-color: $secondary-l2;
1803
- $input-group-secondary-addon-border-width: 1px;
1804
- $input-group-secondary-addon-color: $secondary;
1805
-
1806
- $input-group-text-secondary: ();
1807
- $input-group-text-secondary: map-deep-merge(
1808
- (
1809
- background-color: $input-group-secondary-addon-bg,
1810
- border-color: $input-group-secondary-addon-border-color,
1811
- border-width: $input-group-secondary-addon-border-width,
1812
- color: $input-group-secondary-addon-color,
1813
- z-index: 2,
1752
+ lexicon-icon: (
1753
+ margin-top: 0px,
1754
+ ),
1814
1755
 
1815
- label: (
1816
- color: $input-group-secondary-addon-color,
1756
+ media-breakpoint-down: (
1757
+ sm: (
1758
+ height: $input-height-mobile,
1817
1759
  ),
1818
1760
  ),
1819
- $input-group-text-secondary
1820
- );
1761
+ ),
1762
+ $input-group-text
1763
+ );
1821
1764
 
1822
- // .input-group-item
1765
+ // .input-group-text-secondary
1823
1766
 
1824
- $input-group-item-margin-left: 8px;
1767
+ $input-group-secondary-addon-bg: $white !default;
1768
+ $input-group-secondary-addon-border-color: $secondary-l2 !default;
1769
+ $input-group-secondary-addon-border-width: 1px !default;
1770
+ $input-group-secondary-addon-color: $secondary !default;
1825
1771
 
1826
- $input-group-item: ();
1827
- $input-group-item: map-deep-merge(
1828
- (
1829
- display: flex,
1830
- flex-grow: 1,
1831
- flex-wrap: wrap,
1832
- margin-left: $input-group-item-margin-left,
1833
- width: 1%,
1834
- word-wrap: break-word,
1772
+ $input-group-text-secondary: () !default;
1773
+ $input-group-text-secondary: map-deep-merge(
1774
+ (
1775
+ background-color: $input-group-secondary-addon-bg,
1776
+ border-color: $input-group-secondary-addon-border-color,
1777
+ border-width: $input-group-secondary-addon-border-width,
1778
+ color: $input-group-secondary-addon-color,
1779
+ z-index: 2,
1835
1780
 
1836
- focus: (
1837
- border-radius: clay-enable-rounded($input-border-radius),
1838
- box-shadow: $input-focus-box-shadow,
1781
+ label: (
1782
+ color: $input-group-secondary-addon-color,
1783
+ ),
1784
+ ),
1785
+ $input-group-text-secondary
1786
+ );
1839
1787
 
1840
- input-group-prepend: (
1841
- border-bottom-right-radius: clay-enable-rounded(0),
1842
- border-top-right-radius: clay-enable-rounded(0),
1843
- z-index: 1,
1844
- ),
1788
+ // .input-group-item
1845
1789
 
1846
- input-group-append: (
1847
- border-bottom-left-radius: clay-enable-rounded(0),
1848
- border-top-left-radius: clay-enable-rounded(0),
1849
- ),
1790
+ $input-group-item-margin-left: 8px !default;
1850
1791
 
1851
- form-control: (
1852
- background-color: $input-focus-bg,
1853
- border-color: $input-focus-border-color,
1854
- ),
1792
+ $input-group-item: () !default;
1793
+ $input-group-item: map-deep-merge(
1794
+ (
1795
+ display: flex,
1796
+ flex-grow: 1,
1797
+ flex-wrap: wrap,
1798
+ margin-left: $input-group-item-margin-left,
1799
+ width: 1%,
1800
+ word-wrap: break-word,
1855
1801
 
1856
- input-group-inset-item: (
1857
- background-color: $input-focus-bg,
1858
- border-color: $input-focus-border-color,
1859
- ),
1860
- ),
1802
+ focus: (
1803
+ border-radius: clay-enable-rounded($input-border-radius),
1804
+ box-shadow: $input-focus-box-shadow,
1861
1805
 
1862
- first-child: (
1863
- margin-left: 0px,
1806
+ input-group-prepend: (
1807
+ border-bottom-right-radius: clay-enable-rounded(0),
1808
+ border-top-right-radius: clay-enable-rounded(0),
1809
+ z-index: 1,
1864
1810
  ),
1865
1811
 
1866
- btn: (
1867
- align-self: flex-start,
1812
+ input-group-append: (
1813
+ border-bottom-left-radius: clay-enable-rounded(0),
1814
+ border-top-left-radius: clay-enable-rounded(0),
1868
1815
  ),
1869
1816
 
1870
- dropdown: (
1871
- display: flex,
1872
- flex-wrap: wrap,
1873
- word-wrap: break-word,
1874
- width: 100%,
1817
+ form-control: (
1818
+ background-color: $input-focus-bg,
1819
+ border-color: $input-focus-border-color,
1875
1820
  ),
1876
- ),
1877
- $input-group-item
1878
- );
1879
-
1880
- // .input-group-item-shrink
1881
-
1882
- $input-group-item-shrink: ();
1883
- $input-group-item-shrink: map-deep-merge(
1884
- (
1885
- flex-grow: 0,
1886
- width: auto,
1887
- ),
1888
- $input-group-item-shrink
1889
- );
1890
-
1891
- // .input-group-item-focusable
1892
1821
 
1893
- $input-group-item-focusable: ();
1894
- $input-group-item-focusable: map-deep-merge(
1895
- (
1896
- border-radius: clay-enable-rounded($input-border-radius),
1897
- transition: clay-enable-transitions($input-transition),
1898
- focus-within: (
1822
+ input-group-inset-item: (
1899
1823
  background-color: $input-focus-bg,
1900
- box-shadow: $input-focus-box-shadow,
1901
- outline: 0,
1902
- z-index: 1,
1824
+ border-color: $input-focus-border-color,
1903
1825
  ),
1904
1826
  ),
1905
- $input-group-item-focusable
1906
- );
1907
-
1908
- // Input Group Inset
1909
1827
 
1910
- $input-group-inset-item-color: $input-group-addon-color;
1911
- $input-group-inset-item-padding-left: 4px;
1912
- $input-group-inset-item-padding-right: 4px;
1913
-
1914
- $input-group-inset-item-btn: ();
1915
- $input-group-inset-item-btn: map-deep-merge(
1916
- (
1917
- align-items: center,
1918
- display: flex,
1919
- height: 75%,
1920
- justify-content: center,
1921
- line-height: 1,
1922
- margin-left: 4px,
1923
- margin-right: 4px,
1924
- padding-bottom: 0px,
1925
- padding-left: 8px,
1926
- padding-right: 8px,
1927
- padding-top: 0px,
1928
-
1929
- c-inner: (
1930
- align-items: center,
1931
- display: flex,
1932
- height: 100%,
1933
- justify-content: center,
1934
- ),
1935
-
1936
- lexicon-icon: (
1937
- margin-top: 0px,
1938
- ),
1939
- ),
1940
- $input-group-inset-item-btn
1941
- );
1942
-
1943
- $input-group-inset-item-btn-monospaced: ();
1944
- $input-group-inset-item-btn-monospaced: map-deep-merge(
1945
- (
1946
- font-size: 16px,
1947
- height: 32px,
1948
- margin-bottom: calc(#{$input-border-bottom-width} * -1),
1949
- margin-top: calc(#{$input-border-bottom-width} * -1),
1950
- padding: 0px,
1951
- width: 32px,
1952
- ),
1953
- $input-group-inset-item-btn-monospaced
1954
- );
1955
-
1956
- $input-group-inset-form-file-btn: ();
1957
- $input-group-inset-form-file-btn: map-deep-merge(
1958
- (
1959
- height: 100%,
1828
+ first-child: (
1829
+ margin-left: 0px,
1960
1830
  ),
1961
- $input-group-inset-form-file-btn
1962
- );
1963
-
1964
- // .input-group-lg
1965
-
1966
- $input-group-addon-min-width-lg: 48px;
1967
- $input-group-addon-padding-x-lg: $input-padding-x-lg;
1968
- $input-group-addon-padding-y-lg: null;
1969
-
1970
- $input-group-lg-item-btn: ();
1971
- $input-group-lg-item-btn: map-deep-merge(
1972
- (
1973
- breakpoint-down: null,
1974
- font-size: $btn-font-size-lg,
1975
-
1976
- inline-item-font-size: $btn-inline-item-font-size-lg,
1977
-
1978
- section-font-size: $btn-section-font-size-lg,
1979
1831
 
1980
- // font-size-mobile: $btn-font-size-lg-mobile,
1981
- // padding-bottom-mobile: $btn-padding-y-lg-mobile,
1982
- // padding-left-mobile: $btn-padding-x-lg-mobile,
1983
- // padding-right-mobile: $btn-padding-x-lg-mobile,
1984
- // padding-top-mobile: $btn-padding-y-lg-mobile,
1832
+ btn: (
1833
+ align-self: flex-start,
1985
1834
  ),
1986
- $input-group-lg-item-btn
1987
- );
1988
1835
 
1989
- $input-group-lg-item-btn-monospaced: ();
1990
- $input-group-lg-item-btn-monospaced: map-deep-merge(
1991
- (
1992
- breakpoint-down: null,
1993
- height: $btn-monospaced-size-lg,
1994
- line-height: 1,
1995
- // padding-bottom: $btn-monospaced-padding-y-lg,
1996
- // padding-left: $btn-monospaced-padding-x-lg,
1997
- // padding-right: $btn-monospaced-padding-x-lg,
1998
- // padding-top: $btn-monospaced-padding-y-lg,
1999
- // width: $btn-monospaced-size-lg,
2000
- // height-mobile: $btn-monospaced-size-lg-mobile,
2001
- // width-mobile: $btn-monospaced-size-lg-mobile,
1836
+ dropdown: (
1837
+ display: flex,
1838
+ flex-wrap: wrap,
1839
+ word-wrap: break-word,
1840
+ width: 100%,
2002
1841
  ),
2003
- $input-group-lg-item-btn-monospaced
2004
- );
2005
-
2006
- $input-group-lg-inset-item-btn: ();
2007
-
2008
- $input-group-lg-inset-item-btn-monospaced: ();
2009
-
2010
- $input-group-lg-inset-item-form-file-btn: ();
2011
- $input-group-lg-inset-item-form-file-btn: map-deep-merge(
2012
- (
2013
- breakpoint-down: null,
1842
+ ),
1843
+ $input-group-item
1844
+ );
1845
+
1846
+ // .input-group-item-shrink
1847
+
1848
+ $input-group-item-shrink: () !default;
1849
+ $input-group-item-shrink: map-deep-merge(
1850
+ (
1851
+ flex-grow: 0,
1852
+ width: auto,
1853
+ ),
1854
+ $input-group-item-shrink
1855
+ );
1856
+
1857
+ // .input-group-item-focusable
1858
+
1859
+ $input-group-item-focusable: () !default;
1860
+ $input-group-item-focusable: map-deep-merge(
1861
+ (
1862
+ border-radius: clay-enable-rounded($input-border-radius),
1863
+ transition: clay-enable-transitions($input-transition),
1864
+ focus-within: (
1865
+ background-color: $input-focus-bg,
1866
+ box-shadow: $input-focus-box-shadow,
1867
+ outline: 0,
1868
+ z-index: 1,
1869
+ ),
1870
+ ),
1871
+ $input-group-item-focusable
1872
+ );
1873
+
1874
+ // Input Group Inset
1875
+
1876
+ $input-group-inset-item-color: $input-group-addon-color !default;
1877
+ $input-group-inset-item-padding-left: 4px !default;
1878
+ $input-group-inset-item-padding-right: 4px !default;
1879
+
1880
+ $input-group-inset-item-btn: () !default;
1881
+ $input-group-inset-item-btn: map-deep-merge(
1882
+ (
1883
+ align-items: center,
1884
+ display: flex,
1885
+ height: 75%,
1886
+ justify-content: center,
1887
+ line-height: 1,
1888
+ margin-left: 4px,
1889
+ margin-right: 4px,
1890
+ padding-bottom: 0px,
1891
+ padding-left: 8px,
1892
+ padding-right: 8px,
1893
+ padding-top: 0px,
1894
+
1895
+ c-inner: (
1896
+ align-items: center,
1897
+ display: flex,
2014
1898
  height: 100%,
2015
- line-height: 1,
2016
- padding-bottom: 0px,
2017
- padding-left: 12px,
2018
- padding-right: 12px,
2019
- padding-top: 0px,
1899
+ justify-content: center,
2020
1900
  ),
2021
- $input-group-lg-inset-item-form-file-btn
2022
- );
2023
1901
 
2024
- $input-group-lg: ();
2025
- $input-group-lg: map-deep-merge(
2026
- (
2027
- input-group-item: (
2028
- btn: $input-group-lg-item-btn,
1902
+ lexicon-icon: (
1903
+ margin-top: 0px,
1904
+ ),
1905
+ ),
1906
+ $input-group-inset-item-btn
1907
+ );
1908
+
1909
+ $input-group-inset-item-btn-monospaced: () !default;
1910
+ $input-group-inset-item-btn-monospaced: map-deep-merge(
1911
+ (
1912
+ font-size: 16px,
1913
+ height: 32px,
1914
+ margin-bottom: calc(#{$input-border-bottom-width} * -1),
1915
+ margin-top: calc(#{$input-border-bottom-width} * -1),
1916
+ padding: 0px,
1917
+ width: 32px,
1918
+ ),
1919
+ $input-group-inset-item-btn-monospaced
1920
+ );
1921
+
1922
+ $input-group-inset-form-file-btn: () !default;
1923
+ $input-group-inset-form-file-btn: map-deep-merge(
1924
+ (
1925
+ height: 100%,
1926
+ ),
1927
+ $input-group-inset-form-file-btn
1928
+ );
1929
+
1930
+ // .input-group-lg
1931
+
1932
+ $input-group-addon-min-width-lg: 48px !default;
1933
+ $input-group-addon-padding-x-lg: $input-padding-x-lg !default;
1934
+ $input-group-addon-padding-y-lg: null !default;
1935
+
1936
+ $input-group-lg-item-btn: () !default;
1937
+ $input-group-lg-item-btn: map-deep-merge(
1938
+ (
1939
+ breakpoint-down: null,
1940
+ font-size: $btn-font-size-lg,
1941
+
1942
+ inline-item-font-size: $btn-inline-item-font-size-lg,
1943
+
1944
+ section-font-size: $btn-section-font-size-lg,
1945
+
1946
+ // font-size-mobile: $btn-font-size-lg-mobile,
1947
+ // padding-bottom-mobile: $btn-padding-y-lg-mobile,
1948
+ // padding-left-mobile: $btn-padding-x-lg-mobile,
1949
+ // padding-right-mobile: $btn-padding-x-lg-mobile,
1950
+ // padding-top-mobile: $btn-padding-y-lg-mobile,
1951
+ ),
1952
+ $input-group-lg-item-btn
1953
+ );
1954
+
1955
+ $input-group-lg-item-btn-monospaced: () !default;
1956
+ $input-group-lg-item-btn-monospaced: map-deep-merge(
1957
+ (
1958
+ breakpoint-down: null,
1959
+ height: $btn-monospaced-size-lg,
1960
+ line-height: 1,
1961
+ // padding-bottom: $btn-monospaced-padding-y-lg,
1962
+ // padding-left: $btn-monospaced-padding-x-lg,
1963
+ // padding-right: $btn-monospaced-padding-x-lg,
1964
+ // padding-top: $btn-monospaced-padding-y-lg,
1965
+ // width: $btn-monospaced-size-lg,
1966
+ // height-mobile: $btn-monospaced-size-lg-mobile,
1967
+ // width-mobile: $btn-monospaced-size-lg-mobile,
1968
+ ),
1969
+ $input-group-lg-item-btn-monospaced
1970
+ );
1971
+
1972
+ $input-group-lg-inset-item-btn: () !default;
1973
+
1974
+ $input-group-lg-inset-item-btn-monospaced: () !default;
1975
+
1976
+ $input-group-lg-inset-item-form-file-btn: () !default;
1977
+ $input-group-lg-inset-item-form-file-btn: map-deep-merge(
1978
+ (
1979
+ breakpoint-down: null,
1980
+ height: 100%,
1981
+ line-height: 1,
1982
+ padding-bottom: 0px,
1983
+ padding-left: 12px,
1984
+ padding-right: 12px,
1985
+ padding-top: 0px,
1986
+ ),
1987
+ $input-group-lg-inset-item-form-file-btn
1988
+ );
1989
+
1990
+ $input-group-lg: () !default;
1991
+ $input-group-lg: map-deep-merge(
1992
+ (
1993
+ input-group-item: (
1994
+ btn: $input-group-lg-item-btn,
1995
+
1996
+ btn-monospaced: $input-group-lg-item-btn-monospaced,
1997
+
1998
+ form-control: (
1999
+ border-radius: clay-enable-rounded($input-border-radius-lg),
2000
+ font-size: $input-font-size-lg,
2001
+ height: $input-height-lg,
2002
+ line-height: $input-line-height-lg,
2003
+ padding-bottom: $input-padding-y-lg,
2004
+ padding-left: $input-padding-x-lg,
2005
+ padding-right: $input-padding-x-lg,
2006
+ padding-top: $input-padding-y-lg,
2007
+ ),
2029
2008
 
2030
- btn-monospaced: $input-group-lg-item-btn-monospaced,
2009
+ form-control-inset: (
2010
+ margin-bottom: 0px,
2011
+ margin-top: 0px,
2012
+ ),
2031
2013
 
2032
- form-control: (
2014
+ form-file: (
2015
+ btn: (
2033
2016
  border-radius: clay-enable-rounded($input-border-radius-lg),
2034
2017
  font-size: $input-font-size-lg,
2035
2018
  height: $input-height-lg,
@@ -2039,304 +2022,284 @@
2039
2022
  padding-right: $input-padding-x-lg,
2040
2023
  padding-top: $input-padding-y-lg,
2041
2024
  ),
2025
+ ),
2042
2026
 
2043
- form-control-inset: (
2044
- margin-bottom: 0px,
2045
- margin-top: 0px,
2046
- ),
2047
-
2048
- form-file: (
2049
- btn: (
2050
- border-radius:
2051
- clay-enable-rounded($input-border-radius-lg),
2052
- font-size: $input-font-size-lg,
2053
- height: $input-height-lg,
2054
- line-height: $input-line-height-lg,
2055
- padding-bottom: $input-padding-y-lg,
2056
- padding-left: $input-padding-x-lg,
2057
- padding-right: $input-padding-x-lg,
2058
- padding-top: $input-padding-y-lg,
2059
- ),
2060
- ),
2061
-
2062
- textarea: (
2063
- height: $input-textarea-height-lg,
2064
- ),
2027
+ textarea: (
2028
+ height: $input-textarea-height-lg,
2029
+ ),
2065
2030
 
2066
- form-control-plaintext: (
2067
- font-size: $input-font-size-lg,
2068
- height: $input-height-lg,
2069
- line-height: $input-line-height-lg,
2070
- padding-bottom: $input-padding-y-lg,
2071
- padding-top: $input-padding-y-lg,
2072
- ),
2031
+ form-control-plaintext: (
2032
+ font-size: $input-font-size-lg,
2033
+ height: $input-height-lg,
2034
+ line-height: $input-line-height-lg,
2035
+ padding-bottom: $input-padding-y-lg,
2036
+ padding-top: $input-padding-y-lg,
2037
+ ),
2073
2038
 
2074
- input-group-text: (
2075
- border-radius: clay-enable-rounded($input-border-radius-lg),
2076
- font-size: $input-font-size-lg,
2077
- height: $input-height-lg,
2078
- min-width: $input-group-addon-min-width-lg,
2079
- padding-bottom: $input-group-addon-padding-y-lg,
2080
- padding-left: $input-group-addon-padding-x-lg,
2081
- padding-right: $input-group-addon-padding-x-lg,
2082
- padding-top: $input-group-addon-padding-y-lg,
2083
- ),
2039
+ input-group-text: (
2040
+ border-radius: clay-enable-rounded($input-border-radius-lg),
2041
+ font-size: $input-font-size-lg,
2042
+ height: $input-height-lg,
2043
+ min-width: $input-group-addon-min-width-lg,
2044
+ padding-bottom: $input-group-addon-padding-y-lg,
2045
+ padding-left: $input-group-addon-padding-x-lg,
2046
+ padding-right: $input-group-addon-padding-x-lg,
2047
+ padding-top: $input-group-addon-padding-y-lg,
2048
+ ),
2084
2049
 
2085
- input-group-inset-item: (
2086
- btn: $input-group-lg-inset-item-btn,
2050
+ input-group-inset-item: (
2051
+ btn: $input-group-lg-inset-item-btn,
2087
2052
 
2088
- btn-monospaced: $input-group-lg-inset-item-btn-monospaced,
2053
+ btn-monospaced: $input-group-lg-inset-item-btn-monospaced,
2089
2054
 
2090
- form-file: (
2091
- height: 75%,
2055
+ form-file: (
2056
+ height: 75%,
2092
2057
 
2093
- btn: $input-group-lg-inset-item-form-file-btn,
2094
- ),
2058
+ btn: $input-group-lg-inset-item-form-file-btn,
2095
2059
  ),
2096
2060
  ),
2061
+ ),
2097
2062
 
2098
- media-breakpoint-down: (
2099
- sm: (
2100
- input-group-item: (
2101
- form-control: (
2102
- height: $input-height-lg-mobile,
2103
- ),
2104
-
2105
- form-file: (
2106
- btn: (
2107
- height: $input-height-lg-mobile,
2108
- ),
2109
- ),
2063
+ media-breakpoint-down: (
2064
+ sm: (
2065
+ input-group-item: (
2066
+ form-control: (
2067
+ height: $input-height-lg-mobile,
2068
+ ),
2110
2069
 
2111
- form-control-plaintext: (
2070
+ form-file: (
2071
+ btn: (
2112
2072
  height: $input-height-lg-mobile,
2113
2073
  ),
2114
2074
  ),
2115
- ),
2116
- ),
2117
- ),
2118
- $input-group-lg
2119
- );
2120
-
2121
- // .input-group-sm
2122
-
2123
- $input-group-addon-min-width-sm: 32px;
2124
- $input-group-addon-padding-x-sm: $input-padding-x-sm;
2125
- $input-group-addon-padding-y-sm: null;
2126
-
2127
- $input-group-sm-item-btn: ();
2128
- $input-group-sm-item-btn: map-deep-merge(
2129
- (
2130
- font-size: $btn-font-size-sm,
2131
-
2132
- inline-item-font-size: $btn-inline-item-font-size-sm,
2133
-
2134
- section-font-size: $btn-section-font-size-sm,
2135
-
2136
- // font-size-mobile: $btn-font-size-sm-mobile,
2137
- // padding-bottom-mobile: $btn-padding-y-sm-mobile,
2138
- // padding-left-mobile: $btn-padding-x-sm-mobile,
2139
- // padding-right-mobile: $btn-padding-x-sm-mobile,
2140
- // padding-top-mobile: $btn-padding-y-sm-mobile,
2141
- ),
2142
- $input-group-sm-item-btn
2143
- );
2144
-
2145
- $input-group-sm-item-btn-monospaced: ();
2146
- $input-group-sm-item-btn-monospaced: map-deep-merge(
2147
- (
2148
- height: $btn-monospaced-size-sm,
2149
- line-height: 1,
2150
- padding-bottom: $btn-monospaced-padding-y-sm,
2151
- padding-left: $btn-monospaced-padding-x-sm,
2152
- padding-right: $btn-monospaced-padding-x-sm,
2153
- padding-top: $btn-monospaced-padding-y-sm,
2154
- width: $btn-monospaced-size-sm,
2155
-
2156
- height-mobile: $btn-monospaced-size-sm-mobile,
2157
- width-mobile: $btn-monospaced-size-sm-mobile,
2158
- ),
2159
- $input-group-sm-item-btn-monospaced
2160
- );
2161
-
2162
- $input-group-sm-inset-item-btn: ();
2163
- $input-group-sm-inset-item-btn: map-deep-merge(
2164
- (
2165
- line-height: 1,
2166
- padding-bottom: 0px,
2167
- padding-left: 8px,
2168
- padding-right: 8px,
2169
- padding-top: 0px,
2170
- ),
2171
- $input-group-sm-inset-item-btn
2172
- );
2173
-
2174
- $input-group-sm-inset-item-btn-monospaced: ();
2175
- $input-group-sm-inset-item-btn-monospaced: map-deep-merge(
2176
- (
2177
- height: 24px,
2178
- margin-left: 4px,
2179
- margin-right: 4px,
2180
- width: 24px,
2181
- ),
2182
- $input-group-sm-inset-item-btn-monospaced
2183
- );
2184
-
2185
- $input-group-sm-inset-item-form-file-btn: ();
2186
- $input-group-sm-inset-item-form-file-btn: map-deep-merge(
2187
- (
2188
- height: 100%,
2189
- line-height: 1,
2190
- padding-bottom: 0px,
2191
- padding-left: 8px,
2192
- padding-right: 8px,
2193
- padding-top: 0px,
2194
- ),
2195
- $input-group-sm-inset-item-form-file-btn
2196
- );
2197
-
2198
- $input-group-sm: ();
2199
- $input-group-sm: map-deep-merge(
2200
- (
2201
- input-group-item: (
2202
- btn: $input-group-sm-item-btn,
2203
-
2204
- btn-monospaced: $input-group-sm-item-btn-monospaced,
2205
2075
 
2206
- form-file: (
2207
- btn: (
2208
- border-radius:
2209
- clay-enable-rounded($input-border-radius-sm),
2210
- font-size: $input-font-size-sm,
2211
- height: $input-height-sm,
2212
- line-height: $input-line-height-sm,
2213
- padding-bottom: $input-padding-y-sm,
2214
- padding-left: $input-padding-x-sm,
2215
- padding-right: $input-padding-x-sm,
2216
- padding-top: $input-padding-y-sm,
2076
+ form-control-plaintext: (
2077
+ height: $input-height-lg-mobile,
2217
2078
  ),
2218
2079
  ),
2219
-
2220
- form-control-plaintext: (
2080
+ ),
2081
+ ),
2082
+ ),
2083
+ $input-group-lg
2084
+ );
2085
+
2086
+ // .input-group-sm
2087
+
2088
+ $input-group-addon-min-width-sm: 32px !default;
2089
+ $input-group-addon-padding-x-sm: $input-padding-x-sm !default;
2090
+ $input-group-addon-padding-y-sm: null !default;
2091
+
2092
+ $input-group-sm-item-btn: () !default;
2093
+ $input-group-sm-item-btn: map-deep-merge(
2094
+ (
2095
+ font-size: $btn-font-size-sm,
2096
+
2097
+ inline-item-font-size: $btn-inline-item-font-size-sm,
2098
+
2099
+ section-font-size: $btn-section-font-size-sm,
2100
+
2101
+ // font-size-mobile: $btn-font-size-sm-mobile,
2102
+ // padding-bottom-mobile: $btn-padding-y-sm-mobile,
2103
+ // padding-left-mobile: $btn-padding-x-sm-mobile,
2104
+ // padding-right-mobile: $btn-padding-x-sm-mobile,
2105
+ // padding-top-mobile: $btn-padding-y-sm-mobile,
2106
+ ),
2107
+ $input-group-sm-item-btn
2108
+ );
2109
+
2110
+ $input-group-sm-item-btn-monospaced: () !default;
2111
+ $input-group-sm-item-btn-monospaced: map-deep-merge(
2112
+ (
2113
+ height: $btn-monospaced-size-sm,
2114
+ line-height: 1,
2115
+ padding-bottom: $btn-monospaced-padding-y-sm,
2116
+ padding-left: $btn-monospaced-padding-x-sm,
2117
+ padding-right: $btn-monospaced-padding-x-sm,
2118
+ padding-top: $btn-monospaced-padding-y-sm,
2119
+ width: $btn-monospaced-size-sm,
2120
+
2121
+ height-mobile: $btn-monospaced-size-sm-mobile,
2122
+ width-mobile: $btn-monospaced-size-sm-mobile,
2123
+ ),
2124
+ $input-group-sm-item-btn-monospaced
2125
+ );
2126
+
2127
+ $input-group-sm-inset-item-btn: () !default;
2128
+ $input-group-sm-inset-item-btn: map-deep-merge(
2129
+ (
2130
+ line-height: 1,
2131
+ padding-bottom: 0px,
2132
+ padding-left: 8px,
2133
+ padding-right: 8px,
2134
+ padding-top: 0px,
2135
+ ),
2136
+ $input-group-sm-inset-item-btn
2137
+ );
2138
+
2139
+ $input-group-sm-inset-item-btn-monospaced: () !default;
2140
+ $input-group-sm-inset-item-btn-monospaced: map-deep-merge(
2141
+ (
2142
+ height: 24px,
2143
+ margin-left: 4px,
2144
+ margin-right: 4px,
2145
+ width: 24px,
2146
+ ),
2147
+ $input-group-sm-inset-item-btn-monospaced
2148
+ );
2149
+
2150
+ $input-group-sm-inset-item-form-file-btn: () !default;
2151
+ $input-group-sm-inset-item-form-file-btn: map-deep-merge(
2152
+ (
2153
+ height: 100%,
2154
+ line-height: 1,
2155
+ padding-bottom: 0px,
2156
+ padding-left: 8px,
2157
+ padding-right: 8px,
2158
+ padding-top: 0px,
2159
+ ),
2160
+ $input-group-sm-inset-item-form-file-btn
2161
+ );
2162
+
2163
+ $input-group-sm: () !default;
2164
+ $input-group-sm: map-deep-merge(
2165
+ (
2166
+ input-group-item: (
2167
+ btn: $input-group-sm-item-btn,
2168
+
2169
+ btn-monospaced: $input-group-sm-item-btn-monospaced,
2170
+
2171
+ form-file: (
2172
+ btn: (
2173
+ border-radius: clay-enable-rounded($input-border-radius-sm),
2221
2174
  font-size: $input-font-size-sm,
2222
2175
  height: $input-height-sm,
2223
2176
  line-height: $input-line-height-sm,
2224
2177
  padding-bottom: $input-padding-y-sm,
2178
+ padding-left: $input-padding-x-sm,
2179
+ padding-right: $input-padding-x-sm,
2225
2180
  padding-top: $input-padding-y-sm,
2226
2181
  ),
2182
+ ),
2227
2183
 
2228
- textarea: (
2229
- height: $input-textarea-height-sm,
2230
- ),
2184
+ form-control-plaintext: (
2185
+ font-size: $input-font-size-sm,
2186
+ height: $input-height-sm,
2187
+ line-height: $input-line-height-sm,
2188
+ padding-bottom: $input-padding-y-sm,
2189
+ padding-top: $input-padding-y-sm,
2190
+ ),
2231
2191
 
2232
- input-group-text: (
2233
- border-radius: clay-enable-rounded($input-border-radius-sm),
2234
- font-size: $input-font-size-sm,
2235
- height: $input-height-sm,
2236
- min-width: $input-group-addon-min-width-sm,
2237
- padding-bottom: $input-group-addon-padding-y-sm,
2238
- padding-left: $input-group-addon-padding-x-sm,
2239
- padding-right: $input-group-addon-padding-x-sm,
2240
- padding-top: $input-group-addon-padding-y-sm,
2241
- ),
2192
+ textarea: (
2193
+ height: $input-textarea-height-sm,
2194
+ ),
2242
2195
 
2243
- input-group-inset-item: (
2244
- btn: $input-group-sm-inset-item-btn,
2196
+ input-group-text: (
2197
+ border-radius: clay-enable-rounded($input-border-radius-sm),
2198
+ font-size: $input-font-size-sm,
2199
+ height: $input-height-sm,
2200
+ min-width: $input-group-addon-min-width-sm,
2201
+ padding-bottom: $input-group-addon-padding-y-sm,
2202
+ padding-left: $input-group-addon-padding-x-sm,
2203
+ padding-right: $input-group-addon-padding-x-sm,
2204
+ padding-top: $input-group-addon-padding-y-sm,
2205
+ ),
2245
2206
 
2246
- btn-monospaced: $input-group-sm-inset-item-btn-monospaced,
2207
+ input-group-inset-item: (
2208
+ btn: $input-group-sm-inset-item-btn,
2247
2209
 
2248
- form-file: (
2249
- height: 75%,
2210
+ btn-monospaced: $input-group-sm-inset-item-btn-monospaced,
2250
2211
 
2251
- btn: $input-group-sm-inset-item-form-file-btn,
2252
- ),
2212
+ form-file: (
2213
+ height: 75%,
2214
+
2215
+ btn: $input-group-sm-inset-item-form-file-btn,
2253
2216
  ),
2254
2217
  ),
2218
+ ),
2255
2219
 
2256
- media-breakpoint-down: (
2257
- sm: (
2258
- input-group-item: (
2259
- form-control: (
2260
- height: $input-height-sm-mobile,
2261
- ),
2262
-
2263
- form-file: (
2264
- btn: (
2265
- height: $input-height-sm-mobile,
2266
- ),
2267
- ),
2220
+ media-breakpoint-down: (
2221
+ sm: (
2222
+ input-group-item: (
2223
+ form-control: (
2224
+ height: $input-height-sm-mobile,
2225
+ ),
2268
2226
 
2269
- form-control-plaintext: (
2227
+ form-file: (
2228
+ btn: (
2270
2229
  height: $input-height-sm-mobile,
2271
2230
  ),
2272
2231
  ),
2232
+
2233
+ form-control-plaintext: (
2234
+ height: $input-height-sm-mobile,
2235
+ ),
2273
2236
  ),
2274
2237
  ),
2275
2238
  ),
2276
- $input-group-sm
2277
- );
2278
-
2279
- // .input-group-inset
2239
+ ),
2240
+ $input-group-sm
2241
+ );
2280
2242
 
2281
- $input-group-inset: ();
2282
- $input-group-inset: map-deep-merge(
2283
- (
2284
- flex-grow: 1,
2285
- order: 5,
2286
- width: 1%,
2243
+ // .input-group-inset
2287
2244
 
2288
- focus: (
2289
- box-shadow: none,
2245
+ $input-group-inset: () !default;
2246
+ $input-group-inset: map-deep-merge(
2247
+ (
2248
+ flex-grow: 1,
2249
+ order: 5,
2250
+ width: 1%,
2290
2251
 
2291
- input-group-inset-item: (
2292
- background-color: $input-focus-bg,
2293
- border-color: $input-focus-border-color,
2294
- ),
2295
- ),
2252
+ focus: (
2253
+ box-shadow: none,
2296
2254
 
2297
- disabled: (
2298
- input-group-inset-item: (
2299
- background-color: $input-disabled-bg,
2300
- border-color: $input-disabled-border-color,
2301
- ),
2255
+ input-group-inset-item: (
2256
+ background-color: $input-focus-bg,
2257
+ border-color: $input-focus-border-color,
2302
2258
  ),
2303
2259
  ),
2304
- $input-group-inset
2305
- );
2306
-
2307
- // .input-group-inset[readonly]
2308
2260
 
2309
- $input-group-inset-readonly: ();
2310
- $input-group-inset-readonly: map-deep-merge(
2311
- (
2261
+ disabled: (
2312
2262
  input-group-inset-item: (
2313
- background-color: $input-readonly-bg,
2314
- border-color: $input-readonly-border-color,
2315
- color: $input-readonly-color,
2316
- cursor: $input-readonly-cursor,
2317
- ),
2318
-
2319
- focus: (
2320
- input-group-inset-item: (
2321
- background-color: $input-readonly-focus-bg,
2322
- border-color: $input-readonly-focus-border-color,
2323
- color: $input-readonly-focus-color,
2324
- ),
2263
+ background-color: $input-disabled-bg,
2264
+ border-color: $input-disabled-border-color,
2325
2265
  ),
2326
2266
  ),
2327
- $input-group-inset-readonly
2328
- );
2267
+ ),
2268
+ $input-group-inset
2269
+ );
2329
2270
 
2330
- // Input Group Stacked
2271
+ // .input-group-inset[readonly]
2331
2272
 
2332
- $input-group-stacked-sm-down: ();
2333
- $input-group-stacked-sm-down: map-deep-merge(
2334
- (
2335
- breakpoint: sm,
2336
- item-margin-bottom: 8px,
2337
- item-margin-left: 0px,
2338
- shrink-margin-right: 8px,
2273
+ $input-group-inset-readonly: () !default;
2274
+ $input-group-inset-readonly: map-deep-merge(
2275
+ (
2276
+ input-group-inset-item: (
2277
+ background-color: $input-readonly-bg,
2278
+ border-color: $input-readonly-border-color,
2279
+ color: $input-readonly-color,
2280
+ cursor: $input-readonly-cursor,
2339
2281
  ),
2340
- $input-group-stacked-sm-down
2341
- );
2342
- }
2282
+
2283
+ focus: (
2284
+ input-group-inset-item: (
2285
+ background-color: $input-readonly-focus-bg,
2286
+ border-color: $input-readonly-focus-border-color,
2287
+ color: $input-readonly-focus-color,
2288
+ ),
2289
+ ),
2290
+ ),
2291
+ $input-group-inset-readonly
2292
+ );
2293
+
2294
+ // Input Group Stacked
2295
+
2296
+ $input-group-stacked-sm-down: () !default;
2297
+ $input-group-stacked-sm-down: map-deep-merge(
2298
+ (
2299
+ breakpoint: sm,
2300
+ item-margin-bottom: 8px,
2301
+ item-margin-left: 0px,
2302
+ shrink-margin-right: 8px,
2303
+ ),
2304
+ $input-group-stacked-sm-down
2305
+ );