@clayui/css 3.39.0 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/css/atlas.css +1127 -1387
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +908 -1138
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +1021 -1148
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/filter.svg +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/filter.svg +1 -1
- package/src/scss/_mixins.scss +2 -0
- package/src/scss/atlas/variables/_alerts.scss +10 -0
- package/src/scss/atlas/variables/_application-bar.scss +32 -12
- package/src/scss/atlas/variables/_breadcrumbs.scss +4 -2
- package/src/scss/atlas/variables/_cards.scss +2 -2
- package/src/scss/atlas/variables/_dropdowns.scss +179 -12
- package/src/scss/atlas/variables/_forms.scss +33 -1
- package/src/scss/atlas/variables/_globals.scss +13 -0
- package/src/scss/atlas/variables/_labels.scss +88 -56
- package/src/scss/atlas/variables/_management-bar.scss +53 -21
- package/src/scss/atlas/variables/_navigation-bar.scss +104 -18
- package/src/scss/atlas/variables/_navs.scss +20 -8
- package/src/scss/atlas/variables/_pagination.scss +4 -2
- package/src/scss/atlas/variables/_sheets.scss +4 -2
- package/src/scss/atlas/variables/_sidebar.scss +1 -1
- package/src/scss/atlas/variables/_tables.scss +58 -28
- package/src/scss/cadmin/components/_alerts.scss +1 -17
- package/src/scss/cadmin/components/_cards.scss +12 -14
- package/src/scss/cadmin/components/_dropdowns.scss +66 -196
- package/src/scss/cadmin/components/_form-validation.scss +10 -237
- package/src/scss/cadmin/components/_icons.scss +1 -6
- package/src/scss/cadmin/components/_input-groups.scss +17 -14
- package/src/scss/cadmin/components/_pagination.scss +20 -236
- package/src/scss/cadmin/components/_popovers.scss +31 -252
- package/src/scss/cadmin/components/_reboot.scss +1 -8
- package/src/scss/cadmin/components/_toggle-switch.scss +20 -358
- package/src/scss/cadmin/components/_tooltip.scss +29 -167
- package/src/scss/cadmin/components/_type.scss +9 -1
- package/src/scss/cadmin/variables/_alerts.scss +35 -11
- package/src/scss/cadmin/variables/_breadcrumbs.scss +10 -6
- package/src/scss/cadmin/variables/_cards.scss +91 -23
- package/src/scss/cadmin/variables/_dropdowns.scss +440 -71
- package/src/scss/cadmin/variables/_forms.scss +353 -2
- package/src/scss/cadmin/variables/_globals.scss +14 -0
- package/src/scss/cadmin/variables/_icons.scss +15 -2
- package/src/scss/cadmin/variables/_labels.scss +104 -72
- package/src/scss/cadmin/variables/_links.scss +9 -7
- package/src/scss/cadmin/variables/_management-bar.scss +70 -30
- package/src/scss/cadmin/variables/_navigation-bar.scss +118 -22
- package/src/scss/cadmin/variables/_pagination.scss +274 -68
- package/src/scss/cadmin/variables/_popovers.scss +410 -0
- package/src/scss/cadmin/variables/_sidebar.scss +17 -5
- package/src/scss/cadmin/variables/_toggle-switch.scss +404 -1
- package/src/scss/cadmin/variables/_tooltip.scss +299 -0
- package/src/scss/cadmin/variables/_type.scss +3 -0
- package/src/scss/components/_alerts.scss +5 -17
- package/src/scss/components/_button-groups.scss +6 -6
- package/src/scss/components/_cards.scss +5 -5
- package/src/scss/components/_dropdowns.scss +52 -200
- package/src/scss/components/_form-validation.scss +8 -237
- package/src/scss/components/_forms.scss +61 -4
- package/src/scss/components/_icons.scss +4 -9
- package/src/scss/components/_input-groups.scss +17 -14
- package/src/scss/components/_multi-step-nav.scss +12 -8
- package/src/scss/components/_pagination.scss +18 -234
- package/src/scss/components/_popovers.scss +30 -237
- package/src/scss/components/_reboot.scss +3 -39
- package/src/scss/components/_toggle-switch.scss +36 -351
- package/src/scss/components/_tooltip.scss +29 -164
- package/src/scss/components/_type.scss +9 -1
- package/src/scss/functions/_global-functions.scss +18 -0
- package/src/scss/functions/_lx-icons-generated.scss +1 -1
- package/src/scss/mixins/_alerts.scss +25 -0
- package/src/scss/mixins/_buttons.scss +827 -384
- package/src/scss/mixins/_cards.scss +610 -114
- package/src/scss/mixins/_close.scss +0 -1
- package/src/scss/mixins/_custom-forms.scss +46 -34
- package/src/scss/mixins/_dropdown-menu.scss +139 -53
- package/src/scss/mixins/_forms.scss +686 -252
- package/src/scss/mixins/_globals.scss +244 -234
- package/src/scss/mixins/_labels.scss +1 -1
- package/src/scss/mixins/_links.scss +795 -329
- package/src/scss/mixins/_navbar.scss +759 -140
- package/src/scss/mixins/_pagination.scss +422 -0
- package/src/scss/mixins/_popovers.scss +90 -0
- package/src/scss/mixins/_toggle-switch.scss +1140 -14
- package/src/scss/mixins/_tooltip.scss +70 -0
- package/src/scss/variables/_alerts.scss +34 -10
- package/src/scss/variables/_application-bar.scss +18 -6
- package/src/scss/variables/_breadcrumbs.scss +8 -4
- package/src/scss/variables/_cards.scss +40 -2
- package/src/scss/variables/_dropdowns.scss +570 -62
- package/src/scss/variables/_forms.scss +303 -1
- package/src/scss/variables/_globals.scss +53 -0
- package/src/scss/variables/_icons.scss +60 -9
- package/src/scss/variables/_labels.scss +120 -88
- package/src/scss/variables/_links.scss +15 -13
- package/src/scss/variables/_management-bar.scss +45 -12
- package/src/scss/variables/_navigation-bar.scss +95 -14
- package/src/scss/variables/_navs.scss +33 -13
- package/src/scss/variables/_pagination.scss +267 -65
- package/src/scss/variables/_popovers.scss +392 -0
- package/src/scss/variables/_sheets.scss +4 -2
- package/src/scss/variables/_sidebar.scss +17 -5
- package/src/scss/variables/_tables.scss +24 -8
- package/src/scss/variables/_toggle-switch.scss +404 -5
- package/src/scss/variables/_tooltip.scss +299 -0
- package/src/scss/variables/_type.scss +3 -0
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
// .dropdown-toggle
|
|
2
|
+
|
|
3
|
+
$cadmin-dropdown-toggle: () !default;
|
|
4
|
+
$cadmin-dropdown-toggle: map-deep-merge(
|
|
5
|
+
(
|
|
6
|
+
white-space: nowrap,
|
|
7
|
+
),
|
|
8
|
+
$cadmin-dropdown-toggle
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
// .dropdown-menu
|
|
12
|
+
|
|
1
13
|
$cadmin-dropdown-bg: $cadmin-white !default;
|
|
2
14
|
$cadmin-dropdown-border-color: $cadmin-gray-300 !default;
|
|
3
15
|
$cadmin-dropdown-border-style: solid !default;
|
|
@@ -14,22 +26,52 @@ $cadmin-dropdown-max-height: 500px !default;
|
|
|
14
26
|
$cadmin-dropdown-max-width: 240px !default;
|
|
15
27
|
$cadmin-dropdown-min-height: 40px !default;
|
|
16
28
|
$cadmin-dropdown-min-width: 240px !default;
|
|
17
|
-
$cadmin-dropdown-padding-y: 6px !default; // 6px
|
|
18
29
|
|
|
19
30
|
$cadmin-dropdown-font-size-mobile: null !default;
|
|
20
31
|
$cadmin-dropdown-max-height-mobile: 295px !default;
|
|
21
32
|
$cadmin-dropdown-max-width-mobile: 230px !default;
|
|
22
33
|
|
|
34
|
+
$cadmin-dropdown-padding-y: 6px !default; // 6px
|
|
23
35
|
$cadmin-dropdown-spacer: 5px !default; // 5px
|
|
24
36
|
|
|
25
|
-
$cadmin-dropdown-
|
|
26
|
-
$cadmin-dropdown-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
$cadmin-dropdown-
|
|
37
|
+
$cadmin-dropdown-menu: () !default;
|
|
38
|
+
$cadmin-dropdown-menu: map-deep-merge(
|
|
39
|
+
(
|
|
40
|
+
breakpoint-down: md,
|
|
41
|
+
background-clip: padding-box,
|
|
42
|
+
background-color: $cadmin-dropdown-bg,
|
|
43
|
+
border-color: $cadmin-dropdown-border-color,
|
|
44
|
+
border-style: $cadmin-dropdown-border-style,
|
|
45
|
+
border-width: $cadmin-dropdown-border-width,
|
|
46
|
+
border-radius: clay-enable-rounded($cadmin-dropdown-border-radius),
|
|
47
|
+
box-shadow: clay-enable-shadows($cadmin-dropdown-box-shadow),
|
|
48
|
+
color: $cadmin-dropdown-color,
|
|
49
|
+
display: none,
|
|
50
|
+
float: left,
|
|
51
|
+
font-size: $cadmin-dropdown-font-size,
|
|
52
|
+
left: 0,
|
|
53
|
+
list-style: none,
|
|
54
|
+
margin: $cadmin-dropdown-spacer 0 0,
|
|
55
|
+
max-height: $cadmin-dropdown-max-height,
|
|
56
|
+
max-width: $cadmin-dropdown-max-width,
|
|
57
|
+
min-height: $cadmin-dropdown-min-height,
|
|
58
|
+
min-width: $cadmin-dropdown-min-width,
|
|
59
|
+
overflow: auto,
|
|
60
|
+
padding: $cadmin-dropdown-padding-y 0,
|
|
61
|
+
position: absolute,
|
|
62
|
+
text-align: left,
|
|
63
|
+
top: 100%,
|
|
64
|
+
z-index: $cadmin-zindex-dropdown,
|
|
65
|
+
mobile: (
|
|
66
|
+
font-size: $cadmin-dropdown-font-size-mobile,
|
|
67
|
+
max-height: $cadmin-dropdown-max-height-mobile,
|
|
68
|
+
max-width: $cadmin-dropdown-max-width-mobile,
|
|
69
|
+
),
|
|
70
|
+
),
|
|
71
|
+
$cadmin-dropdown-menu
|
|
72
|
+
);
|
|
31
73
|
|
|
32
|
-
//
|
|
74
|
+
// .dropdown-item
|
|
33
75
|
|
|
34
76
|
$cadmin-dropdown-item-padding-x: 20px !default; // 20px
|
|
35
77
|
$cadmin-dropdown-item-padding-y: 8px !default; // 8px
|
|
@@ -39,8 +81,6 @@ $cadmin-dropdown-item-disabled-cursor: $cadmin-disabled-cursor !default;
|
|
|
39
81
|
$cadmin-dropdown-item-indicator-size: 16px !default;
|
|
40
82
|
$cadmin-dropdown-item-indicator-spacer-x: 16px !default;
|
|
41
83
|
|
|
42
|
-
// Dropdown Link
|
|
43
|
-
|
|
44
84
|
$cadmin-dropdown-link-color: $cadmin-gray-600 !default;
|
|
45
85
|
$cadmin-dropdown-link-font-weight: $cadmin-font-weight-normal !default;
|
|
46
86
|
|
|
@@ -56,42 +96,6 @@ $cadmin-dropdown-link-active-font-weight: $cadmin-font-weight-semi-bold !default
|
|
|
56
96
|
|
|
57
97
|
$cadmin-dropdown-link-disabled-color: $cadmin-gray-500 !default;
|
|
58
98
|
|
|
59
|
-
// Dropdown Header
|
|
60
|
-
|
|
61
|
-
$cadmin-dropdown-header-color: $cadmin-gray-900 !default;
|
|
62
|
-
$cadmin-dropdown-header-font-size: 14px !default; // 14px
|
|
63
|
-
$cadmin-dropdown-header-margin-bottom: null !default;
|
|
64
|
-
$cadmin-dropdown-header-margin-top: 10px !default; // 10px
|
|
65
|
-
$cadmin-dropdown-header-padding-x: $cadmin-dropdown-item-padding-x !default;
|
|
66
|
-
$cadmin-dropdown-header-padding-y: $cadmin-dropdown-padding-y !default;
|
|
67
|
-
$cadmin-dropdown-header-text-transform: null !default;
|
|
68
|
-
|
|
69
|
-
$cadmin-dropdown-header-font-size-mobile: null !default;
|
|
70
|
-
|
|
71
|
-
// Dropdown Subheader
|
|
72
|
-
|
|
73
|
-
$cadmin-dropdown-subheader-color: $cadmin-dropdown-header-color !default;
|
|
74
|
-
$cadmin-dropdown-subheader-font-size: 12px !default; // 12px
|
|
75
|
-
$cadmin-dropdown-subheader-font-weight: $cadmin-font-weight-semi-bold !default;
|
|
76
|
-
$cadmin-dropdown-subheader-margin-bottom: null !default;
|
|
77
|
-
$cadmin-dropdown-subheader-margin-top: 10px !default; // 10px
|
|
78
|
-
$cadmin-dropdown-subheader-padding-x: $cadmin-dropdown-header-padding-x !default;
|
|
79
|
-
$cadmin-dropdown-subheader-padding-y: $cadmin-dropdown-header-padding-y !default;
|
|
80
|
-
$cadmin-dropdown-subheader-text-transform: uppercase !default;
|
|
81
|
-
|
|
82
|
-
$cadmin-dropdown-caption-color: $cadmin-gray-600 !default;
|
|
83
|
-
$cadmin-dropdown-caption-font-size: 14px !default; // 14px
|
|
84
|
-
$cadmin-dropdown-caption-font-weight: null !default;
|
|
85
|
-
|
|
86
|
-
// Dropdown Inline Scroller
|
|
87
|
-
|
|
88
|
-
$cadmin-dropdown-inline-scroller-max-height: 200px !default;
|
|
89
|
-
$cadmin-dropdown-inline-scroller-max-height-mobile: none !default;
|
|
90
|
-
|
|
91
|
-
// Dropdown Item
|
|
92
|
-
|
|
93
|
-
$cadmin-dropdown-item-disabled-cursor: $cadmin-disabled-cursor !default;
|
|
94
|
-
|
|
95
99
|
// `background-color`, `border-width`, `text-align` for `<button>`s
|
|
96
100
|
|
|
97
101
|
$cadmin-dropdown-item-base: () !default;
|
|
@@ -163,6 +167,201 @@ $cadmin-dropdown-item-base: map-deep-merge(
|
|
|
163
167
|
$cadmin-dropdown-item-base
|
|
164
168
|
);
|
|
165
169
|
|
|
170
|
+
// .dropdown-item-text
|
|
171
|
+
|
|
172
|
+
$cadmin-dropdown-item-text: () !default;
|
|
173
|
+
$cadmin-dropdown-item-text: map-merge(
|
|
174
|
+
(
|
|
175
|
+
color: map-get($cadmin-dropdown-item-base, color),
|
|
176
|
+
display: map-get($cadmin-dropdown-item-base, display),
|
|
177
|
+
font-weight: map-get($cadmin-dropdown-item-base, font-weight),
|
|
178
|
+
padding: map-get($cadmin-dropdown-item-base, padding),
|
|
179
|
+
padding-bottom: map-get($cadmin-dropdown-item-base, padding-bottom),
|
|
180
|
+
padding-left: map-get($cadmin-dropdown-item-base, padding-left),
|
|
181
|
+
padding-right: map-get($cadmin-dropdown-item-base, padding-right),
|
|
182
|
+
padding-top: map-get($cadmin-dropdown-item-base, padding-top),
|
|
183
|
+
),
|
|
184
|
+
$cadmin-dropdown-item-text
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
// .dropdown-header
|
|
188
|
+
|
|
189
|
+
$cadmin-dropdown-header-color: $cadmin-gray-900 !default;
|
|
190
|
+
$cadmin-dropdown-header-font-size: 14px !default; // 14px
|
|
191
|
+
$cadmin-dropdown-header-margin-bottom: null !default;
|
|
192
|
+
$cadmin-dropdown-header-margin-top: 10px !default; // 10px
|
|
193
|
+
$cadmin-dropdown-header-padding-x: $cadmin-dropdown-item-padding-x !default;
|
|
194
|
+
$cadmin-dropdown-header-padding-y: $cadmin-dropdown-padding-y !default;
|
|
195
|
+
$cadmin-dropdown-header-text-transform: null !default;
|
|
196
|
+
|
|
197
|
+
$cadmin-dropdown-header-font-size-mobile: null !default;
|
|
198
|
+
|
|
199
|
+
$cadmin-dropdown-header: () !default;
|
|
200
|
+
$cadmin-dropdown-header: map-deep-merge(
|
|
201
|
+
(
|
|
202
|
+
breakpoint-down: sm,
|
|
203
|
+
color: $cadmin-dropdown-header-color,
|
|
204
|
+
display: block,
|
|
205
|
+
font-size: $cadmin-dropdown-header-font-size,
|
|
206
|
+
margin-bottom: $cadmin-dropdown-header-margin-bottom,
|
|
207
|
+
margin-top: $cadmin-dropdown-header-margin-top,
|
|
208
|
+
padding-bottom: $cadmin-dropdown-header-padding-y,
|
|
209
|
+
padding-left: $cadmin-dropdown-header-padding-x,
|
|
210
|
+
padding-right: $cadmin-dropdown-header-padding-x,
|
|
211
|
+
padding-top: $cadmin-dropdown-header-padding-y,
|
|
212
|
+
position: relative,
|
|
213
|
+
text-transform: $cadmin-dropdown-header-text-transform,
|
|
214
|
+
word-wrap: break-word,
|
|
215
|
+
mobile: (
|
|
216
|
+
font-size: $cadmin-dropdown-header-font-size-mobile,
|
|
217
|
+
),
|
|
218
|
+
first-child: (
|
|
219
|
+
margin-top: 0,
|
|
220
|
+
),
|
|
221
|
+
),
|
|
222
|
+
$cadmin-dropdown-header
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
// .dropdown-subheader
|
|
226
|
+
|
|
227
|
+
$cadmin-dropdown-subheader-color: $cadmin-dropdown-header-color !default;
|
|
228
|
+
$cadmin-dropdown-subheader-font-size: 12px !default; // 12px
|
|
229
|
+
$cadmin-dropdown-subheader-font-weight: $cadmin-font-weight-semi-bold !default;
|
|
230
|
+
$cadmin-dropdown-subheader-margin-bottom: null !default;
|
|
231
|
+
$cadmin-dropdown-subheader-margin-top: 10px !default; // 10px
|
|
232
|
+
$cadmin-dropdown-subheader-padding-x: $cadmin-dropdown-header-padding-x !default;
|
|
233
|
+
$cadmin-dropdown-subheader-padding-y: $cadmin-dropdown-header-padding-y !default;
|
|
234
|
+
$cadmin-dropdown-subheader-text-transform: uppercase !default;
|
|
235
|
+
|
|
236
|
+
$cadmin-dropdown-subheader: () !default;
|
|
237
|
+
$cadmin-dropdown-subheader: map-deep-merge(
|
|
238
|
+
(
|
|
239
|
+
color: $cadmin-dropdown-subheader-color,
|
|
240
|
+
font-size: $cadmin-dropdown-subheader-font-size,
|
|
241
|
+
font-weight: $cadmin-dropdown-subheader-font-weight,
|
|
242
|
+
margin-bottom: $cadmin-dropdown-subheader-margin-bottom,
|
|
243
|
+
margin-top: $cadmin-dropdown-subheader-margin-top,
|
|
244
|
+
padding-bottom: $cadmin-dropdown-subheader-padding-y,
|
|
245
|
+
padding-left: $cadmin-dropdown-subheader-padding-x,
|
|
246
|
+
padding-right: $cadmin-dropdown-subheader-padding-x,
|
|
247
|
+
padding-top: $cadmin-dropdown-subheader-padding-y,
|
|
248
|
+
text-transform: $cadmin-dropdown-subheader-text-transform,
|
|
249
|
+
white-space: normal,
|
|
250
|
+
word-wrap: break-word,
|
|
251
|
+
first-child: (
|
|
252
|
+
margin-top: 0,
|
|
253
|
+
),
|
|
254
|
+
),
|
|
255
|
+
$cadmin-dropdown-subheader
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
// .dropdown-caption
|
|
259
|
+
|
|
260
|
+
$cadmin-dropdown-caption-color: $cadmin-gray-600 !default;
|
|
261
|
+
$cadmin-dropdown-caption-font-size: 14px !default; // 14px
|
|
262
|
+
$cadmin-dropdown-caption-font-weight: null !default;
|
|
263
|
+
|
|
264
|
+
$cadmin-dropdown-caption: () !default;
|
|
265
|
+
$cadmin-dropdown-caption: map-merge(
|
|
266
|
+
(
|
|
267
|
+
color: $cadmin-dropdown-caption-color,
|
|
268
|
+
font-size: $cadmin-dropdown-caption-font-size,
|
|
269
|
+
font-weight: $cadmin-dropdown-caption-font-weight,
|
|
270
|
+
padding: $cadmin-dropdown-item-padding-y $cadmin-dropdown-item-padding-x,
|
|
271
|
+
white-space: normal,
|
|
272
|
+
word-wrap: break-word,
|
|
273
|
+
),
|
|
274
|
+
$cadmin-dropdown-caption
|
|
275
|
+
);
|
|
276
|
+
|
|
277
|
+
// .dropdown-divider
|
|
278
|
+
|
|
279
|
+
$cadmin-dropdown-divider-bg: $cadmin-dropdown-border-color !default;
|
|
280
|
+
$cadmin-dropdown-divider-margin-y: $cadmin-spacer * 0.5 !default;
|
|
281
|
+
|
|
282
|
+
$cadmin-dropdown-divider: () !default;
|
|
283
|
+
$cadmin-dropdown-divider: map-merge(
|
|
284
|
+
(
|
|
285
|
+
border-top: 1px solid $cadmin-dropdown-divider-bg,
|
|
286
|
+
height: 0,
|
|
287
|
+
margin: $cadmin-dropdown-divider-margin-y 0,
|
|
288
|
+
overflow: hidden,
|
|
289
|
+
),
|
|
290
|
+
$cadmin-dropdown-divider
|
|
291
|
+
);
|
|
292
|
+
|
|
293
|
+
// .dropdown-section
|
|
294
|
+
|
|
295
|
+
$cadmin-dropdown-section-custom-control: () !default;
|
|
296
|
+
$cadmin-dropdown-section-custom-control: map-deep-merge(
|
|
297
|
+
(
|
|
298
|
+
margin-bottom: 0,
|
|
299
|
+
),
|
|
300
|
+
$cadmin-dropdown-section-custom-control
|
|
301
|
+
);
|
|
302
|
+
|
|
303
|
+
$cadmin-dropdown-section-custom-control-label: () !default;
|
|
304
|
+
$cadmin-dropdown-section-custom-control-label: map-deep-merge(
|
|
305
|
+
(
|
|
306
|
+
color: $cadmin-secondary,
|
|
307
|
+
),
|
|
308
|
+
$cadmin-dropdown-section-custom-control-label
|
|
309
|
+
);
|
|
310
|
+
|
|
311
|
+
$cadmin-dropdown-section-custom-control-label-text: () !default;
|
|
312
|
+
$cadmin-dropdown-section-custom-control-label-text: map-deep-merge(
|
|
313
|
+
(
|
|
314
|
+
padding-left: 16px,
|
|
315
|
+
),
|
|
316
|
+
$cadmin-dropdown-section-custom-control-label-text
|
|
317
|
+
);
|
|
318
|
+
|
|
319
|
+
$cadmin-dropdown-section-active-custom-control-label: () !default;
|
|
320
|
+
$cadmin-dropdown-section-active-custom-control-label: map-deep-merge(
|
|
321
|
+
(
|
|
322
|
+
color: $cadmin-gray-900,
|
|
323
|
+
),
|
|
324
|
+
$cadmin-dropdown-section-active-custom-control-label
|
|
325
|
+
);
|
|
326
|
+
|
|
327
|
+
$cadmin-dropdown-section: () !default;
|
|
328
|
+
$cadmin-dropdown-section: map-deep-merge(
|
|
329
|
+
(
|
|
330
|
+
padding: $cadmin-dropdown-item-padding-y $cadmin-dropdown-item-padding-x,
|
|
331
|
+
form-group: (
|
|
332
|
+
form-group: (
|
|
333
|
+
margin-top: $cadmin-dropdown-item-padding-y * 2,
|
|
334
|
+
),
|
|
335
|
+
),
|
|
336
|
+
custom-control: $cadmin-dropdown-section-custom-control,
|
|
337
|
+
custom-control-label: $cadmin-dropdown-section-custom-control-label,
|
|
338
|
+
custom-control-label-text:
|
|
339
|
+
$cadmin-dropdown-section-custom-control-label-text,
|
|
340
|
+
active: (
|
|
341
|
+
custom-control-label:
|
|
342
|
+
$cadmin-dropdown-section-active-custom-control-label,
|
|
343
|
+
),
|
|
344
|
+
),
|
|
345
|
+
$cadmin-dropdown-section
|
|
346
|
+
);
|
|
347
|
+
|
|
348
|
+
// Dropdown Footer
|
|
349
|
+
|
|
350
|
+
$cadmin-dropdown-footer: () !default;
|
|
351
|
+
$cadmin-dropdown-footer: map-merge(
|
|
352
|
+
(
|
|
353
|
+
box-shadow: -1px -2px 3px -3px rgba(0, 0, 0, 0.5),
|
|
354
|
+
padding: 8px $cadmin-dropdown-item-padding-x 0,
|
|
355
|
+
position: relative,
|
|
356
|
+
),
|
|
357
|
+
$cadmin-dropdown-footer
|
|
358
|
+
);
|
|
359
|
+
|
|
360
|
+
// Dropdown Inline Scroller
|
|
361
|
+
|
|
362
|
+
$cadmin-dropdown-inline-scroller-max-height: 200px !default;
|
|
363
|
+
$cadmin-dropdown-inline-scroller-max-height-mobile: none !default;
|
|
364
|
+
|
|
166
365
|
// Dropdown Item Indicator
|
|
167
366
|
|
|
168
367
|
$cadmin-dropdown-item-indicator-size: 16px !default;
|
|
@@ -262,52 +461,182 @@ $cadmin-dropdown-item-indicator-text-end: map-deep-merge(
|
|
|
262
461
|
$cadmin-dropdown-item-indicator-text-end
|
|
263
462
|
);
|
|
264
463
|
|
|
265
|
-
//
|
|
464
|
+
// .dropdown-menu-top
|
|
266
465
|
|
|
267
|
-
$cadmin-dropdown-
|
|
268
|
-
$cadmin-dropdown-
|
|
466
|
+
$cadmin-dropdown-menu-top: () !default;
|
|
467
|
+
$cadmin-dropdown-menu-top: map-deep-merge(
|
|
269
468
|
(
|
|
270
|
-
|
|
469
|
+
bottom: 100% !important,
|
|
470
|
+
left: 0 !important,
|
|
471
|
+
margin-top: 0,
|
|
472
|
+
margin-bottom: $cadmin-dropdown-spacer,
|
|
473
|
+
right: auto !important,
|
|
474
|
+
top: auto !important,
|
|
475
|
+
transform: none !important,
|
|
476
|
+
will-change: auto !important,
|
|
271
477
|
),
|
|
272
|
-
$cadmin-dropdown-
|
|
478
|
+
$cadmin-dropdown-menu-top
|
|
273
479
|
);
|
|
274
480
|
|
|
275
|
-
|
|
276
|
-
|
|
481
|
+
// .dropdown-menu-top-right
|
|
482
|
+
|
|
483
|
+
$cadmin-dropdown-menu-top-right: () !default;
|
|
484
|
+
$cadmin-dropdown-menu-top-right: map-deep-merge(
|
|
277
485
|
(
|
|
278
|
-
|
|
486
|
+
bottom: 100% !important,
|
|
487
|
+
left: auto !important,
|
|
488
|
+
margin-top: 0,
|
|
489
|
+
margin-bottom: $cadmin-dropdown-spacer,
|
|
490
|
+
right: 0 !important,
|
|
491
|
+
top: auto !important,
|
|
492
|
+
transform: none !important,
|
|
493
|
+
will-change: auto !important,
|
|
279
494
|
),
|
|
280
|
-
$cadmin-dropdown-
|
|
495
|
+
$cadmin-dropdown-menu-top-right
|
|
281
496
|
);
|
|
282
497
|
|
|
283
|
-
|
|
284
|
-
|
|
498
|
+
// .dropdown-menu-top-center
|
|
499
|
+
|
|
500
|
+
$cadmin-dropdown-menu-top-center: () !default;
|
|
501
|
+
$cadmin-dropdown-menu-top-center: map-deep-merge(
|
|
285
502
|
(
|
|
286
|
-
|
|
503
|
+
bottom: 100% !important,
|
|
504
|
+
left: 50% !important,
|
|
505
|
+
margin-top: 0,
|
|
506
|
+
margin-bottom: $cadmin-dropdown-spacer,
|
|
507
|
+
right: auto !important,
|
|
508
|
+
top: auto !important,
|
|
509
|
+
transform: translateX(-50%) !important,
|
|
510
|
+
will-change: auto !important,
|
|
287
511
|
),
|
|
288
|
-
$cadmin-dropdown-
|
|
512
|
+
$cadmin-dropdown-menu-top-center
|
|
289
513
|
);
|
|
290
514
|
|
|
291
|
-
|
|
292
|
-
|
|
515
|
+
// .dropdown-menu-center
|
|
516
|
+
|
|
517
|
+
$cadmin-dropdown-menu-center: () !default;
|
|
518
|
+
$cadmin-dropdown-menu-center: map-deep-merge(
|
|
293
519
|
(
|
|
294
|
-
|
|
520
|
+
bottom: auto !important,
|
|
521
|
+
left: 50% !important,
|
|
522
|
+
right: auto !important,
|
|
523
|
+
top: 100% !important,
|
|
524
|
+
transform: translateX(-50%) !important,
|
|
525
|
+
will-change: auto !important,
|
|
295
526
|
),
|
|
296
|
-
$cadmin-dropdown-
|
|
527
|
+
$cadmin-dropdown-menu-center
|
|
297
528
|
);
|
|
298
529
|
|
|
299
|
-
//
|
|
530
|
+
// .dropdown-menu-left-side
|
|
300
531
|
|
|
301
|
-
$cadmin-dropdown-
|
|
302
|
-
$cadmin-dropdown-
|
|
532
|
+
$cadmin-dropdown-menu-left-side: () !default;
|
|
533
|
+
$cadmin-dropdown-menu-left-side: map-deep-merge(
|
|
303
534
|
(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
535
|
+
bottom: auto !important,
|
|
536
|
+
left: auto !important,
|
|
537
|
+
margin-right: $cadmin-dropdown-spacer,
|
|
538
|
+
margin-top: 0,
|
|
539
|
+
right: 100% !important,
|
|
540
|
+
top: 0 !important,
|
|
541
|
+
transform: none !important,
|
|
542
|
+
will-change: auto !important,
|
|
307
543
|
),
|
|
308
|
-
$cadmin-dropdown-
|
|
544
|
+
$cadmin-dropdown-menu-left-side
|
|
545
|
+
);
|
|
546
|
+
|
|
547
|
+
// .dropdown-menu-left-side-bottom
|
|
548
|
+
|
|
549
|
+
$cadmin-dropdown-menu-left-side-bottom: () !default;
|
|
550
|
+
$cadmin-dropdown-menu-left-side-bottom: map-deep-merge(
|
|
551
|
+
(
|
|
552
|
+
bottom: 0 !important,
|
|
553
|
+
left: auto !important,
|
|
554
|
+
margin-right: $cadmin-dropdown-spacer,
|
|
555
|
+
margin-top: 0,
|
|
556
|
+
right: 100% !important,
|
|
557
|
+
top: auto !important,
|
|
558
|
+
transform: none !important,
|
|
559
|
+
will-change: auto !important,
|
|
560
|
+
),
|
|
561
|
+
$cadmin-dropdown-menu-left-side-bottom
|
|
562
|
+
);
|
|
563
|
+
|
|
564
|
+
// .dropdown-menu-left-side-middle
|
|
565
|
+
|
|
566
|
+
$cadmin-dropdown-menu-left-side-middle: () !default;
|
|
567
|
+
$cadmin-dropdown-menu-left-side-middle: map-deep-merge(
|
|
568
|
+
(
|
|
569
|
+
bottom: auto !important,
|
|
570
|
+
left: auto !important,
|
|
571
|
+
margin-right: $cadmin-dropdown-spacer,
|
|
572
|
+
margin-top: 0,
|
|
573
|
+
right: 100% !important,
|
|
574
|
+
top: 50% !important,
|
|
575
|
+
transform: translate(0, -50%) !important,
|
|
576
|
+
will-change: auto !important,
|
|
577
|
+
),
|
|
578
|
+
$cadmin-dropdown-menu-left-side-middle
|
|
579
|
+
);
|
|
580
|
+
|
|
581
|
+
// .dropdown-menu-right-side
|
|
582
|
+
|
|
583
|
+
$cadmin-dropdown-menu-right-side: () !default;
|
|
584
|
+
$cadmin-dropdown-menu-right-side: map-deep-merge(
|
|
585
|
+
(
|
|
586
|
+
bottom: auto !important,
|
|
587
|
+
left: 100% !important,
|
|
588
|
+
margin-left: $cadmin-dropdown-spacer,
|
|
589
|
+
margin-top: 0,
|
|
590
|
+
right: auto !important,
|
|
591
|
+
top: 0 !important,
|
|
592
|
+
transform: none !important,
|
|
593
|
+
will-change: auto !important,
|
|
594
|
+
),
|
|
595
|
+
$cadmin-dropdown-menu-right-side
|
|
596
|
+
);
|
|
597
|
+
|
|
598
|
+
// .dropdown-menu-right-side-bottom
|
|
599
|
+
|
|
600
|
+
$cadmin-dropdown-menu-right-side-bottom: () !default;
|
|
601
|
+
$cadmin-dropdown-menu-right-side-bottom: map-deep-merge(
|
|
602
|
+
(
|
|
603
|
+
bottom: 0 !important,
|
|
604
|
+
left: 100% !important,
|
|
605
|
+
margin-left: $cadmin-dropdown-spacer,
|
|
606
|
+
margin-top: 0,
|
|
607
|
+
right: auto !important,
|
|
608
|
+
top: auto !important,
|
|
609
|
+
transform: none !important,
|
|
610
|
+
will-change: auto !important,
|
|
611
|
+
),
|
|
612
|
+
$cadmin-dropdown-menu-right-side-bottom
|
|
613
|
+
);
|
|
614
|
+
|
|
615
|
+
// .dropdown-menu-right-side-middle
|
|
616
|
+
|
|
617
|
+
$cadmin-dropdown-menu-right-side-middle: () !default;
|
|
618
|
+
$cadmin-dropdown-menu-right-side-middle: map-deep-merge(
|
|
619
|
+
(
|
|
620
|
+
bottom: auto !important,
|
|
621
|
+
left: 100% !important,
|
|
622
|
+
margin-left: $cadmin-dropdown-spacer,
|
|
623
|
+
margin-top: 0,
|
|
624
|
+
right: auto !important,
|
|
625
|
+
top: 50% !important,
|
|
626
|
+
transform: translate(0, -50%) !important,
|
|
627
|
+
will-change: auto !important,
|
|
628
|
+
),
|
|
629
|
+
$cadmin-dropdown-menu-right-side-middle
|
|
309
630
|
);
|
|
310
631
|
|
|
632
|
+
// .dropdown-full, .dropdown-wide
|
|
633
|
+
|
|
634
|
+
$cadmin-dropdown-full-wide-header-spacer-y: 20px !default;
|
|
635
|
+
|
|
636
|
+
// .dropdown-wide
|
|
637
|
+
|
|
638
|
+
$cadmin-dropdown-wide-width: 500px !default;
|
|
639
|
+
|
|
311
640
|
// Dropdown Menu Width
|
|
312
641
|
|
|
313
642
|
$cadmin-dropdown-menu-width-full: () !default;
|
|
@@ -366,7 +695,7 @@ $cadmin-autocomplete-dropdown-menu: map-deep-merge(
|
|
|
366
695
|
$cadmin-autocomplete-dropdown-menu
|
|
367
696
|
);
|
|
368
697
|
|
|
369
|
-
//
|
|
698
|
+
// .dropdown-action
|
|
370
699
|
|
|
371
700
|
$cadmin-dropdown-action-toggle-border-radius: $cadmin-border-radius !default;
|
|
372
701
|
$cadmin-dropdown-action-toggle-font-size: 16px !default; // 16px
|
|
@@ -375,6 +704,46 @@ $cadmin-dropdown-action-toggle-size: $cadmin-btn-monospaced-size-sm !default;
|
|
|
375
704
|
$cadmin-dropdown-action-toggle-disabled-cursor: $cadmin-disabled-cursor !default;
|
|
376
705
|
$cadmin-dropdown-action-toggle-disabled-opacity: $cadmin-btn-disabled-opacity !default;
|
|
377
706
|
|
|
707
|
+
$cadmin-dropdown-action: () !default;
|
|
708
|
+
$cadmin-dropdown-action: map-deep-merge(
|
|
709
|
+
(
|
|
710
|
+
display: inline-block,
|
|
711
|
+
font-size: $cadmin-dropdown-action-toggle-font-size,
|
|
712
|
+
vertical-align: middle,
|
|
713
|
+
dropdown-toggle: (
|
|
714
|
+
align-items: center,
|
|
715
|
+
border-radius:
|
|
716
|
+
clay-enable-rounded(
|
|
717
|
+
$cadmin-dropdown-action-toggle-border-radius
|
|
718
|
+
),
|
|
719
|
+
cursor: $cadmin-btn-cursor,
|
|
720
|
+
display: flex,
|
|
721
|
+
font-size: inherit,
|
|
722
|
+
font-weight: inherit,
|
|
723
|
+
height: $cadmin-dropdown-action-toggle-size,
|
|
724
|
+
justify-content: center,
|
|
725
|
+
line-height: inherit,
|
|
726
|
+
padding: 0,
|
|
727
|
+
text-transform: inherit,
|
|
728
|
+
vertical-align: baseline,
|
|
729
|
+
width: $cadmin-dropdown-action-toggle-size,
|
|
730
|
+
disabled: (
|
|
731
|
+
cursor: $cadmin-dropdown-action-toggle-disabled-cursor,
|
|
732
|
+
opacity: $cadmin-dropdown-action-toggle-disabled-opacity,
|
|
733
|
+
),
|
|
734
|
+
lexicon-icon: (
|
|
735
|
+
margin-top: 0,
|
|
736
|
+
),
|
|
737
|
+
inline-item: (
|
|
738
|
+
lexicon-icon: (
|
|
739
|
+
margin-top: 0,
|
|
740
|
+
),
|
|
741
|
+
),
|
|
742
|
+
),
|
|
743
|
+
),
|
|
744
|
+
$cadmin-dropdown-action
|
|
745
|
+
);
|
|
746
|
+
|
|
378
747
|
// Alert inside Dropdowns
|
|
379
748
|
|
|
380
749
|
$cadmin-dropdown-alert-font-size: null !default;
|