@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
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
.alert-indicator {
|
|
21
21
|
@include clay-css($alert-indicator);
|
|
22
22
|
|
|
23
|
+
.lexicon-icon {
|
|
24
|
+
@include clay-css(setter(map-get($alert-indicator, lexicon-icon), ()));
|
|
25
|
+
}
|
|
26
|
+
|
|
23
27
|
+ .lead {
|
|
24
28
|
$lead: setter(map-get($alert-indicator, lead), ());
|
|
25
29
|
|
|
@@ -36,23 +40,7 @@
|
|
|
36
40
|
// Alert Fluid
|
|
37
41
|
|
|
38
42
|
.alert-fluid {
|
|
39
|
-
@include clay-
|
|
40
|
-
|
|
41
|
-
&.alert-dismissible {
|
|
42
|
-
.container,
|
|
43
|
-
.container-fluid {
|
|
44
|
-
@include clay-css($alert-fluid-dismissible-container);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.container,
|
|
49
|
-
.container-fluid {
|
|
50
|
-
@include clay-css($alert-fluid-container);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.close {
|
|
54
|
-
@include clay-close($alert-fluid-close);
|
|
55
|
-
}
|
|
43
|
+
@include clay-alert-variant($alert-fluid);
|
|
56
44
|
}
|
|
57
45
|
|
|
58
46
|
// Alert Notifications
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
// Makes .btn narrower
|
|
107
107
|
|
|
108
108
|
.dropdown-toggle-split {
|
|
109
|
-
padding-left: $btn-padding-x * 0.75;
|
|
110
|
-
padding-right: $btn-padding-x * 0.75;
|
|
109
|
+
padding-left: calc(#{$btn-padding-x} * 0.75);
|
|
110
|
+
padding-right: calc(#{$btn-padding-x} * 0.75);
|
|
111
111
|
|
|
112
112
|
@if ($enable-caret) {
|
|
113
113
|
&::after,
|
|
@@ -123,13 +123,13 @@
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.btn-sm + .dropdown-toggle-split {
|
|
126
|
-
padding-right: $btn-padding-x-sm * 0.75;
|
|
127
|
-
padding-left: $btn-padding-x-sm * 0.75;
|
|
126
|
+
padding-right: calc(#{$btn-padding-x-sm} * 0.75);
|
|
127
|
+
padding-left: calc(#{$btn-padding-x-sm} * 0.75);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.btn-lg + .dropdown-toggle-split {
|
|
131
|
-
padding-right: $btn-padding-x-lg * 0.75;
|
|
132
|
-
padding-left: $btn-padding-x-lg * 0.75;
|
|
131
|
+
padding-right: calc(#{$btn-padding-x-lg} * 0.75);
|
|
132
|
+
padding-left: calc(#{$btn-padding-x-lg} * 0.75);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
// Button Group Vertical
|
|
@@ -790,15 +790,15 @@
|
|
|
790
790
|
// Card Type Asset
|
|
791
791
|
|
|
792
792
|
.card-type-asset {
|
|
793
|
-
@include clay-card-
|
|
793
|
+
@include clay-card-variant($card-type-asset);
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
.image-card {
|
|
797
|
-
@include clay-card-
|
|
797
|
+
@include clay-card-variant($image-card);
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
.file-card {
|
|
801
|
-
@include clay-card-
|
|
801
|
+
@include clay-card-variant($file-card);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
.product-card {
|
|
@@ -806,13 +806,13 @@
|
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
.user-card {
|
|
809
|
-
@include clay-card-
|
|
809
|
+
@include clay-card-variant($user-card);
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
// Card Type Directory
|
|
813
813
|
|
|
814
814
|
.card-type-directory {
|
|
815
|
-
@include clay-card-
|
|
815
|
+
@include clay-card-variant($card-type-directory);
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
// Card Type Template
|
|
@@ -6,60 +6,35 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.dropdown-toggle {
|
|
9
|
-
|
|
9
|
+
@include clay-button-variant($dropdown-toggle);
|
|
10
10
|
|
|
11
11
|
@include caret();
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.dropdown-header {
|
|
15
|
-
|
|
16
|
-
display: block;
|
|
17
|
-
font-size: $dropdown-header-font-size;
|
|
18
|
-
margin-bottom: $dropdown-header-margin-bottom;
|
|
19
|
-
margin-top: $dropdown-header-margin-top;
|
|
20
|
-
padding-bottom: $dropdown-header-padding-y;
|
|
21
|
-
padding-left: $dropdown-header-padding-x;
|
|
22
|
-
padding-right: $dropdown-header-padding-x;
|
|
23
|
-
padding-top: $dropdown-header-padding-y;
|
|
24
|
-
position: relative;
|
|
25
|
-
text-transform: $dropdown-header-text-transform;
|
|
26
|
-
word-wrap: break-word;
|
|
15
|
+
@include clay-css($dropdown-header);
|
|
27
16
|
|
|
28
|
-
@include
|
|
29
|
-
|
|
17
|
+
@include media-breakpoint-down(map-get($dropdown-header, breakpoint-down)) {
|
|
18
|
+
@include clay-css(setter(map-get($dropdown-header, mobile), ()));
|
|
30
19
|
}
|
|
31
20
|
|
|
32
21
|
&:first-child {
|
|
33
|
-
|
|
22
|
+
@include clay-css(setter(map-get($dropdown-header, first-child), ()));
|
|
34
23
|
}
|
|
35
24
|
}
|
|
36
25
|
|
|
37
26
|
.dropdown-subheader {
|
|
38
|
-
|
|
39
|
-
font-size: $dropdown-subheader-font-size;
|
|
40
|
-
font-weight: $dropdown-subheader-font-weight;
|
|
41
|
-
margin-bottom: $dropdown-subheader-margin-bottom;
|
|
42
|
-
margin-top: $dropdown-subheader-margin-top;
|
|
43
|
-
padding-bottom: $dropdown-subheader-padding-y;
|
|
44
|
-
padding-left: $dropdown-subheader-padding-x;
|
|
45
|
-
padding-right: $dropdown-subheader-padding-x;
|
|
46
|
-
padding-top: $dropdown-subheader-padding-y;
|
|
47
|
-
text-transform: $dropdown-subheader-text-transform;
|
|
48
|
-
white-space: normal;
|
|
49
|
-
word-wrap: break-word;
|
|
27
|
+
@include clay-css($dropdown-subheader);
|
|
50
28
|
|
|
51
29
|
&:first-child {
|
|
52
|
-
|
|
30
|
+
@include clay-css(
|
|
31
|
+
setter(map-get($dropdown-subheader, first-child), ())
|
|
32
|
+
);
|
|
53
33
|
}
|
|
54
34
|
}
|
|
55
35
|
|
|
56
36
|
.dropdown-caption {
|
|
57
|
-
|
|
58
|
-
font-size: $dropdown-caption-font-size;
|
|
59
|
-
font-weight: $dropdown-caption-font-weight;
|
|
60
|
-
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
|
61
|
-
white-space: normal;
|
|
62
|
-
word-wrap: break-word;
|
|
37
|
+
@include clay-css($dropdown-caption);
|
|
63
38
|
}
|
|
64
39
|
|
|
65
40
|
.dropdown-item {
|
|
@@ -79,38 +54,50 @@
|
|
|
79
54
|
// Dropdown Item Text
|
|
80
55
|
|
|
81
56
|
.dropdown-item-text {
|
|
82
|
-
|
|
83
|
-
display: map-get($dropdown-item-base, display);
|
|
84
|
-
font-weight: map-get($dropdown-item-base, font-weight);
|
|
85
|
-
padding: map-get($dropdown-item-base, padding);
|
|
86
|
-
padding-bottom: map-get($dropdown-item-base, padding-bottom);
|
|
87
|
-
padding-left: map-get($dropdown-item-base, padding-left);
|
|
88
|
-
padding-right: map-get($dropdown-item-base, padding-right);
|
|
89
|
-
padding-top: map-get($dropdown-item-base, padding-top);
|
|
57
|
+
@include clay-css($dropdown-item-text);
|
|
90
58
|
}
|
|
91
59
|
|
|
92
60
|
.dropdown-section {
|
|
93
|
-
|
|
61
|
+
@include clay-css($dropdown-section);
|
|
94
62
|
|
|
95
63
|
.form-group + .form-group {
|
|
96
|
-
|
|
64
|
+
@include clay-css(
|
|
65
|
+
setter(map-deep-get($dropdown-section, form-group, form-group), ())
|
|
66
|
+
);
|
|
97
67
|
}
|
|
98
68
|
|
|
99
69
|
.custom-control {
|
|
100
|
-
@include clay-css(
|
|
70
|
+
@include clay-css(
|
|
71
|
+
setter(map-get($dropdown-section, custom-control), ())
|
|
72
|
+
);
|
|
101
73
|
}
|
|
102
74
|
|
|
103
75
|
.custom-control-label {
|
|
104
|
-
@include clay-css(
|
|
76
|
+
@include clay-css(
|
|
77
|
+
setter(map-get($dropdown-section, custom-control-label), ())
|
|
78
|
+
);
|
|
105
79
|
}
|
|
106
80
|
|
|
107
81
|
.custom-control-label-text {
|
|
108
|
-
@include clay-css(
|
|
82
|
+
@include clay-css(
|
|
83
|
+
setter(map-get($dropdown-section, custom-control-label-text), ())
|
|
84
|
+
);
|
|
109
85
|
}
|
|
110
86
|
|
|
111
87
|
&.active {
|
|
88
|
+
@include clay-css(setter(map-get($dropdown-section, active), ()));
|
|
89
|
+
|
|
112
90
|
.custom-control-label {
|
|
113
|
-
@include clay-css(
|
|
91
|
+
@include clay-css(
|
|
92
|
+
setter(
|
|
93
|
+
map-deep-get(
|
|
94
|
+
$dropdown-section,
|
|
95
|
+
active,
|
|
96
|
+
custom-control-label
|
|
97
|
+
),
|
|
98
|
+
()
|
|
99
|
+
)
|
|
100
|
+
);
|
|
114
101
|
}
|
|
115
102
|
}
|
|
116
103
|
}
|
|
@@ -124,41 +111,7 @@
|
|
|
124
111
|
// Dropdown Menu
|
|
125
112
|
|
|
126
113
|
.dropdown-menu {
|
|
127
|
-
|
|
128
|
-
background-color: $dropdown-bg;
|
|
129
|
-
border-color: $dropdown-border-color;
|
|
130
|
-
border-style: $dropdown-border-style;
|
|
131
|
-
border-width: $dropdown-border-width;
|
|
132
|
-
|
|
133
|
-
@include border-radius($dropdown-border-radius);
|
|
134
|
-
@include box-shadow($dropdown-box-shadow);
|
|
135
|
-
|
|
136
|
-
color: $dropdown-color;
|
|
137
|
-
display: none;
|
|
138
|
-
float: left;
|
|
139
|
-
font-size: $dropdown-font-size;
|
|
140
|
-
left: 0;
|
|
141
|
-
list-style: none;
|
|
142
|
-
margin: $dropdown-spacer 0 0;
|
|
143
|
-
max-height: $dropdown-max-height;
|
|
144
|
-
max-width: $dropdown-max-width;
|
|
145
|
-
min-height: $dropdown-min-height;
|
|
146
|
-
min-width: $dropdown-min-width;
|
|
147
|
-
overflow: auto;
|
|
148
|
-
padding: $dropdown-padding-y 0;
|
|
149
|
-
position: absolute;
|
|
150
|
-
text-align: left;
|
|
151
|
-
top: 100%;
|
|
152
|
-
z-index: $zindex-dropdown;
|
|
153
|
-
|
|
154
|
-
@include media-breakpoint-down(md) {
|
|
155
|
-
max-height: $dropdown-max-height-mobile;
|
|
156
|
-
max-width: $dropdown-max-width-mobile;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@include clay-scale-component {
|
|
160
|
-
font-size: $dropdown-font-size-mobile;
|
|
161
|
-
}
|
|
114
|
+
@include clay-dropdown-menu-variant($dropdown-menu);
|
|
162
115
|
|
|
163
116
|
.alert {
|
|
164
117
|
font-size: $dropdown-alert-font-size;
|
|
@@ -205,10 +158,6 @@
|
|
|
205
158
|
}
|
|
206
159
|
}
|
|
207
160
|
|
|
208
|
-
.dropdown-menu.show {
|
|
209
|
-
display: block;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
161
|
// Dropdown Menu Alignment
|
|
213
162
|
|
|
214
163
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
@@ -294,47 +243,18 @@
|
|
|
294
243
|
// Dropdown Divider
|
|
295
244
|
|
|
296
245
|
.dropdown-divider {
|
|
297
|
-
|
|
298
|
-
height: 0;
|
|
299
|
-
margin: $dropdown-divider-margin-y 0;
|
|
300
|
-
overflow: hidden;
|
|
246
|
+
@include clay-css($dropdown-divider);
|
|
301
247
|
}
|
|
302
248
|
|
|
303
249
|
// Dropdown Action
|
|
304
250
|
|
|
305
251
|
.dropdown-action {
|
|
306
|
-
|
|
307
|
-
font-size: $dropdown-action-toggle-font-size;
|
|
308
|
-
vertical-align: middle;
|
|
252
|
+
@include clay-css($dropdown-action);
|
|
309
253
|
|
|
310
254
|
> .dropdown-toggle {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
cursor: $btn-cursor;
|
|
316
|
-
display: flex;
|
|
317
|
-
|
|
318
|
-
@include clay-monospace($dropdown-action-toggle-size);
|
|
319
|
-
|
|
320
|
-
font-size: inherit;
|
|
321
|
-
font-weight: inherit;
|
|
322
|
-
justify-content: center;
|
|
323
|
-
line-height: inherit;
|
|
324
|
-
padding: 0;
|
|
325
|
-
text-transform: inherit;
|
|
326
|
-
vertical-align: baseline;
|
|
327
|
-
|
|
328
|
-
&:disabled,
|
|
329
|
-
&.disabled {
|
|
330
|
-
cursor: $dropdown-action-toggle-disabled-cursor;
|
|
331
|
-
opacity: $dropdown-action-toggle-disabled-opacity;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.inline-item .lexicon-icon,
|
|
335
|
-
.lexicon-icon {
|
|
336
|
-
margin-top: 0;
|
|
337
|
-
}
|
|
255
|
+
@include clay-button-variant(
|
|
256
|
+
setter(map-get($dropdown-action, dropdown-toggle), ())
|
|
257
|
+
);
|
|
338
258
|
}
|
|
339
259
|
}
|
|
340
260
|
|
|
@@ -426,111 +346,43 @@
|
|
|
426
346
|
// Dropdown Menu Positions
|
|
427
347
|
|
|
428
348
|
.dropdown-menu-top {
|
|
429
|
-
|
|
430
|
-
left: 0 !important;
|
|
431
|
-
margin-top: 0;
|
|
432
|
-
margin-bottom: $dropdown-spacer;
|
|
433
|
-
right: auto !important;
|
|
434
|
-
top: auto !important;
|
|
435
|
-
transform: none !important;
|
|
436
|
-
will-change: auto !important;
|
|
349
|
+
@include clay-dropdown-menu-variant($dropdown-menu-top);
|
|
437
350
|
}
|
|
438
351
|
|
|
439
352
|
.dropdown-menu-top-right {
|
|
440
|
-
|
|
441
|
-
left: auto !important;
|
|
442
|
-
margin-top: 0;
|
|
443
|
-
margin-bottom: $dropdown-spacer;
|
|
444
|
-
right: 0 !important;
|
|
445
|
-
top: auto !important;
|
|
446
|
-
transform: none !important;
|
|
447
|
-
will-change: auto !important;
|
|
353
|
+
@include clay-dropdown-menu-variant($dropdown-menu-top-right);
|
|
448
354
|
}
|
|
449
355
|
|
|
450
356
|
.dropdown-menu-top-center {
|
|
451
|
-
|
|
452
|
-
left: 50% !important;
|
|
453
|
-
margin-top: 0;
|
|
454
|
-
margin-bottom: $dropdown-spacer;
|
|
455
|
-
right: auto !important;
|
|
456
|
-
top: auto !important;
|
|
457
|
-
transform: translateX(-50%) !important;
|
|
458
|
-
will-change: auto !important;
|
|
357
|
+
@include clay-dropdown-menu-variant($dropdown-menu-top-center);
|
|
459
358
|
}
|
|
460
359
|
|
|
461
360
|
.dropdown-menu-center {
|
|
462
|
-
|
|
463
|
-
left: 50% !important;
|
|
464
|
-
right: auto !important;
|
|
465
|
-
top: 100% !important;
|
|
466
|
-
transform: translateX(-50%) !important;
|
|
467
|
-
will-change: auto !important;
|
|
361
|
+
@include clay-dropdown-menu-variant($dropdown-menu-center);
|
|
468
362
|
}
|
|
469
363
|
|
|
470
364
|
.dropdown-menu-left-side {
|
|
471
|
-
|
|
472
|
-
left: auto !important;
|
|
473
|
-
margin-right: $dropdown-spacer;
|
|
474
|
-
margin-top: 0;
|
|
475
|
-
right: 100% !important;
|
|
476
|
-
top: 0 !important;
|
|
477
|
-
transform: none !important;
|
|
478
|
-
will-change: auto !important;
|
|
365
|
+
@include clay-dropdown-menu-variant($dropdown-menu-left-side);
|
|
479
366
|
}
|
|
480
367
|
|
|
481
368
|
.dropdown-menu-left-side-bottom {
|
|
482
|
-
bottom
|
|
483
|
-
left: auto !important;
|
|
484
|
-
margin-right: $dropdown-spacer;
|
|
485
|
-
margin-top: 0;
|
|
486
|
-
right: 100% !important;
|
|
487
|
-
top: auto !important;
|
|
488
|
-
transform: none !important;
|
|
489
|
-
will-change: auto !important;
|
|
369
|
+
@include clay-dropdown-menu-variant($dropdown-menu-left-side-bottom);
|
|
490
370
|
}
|
|
491
371
|
|
|
492
372
|
.dropdown-menu-left-side-middle {
|
|
493
|
-
|
|
494
|
-
left: auto !important;
|
|
495
|
-
margin-right: $dropdown-spacer;
|
|
496
|
-
margin-top: 0;
|
|
497
|
-
right: 100% !important;
|
|
498
|
-
top: 50% !important;
|
|
499
|
-
transform: translate(0, -50%) !important;
|
|
500
|
-
will-change: auto !important;
|
|
373
|
+
@include clay-dropdown-menu-variant($dropdown-menu-left-side-middle);
|
|
501
374
|
}
|
|
502
375
|
|
|
503
376
|
.dropdown-menu-right-side {
|
|
504
|
-
|
|
505
|
-
left: 100% !important;
|
|
506
|
-
margin-left: $dropdown-spacer;
|
|
507
|
-
margin-top: 0;
|
|
508
|
-
right: auto !important;
|
|
509
|
-
top: 0 !important;
|
|
510
|
-
transform: none !important;
|
|
511
|
-
will-change: auto !important;
|
|
377
|
+
@include clay-dropdown-menu-variant($dropdown-menu-right-side);
|
|
512
378
|
}
|
|
513
379
|
|
|
514
380
|
.dropdown-menu-right-side-bottom {
|
|
515
|
-
bottom
|
|
516
|
-
left: 100% !important;
|
|
517
|
-
margin-left: $dropdown-spacer;
|
|
518
|
-
margin-top: 0;
|
|
519
|
-
right: auto !important;
|
|
520
|
-
top: auto !important;
|
|
521
|
-
transform: none !important;
|
|
522
|
-
will-change: auto !important;
|
|
381
|
+
@include clay-dropdown-menu-variant($dropdown-menu-right-side-bottom);
|
|
523
382
|
}
|
|
524
383
|
|
|
525
384
|
.dropdown-menu-right-side-middle {
|
|
526
|
-
|
|
527
|
-
left: 100% !important;
|
|
528
|
-
margin-left: $dropdown-spacer;
|
|
529
|
-
margin-top: 0;
|
|
530
|
-
right: auto !important;
|
|
531
|
-
top: 50% !important;
|
|
532
|
-
transform: translate(0, -50%) !important;
|
|
533
|
-
will-change: auto !important;
|
|
385
|
+
@include clay-dropdown-menu-variant($dropdown-menu-right-side-middle);
|
|
534
386
|
}
|
|
535
387
|
|
|
536
388
|
// Dropdown wide / full
|