@clayui/css 3.91.0 → 3.92.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 +525 -178
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +239 -15
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +413 -93
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_cards.scss +3 -4
- package/src/scss/atlas/variables/_clay-color.scss +1 -1
- package/src/scss/atlas/variables/_globals.scss +2 -2
- package/src/scss/atlas/variables/_navs.scss +6 -10
- package/src/scss/atlas/variables/_panels.scss +1 -1
- package/src/scss/atlas/variables/_popovers.scss +2 -1
- package/src/scss/atlas/variables/_sheets.scss +1 -1
- package/src/scss/atlas/variables/_sidebar.scss +1 -1
- package/src/scss/atlas/variables/_time.scss +1 -1
- package/src/scss/cadmin/components/_badges.scss +5 -1
- package/src/scss/cadmin/components/_multi-step-nav.scss +39 -0
- package/src/scss/cadmin/components/_treeview.scss +18 -16
- package/src/scss/cadmin/components/_utilities-functional-important.scss +6 -0
- package/src/scss/cadmin/variables/_badges.scss +5 -0
- package/src/scss/cadmin/variables/_buttons.scss +14 -1
- package/src/scss/cadmin/variables/_clay-color.scss +1 -1
- package/src/scss/cadmin/variables/_date-picker.scss +8 -0
- package/src/scss/cadmin/variables/_globals.scss +2 -2
- package/src/scss/cadmin/variables/_multi-step-nav.scss +23 -0
- package/src/scss/cadmin/variables/_navs.scss +1 -2
- package/src/scss/cadmin/variables/_panels.scss +1 -1
- package/src/scss/cadmin/variables/_resizer.scss +2 -2
- package/src/scss/cadmin/variables/_sheets.scss +1 -1
- package/src/scss/cadmin/variables/_sidebar.scss +1 -1
- package/src/scss/cadmin/variables/_tbar.scss +2 -4
- package/src/scss/cadmin/variables/_time.scss +1 -1
- package/src/scss/cadmin/variables/_treeview.scss +21 -8
- package/src/scss/cadmin/variables/_utilities.scss +12 -1
- package/src/scss/components/_badges.scss +5 -1
- package/src/scss/components/_multi-step-nav.scss +42 -0
- package/src/scss/components/_navs.scss +0 -12
- package/src/scss/components/_treeview.scss +18 -12
- package/src/scss/components/_utilities-functional-important.scss +6 -0
- package/src/scss/mixins/_globals.scss +6 -0
- package/src/scss/mixins/_nav.scss +16 -0
- package/src/scss/mixins/_transition.scss +6 -0
- package/src/scss/variables/_badges.scss +5 -0
- package/src/scss/variables/_buttons.scss +14 -1
- package/src/scss/variables/_date-picker.scss +2 -2
- package/src/scss/variables/_multi-step-nav.scss +23 -0
- package/src/scss/variables/_navs.scss +38 -5
- package/src/scss/variables/_resizer.scss +2 -2
- package/src/scss/variables/_tbar.scss +2 -2
- package/src/scss/variables/_treeview.scss +21 -8
- package/src/scss/variables/_utilities.scss +11 -0
|
@@ -62,13 +62,11 @@ $cadmin-tbar-stacked: map-deep-merge(
|
|
|
62
62
|
position: relative,
|
|
63
63
|
width: 40px,
|
|
64
64
|
focus: (
|
|
65
|
-
box-shadow:
|
|
66
|
-
inset 0 0 0 4px $cadmin-white},
|
|
65
|
+
box-shadow: $cadmin-component-focus-inset-box-shadow,
|
|
67
66
|
),
|
|
68
67
|
active: (
|
|
69
68
|
focus: (
|
|
70
|
-
box-shadow:
|
|
71
|
-
inset 0 0 0 4px $cadmin-white},
|
|
69
|
+
box-shadow: $cadmin-component-focus-inset-box-shadow,
|
|
72
70
|
),
|
|
73
71
|
),
|
|
74
72
|
),
|
|
@@ -32,7 +32,7 @@ $cadmin-treeview: map-merge(
|
|
|
32
32
|
),
|
|
33
33
|
treeview-dragging: (
|
|
34
34
|
background-color: $cadmin-white,
|
|
35
|
-
border-color: $cadmin-primary-
|
|
35
|
+
border-color: $cadmin-primary-l0,
|
|
36
36
|
border-radius: $cadmin-border-radius-sm,
|
|
37
37
|
border-style: solid,
|
|
38
38
|
border-width: 1px,
|
|
@@ -61,6 +61,25 @@ $cadmin-treeview: map-merge(
|
|
|
61
61
|
box-shadow: none,
|
|
62
62
|
),
|
|
63
63
|
),
|
|
64
|
+
treeview-dropping-indicator-top: (
|
|
65
|
+
background-color: transparent,
|
|
66
|
+
display: block,
|
|
67
|
+
height: 2px,
|
|
68
|
+
margin-top: -2px,
|
|
69
|
+
outline: none,
|
|
70
|
+
width: 100%,
|
|
71
|
+
),
|
|
72
|
+
treeview-dropping-indicator-bottom: (
|
|
73
|
+
background-color: transparent,
|
|
74
|
+
display: block,
|
|
75
|
+
height: 2px,
|
|
76
|
+
margin-bottom: -2px,
|
|
77
|
+
outline: none,
|
|
78
|
+
width: 100%,
|
|
79
|
+
),
|
|
80
|
+
treeview-dropping-indicator-over: (
|
|
81
|
+
background-color: $cadmin-primary-l0,
|
|
82
|
+
),
|
|
64
83
|
treeview-link: (
|
|
65
84
|
background-color: transparent,
|
|
66
85
|
cursor: pointer,
|
|
@@ -75,15 +94,9 @@ $cadmin-treeview: map-merge(
|
|
|
75
94
|
position: relative,
|
|
76
95
|
text-align: left,
|
|
77
96
|
user-select: none,
|
|
78
|
-
treeview-dropping-bottom: (
|
|
79
|
-
box-shadow: 0 2px 0 0 $cadmin-primary-l1,
|
|
80
|
-
),
|
|
81
97
|
treeview-dropping-middle: (
|
|
82
98
|
background-color: $cadmin-primary-l3,
|
|
83
|
-
border-color: $cadmin-primary-
|
|
84
|
-
),
|
|
85
|
-
treeview-dropping-top: (
|
|
86
|
-
box-shadow: 0 -2px 0 0 $cadmin-primary-l1,
|
|
99
|
+
border-color: $cadmin-primary-l0,
|
|
87
100
|
),
|
|
88
101
|
hover: (
|
|
89
102
|
text-decoration: none,
|
|
@@ -104,7 +104,7 @@ $cadmin-c-focus-inset-focus: () !default;
|
|
|
104
104
|
$cadmin-c-focus-inset-focus: map-deep-merge(
|
|
105
105
|
(
|
|
106
106
|
box-shadow: $cadmin-component-focus-inset-box-shadow,
|
|
107
|
-
border-color: $cadmin-primary-
|
|
107
|
+
border-color: $cadmin-primary-l0,
|
|
108
108
|
outline: 0,
|
|
109
109
|
),
|
|
110
110
|
$cadmin-c-focus-inset-focus
|
|
@@ -541,3 +541,14 @@ $cadmin-text-decorations: map-deep-merge(
|
|
|
541
541
|
),
|
|
542
542
|
$cadmin-text-decorations
|
|
543
543
|
);
|
|
544
|
+
|
|
545
|
+
// Transitions
|
|
546
|
+
|
|
547
|
+
$cadmin-c-prefers-reduced-motion: () !default;
|
|
548
|
+
$cadmin-c-prefers-reduced-motion: map-merge(
|
|
549
|
+
(
|
|
550
|
+
scroll-behavior: auto,
|
|
551
|
+
transition: clay-enable-transitions(none),
|
|
552
|
+
),
|
|
553
|
+
$cadmin-c-prefers-reduced-motion
|
|
554
|
+
);
|
|
@@ -113,7 +113,11 @@
|
|
|
113
113
|
starts-with($color, '#') or
|
|
114
114
|
starts-with($color, '%'),
|
|
115
115
|
$color,
|
|
116
|
-
|
|
116
|
+
if(
|
|
117
|
+
starts-with($color, 'badge'),
|
|
118
|
+
str-insert($color, '.', 1),
|
|
119
|
+
str-insert($color, '.badge-', 1)
|
|
120
|
+
)
|
|
117
121
|
);
|
|
118
122
|
|
|
119
123
|
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
@@ -121,6 +121,45 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
&.error {
|
|
125
|
+
@include clay-css($multi-step-item-error);
|
|
126
|
+
|
|
127
|
+
.multi-step-title {
|
|
128
|
+
@include clay-css(
|
|
129
|
+
map-get($multi-step-item-error, multi-step-title)
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.multi-step-icon {
|
|
134
|
+
$_multi-step-icon: setter(
|
|
135
|
+
map-get($multi-step-item-error, multi-step-icon)
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
@include clay-css($_multi-step-icon);
|
|
139
|
+
|
|
140
|
+
&[data-multi-step-icon] {
|
|
141
|
+
$_data-multi-step-icon: setter(
|
|
142
|
+
map-get($_multi-step-icon, data-multi-step-icon),
|
|
143
|
+
()
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
&::before {
|
|
147
|
+
@include clay-css(map-get($_data-multi-step-icon, before));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.lexicon-icon {
|
|
152
|
+
@include clay-css(map-get($_multi-step-icon, lexicon-icon));
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.multi-step-divider {
|
|
157
|
+
@include clay-css(
|
|
158
|
+
map-get($multi-step-item-error, multi-step-divider)
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
124
163
|
&.disabled {
|
|
125
164
|
.multi-step-title {
|
|
126
165
|
color: $multi-step-title-disabled-color;
|
|
@@ -218,6 +257,9 @@
|
|
|
218
257
|
.multi-step-icon {
|
|
219
258
|
align-items: center;
|
|
220
259
|
background-color: $multi-step-icon-bg;
|
|
260
|
+
background-position: center;
|
|
261
|
+
background-repeat: no-repeat;
|
|
262
|
+
background-size: $multi-step-icon-font-size;
|
|
221
263
|
border-color: $multi-step-icon-border-color;
|
|
222
264
|
border-radius: $multi-step-icon-border-radius;
|
|
223
265
|
border-style: $multi-step-icon-border-style;
|
|
@@ -135,20 +135,8 @@
|
|
|
135
135
|
.nav-tabs {
|
|
136
136
|
@include clay-nav-variant($nav-tabs);
|
|
137
137
|
|
|
138
|
-
.dropdown-menu {
|
|
139
|
-
@include border-top-radius(0);
|
|
140
|
-
|
|
141
|
-
margin-top: math-sign($nav-tabs-border-width);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
138
|
+ .tab-content {
|
|
145
139
|
.tab-pane {
|
|
146
|
-
background-color: $nav-tabs-tab-pane-bg;
|
|
147
|
-
|
|
148
|
-
@include border-radius($nav-tabs-tab-pane-border-radius);
|
|
149
|
-
|
|
150
|
-
padding: $nav-tabs-tab-pane-padding;
|
|
151
|
-
|
|
152
140
|
&.active:first-child {
|
|
153
141
|
border-top-left-radius: 0;
|
|
154
142
|
}
|
|
@@ -162,27 +162,33 @@
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
.treeview-dropping-indicator-top {
|
|
166
|
+
@include clay-link(
|
|
167
|
+
map-deep-get($treeview, treeview-dropping-indicator-top)
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.treeview-dropping-indicator-bottom {
|
|
172
|
+
@include clay-link(
|
|
173
|
+
map-deep-get($treeview, treeview-dropping-indicator-bottom)
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.treeview-dropping-indicator-over {
|
|
178
|
+
@include clay-link(
|
|
179
|
+
map-deep-get($treeview, treeview-dropping-indicator-over)
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
165
183
|
.treeview-link {
|
|
166
184
|
@include clay-link(map-get($treeview, treeview-link));
|
|
167
185
|
|
|
168
|
-
&.treeview-dropping-bottom {
|
|
169
|
-
@include clay-link(
|
|
170
|
-
map-deep-get($treeview, treeview-link, treeview-dropping-bottom)
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
186
|
&.treeview-dropping-middle {
|
|
175
187
|
@include clay-link(
|
|
176
188
|
map-deep-get($treeview, treeview-link, treeview-dropping-middle)
|
|
177
189
|
);
|
|
178
190
|
}
|
|
179
191
|
|
|
180
|
-
&.treeview-dropping-top {
|
|
181
|
-
@include clay-link(
|
|
182
|
-
map-deep-get($treeview, treeview-link, treeview-dropping-top)
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
192
|
&.show,
|
|
187
193
|
&[aria-expanded='true'] {
|
|
188
194
|
.component-expander {
|
|
@@ -258,6 +258,22 @@
|
|
|
258
258
|
.nav-form {
|
|
259
259
|
@include clay-css(map-get($map, nav-form));
|
|
260
260
|
}
|
|
261
|
+
|
|
262
|
+
.dropdown-menu {
|
|
263
|
+
@include clay-dropdown-menu-variant(
|
|
264
|
+
map-get($map, dropdown-menu)
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
+ .tab-content {
|
|
269
|
+
$_tab-content: setter(map-get($map, tab-content), ());
|
|
270
|
+
|
|
271
|
+
@include clay-css($_tab-content);
|
|
272
|
+
|
|
273
|
+
.tab-pane {
|
|
274
|
+
@include clay-css(map-get($_tab-content, tab-pane));
|
|
275
|
+
}
|
|
276
|
+
}
|
|
261
277
|
}
|
|
262
278
|
}
|
|
263
279
|
}
|
|
@@ -494,6 +494,11 @@ $badge-palette: map-deep-merge(
|
|
|
494
494
|
danger: $badge-danger,
|
|
495
495
|
light: $badge-light,
|
|
496
496
|
dark: $badge-dark,
|
|
497
|
+
badge-beta: (
|
|
498
|
+
background-color: $light-l1,
|
|
499
|
+
color: $info-d1,
|
|
500
|
+
text-transform: uppercase,
|
|
501
|
+
),
|
|
497
502
|
),
|
|
498
503
|
$badge-palette
|
|
499
504
|
);
|
|
@@ -203,7 +203,7 @@ $btn-sizes: map-deep-merge(
|
|
|
203
203
|
padding-top: 0.125rem,
|
|
204
204
|
inline-item: (
|
|
205
205
|
font-size: inherit,
|
|
206
|
-
margin-top: -
|
|
206
|
+
margin-top: -0.16em,
|
|
207
207
|
),
|
|
208
208
|
inline-item-before: (
|
|
209
209
|
margin-right: 0.25rem,
|
|
@@ -892,6 +892,19 @@ $btn-palette: map-deep-merge(
|
|
|
892
892
|
light: $btn-light,
|
|
893
893
|
dark: $btn-dark,
|
|
894
894
|
link: $btn-link,
|
|
895
|
+
btn-beta: (
|
|
896
|
+
background-color: $light-l1,
|
|
897
|
+
color: $info-d1,
|
|
898
|
+
text-transform: uppercase,
|
|
899
|
+
hover: (
|
|
900
|
+
background-color: $light,
|
|
901
|
+
color: $info-d1,
|
|
902
|
+
),
|
|
903
|
+
focus: (
|
|
904
|
+
background-color: $light,
|
|
905
|
+
color: $info-d1,
|
|
906
|
+
),
|
|
907
|
+
),
|
|
895
908
|
),
|
|
896
909
|
$btn-palette
|
|
897
910
|
);
|
|
@@ -35,7 +35,7 @@ $date-picker-nav-btn: map-deep-merge(
|
|
|
35
35
|
background-color: $gray-200,
|
|
36
36
|
),
|
|
37
37
|
focus: (
|
|
38
|
-
box-shadow: $
|
|
38
|
+
box-shadow: $component-focus-box-shadow,
|
|
39
39
|
),
|
|
40
40
|
disabled: (
|
|
41
41
|
background-color: transparent,
|
|
@@ -211,7 +211,7 @@ $date-picker-date: map-deep-merge(
|
|
|
211
211
|
background-color: $gray-200,
|
|
212
212
|
),
|
|
213
213
|
focus: (
|
|
214
|
-
box-shadow: $
|
|
214
|
+
box-shadow: $component-focus-box-shadow,
|
|
215
215
|
outline: 0,
|
|
216
216
|
),
|
|
217
217
|
active: (
|
|
@@ -58,6 +58,29 @@ $multi-step-item-margin-bottom: 10px !default;
|
|
|
58
58
|
$multi-step-item-width: 75px !default;
|
|
59
59
|
$multi-step-item-fixed-width: 150px !default;
|
|
60
60
|
|
|
61
|
+
// data-multi-step-icon::before See https://issues.liferay.com/browse/LPS-147457.
|
|
62
|
+
|
|
63
|
+
$multi-step-item-error: () !default;
|
|
64
|
+
$multi-step-item-error: map-deep-merge(
|
|
65
|
+
(
|
|
66
|
+
multi-step-icon: (
|
|
67
|
+
background-color: $danger,
|
|
68
|
+
background-image: clay-icon(times, $white),
|
|
69
|
+
color: $white,
|
|
70
|
+
text-indent: -100px,
|
|
71
|
+
data-multi-step-icon: (
|
|
72
|
+
before: (
|
|
73
|
+
content: none,
|
|
74
|
+
),
|
|
75
|
+
),
|
|
76
|
+
lexicon-icon: (
|
|
77
|
+
display: none,
|
|
78
|
+
),
|
|
79
|
+
),
|
|
80
|
+
),
|
|
81
|
+
$multi-step-item-error
|
|
82
|
+
);
|
|
83
|
+
|
|
61
84
|
$multi-step-icon-complete-color: $white !default;
|
|
62
85
|
$multi-step-icon-complete-bg: $gray-600 !default;
|
|
63
86
|
$multi-step-icon-complete-bg-image: clay-icon(
|
|
@@ -421,6 +421,12 @@ $nav-tabs-link: map-deep-merge(
|
|
|
421
421
|
$nav-tabs-link
|
|
422
422
|
);
|
|
423
423
|
|
|
424
|
+
// Nav Tabs Tab Pane
|
|
425
|
+
|
|
426
|
+
$nav-tabs-tab-pane-bg: null !default;
|
|
427
|
+
$nav-tabs-tab-pane-border-radius: null !default;
|
|
428
|
+
$nav-tabs-tab-pane-padding: null !default;
|
|
429
|
+
|
|
424
430
|
// .nav-tabs
|
|
425
431
|
|
|
426
432
|
$nav-tabs: () !default;
|
|
@@ -432,15 +438,36 @@ $nav-tabs: map-deep-merge(
|
|
|
432
438
|
margin-bottom: math-sign($nav-tabs-border-width),
|
|
433
439
|
),
|
|
434
440
|
nav-link: $nav-tabs-link,
|
|
441
|
+
dropdown-menu: (
|
|
442
|
+
border-top-left-radius: clay-enable-rounded(0),
|
|
443
|
+
border-top-right-radius: clay-enable-rounded(0),
|
|
444
|
+
margin-top: math-sign($nav-tabs-border-width),
|
|
445
|
+
),
|
|
446
|
+
tab-content: (
|
|
447
|
+
tab-pane: (
|
|
448
|
+
background-color: $nav-tabs-tab-pane-bg,
|
|
449
|
+
border-radius:
|
|
450
|
+
clay-enable-rounded($nav-tabs-tab-pane-border-radius),
|
|
451
|
+
padding: $nav-tabs-tab-pane-padding,
|
|
452
|
+
),
|
|
453
|
+
),
|
|
435
454
|
),
|
|
436
455
|
$nav-tabs
|
|
437
456
|
);
|
|
438
457
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
458
|
+
$nav-tabs-light: () !default;
|
|
459
|
+
$nav-tabs-light: map-deep-merge(
|
|
460
|
+
(
|
|
461
|
+
background-color: $gray-100,
|
|
462
|
+
tab-content: (
|
|
463
|
+
tab-pane: (
|
|
464
|
+
background-color: transparent,
|
|
465
|
+
border-radius: clay-enable-rounded(0),
|
|
466
|
+
),
|
|
467
|
+
),
|
|
468
|
+
),
|
|
469
|
+
$nav-tabs-light
|
|
470
|
+
);
|
|
444
471
|
|
|
445
472
|
// Nav Pills
|
|
446
473
|
|
|
@@ -459,3 +486,9 @@ $nav-pills-link-active-color: $component-active-color !default;
|
|
|
459
486
|
// Nav Variants
|
|
460
487
|
|
|
461
488
|
$nav-palette: () !default;
|
|
489
|
+
$nav-palette: map-deep-merge(
|
|
490
|
+
(
|
|
491
|
+
nav-tabs-light: $nav-tabs-light,
|
|
492
|
+
),
|
|
493
|
+
$nav-palette
|
|
494
|
+
);
|
|
@@ -12,10 +12,10 @@ $c-horizontal-resizer: map-merge(
|
|
|
12
12
|
width: 0.5rem,
|
|
13
13
|
z-index: 10,
|
|
14
14
|
hover: (
|
|
15
|
-
background-color: $primary-
|
|
15
|
+
background-color: $primary-l0,
|
|
16
16
|
),
|
|
17
17
|
focus: (
|
|
18
|
-
background-color: $primary-
|
|
18
|
+
background-color: $primary-l0,
|
|
19
19
|
),
|
|
20
20
|
),
|
|
21
21
|
$c-horizontal-resizer
|
|
@@ -62,11 +62,11 @@ $tbar-stacked: map-deep-merge(
|
|
|
62
62
|
position: relative,
|
|
63
63
|
width: 2.5rem,
|
|
64
64
|
focus: (
|
|
65
|
-
box-shadow: #{inset 0 0 0 0.125rem $primary-
|
|
65
|
+
box-shadow: #{inset 0 0 0 0.125rem $primary-l0,
|
|
66
66
|
inset 0 0 0 0.25rem $white},
|
|
67
67
|
),
|
|
68
68
|
active-focus: (
|
|
69
|
-
box-shadow: #{inset 0 0 0 0.125rem $primary-
|
|
69
|
+
box-shadow: #{inset 0 0 0 0.125rem $primary-l0,
|
|
70
70
|
inset 0 0 0 0.25rem $white},
|
|
71
71
|
),
|
|
72
72
|
),
|
|
@@ -32,7 +32,7 @@ $treeview: map-merge(
|
|
|
32
32
|
),
|
|
33
33
|
treeview-dragging: (
|
|
34
34
|
background-color: $white,
|
|
35
|
-
border-color: $primary-
|
|
35
|
+
border-color: $primary-l0,
|
|
36
36
|
border-radius: $border-radius-sm,
|
|
37
37
|
border-style: solid,
|
|
38
38
|
border-width: 1px,
|
|
@@ -61,6 +61,25 @@ $treeview: map-merge(
|
|
|
61
61
|
box-shadow: none,
|
|
62
62
|
),
|
|
63
63
|
),
|
|
64
|
+
treeview-dropping-indicator-top: (
|
|
65
|
+
background-color: transparent,
|
|
66
|
+
display: block,
|
|
67
|
+
height: 2px,
|
|
68
|
+
margin-top: -2px,
|
|
69
|
+
outline: none,
|
|
70
|
+
width: 100%,
|
|
71
|
+
),
|
|
72
|
+
treeview-dropping-indicator-bottom: (
|
|
73
|
+
background-color: transparent,
|
|
74
|
+
display: block,
|
|
75
|
+
height: 2px,
|
|
76
|
+
margin-bottom: -2px,
|
|
77
|
+
outline: none,
|
|
78
|
+
width: 100%,
|
|
79
|
+
),
|
|
80
|
+
treeview-dropping-indicator-over: (
|
|
81
|
+
background-color: $primary-l0,
|
|
82
|
+
),
|
|
64
83
|
treeview-link: (
|
|
65
84
|
background-color: transparent,
|
|
66
85
|
cursor: pointer,
|
|
@@ -75,15 +94,9 @@ $treeview: map-merge(
|
|
|
75
94
|
position: relative,
|
|
76
95
|
text-align: left,
|
|
77
96
|
user-select: none,
|
|
78
|
-
treeview-dropping-bottom: (
|
|
79
|
-
box-shadow: 0 2px 0 0 $primary-l1,
|
|
80
|
-
),
|
|
81
97
|
treeview-dropping-middle: (
|
|
82
98
|
background-color: $primary-l3,
|
|
83
|
-
border-color: $primary-
|
|
84
|
-
),
|
|
85
|
-
treeview-dropping-top: (
|
|
86
|
-
box-shadow: 0 -2px 0 0 $primary-l1,
|
|
99
|
+
border-color: $primary-l0,
|
|
87
100
|
),
|
|
88
101
|
hover: (
|
|
89
102
|
text-decoration: none,
|
|
@@ -525,3 +525,14 @@ $text-decorations: map-deep-merge(
|
|
|
525
525
|
),
|
|
526
526
|
$text-decorations
|
|
527
527
|
);
|
|
528
|
+
|
|
529
|
+
// Transitions
|
|
530
|
+
|
|
531
|
+
$c-prefers-reduced-motion: () !default;
|
|
532
|
+
$c-prefers-reduced-motion: map-merge(
|
|
533
|
+
(
|
|
534
|
+
scroll-behavior: auto,
|
|
535
|
+
transition: clay-enable-transitions(none),
|
|
536
|
+
),
|
|
537
|
+
$c-prefers-reduced-motion
|
|
538
|
+
);
|