@clayui/css 3.38.0 → 3.41.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/index.js +7 -2
- package/lib/css/atlas.css +819 -966
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +668 -814
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +1013 -881
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/geolocation.svg +1 -1
- package/lib/images/icons/heading.svg +9 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/maps.svg +10 -0
- package/lib/images/icons/order-ascending.svg +11 -0
- package/lib/images/icons/order-descending.svg +11 -0
- package/package.json +5 -3
- package/src/images/icons/geolocation.svg +1 -1
- package/src/images/icons/heading.svg +9 -0
- package/src/images/icons/maps.svg +10 -0
- package/src/images/icons/order-ascending.svg +11 -0
- package/src/images/icons/order-descending.svg +11 -0
- package/src/scss/_mixins.scss +1 -0
- package/src/scss/atlas/variables/_alerts.scss +10 -0
- package/src/scss/atlas/variables/_breadcrumbs.scss +4 -2
- package/src/scss/atlas/variables/_cards.scss +2 -2
- package/src/scss/atlas/variables/_custom-forms.scss +190 -14
- package/src/scss/atlas/variables/_dropdowns.scss +188 -17
- package/src/scss/atlas/variables/_forms.scss +33 -1
- package/src/scss/atlas/variables/_globals.scss +14 -1
- package/src/scss/atlas/variables/_labels.scss +171 -71
- package/src/scss/atlas/variables/_navs.scss +20 -8
- package/src/scss/atlas/variables/_pagination.scss +2 -2
- package/src/scss/atlas/variables/_sheets.scss +4 -2
- package/src/scss/atlas/variables/_stickers.scss +167 -3
- 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 +14 -16
- package/src/scss/cadmin/components/_custom-forms.scss +15 -165
- package/src/scss/cadmin/components/_dropdowns.scss +66 -205
- package/src/scss/cadmin/components/_form-validation.scss +10 -237
- package/src/scss/cadmin/components/_forms.scss +1 -1
- package/src/scss/cadmin/components/_grid.scss +20 -20
- package/src/scss/cadmin/components/_icons.scss +1 -6
- package/src/scss/cadmin/components/_images.scss +1 -1
- package/src/scss/cadmin/components/_input-groups.scss +17 -14
- package/src/scss/cadmin/components/_labels.scss +33 -101
- package/src/scss/cadmin/components/_list-group.scss +4 -4
- package/src/scss/cadmin/components/_modals.scss +1 -1
- package/src/scss/cadmin/components/_multi-step-nav.scss +2 -2
- package/src/scss/cadmin/components/_navbar.scss +2 -2
- package/src/scss/cadmin/components/_popovers.scss +34 -30
- package/src/scss/cadmin/components/_reboot.scss +1 -8
- package/src/scss/cadmin/components/_sidebar.scss +1 -1
- package/src/scss/cadmin/components/_stickers.scss +39 -94
- package/src/scss/cadmin/components/_toggle-switch.scss +20 -358
- package/src/scss/cadmin/components/_tooltip.scss +16 -14
- package/src/scss/cadmin/components/_type.scss +9 -1
- package/src/scss/cadmin/variables/_alerts.scss +38 -14
- package/src/scss/cadmin/variables/_breadcrumbs.scss +10 -6
- package/src/scss/cadmin/variables/_cards.scss +96 -28
- package/src/scss/cadmin/variables/_custom-forms.scss +262 -20
- package/src/scss/cadmin/variables/_dropdowns.scss +449 -137
- package/src/scss/cadmin/variables/_forms.scss +356 -5
- package/src/scss/cadmin/variables/_globals.scss +15 -1
- package/src/scss/cadmin/variables/_icons.scss +15 -2
- package/src/scss/cadmin/variables/_labels.scss +288 -101
- package/src/scss/cadmin/variables/_links.scss +9 -7
- package/src/scss/cadmin/variables/_menubar.scss +4 -4
- package/src/scss/cadmin/variables/_multi-step-nav.scss +2 -2
- package/src/scss/cadmin/variables/_navbar.scss +2 -2
- package/src/scss/cadmin/variables/_navs.scss +2 -2
- package/src/scss/cadmin/variables/_stickers.scss +258 -45
- package/src/scss/cadmin/variables/_tables.scss +1 -1
- package/src/scss/cadmin/variables/_timelines.scss +1 -1
- package/src/scss/cadmin/variables/_toggle-switch.scss +404 -1
- package/src/scss/cadmin/variables/_type.scss +3 -0
- package/src/scss/components/_alerts.scss +5 -17
- package/src/scss/components/_cards.scss +7 -7
- package/src/scss/components/_carousel.scss +2 -2
- package/src/scss/components/_custom-forms.scss +20 -164
- package/src/scss/components/_dropdowns.scss +52 -209
- package/src/scss/components/_form-validation.scss +8 -237
- package/src/scss/components/_forms.scss +66 -9
- package/src/scss/components/_grid.scss +15 -17
- package/src/scss/components/_icons.scss +4 -9
- package/src/scss/components/_images.scss +1 -1
- package/src/scss/components/_input-groups.scss +17 -14
- package/src/scss/components/_jumbotron.scss +1 -1
- package/src/scss/components/_labels.scss +29 -99
- package/src/scss/components/_list-group.scss +4 -4
- package/src/scss/components/_modals.scss +1 -1
- package/src/scss/components/_multi-step-nav.scss +2 -2
- package/src/scss/components/_navbar.scss +2 -2
- package/src/scss/components/_popovers.scss +30 -30
- package/src/scss/components/_reboot.scss +3 -39
- package/src/scss/components/_side-navigation.scss +2 -2
- package/src/scss/components/_sidebar.scss +1 -1
- package/src/scss/components/_stickers.scss +36 -94
- package/src/scss/components/_toggle-switch.scss +36 -351
- package/src/scss/components/_tooltip.scss +14 -14
- package/src/scss/components/_type.scss +9 -1
- package/src/scss/components/_utilities-functional-important.scss +4 -3
- package/src/scss/functions/_global-functions.scss +26 -6
- package/src/scss/functions/_lx-icons-generated.scss +125 -117
- package/src/scss/functions/_polyfills.scss +17 -0
- package/src/scss/functions/_type-conversion-functions.scss +5 -4
- package/src/scss/mixins/_alerts.scss +25 -0
- package/src/scss/mixins/_aspect-ratio.scss +1 -1
- package/src/scss/mixins/_buttons.scss +256 -15
- package/src/scss/mixins/_cards.scss +610 -114
- package/src/scss/mixins/_custom-forms.scss +668 -0
- package/src/scss/mixins/_dropdown-menu.scss +168 -48
- package/src/scss/mixins/_forms.scss +427 -12
- package/src/scss/mixins/_globals.scss +244 -234
- package/src/scss/mixins/_grid.scss +13 -15
- package/src/scss/mixins/_labels.scss +331 -97
- package/src/scss/mixins/_links.scss +453 -33
- package/src/scss/mixins/_navbar.scss +10 -10
- package/src/scss/mixins/_rfs.scss +14 -9
- package/src/scss/mixins/_stickers.scss +168 -17
- package/src/scss/mixins/_toggle-switch.scss +1076 -14
- package/src/scss/variables/_alerts.scss +38 -14
- package/src/scss/variables/_breadcrumbs.scss +8 -4
- package/src/scss/variables/_cards.scss +46 -8
- package/src/scss/variables/_custom-forms.scss +253 -18
- package/src/scss/variables/_dropdowns.scss +583 -132
- package/src/scss/variables/_forms.scss +304 -2
- package/src/scss/variables/_globals.scss +54 -1
- package/src/scss/variables/_icons.scss +60 -9
- package/src/scss/variables/_labels.scss +303 -107
- package/src/scss/variables/_links.scss +15 -13
- package/src/scss/variables/_menubar.scss +4 -4
- package/src/scss/variables/_multi-step-nav.scss +2 -2
- package/src/scss/variables/_navbar.scss +2 -2
- package/src/scss/variables/_navs.scss +37 -17
- package/src/scss/variables/_pagination.scss +15 -13
- package/src/scss/variables/_sheets.scss +4 -2
- package/src/scss/variables/_stickers.scss +327 -50
- package/src/scss/variables/_tables.scss +25 -9
- package/src/scss/variables/_timelines.scss +1 -1
- package/src/scss/variables/_toggle-switch.scss +404 -5
- 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;
|
|
@@ -102,6 +106,7 @@ $cadmin-dropdown-item-base: map-deep-merge(
|
|
|
102
106
|
border-width: 0,
|
|
103
107
|
clear: both,
|
|
104
108
|
color: $cadmin-dropdown-link-color,
|
|
109
|
+
cursor: $cadmin-link-cursor,
|
|
105
110
|
display: block,
|
|
106
111
|
font-size: inherit,
|
|
107
112
|
font-weight: $cadmin-font-weight-normal,
|
|
@@ -133,9 +138,12 @@ $cadmin-dropdown-item-base: map-deep-merge(
|
|
|
133
138
|
color: $cadmin-dropdown-link-active-color,
|
|
134
139
|
text-decoration: none,
|
|
135
140
|
),
|
|
136
|
-
active-class
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
active-class: (
|
|
142
|
+
font-weight: $cadmin-dropdown-link-active-font-weight,
|
|
143
|
+
pointer-events: none,
|
|
144
|
+
c-kbd-inline: (
|
|
145
|
+
color: $cadmin-dropdown-link-active-color,
|
|
146
|
+
),
|
|
139
147
|
),
|
|
140
148
|
disabled: (
|
|
141
149
|
background-color: transparent,
|
|
@@ -144,10 +152,12 @@ $cadmin-dropdown-item-base: map-deep-merge(
|
|
|
144
152
|
cursor: $cadmin-dropdown-item-disabled-cursor,
|
|
145
153
|
opacity: 1,
|
|
146
154
|
outline: 0,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
155
|
+
active: (
|
|
156
|
+
pointer-events: none,
|
|
157
|
+
),
|
|
158
|
+
c-kbd-inline: (
|
|
159
|
+
color: $cadmin-dropdown-link-disabled-color,
|
|
160
|
+
),
|
|
151
161
|
),
|
|
152
162
|
c-kbd-inline: (
|
|
153
163
|
color: $cadmin-gray-500,
|
|
@@ -157,6 +167,201 @@ $cadmin-dropdown-item-base: map-deep-merge(
|
|
|
157
167
|
$cadmin-dropdown-item-base
|
|
158
168
|
);
|
|
159
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
|
+
|
|
160
365
|
// Dropdown Item Indicator
|
|
161
366
|
|
|
162
367
|
$cadmin-dropdown-item-indicator-size: 16px !default;
|
|
@@ -256,115 +461,182 @@ $cadmin-dropdown-item-indicator-text-end: map-deep-merge(
|
|
|
256
461
|
$cadmin-dropdown-item-indicator-text-end
|
|
257
462
|
);
|
|
258
463
|
|
|
259
|
-
//
|
|
464
|
+
// .dropdown-menu-top
|
|
260
465
|
|
|
261
|
-
$cadmin-dropdown-
|
|
262
|
-
$cadmin-dropdown-
|
|
466
|
+
$cadmin-dropdown-menu-top: () !default;
|
|
467
|
+
$cadmin-dropdown-menu-top: map-deep-merge(
|
|
263
468
|
(
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
overflow: hidden,
|
|
273
|
-
padding-bottom: $cadmin-dropdown-item-padding-y,
|
|
274
|
-
padding-left: $cadmin-dropdown-item-padding-x,
|
|
275
|
-
padding-right: $cadmin-dropdown-item-padding-x,
|
|
276
|
-
padding-top: $cadmin-dropdown-item-padding-y,
|
|
277
|
-
position: relative,
|
|
278
|
-
text-align: inherit,
|
|
279
|
-
transition: none,
|
|
280
|
-
white-space: normal,
|
|
281
|
-
width: 100%,
|
|
282
|
-
word-wrap: break-word,
|
|
283
|
-
hover: (
|
|
284
|
-
background-color: $cadmin-dropdown-link-hover-bg,
|
|
285
|
-
color: $cadmin-dropdown-link-hover-color,
|
|
286
|
-
text-decoration: none,
|
|
287
|
-
),
|
|
288
|
-
focus: (
|
|
289
|
-
background-color: $cadmin-dropdown-link-hover-bg,
|
|
290
|
-
color: $cadmin-dropdown-link-hover-color,
|
|
291
|
-
text-decoration: none,
|
|
292
|
-
),
|
|
293
|
-
active: (
|
|
294
|
-
background-color: $cadmin-dropdown-link-active-bg,
|
|
295
|
-
color: $cadmin-dropdown-link-active-color,
|
|
296
|
-
text-decoration: none,
|
|
297
|
-
),
|
|
298
|
-
active-class: (
|
|
299
|
-
font-weight: $cadmin-dropdown-link-active-font-weight,
|
|
300
|
-
pointer-events: none,
|
|
301
|
-
),
|
|
302
|
-
disabled: (
|
|
303
|
-
background-color: transparent,
|
|
304
|
-
color: $cadmin-dropdown-link-disabled-color,
|
|
305
|
-
cursor: $cadmin-dropdown-item-disabled-cursor,
|
|
306
|
-
opacity: 1,
|
|
307
|
-
outline: 0,
|
|
308
|
-
),
|
|
309
|
-
disabled-active: (
|
|
310
|
-
pointer-events: none,
|
|
311
|
-
),
|
|
312
|
-
disabled-c-kbd-inline: (
|
|
313
|
-
color: $cadmin-dropdown-link-disabled-color,
|
|
314
|
-
),
|
|
315
|
-
c-kbd-inline: (
|
|
316
|
-
line-height: $cadmin-dropdown-font-size * $cadmin-line-height-base,
|
|
317
|
-
),
|
|
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,
|
|
318
477
|
),
|
|
319
|
-
$cadmin-dropdown-
|
|
478
|
+
$cadmin-dropdown-menu-top
|
|
320
479
|
);
|
|
321
480
|
|
|
322
|
-
//
|
|
481
|
+
// .dropdown-menu-top-right
|
|
323
482
|
|
|
324
|
-
$cadmin-dropdown-
|
|
325
|
-
$cadmin-dropdown-
|
|
483
|
+
$cadmin-dropdown-menu-top-right: () !default;
|
|
484
|
+
$cadmin-dropdown-menu-top-right: map-deep-merge(
|
|
326
485
|
(
|
|
327
|
-
|
|
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,
|
|
328
494
|
),
|
|
329
|
-
$cadmin-dropdown-
|
|
495
|
+
$cadmin-dropdown-menu-top-right
|
|
330
496
|
);
|
|
331
497
|
|
|
332
|
-
|
|
333
|
-
|
|
498
|
+
// .dropdown-menu-top-center
|
|
499
|
+
|
|
500
|
+
$cadmin-dropdown-menu-top-center: () !default;
|
|
501
|
+
$cadmin-dropdown-menu-top-center: map-deep-merge(
|
|
334
502
|
(
|
|
335
|
-
|
|
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,
|
|
336
511
|
),
|
|
337
|
-
$cadmin-dropdown-
|
|
512
|
+
$cadmin-dropdown-menu-top-center
|
|
338
513
|
);
|
|
339
514
|
|
|
340
|
-
|
|
341
|
-
|
|
515
|
+
// .dropdown-menu-center
|
|
516
|
+
|
|
517
|
+
$cadmin-dropdown-menu-center: () !default;
|
|
518
|
+
$cadmin-dropdown-menu-center: map-deep-merge(
|
|
342
519
|
(
|
|
343
|
-
|
|
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,
|
|
344
526
|
),
|
|
345
|
-
$cadmin-dropdown-
|
|
527
|
+
$cadmin-dropdown-menu-center
|
|
346
528
|
);
|
|
347
529
|
|
|
348
|
-
|
|
349
|
-
|
|
530
|
+
// .dropdown-menu-left-side
|
|
531
|
+
|
|
532
|
+
$cadmin-dropdown-menu-left-side: () !default;
|
|
533
|
+
$cadmin-dropdown-menu-left-side: map-deep-merge(
|
|
350
534
|
(
|
|
351
|
-
|
|
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,
|
|
352
543
|
),
|
|
353
|
-
$cadmin-dropdown-
|
|
544
|
+
$cadmin-dropdown-menu-left-side
|
|
354
545
|
);
|
|
355
546
|
|
|
356
|
-
//
|
|
547
|
+
// .dropdown-menu-left-side-bottom
|
|
357
548
|
|
|
358
|
-
$cadmin-dropdown-
|
|
359
|
-
$cadmin-dropdown-
|
|
549
|
+
$cadmin-dropdown-menu-left-side-bottom: () !default;
|
|
550
|
+
$cadmin-dropdown-menu-left-side-bottom: map-deep-merge(
|
|
360
551
|
(
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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,
|
|
364
560
|
),
|
|
365
|
-
$cadmin-dropdown-
|
|
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
|
|
366
579
|
);
|
|
367
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
|
|
630
|
+
);
|
|
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
|
+
|
|
368
640
|
// Dropdown Menu Width
|
|
369
641
|
|
|
370
642
|
$cadmin-dropdown-menu-width-full: () !default;
|
|
@@ -423,7 +695,7 @@ $cadmin-autocomplete-dropdown-menu: map-deep-merge(
|
|
|
423
695
|
$cadmin-autocomplete-dropdown-menu
|
|
424
696
|
);
|
|
425
697
|
|
|
426
|
-
//
|
|
698
|
+
// .dropdown-action
|
|
427
699
|
|
|
428
700
|
$cadmin-dropdown-action-toggle-border-radius: $cadmin-border-radius !default;
|
|
429
701
|
$cadmin-dropdown-action-toggle-font-size: 16px !default; // 16px
|
|
@@ -432,10 +704,50 @@ $cadmin-dropdown-action-toggle-size: $cadmin-btn-monospaced-size-sm !default;
|
|
|
432
704
|
$cadmin-dropdown-action-toggle-disabled-cursor: $cadmin-disabled-cursor !default;
|
|
433
705
|
$cadmin-dropdown-action-toggle-disabled-opacity: $cadmin-btn-disabled-opacity !default;
|
|
434
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
|
+
|
|
435
747
|
// Alert inside Dropdowns
|
|
436
748
|
|
|
437
749
|
$cadmin-dropdown-alert-font-size: null !default;
|
|
438
750
|
$cadmin-dropdown-alert-line-height: normal !default;
|
|
439
|
-
$cadmin-dropdown-alert-margin:
|
|
751
|
+
$cadmin-dropdown-alert-margin: $cadmin-spacer * 0.5 !default;
|
|
440
752
|
$cadmin-dropdown-alert-padding-x: $cadmin-dropdown-header-padding-x !default;
|
|
441
753
|
$cadmin-dropdown-alert-padding-y: $cadmin-dropdown-header-padding-y !default;
|