@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,366 +1,434 @@
1
- @if ($enable-atlas-custom-properties) {
2
- $custom-forms-transition:
3
- background-color 0.15s ease-in-out,
4
- border-color 0.15s ease-in-out,
5
- box-shadow 0.15s ease-in-out;
6
-
7
- // Form File
8
-
9
- $form-file: ();
10
- $form-file: map-deep-merge(
11
- (
12
- border-radius: clay-enable-rounded($input-border-radius),
13
- display: flex,
14
- position: relative,
15
- transition: clay-enable-transitions($input-transition),
16
- focus-within: (
17
- background-color: $input-focus-bg,
18
- box-shadow: $input-focus-box-shadow,
19
- outline: 0,
20
- z-index: 1,
21
- ),
1
+ $custom-forms-transition:
2
+ background-color 0.15s ease-in-out,
3
+ border-color 0.15s ease-in-out,
4
+ box-shadow 0.15s ease-in-out !default;
5
+
6
+ // Form File
7
+
8
+ $form-file: () !default;
9
+ $form-file: map-deep-merge(
10
+ (
11
+ border-radius: clay-enable-rounded($input-border-radius),
12
+ display: flex,
13
+ position: relative,
14
+ transition: clay-enable-transitions($input-transition),
15
+ focus-within: (
16
+ background-color: $input-focus-bg,
17
+ box-shadow: $input-focus-box-shadow,
18
+ outline: 0,
19
+ z-index: 1,
22
20
  ),
23
- $form-file
24
- );
21
+ ),
22
+ $form-file
23
+ );
25
24
 
26
- // Custom Control Indicator
25
+ // Custom Control Indicator
27
26
 
28
- $custom-control-indicator-size: 1rem;
27
+ $custom-control-indicator-size: 1rem !default;
29
28
 
30
- $custom-control-indicator-bg: $white;
31
- $custom-control-indicator-bg-size: 8px 8px;
32
- $custom-control-indicator-border-color: $gray-600;
33
- $custom-control-indicator-border-style: solid;
34
- $custom-control-indicator-border-width: $border-width;
35
- $custom-control-indicator-box-shadow: none;
36
- $custom-control-indicator-position-top: 0px;
29
+ $custom-control-indicator-bg: $white !default;
30
+ $custom-control-indicator-bg-size: 8px 8px !default;
31
+ $custom-control-indicator-border-color: $gray-600 !default;
32
+ $custom-control-indicator-border-style: solid !default;
33
+ $custom-control-indicator-border-width: $border-width !default;
34
+ $custom-control-indicator-box-shadow: none !default;
35
+ $custom-control-indicator-position-top: 0px !default;
37
36
 
38
- $custom-control-indicator-focus-border-color: $custom-control-indicator-border-color;
39
- $custom-control-indicator-focus-box-shadow: $component-focus-box-shadow;
37
+ $custom-control-indicator-focus-border-color: $custom-control-indicator-border-color !default;
38
+ $custom-control-indicator-focus-box-shadow: $component-focus-box-shadow !default;
40
39
 
41
- $custom-control-indicator-active-bg: $custom-control-indicator-bg;
42
- $custom-control-indicator-active-border-color: $custom-control-indicator-border-color;
43
- $custom-control-indicator-active-box-shadow: none;
44
- $custom-control-indicator-active-color: $component-active-color;
40
+ $custom-control-indicator-active-bg: $custom-control-indicator-bg !default;
41
+ $custom-control-indicator-active-border-color: $custom-control-indicator-border-color !default;
42
+ $custom-control-indicator-active-box-shadow: none !default;
43
+ $custom-control-indicator-active-color: $component-active-color !default;
45
44
 
46
- $custom-control-indicator-disabled-bg: if(
47
- variable-exists(input-disabled-bg),
48
- $input-disabled-bg,
49
- $gray-200
50
- );
51
- $custom-control-indicator-disabled-border-color: $secondary-l3;
52
- $custom-control-indicator-disabled-cursor: $disabled-cursor;
45
+ $custom-control-indicator-disabled-bg: if(
46
+ variable-exists(input-disabled-bg),
47
+ $input-disabled-bg,
48
+ $gray-200
49
+ ) !default;
50
+ $custom-control-indicator-disabled-border-color: $secondary-l3 !default;
51
+ $custom-control-indicator-disabled-cursor: $disabled-cursor !default;
53
52
 
54
- // Custom Control Indicator Checked
53
+ // Custom Control Indicator Checked
55
54
 
56
- $custom-control-indicator-checked-bg: $component-active-bg;
57
- $custom-control-indicator-checked-color: $component-active-color;
58
- $custom-control-indicator-checked-border-color: $component-active-bg;
59
- $custom-control-indicator-checked-box-shadow: none;
55
+ $custom-control-indicator-checked-bg: $component-active-bg !default;
56
+ $custom-control-indicator-checked-color: $component-active-color !default;
57
+ $custom-control-indicator-checked-border-color: $component-active-bg !default;
58
+ $custom-control-indicator-checked-box-shadow: none !default;
60
59
 
61
- // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-active-bg` instead
60
+ // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-active-bg` instead
62
61
 
63
- $custom-control-indicator-active-checked-bg: $component-active-bg;
62
+ $custom-control-indicator-active-checked-bg: $component-active-bg !default;
64
63
 
65
- $custom-control-indicator-checked-active-bg: $custom-control-indicator-active-checked-bg;
64
+ $custom-control-indicator-checked-active-bg: $custom-control-indicator-active-checked-bg !default;
66
65
 
67
- // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-active-border-color` instead
66
+ // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-active-border-color` instead
68
67
 
69
- $custom-control-indicator-active-checked-border-color: $custom-control-indicator-checked-active-bg;
68
+ $custom-control-indicator-active-checked-border-color: $custom-control-indicator-checked-active-bg !default;
70
69
 
71
- $custom-control-indicator-checked-active-border-color: $custom-control-indicator-active-checked-border-color;
70
+ $custom-control-indicator-checked-active-border-color: $custom-control-indicator-active-checked-border-color !default;
72
71
 
73
- // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-disabled-bg` instead
72
+ // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-disabled-bg` instead
74
73
 
75
- $custom-control-indicator-disabled-checked-bg: unquote(
76
- 'hsl(from #{$component-active-bg} h s calc(l + 32.94))'
77
- );
74
+ $custom-control-indicator-disabled-checked-bg: unquote(
75
+ 'hsl(from #{$component-active-bg} h s calc(l + 32.94))'
76
+ ) !default;
78
77
 
79
- $custom-control-indicator-checked-disabled-bg: $custom-control-indicator-disabled-checked-bg;
78
+ $custom-control-indicator-checked-disabled-bg: $custom-control-indicator-disabled-checked-bg !default;
80
79
 
81
- // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-disabled-border-color` instead
80
+ // @deprecated as of v2.2.1 use `$custom-control-indicator-checked-disabled-border-color` instead
82
81
 
83
- $custom-control-indicator-disabled-checked-border-color: $custom-control-indicator-disabled-checked-bg;
82
+ $custom-control-indicator-disabled-checked-border-color: $custom-control-indicator-disabled-checked-bg !default;
84
83
 
85
- $custom-control-indicator-checked-disabled-border-color: $custom-control-indicator-disabled-checked-border-color;
84
+ $custom-control-indicator-checked-disabled-border-color: $custom-control-indicator-disabled-checked-border-color !default;
86
85
 
87
- // .custom-control
86
+ // .custom-control
88
87
 
89
- $custom-control-cursor: null;
90
- $custom-control-gutter: 0.5rem;
91
- $custom-control-spacer-x: 1rem;
88
+ $custom-control-cursor: null !default;
89
+ $custom-control-gutter: 0.5rem !default;
90
+ $custom-control-spacer-x: 1rem !default;
92
91
 
93
- // @deprecated after of v3.5.0 use the Sass map `$custom-control` instead
92
+ // @deprecated after of v3.5.0 use the Sass map `$custom-control` instead
94
93
 
95
- $custom-control-margin-bottom: 0.5rem;
94
+ $custom-control-margin-bottom: 0.5rem !default;
96
95
 
97
- // @deprecated after of v3.5.0 use the Sass map `$custom-control` instead
96
+ // @deprecated after of v3.5.0 use the Sass map `$custom-control` instead
98
97
 
99
- $custom-control-margin-top: null;
98
+ $custom-control-margin-top: null !default;
100
99
 
101
- // @deprecated after of v3.5.0 use the Sass map `$custom-control` instead
100
+ // @deprecated after of v3.5.0 use the Sass map `$custom-control` instead
102
101
 
103
- $custom-control-min-height: 1.5rem;
102
+ $custom-control-min-height: 1.5rem !default;
104
103
 
105
- // .custom-control-label
104
+ // .custom-control-label
106
105
 
107
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
106
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
108
107
 
109
- $custom-control-description-cursor: if(
110
- variable-exists(form-check-label-cursor),
111
- $form-check-label-cursor,
112
- $link-cursor
113
- );
108
+ $custom-control-description-cursor: if(
109
+ variable-exists(form-check-label-cursor),
110
+ $form-check-label-cursor,
111
+ $link-cursor
112
+ ) !default;
114
113
 
115
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
114
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
116
115
 
117
- $custom-control-description-font-size: if(
118
- variable-exists(input-label-font-size),
119
- $input-label-font-size,
120
- 0.875rem
121
- );
116
+ $custom-control-description-font-size: if(
117
+ variable-exists(input-label-font-size),
118
+ $input-label-font-size,
119
+ 0.875rem
120
+ ) !default;
122
121
 
123
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
122
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
124
123
 
125
- $custom-control-description-font-weight: $font-weight-normal;
124
+ $custom-control-description-font-weight: $font-weight-normal !default;
126
125
 
127
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
126
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label` instead
128
127
 
129
- $custom-control-description-line-height: $custom-control-min-height;
128
+ $custom-control-description-line-height: $custom-control-min-height !default;
130
129
 
131
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label-text` instead
130
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label-text` instead
132
131
 
133
- $custom-control-description-padding-left: 0.5rem;
132
+ $custom-control-description-padding-left: 0.5rem !default;
134
133
 
135
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label-disabled` instead
134
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label-disabled` instead
136
135
 
137
- $custom-control-description-disabled-cursor: $disabled-cursor;
136
+ $custom-control-description-disabled-cursor: $disabled-cursor !default;
138
137
 
139
- // @deprecated as of v2.19.0 use the Sass map `$custom-control-label-text-small` instead
138
+ // @deprecated as of v2.19.0 use the Sass map `$custom-control-label-text-small` instead
140
139
 
141
- $custom-control-description-small-font-size: 100%;
140
+ $custom-control-description-small-font-size: 100% !default;
142
141
 
143
- $custom-control-label-color: null;
142
+ $custom-control-label-color: null !default;
144
143
 
145
- $custom-control-label: ();
146
- $custom-control-label: map-deep-merge(
147
- (
148
- color: $custom-control-label-color,
149
- cursor: $custom-control-description-cursor,
150
- font-size: $custom-control-description-font-size,
151
- font-weight: $custom-control-description-font-weight,
152
- line-height: $custom-control-description-line-height,
153
- margin-bottom: 0rem,
154
- position: static,
155
- vertical-align: top,
156
-
157
- before: (
158
- background-color: $custom-control-indicator-bg,
159
- border-color: $custom-control-indicator-border-color,
160
- border-style: $custom-control-indicator-border-style,
161
- border-width: $custom-control-indicator-border-width,
162
- box-shadow:
163
- clay-enable-shadows($custom-control-indicator-box-shadow),
164
- content: '',
165
- display: block,
166
- float: left,
167
- font-size: $custom-control-indicator-size,
168
- height: $custom-control-indicator-size,
169
- left: 0rem,
170
- position: relative,
171
- top: 0.25rem,
172
- transition: clay-enable-transitions($custom-forms-transition),
173
- width: $custom-control-indicator-size,
174
- ),
144
+ $custom-control-label: () !default;
145
+ $custom-control-label: map-deep-merge(
146
+ (
147
+ color: $custom-control-label-color,
148
+ cursor: $custom-control-description-cursor,
149
+ font-size: $custom-control-description-font-size,
150
+ font-weight: $custom-control-description-font-weight,
151
+ line-height: $custom-control-description-line-height,
152
+ margin-bottom: 0rem,
153
+ position: static,
154
+ vertical-align: top,
175
155
 
176
- after: (
177
- background:
178
- no-repeat
179
- 50% /
180
- #{$custom-control-indicator-bg-size},
181
- border-radius: $rounded-circle-border-radius,
182
- content: '',
183
- display: block,
184
- height: 1.5rem,
185
- left: -0.25rem,
186
- position: absolute,
187
- top: $custom-control-indicator-position-top,
188
- width: 1.5rem,
189
- ),
190
- ),
191
- $custom-control-label
192
- );
193
-
194
- $custom-control-label-disabled-color: if(
195
- variable-exists(input-label-disabled-color),
196
- $input-label-disabled-color,
197
- $gray-500
198
- );
199
-
200
- $custom-control-label-disabled: ();
201
- $custom-control-label-disabled: map-deep-merge(
202
- (
203
- color: $custom-control-label-disabled-color,
204
- cursor: $custom-control-description-disabled-cursor,
205
-
206
- before: (
207
- background-color: $custom-control-indicator-disabled-bg,
208
- border-color: $custom-control-indicator-disabled-border-color,
209
- box-shadow: none,
210
- ),
156
+ before: (
157
+ background-color: $custom-control-indicator-bg,
158
+ border-color: $custom-control-indicator-border-color,
159
+ border-style: $custom-control-indicator-border-style,
160
+ border-width: $custom-control-indicator-border-width,
161
+ box-shadow:
162
+ clay-enable-shadows($custom-control-indicator-box-shadow),
163
+ content: '',
164
+ display: block,
165
+ float: left,
166
+ font-size: $custom-control-indicator-size,
167
+ height: $custom-control-indicator-size,
168
+ left: 0rem,
169
+ position: relative,
170
+ top: 0.25rem,
171
+ transition: clay-enable-transitions($custom-forms-transition),
172
+ width: $custom-control-indicator-size,
211
173
  ),
212
- $custom-control-label-disabled
213
- );
214
-
215
- // label.custom-control-label
216
174
 
217
- $label-custom-control-label: ();
218
- $label-custom-control-label: map-deep-merge(
219
- (
220
- font-size: map-get($custom-control-label, font-size),
175
+ after: (
176
+ background: no-repeat 50% / #{$custom-control-indicator-bg-size},
177
+ border-radius: $rounded-circle-border-radius,
178
+ content: '',
179
+ display: block,
180
+ height: 1.5rem,
181
+ left: -0.25rem,
182
+ position: absolute,
183
+ top: $custom-control-indicator-position-top,
184
+ width: 1.5rem,
221
185
  ),
222
- $label-custom-control-label
223
- );
224
-
225
- // .custom-control-label-text
226
-
227
- $custom-control-label-text: ();
228
- $custom-control-label-text: map-deep-merge(
229
- (
230
- padding-left: $custom-control-description-padding-left,
186
+ ),
187
+ $custom-control-label
188
+ );
189
+
190
+ $custom-control-label-disabled-color: if(
191
+ variable-exists(input-label-disabled-color),
192
+ $input-label-disabled-color,
193
+ $gray-500
194
+ ) !default;
195
+
196
+ $custom-control-label-disabled: () !default;
197
+ $custom-control-label-disabled: map-deep-merge(
198
+ (
199
+ color: $custom-control-label-disabled-color,
200
+ cursor: $custom-control-description-disabled-cursor,
201
+
202
+ before: (
203
+ background-color: $custom-control-indicator-disabled-bg,
204
+ border-color: $custom-control-indicator-disabled-border-color,
205
+ box-shadow: none,
231
206
  ),
232
- $custom-control-label-text
233
- );
234
-
235
- // .custom-control-label-text small, .custom-control-label-text .small
236
-
237
- $custom-control-label-text-small: ();
238
- $custom-control-label-text-small: map-merge(
239
- (
240
- font-size: $custom-control-description-small-font-size,
207
+ ),
208
+ $custom-control-label-disabled
209
+ );
210
+
211
+ // label.custom-control-label
212
+
213
+ $label-custom-control-label: () !default;
214
+ $label-custom-control-label: map-deep-merge(
215
+ (
216
+ font-size: map-get($custom-control-label, font-size),
217
+ ),
218
+ $label-custom-control-label
219
+ );
220
+
221
+ // .custom-control-label-text
222
+
223
+ $custom-control-label-text: () !default;
224
+ $custom-control-label-text: map-deep-merge(
225
+ (
226
+ padding-left: $custom-control-description-padding-left,
227
+ ),
228
+ $custom-control-label-text
229
+ );
230
+
231
+ // .custom-control-label-text small, .custom-control-label-text .small
232
+
233
+ $custom-control-label-text-small: () !default;
234
+ $custom-control-label-text-small: map-merge(
235
+ (
236
+ font-size: $custom-control-description-small-font-size,
237
+ ),
238
+ $custom-control-label-text-small
239
+ );
240
+
241
+ $custom-control: () !default;
242
+ $custom-control: map-deep-merge(
243
+ (
244
+ cursor: $custom-control-cursor,
245
+ display: block,
246
+ line-height: 1,
247
+ margin-bottom: $custom-control-margin-bottom,
248
+ margin-top: $custom-control-margin-top,
249
+ min-height: $custom-control-min-height,
250
+ position: relative,
251
+ text-align: left,
252
+
253
+ only-child: (
254
+ margin-bottom: 0rem,
241
255
  ),
242
- $custom-control-label-text-small
243
- );
244
256
 
245
- $custom-control: ();
246
- $custom-control: map-deep-merge(
247
- (
248
- cursor: $custom-control-cursor,
249
- display: block,
250
- line-height: 1,
251
- margin-bottom: $custom-control-margin-bottom,
252
- margin-top: $custom-control-margin-top,
253
- min-height: $custom-control-min-height,
254
- position: relative,
255
- text-align: left,
257
+ label: (
258
+ cursor: map-get($custom-control-label, cursor),
259
+ display: inline,
260
+ font-size: $font-size-base,
261
+ margin-bottom: 0rem,
262
+ ),
263
+ ),
264
+ $custom-control
265
+ );
266
+
267
+ // .custom-control-input
268
+
269
+ $custom-control-input: () !default;
270
+ $custom-control-input: map-deep-merge(
271
+ (
272
+ cursor: $link-cursor,
273
+ height: 1.5rem,
274
+ left: -0.25rem,
275
+ opacity: 0,
276
+ position: absolute,
277
+ top: $custom-control-indicator-position-top,
278
+ width: 1.5rem,
279
+ z-index: 1,
280
+
281
+ focus: (
282
+ custom-control-label: (
283
+ before: (
284
+ border-color: $custom-control-indicator-focus-border-color,
285
+ ),
256
286
 
257
- only-child: (
258
- margin-bottom: 0rem,
287
+ after: (
288
+ box-shadow: $custom-control-indicator-focus-box-shadow,
289
+ ),
259
290
  ),
291
+ ),
260
292
 
261
- label: (
262
- cursor: map-get($custom-control-label, cursor),
263
- display: inline,
264
- font-size: $font-size-base,
265
- margin-bottom: 0rem,
293
+ active: (
294
+ custom-control-label: (
295
+ before: (
296
+ background-color: $custom-control-indicator-active-bg,
297
+ border-color: $custom-control-indicator-active-border-color,
298
+ box-shadow: $custom-control-indicator-active-box-shadow,
299
+ color: $custom-control-indicator-active-color,
300
+ ),
266
301
  ),
267
302
  ),
268
- $custom-control
269
- );
270
303
 
271
- // .custom-control-input
304
+ disabled: (
305
+ custom-control-label: $custom-control-label-disabled,
306
+ ),
272
307
 
273
- $custom-control-input: ();
274
- $custom-control-input: map-deep-merge(
275
- (
276
- cursor: $link-cursor,
277
- height: 1.5rem,
278
- left: -0.25rem,
279
- opacity: 0,
280
- position: absolute,
281
- top: $custom-control-indicator-position-top,
282
- width: 1.5rem,
283
- z-index: 1,
308
+ readonly: (
309
+ custom-control-label: (
310
+ color: $gray-900,
311
+
312
+ before: (
313
+ background-color: $gray-200,
314
+ border-color: $secondary-l3,
315
+ ),
316
+ ),
284
317
 
285
- focus: (
318
+ disabled: (
286
319
  custom-control-label: (
287
- before: (
288
- border-color:
289
- $custom-control-indicator-focus-border-color,
290
- ),
320
+ color: $custom-control-label-disabled-color,
321
+ ),
322
+ ),
323
+ ),
291
324
 
292
- after: (
293
- box-shadow: $custom-control-indicator-focus-box-shadow,
294
- ),
325
+ checked: (
326
+ custom-control-label: (
327
+ before: (
328
+ background-color: $custom-control-indicator-checked-bg,
329
+ border-color: $custom-control-indicator-checked-border-color,
330
+ box-shadow:
331
+ clay-enable-shadows(
332
+ $custom-control-indicator-checked-box-shadow
333
+ ),
334
+ color: $custom-control-indicator-checked-color,
295
335
  ),
296
336
  ),
297
337
 
298
338
  active: (
299
339
  custom-control-label: (
300
340
  before: (
301
- background-color: $custom-control-indicator-active-bg,
341
+ background-color:
342
+ $custom-control-indicator-checked-active-bg,
302
343
  border-color:
303
- $custom-control-indicator-active-border-color,
304
- box-shadow: $custom-control-indicator-active-box-shadow,
305
- color: $custom-control-indicator-active-color,
344
+ $custom-control-indicator-checked-active-border-color,
306
345
  ),
307
346
  ),
308
347
  ),
309
348
 
310
349
  disabled: (
311
- custom-control-label: $custom-control-label-disabled,
312
- ),
350
+ cursor: $custom-control-indicator-disabled-cursor,
313
351
 
314
- readonly: (
315
352
  custom-control-label: (
316
- color: $gray-900,
317
-
318
353
  before: (
319
- background-color: $gray-200,
320
- border-color: $secondary-l3,
321
- ),
322
- ),
323
-
324
- disabled: (
325
- custom-control-label: (
326
- color: $custom-control-label-disabled-color,
354
+ background-color: $custom-control-indicator-disabled-bg,
355
+ box-shadow: none,
327
356
  ),
328
357
  ),
329
358
  ),
330
359
 
331
- checked: (
360
+ readonly: (
332
361
  custom-control-label: (
333
362
  before: (
334
- background-color: $custom-control-indicator-checked-bg,
335
- border-color:
336
- $custom-control-indicator-checked-border-color,
337
- box-shadow:
338
- clay-enable-shadows(
339
- $custom-control-indicator-checked-box-shadow
340
- ),
341
- color: $custom-control-indicator-checked-color,
363
+ background-color: $custom-control-indicator-bg,
364
+ border-color: $custom-control-indicator-border-color,
342
365
  ),
343
366
  ),
367
+ ),
368
+ ),
369
+ ),
370
+ $custom-control-input
371
+ );
344
372
 
345
- active: (
346
- custom-control-label: (
347
- before: (
348
- background-color:
349
- $custom-control-indicator-checked-active-bg,
350
- border-color:
351
- $custom-control-indicator-checked-active-border-color,
373
+ // Custom Control Primary
374
+
375
+ $custom-control-primary-label-text: () !default;
376
+ $custom-control-primary-label-text: map-deep-merge(
377
+ (
378
+ font-weight: $font-weight-semi-bold,
379
+ ),
380
+ $custom-control-primary-label-text
381
+ );
382
+
383
+ // Custom Checkbox
384
+
385
+ $custom-checkbox-indicator-border-radius: 0.125rem !default;
386
+
387
+ $custom-checkbox-indicator-icon-checked: clay-icon(check-small, #fff) !default;
388
+ $custom-checkbox-indicator-icon-checked-bg-size: 1rem !default;
389
+
390
+ $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
391
+ $custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg !default;
392
+
393
+ $custom-control-indicator-indeterminate-border-color: $custom-control-indicator-checked-active-bg !default;
394
+
395
+ $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
396
+ $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
397
+
398
+ $custom-checkbox-indicator-icon-indeterminate: clay-icon(hr, #fff) !default;
399
+ $custom-checkbox-indicator-icon-indeterminate-bg-size: 1rem !default;
400
+
401
+ $custom-checkbox: () !default;
402
+ $custom-checkbox: map-deep-merge(
403
+ (
404
+ custom-control-input: (
405
+ custom-control-label: (
406
+ before: (
407
+ border-radius:
408
+ clay-enable-rounded(
409
+ $custom-checkbox-indicator-border-radius
352
410
  ),
411
+ ),
412
+ ),
413
+
414
+ checked: (
415
+ custom-control-label: (
416
+ before: (),
417
+ after: (
418
+ background-image:
419
+ $custom-checkbox-indicator-icon-checked,
420
+ background-size:
421
+ $custom-checkbox-indicator-icon-checked-bg-size,
353
422
  ),
354
423
  ),
355
424
 
356
425
  disabled: (
357
- cursor: $custom-control-indicator-disabled-cursor,
358
-
359
426
  custom-control-label: (
360
427
  before: (
361
428
  background-color:
362
- $custom-control-indicator-disabled-bg,
363
- box-shadow: none,
429
+ $custom-control-indicator-checked-disabled-bg,
430
+ border-color:
431
+ $custom-control-indicator-checked-disabled-border-color,
364
432
  ),
365
433
  ),
366
434
  ),
@@ -369,759 +437,660 @@
369
437
  custom-control-label: (
370
438
  before: (
371
439
  background-color: $custom-control-indicator-bg,
372
- border-color:
373
- $custom-control-indicator-border-color,
440
+ border-color: $secondary-l2,
374
441
  ),
375
- ),
376
- ),
377
- ),
378
- ),
379
- $custom-control-input
380
- );
381
-
382
- // Custom Control Primary
383
-
384
- $custom-control-primary-label-text: ();
385
- $custom-control-primary-label-text: map-deep-merge(
386
- (
387
- font-weight: $font-weight-semi-bold,
388
- ),
389
- $custom-control-primary-label-text
390
- );
391
-
392
- // Custom Checkbox
393
-
394
- $custom-checkbox-indicator-border-radius: 0.125rem;
395
-
396
- $custom-checkbox-indicator-icon-checked: clay-icon(check-small, #fff);
397
- $custom-checkbox-indicator-icon-checked-bg-size: 1rem;
398
-
399
- $custom-checkbox-indicator-indeterminate-bg: $component-active-bg;
400
- $custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg;
401
-
402
- $custom-control-indicator-indeterminate-border-color: $custom-control-indicator-checked-active-bg;
403
-
404
- $custom-checkbox-indicator-indeterminate-box-shadow: none;
405
- $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color;
406
-
407
- $custom-checkbox-indicator-icon-indeterminate: clay-icon(hr, #fff);
408
- $custom-checkbox-indicator-icon-indeterminate-bg-size: 1rem;
409
-
410
- $custom-checkbox: ();
411
- $custom-checkbox: map-deep-merge(
412
- (
413
- custom-control-input: (
414
- custom-control-label: (
415
- before: (
416
- border-radius:
417
- clay-enable-rounded(
418
- $custom-checkbox-indicator-border-radius
419
- ),
420
- ),
421
- ),
422
442
 
423
- checked: (
424
- custom-control-label: (
425
- before: (),
426
443
  after: (
427
- background-image:
428
- $custom-checkbox-indicator-icon-checked,
429
- background-size:
430
- $custom-checkbox-indicator-icon-checked-bg-size,
444
+ background-image: clay-icon(check-small, #6b6c7e),
431
445
  ),
432
446
  ),
433
447
 
434
448
  disabled: (
435
449
  custom-control-label: (
436
450
  before: (
437
- background-color:
438
- $custom-control-indicator-checked-disabled-bg,
439
- border-color:
440
- $custom-control-indicator-checked-disabled-border-color,
441
- ),
442
- ),
443
- ),
444
-
445
- readonly: (
446
- custom-control-label: (
447
- before: (
448
- background-color: $custom-control-indicator-bg,
449
- border-color: $secondary-l2,
451
+ opacity: 0.4,
450
452
  ),
451
453
 
452
454
  after: (
453
- background-image:
454
- clay-icon(check-small, #6b6c7e),
455
+ opacity: 0.4,
455
456
  ),
456
457
  ),
458
+ ),
459
+ ),
460
+ ),
457
461
 
458
- disabled: (
459
- custom-control-label: (
460
- before: (
461
- opacity: 0.4,
462
- ),
462
+ indeterminate: (
463
+ custom-control-label: (
464
+ before: (
465
+ background-color:
466
+ $custom-checkbox-indicator-indeterminate-bg,
467
+ border-color:
468
+ $custom-control-indicator-indeterminate-border-color,
469
+ box-shadow:
470
+ $custom-checkbox-indicator-indeterminate-box-shadow,
471
+ ),
463
472
 
464
- after: (
465
- opacity: 0.4,
466
- ),
467
- ),
468
- ),
473
+ after: (
474
+ background-image:
475
+ $custom-checkbox-indicator-icon-indeterminate,
476
+ background-size:
477
+ $custom-checkbox-indicator-icon-indeterminate-bg-size,
469
478
  ),
470
479
  ),
471
480
 
472
- indeterminate: (
481
+ disabled: (
473
482
  custom-control-label: (
474
483
  before: (
475
484
  background-color:
476
- $custom-checkbox-indicator-indeterminate-bg,
485
+ $custom-control-indicator-checked-disabled-bg,
477
486
  border-color:
478
- $custom-control-indicator-indeterminate-border-color,
479
- box-shadow:
480
- $custom-checkbox-indicator-indeterminate-box-shadow,
487
+ $custom-control-indicator-checked-disabled-border-color,
481
488
  ),
489
+ ),
490
+ ),
482
491
 
483
- after: (
484
- background-image:
485
- $custom-checkbox-indicator-icon-indeterminate,
486
- background-size:
487
- $custom-checkbox-indicator-icon-indeterminate-bg-size,
492
+ readonly: (
493
+ custom-control-label: (
494
+ before: (
495
+ background-color: $custom-control-indicator-bg,
496
+ border-color: $secondary-l2,
488
497
  ),
489
- ),
490
498
 
491
- disabled: (
492
- custom-control-label: (
493
- before: (
494
- background-color:
495
- $custom-control-indicator-checked-disabled-bg,
496
- border-color:
497
- $custom-control-indicator-checked-disabled-border-color,
498
- ),
499
+ after: (
500
+ background-image: clay-icon(hr, #6b6c7e),
499
501
  ),
500
502
  ),
501
503
 
502
- readonly: (
504
+ disabled: (
503
505
  custom-control-label: (
504
506
  before: (
505
- background-color: $custom-control-indicator-bg,
506
- border-color: $secondary-l2,
507
+ opacity: 0.4,
507
508
  ),
508
509
 
509
510
  after: (
510
- background-image: clay-icon(hr, #6b6c7e),
511
- ),
512
- ),
513
-
514
- disabled: (
515
- custom-control-label: (
516
- before: (
517
- opacity: 0.4,
518
- ),
519
-
520
- after: (
521
- opacity: 0.4,
522
- ),
511
+ opacity: 0.4,
523
512
  ),
524
513
  ),
525
514
  ),
526
515
  ),
527
516
  ),
528
517
  ),
529
- $custom-checkbox
530
- );
518
+ ),
519
+ $custom-checkbox
520
+ );
521
+
522
+ // Custom Radio
531
523
 
532
- // Custom Radio
524
+ $custom-radio-indicator-border-radius: 50% !default;
533
525
 
534
- $custom-radio-indicator-border-radius: 50%;
526
+ $custom-radio-indicator-icon-checked: clay-icon(circle, #fff) !default;
527
+ $custom-radio-indicator-icon-checked-bg-size: 0.5rem !default;
535
528
 
536
- $custom-radio-indicator-icon-checked: clay-icon(circle, #fff);
537
- $custom-radio-indicator-icon-checked-bg-size: 0.5rem;
529
+ $custom-radio-indicator-disabled-border-color: $custom-control-indicator-disabled-bg !default;
538
530
 
539
- $custom-radio-indicator-disabled-border-color: $custom-control-indicator-disabled-bg;
531
+ // @deprecated as of v2.2.1 use `$custom-radio-indicator-checked-disabled-border-color` instead
540
532
 
541
- // @deprecated as of v2.2.1 use `$custom-radio-indicator-checked-disabled-border-color` instead
533
+ $custom-radio-indicator-disabled-checked-border-color: $custom-control-indicator-disabled-checked-border-color !default;
542
534
 
543
- $custom-radio-indicator-disabled-checked-border-color: $custom-control-indicator-disabled-checked-border-color;
535
+ $custom-radio-indicator-checked-disabled-border-color: $custom-radio-indicator-disabled-checked-border-color !default;
544
536
 
545
- $custom-radio-indicator-checked-disabled-border-color: $custom-radio-indicator-disabled-checked-border-color;
537
+ $custom-radio: () !default;
538
+ $custom-radio: map-deep-merge(
539
+ (
540
+ custom-control-input: (
541
+ custom-control-label: (
542
+ before: (
543
+ border-radius: $custom-radio-indicator-border-radius,
544
+ ),
545
+ ),
546
546
 
547
- $custom-radio: ();
548
- $custom-radio: map-deep-merge(
549
- (
550
- custom-control-input: (
547
+ disabled: (
551
548
  custom-control-label: (
552
549
  before: (
553
- border-radius: $custom-radio-indicator-border-radius,
550
+ border-color:
551
+ $custom-radio-indicator-disabled-border-color,
554
552
  ),
555
553
  ),
554
+ ),
556
555
 
557
- disabled: (
558
- custom-control-label: (
559
- before: (
560
- border-color:
561
- $custom-radio-indicator-disabled-border-color,
562
- ),
556
+ checked: (
557
+ custom-control-label: (
558
+ after: (
559
+ background-image: $custom-radio-indicator-icon-checked,
560
+ background-size:
561
+ $custom-radio-indicator-icon-checked-bg-size,
563
562
  ),
564
563
  ),
565
564
 
566
- checked: (
565
+ disabled: (
567
566
  custom-control-label: (
568
- after: (
569
- background-image:
570
- $custom-radio-indicator-icon-checked,
571
- background-size:
572
- $custom-radio-indicator-icon-checked-bg-size,
573
- ),
574
- ),
575
-
576
- disabled: (
577
- custom-control-label: (
578
- before: (
579
- background-color:
580
- $custom-control-indicator-checked-disabled-bg,
581
- border-color:
582
- $custom-radio-indicator-checked-disabled-border-color,
583
- ),
567
+ before: (
568
+ background-color:
569
+ $custom-control-indicator-checked-disabled-bg,
570
+ border-color:
571
+ $custom-radio-indicator-checked-disabled-border-color,
584
572
  ),
585
573
  ),
586
574
  ),
587
575
  ),
588
576
  ),
589
- $custom-radio
590
- );
591
-
592
- $custom-control-outside: ();
593
- $custom-control-outside: map-deep-merge(
594
- (
595
- label: (
596
- display: inline-block,
597
- padding-left:
598
- calc(
599
- #{$custom-control-indicator-size} +
600
- #{$custom-control-description-padding-left}
601
- ),
602
- ),
577
+ ),
578
+ $custom-radio
579
+ );
580
+
581
+ $custom-control-outside: () !default;
582
+ $custom-control-outside: map-deep-merge(
583
+ (
584
+ label: (
585
+ display: inline-block,
586
+ padding-left:
587
+ calc(
588
+ #{$custom-control-indicator-size} + #{$custom-control-description-padding-left}
589
+ ),
590
+ ),
603
591
 
604
- custom-control-input: (
605
- custom-control-label: (
606
- before: (
607
- position: absolute,
608
- ),
592
+ custom-control-input: (
593
+ custom-control-label: (
594
+ before: (
595
+ position: absolute,
609
596
  ),
610
597
  ),
598
+ ),
611
599
 
612
- custom-control-label-text: (
613
- padding-left: 0rem,
614
- ),
600
+ custom-control-label-text: (
601
+ padding-left: 0rem,
615
602
  ),
616
- $custom-control-outside
617
- );
603
+ ),
604
+ $custom-control-outside
605
+ );
618
606
 
619
- // Custom Switch
607
+ // Custom Switch
620
608
 
621
- // @deprecated as of v3.x with no replacement
609
+ // @deprecated as of v3.x with no replacement
622
610
 
623
- $custom-switch-width: calc(#{$custom-control-indicator-size} * 1.75);
611
+ $custom-switch-width: calc(#{$custom-control-indicator-size} * 1.75) !default;
624
612
 
625
- // @deprecated as of v3.x with no replacement
613
+ // @deprecated as of v3.x with no replacement
626
614
 
627
- $custom-switch-indicator-border-radius: calc(
628
- #{$custom-control-indicator-size} * 0.5
629
- );
615
+ $custom-switch-indicator-border-radius: calc(
616
+ #{$custom-control-indicator-size} * 0.5
617
+ ) !default;
630
618
 
631
- // @deprecated as of v3.x with no replacement
619
+ // @deprecated as of v3.x with no replacement
632
620
 
633
- $custom-switch-indicator-size: calc(
634
- #{$custom-control-indicator-size} -
635
- (#{$custom-control-indicator-border-width} * 4)
636
- );
621
+ $custom-switch-indicator-size: calc(
622
+ #{$custom-control-indicator-size} - (#{$custom-control-indicator-border-width} *
623
+ 4)
624
+ ) !default;
637
625
 
638
- // Custom Select
626
+ // Custom Select
639
627
 
640
- // @deprecated as of v3.x with no replacement
628
+ // @deprecated as of v3.x with no replacement
641
629
 
642
- $custom-select-bg: if(variable-exists(input-bg), $input-bg, $white);
630
+ $custom-select-bg: if(variable-exists(input-bg), $input-bg, $white) !default;
643
631
 
644
- // @deprecated as of v3.x with no replacement
632
+ // @deprecated as of v3.x with no replacement
645
633
 
646
- $custom-select-bg-size: 8px 10px;
634
+ $custom-select-bg-size: 8px 10px !default;
647
635
 
648
- // @deprecated as of v3.x with no replacement
636
+ // @deprecated as of v3.x with no replacement
649
637
 
650
- $custom-select-border-color: if(
651
- variable-exists(input-border-color),
652
- $input-border-color,
653
- $gray-400
654
- );
638
+ $custom-select-border-color: if(
639
+ variable-exists(input-border-color),
640
+ $input-border-color,
641
+ $gray-400
642
+ ) !default;
655
643
 
656
- // @deprecated as of v3.x with no replacement
644
+ // @deprecated as of v3.x with no replacement
657
645
 
658
- $custom-select-border-radius: $border-radius;
646
+ $custom-select-border-radius: $border-radius !default;
659
647
 
660
- // @deprecated as of v3.x with no replacement
648
+ // @deprecated as of v3.x with no replacement
661
649
 
662
- $custom-select-border-width: if(
663
- variable-exists(input-border-width),
664
- $input-border-width,
665
- 0.0625rem
666
- );
650
+ $custom-select-border-width: if(
651
+ variable-exists(input-border-width),
652
+ $input-border-width,
653
+ 0.0625rem
654
+ ) !default;
667
655
 
668
- // @deprecated as of v3.x with no replacement
656
+ // @deprecated as of v3.x with no replacement
669
657
 
670
- $custom-select-box-shadow: inset
671
- 0
672
- 1px
673
- 2px
674
- unquote('hsl(from #{$black} h s l / 0.075)');
658
+ $custom-select-box-shadow: inset 0 1px 2px
659
+ unquote('hsl(from #{$black} h s l / 0.075)') !default;
675
660
 
676
- // @deprecated as of v3.x with no replacement
661
+ // @deprecated as of v3.x with no replacement
677
662
 
678
- $custom-select-color: if(
679
- variable-exists(input-color),
680
- $input-color,
681
- $gray-700
682
- );
663
+ $custom-select-color: if(
664
+ variable-exists(input-color),
665
+ $input-color,
666
+ $gray-700
667
+ ) !default;
683
668
 
684
- // @deprecated as of v3.x with no replacement
669
+ // @deprecated as of v3.x with no replacement
685
670
 
686
- $custom-select-font-family: if(
687
- variable-exists(input-font-family),
688
- $input-font-family,
689
- null
690
- );
671
+ $custom-select-font-family: if(
672
+ variable-exists(input-font-family),
673
+ $input-font-family,
674
+ null
675
+ ) !default;
691
676
 
692
- // @deprecated as of v3.x with no replacement
677
+ // @deprecated as of v3.x with no replacement
693
678
 
694
- $custom-select-font-size: if(
695
- variable-exists(input-font-size),
696
- $input-font-size,
697
- $font-size-base
698
- );
679
+ $custom-select-font-size: if(
680
+ variable-exists(input-font-size),
681
+ $input-font-size,
682
+ $font-size-base
683
+ ) !default;
699
684
 
700
- // @deprecated as of v3.x with no replacement
685
+ // @deprecated as of v3.x with no replacement
701
686
 
702
- $custom-select-font-weight: if(
703
- variable-exists(input-font-weight),
704
- $input-font-weight,
705
- $font-weight-base
706
- );
687
+ $custom-select-font-weight: if(
688
+ variable-exists(input-font-weight),
689
+ $input-font-weight,
690
+ $font-weight-base
691
+ ) !default;
707
692
 
708
- // @deprecated as of v3.x with no replacement
693
+ // @deprecated as of v3.x with no replacement
709
694
 
710
- $custom-select-height: if(
711
- variable-exists(input-height),
712
- $input-height,
713
- 2.375rem
714
- );
695
+ $custom-select-height: if(
696
+ variable-exists(input-height),
697
+ $input-height,
698
+ 2.375rem
699
+ ) !default;
715
700
 
716
- // @deprecated as of v3.x with no replacement
701
+ // @deprecated as of v3.x with no replacement
717
702
 
718
- $custom-select-indicator-padding: 1rem;
703
+ $custom-select-indicator-padding: 1rem !default;
719
704
 
720
- // @deprecated as of v3.x with no replacement
705
+ // @deprecated as of v3.x with no replacement
721
706
 
722
- $custom-select-line-height: if(
723
- variable-exists(input-line-height),
724
- $input-line-height,
725
- $line-height-base
726
- );
707
+ $custom-select-line-height: if(
708
+ variable-exists(input-line-height),
709
+ $input-line-height,
710
+ $line-height-base
711
+ ) !default;
727
712
 
728
- // @deprecated as of v3.x with no replacement
713
+ // @deprecated as of v3.x with no replacement
729
714
 
730
- $custom-select-padding-x: if(
731
- variable-exists(input-padding-x),
732
- $input-padding-x,
733
- 0.75rem
734
- );
715
+ $custom-select-padding-x: if(
716
+ variable-exists(input-padding-x),
717
+ $input-padding-x,
718
+ 0.75rem
719
+ ) !default;
735
720
 
736
- // @deprecated as of v3.x with no replacement
721
+ // @deprecated as of v3.x with no replacement
737
722
 
738
- $custom-select-padding-y: if(
739
- variable-exists(input-padding-y),
740
- $input-padding-y,
741
- 0.375rem
742
- );
723
+ $custom-select-padding-y: if(
724
+ variable-exists(input-padding-y),
725
+ $input-padding-y,
726
+ 0.375rem
727
+ ) !default;
743
728
 
744
- // @deprecated as of v3.x with no replacement
729
+ // @deprecated as of v3.x with no replacement
745
730
 
746
- $custom-select-indicator-color: $gray-800;
731
+ $custom-select-indicator-color: $gray-800 !default;
747
732
 
748
- // @deprecated as of v3.x with no replacement
733
+ // @deprecated as of v3.x with no replacement
749
734
 
750
- $custom-select-indicator: clay-svg-url(
751
- "<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>"
752
- );
735
+ $custom-select-indicator: clay-svg-url(
736
+ "<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>"
737
+ ) !default;
753
738
 
754
- // @deprecated as of v3.x with no replacement
739
+ // @deprecated as of v3.x with no replacement
755
740
 
756
- $custom-select-background: $custom-select-indicator
757
- no-repeat
758
- right
759
- $custom-select-padding-x
760
- center /
761
- $custom-select-bg-size;
741
+ $custom-select-background: $custom-select-indicator no-repeat right
742
+ $custom-select-padding-x center / $custom-select-bg-size !default;
762
743
 
763
- // Custom Select Focus
744
+ // Custom Select Focus
764
745
 
765
- // @deprecated as of v3.x with no replacement
746
+ // @deprecated as of v3.x with no replacement
766
747
 
767
- $custom-select-focus-border-color: if(
768
- variable-exists(input-focus-border-color),
769
- $input-focus-border-color,
770
- unquote('hsl(from #{$component-active-bg} h s calc(l + 25))')
771
- );
748
+ $custom-select-focus-border-color: if(
749
+ variable-exists(input-focus-border-color),
750
+ $input-focus-border-color,
751
+ unquote('hsl(from #{$component-active-bg} h s calc(l + 25))')
752
+ ) !default;
772
753
 
773
- // @deprecated as of v3.x with no replacement
754
+ // @deprecated as of v3.x with no replacement
774
755
 
775
- $custom-select-focus-width: if(
776
- variable-exists(input-focus-width),
777
- $input-focus-width,
778
- 0.2rem
779
- );
756
+ $custom-select-focus-width: if(
757
+ variable-exists(input-focus-width),
758
+ $input-focus-width,
759
+ 0.2rem
760
+ ) !default;
780
761
 
781
- // @deprecated as of v3.x with no replacement
762
+ // @deprecated as of v3.x with no replacement
782
763
 
783
- $custom-select-focus-box-shadow: 0
784
- 0
785
- 0
786
- $custom-select-focus-width
787
- $custom-select-focus-border-color;
764
+ $custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width
765
+ $custom-select-focus-border-color !default;
788
766
 
789
- // Custom Select Disabled
767
+ // Custom Select Disabled
790
768
 
791
- // @deprecated as of v3.x with no replacement
769
+ // @deprecated as of v3.x with no replacement
792
770
 
793
- $custom-select-disabled-bg: $gray-200;
771
+ $custom-select-disabled-bg: $gray-200 !default;
794
772
 
795
- // @deprecated as of v3.x with no replacement
773
+ // @deprecated as of v3.x with no replacement
796
774
 
797
- $custom-select-disabled-color: $gray-600;
775
+ $custom-select-disabled-color: $gray-600 !default;
798
776
 
799
- // Custom Select Feedback
777
+ // Custom Select Feedback
800
778
 
801
- // @deprecated as of v3.x with no replacement
779
+ // @deprecated as of v3.x with no replacement
802
780
 
803
- $custom-select-feedback-icon-padding-right: calc(
804
- (1em * 0.75) +
805
- (2 * #{$custom-select-padding-y} * 0.75) +
806
- #{$custom-select-padding-x} +
807
- #{$custom-select-indicator-padding}
808
- );
781
+ $custom-select-feedback-icon-padding-right: calc(
782
+ (1em * 0.75) + (2 * #{$custom-select-padding-y} * 0.75) + #{$custom-select-padding-x} +
783
+ #{$custom-select-indicator-padding}
784
+ ) !default;
809
785
 
810
- // @deprecated as of v3.x with no replacement
786
+ // @deprecated as of v3.x with no replacement
811
787
 
812
- $custom-select-feedback-icon-position: center
813
- right
814
- calc(#{$custom-select-padding-x} + #{$custom-select-indicator-padding});
788
+ $custom-select-feedback-icon-position: center right
789
+ calc(#{$custom-select-padding-x} + #{$custom-select-indicator-padding}) !default;
815
790
 
816
- // @deprecated as of v3.x with no replacement
791
+ // @deprecated as of v3.x with no replacement
817
792
 
818
- $custom-select-feedback-icon-size: 18px 18px;
793
+ $custom-select-feedback-icon-size: 18px 18px !default;
819
794
 
820
- // Custom Select Lg
795
+ // Custom Select Lg
821
796
 
822
- // @deprecated as of v3.x with no replacement
797
+ // @deprecated as of v3.x with no replacement
823
798
 
824
- $custom-select-font-size-lg: if(
825
- variable-exists(input-font-size-lg),
826
- $input-font-size-lg,
827
- $font-size-lg
828
- );
799
+ $custom-select-font-size-lg: if(
800
+ variable-exists(input-font-size-lg),
801
+ $input-font-size-lg,
802
+ $font-size-lg
803
+ ) !default;
829
804
 
830
- // @deprecated as of v3.x with no replacement
805
+ // @deprecated as of v3.x with no replacement
831
806
 
832
- $custom-select-height-lg: if(
833
- variable-exists(input-height-lg),
834
- $input-height-lg,
835
- 3rem
836
- );
807
+ $custom-select-height-lg: if(
808
+ variable-exists(input-height-lg),
809
+ $input-height-lg,
810
+ 3rem
811
+ ) !default;
837
812
 
838
- // @deprecated as of v3.x with no replacement
813
+ // @deprecated as of v3.x with no replacement
839
814
 
840
- $custom-select-padding-x-lg: if(
841
- variable-exists(input-padding-x-lg),
842
- $input-padding-x-lg,
843
- 1rem
844
- );
815
+ $custom-select-padding-x-lg: if(
816
+ variable-exists(input-padding-x-lg),
817
+ $input-padding-x-lg,
818
+ 1rem
819
+ ) !default;
845
820
 
846
- // @deprecated as of v3.x with no replacement
821
+ // @deprecated as of v3.x with no replacement
847
822
 
848
- $custom-select-padding-y-lg: if(
849
- variable-exists(input-padding-y-lg),
850
- $input-padding-y-lg,
851
- 0.5rem
852
- );
823
+ $custom-select-padding-y-lg: if(
824
+ variable-exists(input-padding-y-lg),
825
+ $input-padding-y-lg,
826
+ 0.5rem
827
+ ) !default;
853
828
 
854
- // Custom Select Sm
829
+ // Custom Select Sm
855
830
 
856
- // @deprecated as of v3.x with no replacement
831
+ // @deprecated as of v3.x with no replacement
857
832
 
858
- $custom-select-font-size-sm: if(
859
- variable-exists(input-font-size-sm),
860
- $input-font-size-sm,
861
- $font-size-sm
862
- );
833
+ $custom-select-font-size-sm: if(
834
+ variable-exists(input-font-size-sm),
835
+ $input-font-size-sm,
836
+ $font-size-sm
837
+ ) !default;
863
838
 
864
- // @deprecated as of v3.x with no replacement
839
+ // @deprecated as of v3.x with no replacement
865
840
 
866
- $custom-select-height-sm: if(
867
- variable-exists(input-height-sm),
868
- $input-height-sm,
869
- 1.9375rem
870
- );
841
+ $custom-select-height-sm: if(
842
+ variable-exists(input-height-sm),
843
+ $input-height-sm,
844
+ 1.9375rem
845
+ ) !default;
871
846
 
872
- // @deprecated as of v3.x with no replacement
847
+ // @deprecated as of v3.x with no replacement
873
848
 
874
- $custom-select-padding-x-sm: if(
875
- variable-exists(input-padding-x-sm),
876
- $input-padding-x-sm,
877
- 0.5rem
878
- );
849
+ $custom-select-padding-x-sm: if(
850
+ variable-exists(input-padding-x-sm),
851
+ $input-padding-x-sm,
852
+ 0.5rem
853
+ ) !default;
879
854
 
880
- // @deprecated as of v3.x with no replacement
855
+ // @deprecated as of v3.x with no replacement
881
856
 
882
- $custom-select-padding-y-sm: if(
883
- variable-exists(input-padding-y-sm),
884
- $input-padding-y-sm,
885
- 0.25rem
886
- );
857
+ $custom-select-padding-y-sm: if(
858
+ variable-exists(input-padding-y-sm),
859
+ $input-padding-y-sm,
860
+ 0.25rem
861
+ ) !default;
887
862
 
888
- // Custom Range
863
+ // Custom Range
889
864
 
890
- // @deprecated as of v3.x with no replacement
865
+ // @deprecated as of v3.x with no replacement
891
866
 
892
- $custom-range-track-bg: $gray-300;
867
+ $custom-range-track-bg: $gray-300 !default;
893
868
 
894
- // @deprecated as of v3.x with no replacement
869
+ // @deprecated as of v3.x with no replacement
895
870
 
896
- $custom-range-track-border-radius: 1rem;
871
+ $custom-range-track-border-radius: 1rem !default;
897
872
 
898
- // @deprecated as of v3.x with no replacement
873
+ // @deprecated as of v3.x with no replacement
899
874
 
900
- $custom-range-track-box-shadow: inset
901
- 0
902
- 0.25rem
903
- 0.25rem
904
- unquote('hsl(from #{$black} h s l / 0.1)');
875
+ $custom-range-track-box-shadow: inset 0 0.25rem 0.25rem
876
+ unquote('hsl(from #{$black} h s l / 0.1)') !default;
905
877
 
906
- // @deprecated as of v3.x with no replacement
878
+ // @deprecated as of v3.x with no replacement
907
879
 
908
- $custom-range-track-cursor: pointer;
880
+ $custom-range-track-cursor: pointer !default;
909
881
 
910
- // @deprecated as of v3.x with no replacement
882
+ // @deprecated as of v3.x with no replacement
911
883
 
912
- $custom-range-track-height: 0.5rem;
884
+ $custom-range-track-height: 0.5rem !default;
913
885
 
914
- // @deprecated as of v3.x with no replacement
886
+ // @deprecated as of v3.x with no replacement
915
887
 
916
- $custom-range-track-width: 100%;
888
+ $custom-range-track-width: 100% !default;
917
889
 
918
- // @deprecated as of v3.x with no replacement
890
+ // @deprecated as of v3.x with no replacement
919
891
 
920
- $custom-range-thumb-bg: $component-active-bg;
892
+ $custom-range-thumb-bg: $component-active-bg !default;
921
893
 
922
- // @deprecated as of v3.x with no replacement
894
+ // @deprecated as of v3.x with no replacement
923
895
 
924
- $custom-range-thumb-border: 0px;
896
+ $custom-range-thumb-border: 0px !default;
925
897
 
926
- // @deprecated as of v3.x with no replacement
898
+ // @deprecated as of v3.x with no replacement
927
899
 
928
- $custom-range-thumb-border-radius: 1rem;
900
+ $custom-range-thumb-border-radius: 1rem !default;
929
901
 
930
- // @deprecated as of v3.x with no replacement
902
+ // @deprecated as of v3.x with no replacement
931
903
 
932
- $custom-range-thumb-box-shadow: 0
933
- 0.1rem
934
- 0.25rem
935
- unquote('hsl(from #{$black} h s l / 0.1)');
904
+ $custom-range-thumb-box-shadow: 0 0.1rem 0.25rem
905
+ unquote('hsl(from #{$black} h s l / 0.1)') !default;
936
906
 
937
- // @deprecated as of v3.x with no replacement
907
+ // @deprecated as of v3.x with no replacement
938
908
 
939
- $custom-range-thumb-width: 1rem;
909
+ $custom-range-thumb-width: 1rem !default;
940
910
 
941
- // @deprecated as of v3.x with no replacement
911
+ // @deprecated as of v3.x with no replacement
942
912
 
943
- $custom-range-thumb-height: $custom-range-thumb-width;
913
+ $custom-range-thumb-height: $custom-range-thumb-width !default;
944
914
 
945
- // @deprecated as of v3.x with no replacement
915
+ // @deprecated as of v3.x with no replacement
946
916
 
947
- $custom-range-thumb-focus-box-shadow:
948
- 0 0 0 1px $body-bg,
949
- if(
950
- variable-exists(input-focus-box-shadow),
951
- $input-focus-box-shadow,
952
- $component-focus-box-shadow
953
- );
917
+ $custom-range-thumb-focus-box-shadow:
918
+ 0 0 0 1px $body-bg,
919
+ if(
920
+ variable-exists(input-focus-box-shadow),
921
+ $input-focus-box-shadow,
922
+ $component-focus-box-shadow
923
+ ) !default;
954
924
 
955
- // @deprecated as of v3.x with no replacement
925
+ // @deprecated as of v3.x with no replacement
956
926
 
957
- $custom-range-thumb-focus-box-shadow-width: if(
958
- variable-exists(input-focus-width),
959
- $input-focus-width,
960
- 0.2rem
961
- );
927
+ $custom-range-thumb-focus-box-shadow-width: if(
928
+ variable-exists(input-focus-width),
929
+ $input-focus-width,
930
+ 0.2rem
931
+ ) !default;
962
932
 
963
- // @deprecated as of v3.x with no replacement
933
+ // @deprecated as of v3.x with no replacement
964
934
 
965
- $custom-range-thumb-active-bg: unquote(
966
- 'hsl(from #{$component-active-bg} h s calc(l + 35))'
967
- );
935
+ $custom-range-thumb-active-bg: unquote(
936
+ 'hsl(from #{$component-active-bg} h s calc(l + 35))'
937
+ ) !default;
968
938
 
969
- // @deprecated as of v3.x with no replacement
939
+ // @deprecated as of v3.x with no replacement
970
940
 
971
- $custom-range-thumb-disabled-bg: $gray-500;
941
+ $custom-range-thumb-disabled-bg: $gray-500 !default;
972
942
 
973
- // Custom File
943
+ // Custom File
974
944
 
975
- // @deprecated as of v3.x with no replacement
945
+ // @deprecated as of v3.x with no replacement
976
946
 
977
- $custom-file-bg: if(variable-exists(input-bg), $input-bg, $white);
947
+ $custom-file-bg: if(variable-exists(input-bg), $input-bg, $white) !default;
978
948
 
979
- // @deprecated as of v3.x with no replacement
949
+ // @deprecated as of v3.x with no replacement
980
950
 
981
- $custom-file-border-color: if(
982
- variable-exists(input-border-color),
983
- $input-border-color,
984
- $gray-400
985
- );
951
+ $custom-file-border-color: if(
952
+ variable-exists(input-border-color),
953
+ $input-border-color,
954
+ $gray-400
955
+ ) !default;
986
956
 
987
- // @deprecated as of v3.x with no replacement
957
+ // @deprecated as of v3.x with no replacement
988
958
 
989
- $custom-file-border-width: if(
990
- variable-exists(input-border-width),
991
- $input-border-width,
992
- 0.0625rem
993
- );
959
+ $custom-file-border-width: if(
960
+ variable-exists(input-border-width),
961
+ $input-border-width,
962
+ 0.0625rem
963
+ ) !default;
994
964
 
995
- // @deprecated as of v3.x with no replacement
965
+ // @deprecated as of v3.x with no replacement
996
966
 
997
- $custom-file-border-radius: if(
998
- variable-exists(input-border-radius),
999
- $input-border-radius,
1000
- $border-radius
1001
- );
967
+ $custom-file-border-radius: if(
968
+ variable-exists(input-border-radius),
969
+ $input-border-radius,
970
+ $border-radius
971
+ ) !default;
1002
972
 
1003
- // @deprecated as of v3.x with no replacement
973
+ // @deprecated as of v3.x with no replacement
1004
974
 
1005
- $custom-file-box-shadow: if(
1006
- variable-exists(input-box-shadow),
1007
- $input-box-shadow,
1008
- inset 0 1px 1px unquote('hsl(from #{$black} h s l / 0.075)')
1009
- );
975
+ $custom-file-box-shadow: if(
976
+ variable-exists(input-box-shadow),
977
+ $input-box-shadow,
978
+ inset 0 1px 1px unquote('hsl(from #{$black} h s l / 0.075)')
979
+ ) !default;
1010
980
 
1011
- // @deprecated as of v3.x with no replacement
981
+ // @deprecated as of v3.x with no replacement
1012
982
 
1013
- $custom-file-color: if(
1014
- variable-exists(input-color),
1015
- $input-color,
1016
- $gray-700
1017
- );
983
+ $custom-file-color: if(
984
+ variable-exists(input-color),
985
+ $input-color,
986
+ $gray-700
987
+ ) !default;
1018
988
 
1019
- // @deprecated as of v3.x with no replacement
989
+ // @deprecated as of v3.x with no replacement
1020
990
 
1021
- $custom-file-font-family: if(
1022
- variable-exists(input-font-family),
1023
- $input-font-family,
1024
- null
1025
- );
991
+ $custom-file-font-family: if(
992
+ variable-exists(input-font-family),
993
+ $input-font-family,
994
+ null
995
+ ) !default;
1026
996
 
1027
- // @deprecated as of v3.x with no replacement
997
+ // @deprecated as of v3.x with no replacement
1028
998
 
1029
- $custom-file-font-weight: if(
1030
- variable-exists(input-font-weight),
1031
- $input-font-weight,
1032
- $font-weight-base
1033
- );
999
+ $custom-file-font-weight: if(
1000
+ variable-exists(input-font-weight),
1001
+ $input-font-weight,
1002
+ $font-weight-base
1003
+ ) !default;
1034
1004
 
1035
- // @deprecated as of v3.x with no replacement
1005
+ // @deprecated as of v3.x with no replacement
1036
1006
 
1037
- $custom-file-height-inner: 36px;
1007
+ $custom-file-height-inner: 36px !default;
1038
1008
 
1039
- // @deprecated as of v3.x with no replacement
1009
+ // @deprecated as of v3.x with no replacement
1040
1010
 
1041
- $custom-file-height: if(
1042
- variable-exists(input-height),
1043
- $input-height,
1044
- 2.375rem
1045
- );
1011
+ $custom-file-height: if(
1012
+ variable-exists(input-height),
1013
+ $input-height,
1014
+ 2.375rem
1015
+ ) !default;
1046
1016
 
1047
- // @deprecated as of v3.x with no replacement
1017
+ // @deprecated as of v3.x with no replacement
1048
1018
 
1049
- $custom-file-line-height: if(
1050
- variable-exists(input-line-height),
1051
- $input-line-height,
1052
- $line-height-base
1053
- );
1019
+ $custom-file-line-height: if(
1020
+ variable-exists(input-line-height),
1021
+ $input-line-height,
1022
+ $line-height-base
1023
+ ) !default;
1054
1024
 
1055
- // @deprecated as of v3.x with no replacement
1025
+ // @deprecated as of v3.x with no replacement
1056
1026
 
1057
- $custom-file-padding-x: if(
1058
- variable-exists(input-padding-x),
1059
- $input-padding-x,
1060
- 0.75rem
1061
- );
1027
+ $custom-file-padding-x: if(
1028
+ variable-exists(input-padding-x),
1029
+ $input-padding-x,
1030
+ 0.75rem
1031
+ ) !default;
1062
1032
 
1063
- // @deprecated as of v3.x with no replacement
1033
+ // @deprecated as of v3.x with no replacement
1064
1034
 
1065
- $custom-file-padding-y: if(
1066
- variable-exists(input-padding-y),
1067
- $input-padding-y,
1068
- 0.375rem
1069
- );
1035
+ $custom-file-padding-y: if(
1036
+ variable-exists(input-padding-y),
1037
+ $input-padding-y,
1038
+ 0.375rem
1039
+ ) !default;
1070
1040
 
1071
- // @deprecated as of v3.x with no replacement
1041
+ // @deprecated as of v3.x with no replacement
1072
1042
 
1073
- $custom-file-focus-border-color: if(
1074
- variable-exists(input-focus-border-color),
1075
- $input-focus-border-color,
1076
- unquote('hsl(from #{$component-active-bg} h s calc(l + 25))')
1077
- );
1043
+ $custom-file-focus-border-color: if(
1044
+ variable-exists(input-focus-border-color),
1045
+ $input-focus-border-color,
1046
+ unquote('hsl(from #{$component-active-bg} h s calc(l + 25))')
1047
+ ) !default;
1078
1048
 
1079
- // @deprecated as of v3.x with no replacement
1049
+ // @deprecated as of v3.x with no replacement
1080
1050
 
1081
- $custom-file-focus-box-shadow: if(
1082
- variable-exists(input-focus-box-shadow),
1083
- $input-focus-box-shadow,
1084
- $component-focus-box-shadow
1085
- );
1051
+ $custom-file-focus-box-shadow: if(
1052
+ variable-exists(input-focus-box-shadow),
1053
+ $input-focus-box-shadow,
1054
+ $component-focus-box-shadow
1055
+ ) !default;
1086
1056
 
1087
- // @deprecated as of v3.x with no replacement
1057
+ // @deprecated as of v3.x with no replacement
1088
1058
 
1089
- $custom-file-disabled-bg: if(
1090
- variable-exists(input-disabled-bg),
1091
- $input-disabled-bg,
1092
- $gray-200
1093
- );
1059
+ $custom-file-disabled-bg: if(
1060
+ variable-exists(input-disabled-bg),
1061
+ $input-disabled-bg,
1062
+ $gray-200
1063
+ ) !default;
1094
1064
 
1095
- // @deprecated as of v3.x with no replacement
1065
+ // @deprecated as of v3.x with no replacement
1096
1066
 
1097
- $custom-file-button-bg: if(
1098
- variable-exists(input-group-addon-bg),
1099
- $input-group-addon-bg,
1100
- $gray-200
1101
- );
1067
+ $custom-file-button-bg: if(
1068
+ variable-exists(input-group-addon-bg),
1069
+ $input-group-addon-bg,
1070
+ $gray-200
1071
+ ) !default;
1102
1072
 
1103
- // @deprecated as of v3.x with no replacement
1073
+ // @deprecated as of v3.x with no replacement
1104
1074
 
1105
- $custom-file-button-color: $custom-file-color;
1075
+ $custom-file-button-color: $custom-file-color !default;
1106
1076
 
1107
- // .custom-file-label::after
1077
+ // .custom-file-label::after
1108
1078
 
1109
- // @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
1079
+ // @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
1110
1080
 
1111
- $custom-file-label-after-content: unquote("'\\FEFF Browse'");
1081
+ $custom-file-label-after-content: unquote("'\\FEFF Browse'") !default;
1112
1082
 
1113
- $custom-file-text: ();
1083
+ $custom-file-text: () !default;
1114
1084
 
1115
- // @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
1085
+ // @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
1116
1086
 
1117
- $custom-file-text: map-deep-merge(
1118
- (
1119
- en: unquote("'\\FEFF Browse'"),
1120
- ),
1121
- $custom-file-text
1122
- );
1087
+ $custom-file-text: map-deep-merge(
1088
+ (
1089
+ en: unquote("'\\FEFF Browse'"),
1090
+ ),
1091
+ $custom-file-text
1092
+ );
1123
1093
 
1124
- // @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457.
1094
+ // @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457.
1125
1095
 
1126
- $custom-file-text-data-browse: unquote("'\\FEFF' attr(data-browse)");
1127
- }
1096
+ $custom-file-text-data-browse: unquote("'\\FEFF' attr(data-browse)") !default;