@clayui/css 3.160.0 → 3.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/css/atlas.css +1716 -1586
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +1416 -1287
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +79 -12
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/arrow-key-down.svg +9 -0
- package/lib/images/icons/arrow-key-left.svg +9 -0
- package/lib/images/icons/arrow-key-right.svg +9 -0
- package/lib/images/icons/arrow-key-up.svg +9 -0
- package/lib/images/icons/books-brush.svg +9 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +1 -1
- package/src/images/icons/arrow-key-down.svg +9 -0
- package/src/images/icons/arrow-key-left.svg +9 -0
- package/src/images/icons/arrow-key-right.svg +9 -0
- package/src/images/icons/arrow-key-up.svg +9 -0
- package/src/images/icons/books-brush.svg +9 -0
- package/src/images/icons/icons.svg +1 -1
- package/src/scss/_components.scss +2 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/_variables.scss +6 -4
- package/src/scss/atlas/variables/_forms.scss +3 -1
- package/src/scss/atlas/variables/_globals.scss +10 -10
- package/src/scss/atlas/variables/_reorder.scss +1 -1
- package/src/scss/atlas-custom-properties/_variables.scss +66 -0
- package/src/scss/atlas-custom-properties/variables/_alerts.scss +1205 -0
- package/src/scss/atlas-custom-properties/variables/_application-bar.scss +60 -0
- package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +26 -0
- package/src/scss/atlas-custom-properties/variables/_badges.scss +341 -0
- package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +193 -0
- package/src/scss/atlas-custom-properties/variables/_buttons.scss +1442 -0
- package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -0
- package/src/scss/atlas-custom-properties/variables/_cards.scss +1212 -0
- package/src/scss/atlas-custom-properties/variables/_clay-color.scss +617 -0
- package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +1096 -0
- package/src/scss/atlas-custom-properties/variables/_date-picker.scss +619 -0
- package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -0
- package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1229 -0
- package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +72 -0
- package/src/scss/atlas-custom-properties/variables/_empty-state.scss +102 -0
- package/src/scss/atlas-custom-properties/variables/_forms.scss +2305 -0
- package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +48 -0
- package/src/scss/atlas-custom-properties/variables/_globals.scss +844 -0
- package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -0
- package/src/scss/atlas-custom-properties/variables/_images.scss +9 -0
- package/src/scss/atlas-custom-properties/variables/_labels.scss +1374 -0
- package/src/scss/atlas-custom-properties/variables/_links.scss +466 -0
- package/src/scss/atlas-custom-properties/variables/_list-group.scss +488 -0
- package/src/scss/atlas-custom-properties/variables/_loaders.scss +226 -0
- package/src/scss/atlas-custom-properties/variables/_management-bar.scss +151 -0
- package/src/scss/atlas-custom-properties/variables/_menubar.scss +778 -0
- package/src/scss/atlas-custom-properties/variables/_modals.scss +645 -0
- package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +354 -0
- package/src/scss/atlas-custom-properties/variables/_navbar.scss +198 -0
- package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +449 -0
- package/src/scss/atlas-custom-properties/variables/_navs.scss +553 -0
- package/src/scss/atlas-custom-properties/variables/_pagination.scss +1064 -0
- package/src/scss/atlas-custom-properties/variables/_panels.scss +554 -0
- package/src/scss/atlas-custom-properties/variables/_popovers.scss +533 -0
- package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +149 -0
- package/src/scss/atlas-custom-properties/variables/_quick-action.scss +28 -0
- package/src/scss/atlas-custom-properties/variables/_range.scss +262 -0
- package/src/scss/atlas-custom-properties/variables/_reorder.scss +91 -0
- package/src/scss/atlas-custom-properties/variables/_resizer.scss +37 -0
- package/src/scss/atlas-custom-properties/variables/_sheets.scss +301 -0
- package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -0
- package/src/scss/atlas-custom-properties/variables/_sidebar.scss +547 -0
- package/src/scss/atlas-custom-properties/variables/_slideout.scss +369 -0
- package/src/scss/atlas-custom-properties/variables/_stickers.scss +576 -0
- package/src/scss/atlas-custom-properties/variables/_tables.scss +1292 -0
- package/src/scss/atlas-custom-properties/variables/_tbar.scss +570 -0
- package/src/scss/atlas-custom-properties/variables/_time.scss +133 -0
- package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -0
- package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +702 -0
- package/src/scss/atlas-custom-properties/variables/_tooltip.scss +321 -0
- package/src/scss/atlas-custom-properties/variables/_treeview.scss +367 -0
- package/src/scss/atlas-custom-properties/variables/_type.scss +195 -0
- package/src/scss/atlas-custom-properties/variables/_utilities.scss +933 -0
- package/src/scss/cadmin/components/_focus-ring.scss +74 -0
- package/src/scss/cadmin/components/_forms.scss +2 -0
- package/src/scss/cadmin/components/_menubar.scss +8 -0
- package/src/scss/cadmin/components/_resizer.scss +19 -4
- package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
- package/src/scss/cadmin/variables/_forms.scss +3 -1
- package/src/scss/cadmin/variables/_reorder.scss +1 -0
- package/src/scss/cadmin/variables/_resizer.scss +16 -3
- package/src/scss/cadmin.scss +1 -0
- package/src/scss/components/_focus-ring.scss +64 -0
- package/src/scss/components/_forms.scss +2 -0
- package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
- package/src/scss/components/_menubar.scss +8 -0
- package/src/scss/components/_resizer.scss +15 -4
- package/src/scss/functions/_global-functions.scss +6 -4
- package/src/scss/functions/_lx-icons-generated.scss +10 -0
- package/src/scss/variables/_breadcrumbs.scss +4 -2
- package/src/scss/variables/_forms.scss +2 -0
- package/src/scss/variables/_globals.scss +8 -8
- package/src/scss/variables/_resizer.scss +16 -3
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
$cadmin-focus-ring-animation-name: clay-cadmin-focus-ring !default;
|
|
2
|
+
$cadmin-focus-ring-animation-duration: 1s !default;
|
|
3
|
+
$cadmin-focus-ring-animation-timing-function: cubic-bezier(
|
|
4
|
+
0.2,
|
|
5
|
+
0,
|
|
6
|
+
0,
|
|
7
|
+
1
|
|
8
|
+
) !default;
|
|
9
|
+
$cadmin-focus-ring-animation: $cadmin-focus-ring-animation-name
|
|
10
|
+
$cadmin-focus-ring-animation-duration
|
|
11
|
+
$cadmin-focus-ring-animation-timing-function !default;
|
|
12
|
+
|
|
13
|
+
$cadmin-focus-ring-animation-from-box-shadow:
|
|
14
|
+
0 0 0 4px $cadmin-white,
|
|
15
|
+
0 0 0 12px $cadmin-primary-l2 !default;
|
|
16
|
+
$cadmin-focus-ring-animation-to-box-shadow:
|
|
17
|
+
0 0 0 2px $cadmin-white,
|
|
18
|
+
0 0 0 4px $cadmin-primary-l0 !default;
|
|
19
|
+
|
|
20
|
+
@at-root {
|
|
21
|
+
@keyframes #{$cadmin-focus-ring-animation-name} {
|
|
22
|
+
0%,
|
|
23
|
+
50% {
|
|
24
|
+
box-shadow: $cadmin-focus-ring-animation-from-box-shadow;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
100% {
|
|
28
|
+
box-shadow: $cadmin-focus-ring-animation-to-box-shadow;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@if $cadmin-enable-prefers-reduced-motion-media-query {
|
|
33
|
+
@media (prefers-reduced-motion: reduce) {
|
|
34
|
+
@keyframes #{$cadmin-focus-ring-animation-name} {
|
|
35
|
+
0%,
|
|
36
|
+
60% {
|
|
37
|
+
box-shadow: $cadmin-focus-ring-animation-from-box-shadow;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
61% {
|
|
41
|
+
box-shadow: $cadmin-focus-ring-animation-to-box-shadow;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
html#{$cadmin-selector} .c-prefers-focus-ring .cadmin {
|
|
48
|
+
.custom-control-input:focus-visible ~ .custom-control-label::after,
|
|
49
|
+
.toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
|
|
50
|
+
:focus-visible:not(.custom-control-input):not(.toggle-switch-check),
|
|
51
|
+
.focus {
|
|
52
|
+
animation: $cadmin-focus-ring-animation;
|
|
53
|
+
box-shadow: $cadmin-focus-ring-animation-to-box-shadow;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:focus-visible:not(.toggle-switch-check):not(.custom-control-input),
|
|
57
|
+
.focus {
|
|
58
|
+
position: relative;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
html#{$cadmin-selector} .c-prefers-focus-ring.c-tab-returning .cadmin,
|
|
64
|
+
html#{$cadmin-selector}
|
|
65
|
+
.c-prefers-reduced-motion.c-prefers-focus-ring
|
|
66
|
+
.cadmin {
|
|
67
|
+
.custom-control-input:focus-visible ~ .custom-control-label::after,
|
|
68
|
+
.toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
|
|
69
|
+
:focus-visible:not(.custom-control-input):not(.toggle-switch-check),
|
|
70
|
+
.focus {
|
|
71
|
+
animation: none;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
@include clay-menubar-vertical-variant(
|
|
26
26
|
$cadmin-menubar-vertical-transparent-md
|
|
27
27
|
);
|
|
28
|
+
|
|
29
|
+
.nav-link * {
|
|
30
|
+
letter-spacing: normal;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
&.menubar-decorated {
|
|
@@ -63,6 +67,10 @@
|
|
|
63
67
|
@include clay-menubar-vertical-variant(
|
|
64
68
|
$cadmin-menubar-vertical-transparent-lg
|
|
65
69
|
);
|
|
70
|
+
|
|
71
|
+
.nav-link * {
|
|
72
|
+
letter-spacing: normal;
|
|
73
|
+
}
|
|
66
74
|
}
|
|
67
75
|
|
|
68
76
|
&.menubar-decorated {
|
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
.c-horizontal-resizer {
|
|
2
2
|
@include clay-css($cadmin-c-horizontal-resizer);
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
@include clay-css(map-get($cadmin-c-horizontal-resizer,
|
|
4
|
+
&::before {
|
|
5
|
+
@include clay-css(map-get($cadmin-c-horizontal-resizer, before));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
&:
|
|
9
|
-
@include clay-css(
|
|
8
|
+
&:hover::before {
|
|
9
|
+
@include clay-css(
|
|
10
|
+
map-deep-get($cadmin-c-horizontal-resizer, hover, before)
|
|
11
|
+
);
|
|
10
12
|
}
|
|
13
|
+
|
|
14
|
+
&:focus-visible::before {
|
|
15
|
+
@include clay-css(
|
|
16
|
+
map-deep-get($cadmin-c-horizontal-resizer, focus, before)
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.c-horizontal-resizer-end {
|
|
22
|
+
left: 0px;
|
|
23
|
+
margin-left: -0.25rem;
|
|
24
|
+
margin-right: 0px;
|
|
25
|
+
right: auto;
|
|
11
26
|
}
|
|
@@ -134,6 +134,7 @@ $cadmin-breadcrumb-link: map-deep-merge(
|
|
|
134
134
|
border-radius: 1px,
|
|
135
135
|
color: $cadmin-breadcrumb-link-color,
|
|
136
136
|
display: block,
|
|
137
|
+
line-height: 1.5rem,
|
|
137
138
|
text-decoration: $cadmin-breadcrumb-link-text-decoration,
|
|
138
139
|
text-transform: $cadmin-breadcrumb-text-transform,
|
|
139
140
|
transition: box-shadow 0.15s ease-in-out,
|
|
@@ -159,6 +160,8 @@ $cadmin-breadcrumb-toggle: () !default;
|
|
|
159
160
|
$cadmin-breadcrumb-toggle: map-merge(
|
|
160
161
|
(
|
|
161
162
|
color: $cadmin-breadcrumb-link-color,
|
|
163
|
+
flex-shrink: 0,
|
|
164
|
+
margin-top: $cadmin-breadcrumb-padding-y,
|
|
162
165
|
),
|
|
163
166
|
$cadmin-breadcrumb-toggle
|
|
164
167
|
);
|
|
@@ -166,7 +169,6 @@ $cadmin-breadcrumb-toggle: map-merge(
|
|
|
166
169
|
$cadmin-breadcrumb-bar: () !default;
|
|
167
170
|
$cadmin-breadcrumb-bar: map-deep-merge(
|
|
168
171
|
(
|
|
169
|
-
align-items: center,
|
|
170
172
|
display: flex,
|
|
171
173
|
),
|
|
172
174
|
$cadmin-breadcrumb-bar
|
|
@@ -616,7 +616,9 @@ $cadmin-form-group-sm-margin-bottom: 16px !default; // 16px
|
|
|
616
616
|
|
|
617
617
|
$cadmin-form-group-sm-margin-bottom-mobile: null !default;
|
|
618
618
|
|
|
619
|
-
$cadmin-form-group-sm-input-label-
|
|
619
|
+
$cadmin-form-group-sm-input-label-font-size: 12px !default; // 12px
|
|
620
|
+
$cadmin-form-group-sm-input-label-line-height: 1.5 !default; // 150%
|
|
621
|
+
$cadmin-form-group-sm-input-label-margin-bottom: 2px !default; // 2px
|
|
620
622
|
|
|
621
623
|
$cadmin-form-group-sm-item-label-spacer: 25px !default; // 25px
|
|
622
624
|
|
|
@@ -8,15 +8,28 @@ $cadmin-c-horizontal-resizer: map-merge(
|
|
|
8
8
|
position: absolute,
|
|
9
9
|
right: 0px,
|
|
10
10
|
top: 0px,
|
|
11
|
-
width: 0.
|
|
11
|
+
width: 0.75rem,
|
|
12
12
|
z-index: 10,
|
|
13
13
|
|
|
14
|
+
before: (
|
|
15
|
+
bottom: 0px,
|
|
16
|
+
content: '',
|
|
17
|
+
left: 0.25rem,
|
|
18
|
+
position: absolute,
|
|
19
|
+
right: 0.25rem,
|
|
20
|
+
top: 0px,
|
|
21
|
+
),
|
|
22
|
+
|
|
14
23
|
hover: (
|
|
15
|
-
|
|
24
|
+
before: (
|
|
25
|
+
background-color: $cadmin-primary-l0,
|
|
26
|
+
),
|
|
16
27
|
),
|
|
17
28
|
|
|
18
29
|
focus: (
|
|
19
|
-
|
|
30
|
+
before: (
|
|
31
|
+
background-color: $cadmin-primary-l0,
|
|
32
|
+
),
|
|
20
33
|
),
|
|
21
34
|
),
|
|
22
35
|
$cadmin-c-horizontal-resizer
|
package/src/scss/cadmin.scss
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
$focus-ring-animation-name: clay-focus-ring !default;
|
|
2
|
+
$focus-ring-animation-duration: 1s !default;
|
|
3
|
+
$focus-ring-animation-timing-function: cubic-bezier(0.2, 0, 0, 1) !default;
|
|
4
|
+
$focus-ring-animation: $focus-ring-animation-name $focus-ring-animation-duration
|
|
5
|
+
$focus-ring-animation-timing-function !default;
|
|
6
|
+
|
|
7
|
+
$focus-ring-animation-from-box-shadow:
|
|
8
|
+
0 0 0 0.25rem $white,
|
|
9
|
+
0 0 0 0.75rem $primary-l2 !default;
|
|
10
|
+
$focus-ring-animation-to-box-shadow:
|
|
11
|
+
0 0 0 0.125rem $white,
|
|
12
|
+
0 0 0 0.25rem $primary-l0 !default;
|
|
13
|
+
|
|
14
|
+
@keyframes #{$focus-ring-animation-name} {
|
|
15
|
+
0%,
|
|
16
|
+
50% {
|
|
17
|
+
box-shadow: $focus-ring-animation-from-box-shadow;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
100% {
|
|
21
|
+
box-shadow: $focus-ring-animation-to-box-shadow;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@if $enable-prefers-reduced-motion-media-query {
|
|
26
|
+
@media (prefers-reduced-motion: reduce) {
|
|
27
|
+
@keyframes #{$focus-ring-animation-name} {
|
|
28
|
+
0%,
|
|
29
|
+
60% {
|
|
30
|
+
box-shadow: $focus-ring-animation-from-box-shadow;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
61% {
|
|
34
|
+
box-shadow: $focus-ring-animation-to-box-shadow;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.c-prefers-focus-ring {
|
|
41
|
+
.custom-control-input:focus-visible ~ .custom-control-label::after,
|
|
42
|
+
.toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
|
|
43
|
+
:focus-visible:not(.custom-control-input):not(.toggle-switch-check),
|
|
44
|
+
.focus {
|
|
45
|
+
animation: $focus-ring-animation;
|
|
46
|
+
box-shadow: $focus-ring-animation-to-box-shadow;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:focus-visible:not(.toggle-switch-check):not(.custom-control-input),
|
|
50
|
+
.focus {
|
|
51
|
+
position: relative;
|
|
52
|
+
z-index: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.c-tab-returning,
|
|
56
|
+
&.c-prefers-reduced-motion {
|
|
57
|
+
.custom-control-input:focus-visible ~ .custom-control-label::after,
|
|
58
|
+
.toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
|
|
59
|
+
:focus-visible:not(.custom-control-input):not(.toggle-switch-check),
|
|
60
|
+
.focus {
|
|
61
|
+
animation: none;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// Keyboard arrows indicator
|
|
2
|
+
//
|
|
3
|
+
// A visual hint showing which arrow keys move focus inside a component. The
|
|
4
|
+
// four directional keys are laid out in the inverted-T arrangement found on
|
|
5
|
+
// physical keyboards. Keys not part of the active direction are rendered
|
|
6
|
+
// muted so the layout stays recognizable.
|
|
7
|
+
|
|
8
|
+
.clay-keyboard-arrows-indicator {
|
|
9
|
+
column-gap: 0.15em;
|
|
10
|
+
display: inline-grid;
|
|
11
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
12
|
+
grid-template-rows: 1fr 1fr;
|
|
13
|
+
row-gap: 0.15em;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.clay-keyboard-arrows-indicator-md {
|
|
17
|
+
font-size: 1rem; // 16px keycaps
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.clay-keyboard-arrows-indicator-sm {
|
|
21
|
+
font-size: 0.75rem; // 12px keycaps
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.clay-keyboard-arrows-indicator-key {
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
|
|
27
|
+
.lexicon-icon {
|
|
28
|
+
height: 1em;
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
width: 1em;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.clay-keyboard-arrows-indicator-key-up {
|
|
35
|
+
grid-column: 2;
|
|
36
|
+
grid-row: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.clay-keyboard-arrows-indicator-key-left {
|
|
40
|
+
grid-column: 1;
|
|
41
|
+
grid-row: 2;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.clay-keyboard-arrows-indicator-key-down {
|
|
45
|
+
grid-column: 2;
|
|
46
|
+
grid-row: 2;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.clay-keyboard-arrows-indicator-key-right {
|
|
50
|
+
grid-column: 3;
|
|
51
|
+
grid-row: 2;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.clay-keyboard-arrows-indicator-key-inactive {
|
|
55
|
+
opacity: 0.25;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Modifier for popup-style consumers (DropDown, Picker, Autocomplete, etc.)
|
|
59
|
+
// that want the indicator pinned to the bottom-right of the popup chrome.
|
|
60
|
+
// Visibility is implicit: the popup itself is conditionally rendered only
|
|
61
|
+
// while open, so the indicator follows.
|
|
62
|
+
|
|
63
|
+
.clay-keyboard-arrows-indicator-floating {
|
|
64
|
+
bottom: 0.25rem;
|
|
65
|
+
pointer-events: none;
|
|
66
|
+
position: absolute;
|
|
67
|
+
right: 0.5rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Modifier for inline consumers (Table, MultiSelect, VerticalNav,
|
|
71
|
+
// VerticalBar, DatePicker calendar). The indicator is hidden by default
|
|
72
|
+
// and revealed only when its direct parent has `:focus-within` (i.e. the
|
|
73
|
+
// consumer's focusable scope contains the focused element). Consumers
|
|
74
|
+
// place the indicator as a direct child of the focusable container.
|
|
75
|
+
|
|
76
|
+
.clay-keyboard-arrows-indicator-on-focus {
|
|
77
|
+
visibility: hidden;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:focus-within > .clay-keyboard-arrows-indicator-on-focus {
|
|
81
|
+
visibility: visible;
|
|
82
|
+
}
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
@include clay-menubar-vertical-variant(
|
|
26
26
|
$menubar-vertical-transparent-md
|
|
27
27
|
);
|
|
28
|
+
|
|
29
|
+
.nav-link * {
|
|
30
|
+
letter-spacing: normal;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
&.menubar-decorated {
|
|
@@ -61,6 +65,10 @@
|
|
|
61
65
|
@include clay-menubar-vertical-variant(
|
|
62
66
|
$menubar-vertical-transparent-lg
|
|
63
67
|
);
|
|
68
|
+
|
|
69
|
+
.nav-link * {
|
|
70
|
+
letter-spacing: normal;
|
|
71
|
+
}
|
|
64
72
|
}
|
|
65
73
|
|
|
66
74
|
&.menubar-decorated {
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
.c-horizontal-resizer {
|
|
2
2
|
@include clay-css($c-horizontal-resizer);
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
@include clay-css(map-get($c-horizontal-resizer,
|
|
4
|
+
&::before {
|
|
5
|
+
@include clay-css(map-get($c-horizontal-resizer, before));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
&:
|
|
9
|
-
@include clay-css(map-get($c-horizontal-resizer,
|
|
8
|
+
&:hover::before {
|
|
9
|
+
@include clay-css(map-deep-get($c-horizontal-resizer, hover, before));
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
&:focus-visible::before {
|
|
13
|
+
@include clay-css(map-deep-get($c-horizontal-resizer, focus, before));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.c-horizontal-resizer-end {
|
|
18
|
+
left: 0rem;
|
|
19
|
+
margin-left: -0.25rem;
|
|
20
|
+
margin-right: 0rem;
|
|
21
|
+
right: auto;
|
|
11
22
|
}
|
|
@@ -25,12 +25,14 @@
|
|
|
25
25
|
$toggle-switch-padding,
|
|
26
26
|
$label-spacer-x: 8px
|
|
27
27
|
) {
|
|
28
|
-
@if ($toggle-switch-padding
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
@if not(is-css-var($toggle-switch-padding)) {
|
|
29
|
+
@if ($toggle-switch-padding < 0) {
|
|
30
|
+
$toggle-switch-width: $toggle-switch-width +
|
|
31
|
+
abs($toggle-switch-padding);
|
|
32
|
+
}
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
@return $toggle-switch-width + $label-spacer-x;
|
|
35
|
+
@return calc(#{$toggle-switch-width} + #{$label-spacer-x});
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
/// A function that combines two maps. It adds new key value pairs to the end of the map.
|
|
@@ -74,6 +74,14 @@
|
|
|
74
74
|
|
|
75
75
|
'arrow-join': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" d="M493.5 210.8 301.3 18.7c-18-18-57.2-30.8-90.6-.1l-192 192.3c-31 33.3-17.9 74.4 0 90.5 50.4 45.5 143.9 144.3 192.2 192.2 31.5 31.2 74.3 17 90.5 0l192.3-192c16.2-17.4 31.5-56.6-.2-90.8zM347.9 343.7l-82 100.4c-5.4 5.4-14.3 5.4-19.7 0l-82-100.4c-8.8-8.7-2.6-23.6 9.9-23.6h50c.2-64.1 1.1-67.8-18.7-92.1L141 163.7l22.6-22.6 60.3 60.3V96h64v224h50c12.6.1 18.8 15 10 23.7z" fill="#{$color}"/></svg>',
|
|
76
76
|
|
|
77
|
+
'arrow-key-down': '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" clip-rule="evenodd" d="M3.33 0h9.34A3.33 3.33 0 0 1 16 3.33v9.34A3.33 3.33 0 0 1 12.67 16H3.33A3.33 3.33 0 0 1 0 12.67V3.33A3.33 3.33 0 0 1 3.33 0Zm8.5 6.49-3.42 3.98c-.23.26-.59.26-.82 0L4.17 6.49c-.36-.43-.1-1.16.41-1.16h6.84c.51.01.77.73.41 1.16Z" fill-rule="evenodd" fill="#{$color}"/></svg>',
|
|
78
|
+
|
|
79
|
+
'arrow-key-left': '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" clip-rule="evenodd" d="M3.33 0h9.34A3.33 3.33 0 0 1 16 3.33v9.34A3.33 3.33 0 0 1 12.67 16H3.33A3.33 3.33 0 0 1 0 12.67V3.33A3.33 3.33 0 0 1 3.33 0Zm6.18 11.83L5.53 8.41a.529.529 0 0 1 0-.82l3.98-3.42c.43-.36 1.16-.1 1.16.41v6.84c-.01.51-.73.77-1.16.41Z" fill-rule="evenodd" fill="#{$color}"/></svg>',
|
|
80
|
+
|
|
81
|
+
'arrow-key-right': '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" clip-rule="evenodd" d="M3.33 0h9.34A3.33 3.33 0 0 1 16 3.33v9.34A3.33 3.33 0 0 1 12.67 16H3.33A3.33 3.33 0 0 1 0 12.67V3.33A3.33 3.33 0 0 1 3.33 0Zm3.16 4.17 3.98 3.42c.26.23.26.59 0 .82l-3.98 3.42c-.43.36-1.16.1-1.16-.41V4.58c.01-.51.73-.77 1.16-.41Z" fill-rule="evenodd" fill="#{$color}"/></svg>',
|
|
82
|
+
|
|
83
|
+
'arrow-key-up': '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" clip-rule="evenodd" d="M3.33 0h9.34A3.33 3.33 0 0 1 16 3.33v9.34A3.33 3.33 0 0 1 12.67 16H3.33A3.33 3.33 0 0 1 0 12.67V3.33A3.33 3.33 0 0 1 3.33 0Zm8.5 9.51L8.41 5.53a.529.529 0 0 0-.82 0L4.17 9.51c-.36.43-.1 1.16.41 1.16h6.84c.51-.01.77-.73.41-1.16Z" fill-rule="evenodd" fill="#{$color}"/></svg>',
|
|
84
|
+
|
|
77
85
|
'arrow-right-full': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" d="M255.4 0C124 0 15.9 97.8 0 224h261.2l-.1-.1-27.4-27.2c-29.8-30.3 15.6-75.5 45.5-45.3l82.2 81.9c12.6 12.5 12.6 32.8 0 45.3l-82.5 81.9c-29.3 28.7-76.2-12-45.5-45.3l27.2-27.1.2-.2H0c15.9 126.2 124 224 255.4 224C596.5 511.1 598.5 0 255.4 0z" fill="#{$color}"/></svg>',
|
|
78
86
|
|
|
79
87
|
'arrow-split': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" d="M493.29 210.83 301.17 18.71c-24.95-24.95-65.39-24.95-90.34 0L18.71 210.83c-24.95 24.95-24.95 65.39 0 90.34l192.12 192.12c24.95 24.95 65.39 24.95 90.34 0l192.12-192.12c24.95-24.95 24.95-65.39 0-90.34zM376.81 351.82l-64.37-6.48c-6.18.03-9.24-7.41-4.84-11.81l17.65-17.64L256 246.64l-69.25 69.24 17.65 17.64c4.4 4.4 1.34 11.84-4.84 11.81l-64.37 6.48c-3.81-.02-6.94-3.14-6.95-6.96l6.48-64.37c-.03-6.18 7.41-9.24 11.81-4.84l17.64 17.64c48.25-49.75 59.03-52.6 59.89-73.12v-91.95h63.88v91.92c-.72 19.87 16.02 27.16 59.89 73.14l17.64-17.64c4.4-4.4 11.84-1.35 11.81 4.84l6.48 64.37c-.02 3.84-3.14 6.96-6.95 6.98z" fill="#{$color}"/></svg>',
|
|
@@ -118,6 +126,8 @@
|
|
|
118
126
|
|
|
119
127
|
'bookmarks': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" clip-rule="evenodd" d="M235.363 338.109c11.92-10.059 29.355-10.059 41.275 0l107.363 90.599V64h-256v364.708l107.362-90.599Zm20.638 66.946 113.271 95.586c31.264 26.382 78.729 4.57 78.729-36.641V64c0-35.793-28.654-64-64-64h-256C92.655 0 64 28.207 64 64v400c0 41.211 47.466 63.023 78.73 36.641l113.271-95.586Z" fill-rule="evenodd" fill="#{$color}"/></svg>',
|
|
120
128
|
|
|
129
|
+
'books-brush': '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" d="M3.992 14c0 .553-.446 1-.998 1H.998A.998.998 0 0 1 0 14v-1h3.992v1Zm4.989 0c0 .553-.446 1-.998 1H5.987a.998.998 0 0 1-.998-1v-1h3.992v1Zm4.523-8.549c.63.887 1.287 2.19 1.81 3.695 1.034 2.967.694 5.73.301 5.85-.393.118-2.409-1.931-3.442-4.898-.524-1.504-.816-2.918-.864-3.982a1.75 1.75 0 0 0 1.244.086c.427-.13.758-.407.95-.75ZM3.992 12H0V4h3.992v8Zm4.989 0H4.99V4h3.992v8Zm2.887-10.85c-.188.937.703.892 1.215 1.717.067.108.13.245.19.417.282.81-.193 1.679-1.06 1.942-.868.263-1.8-.18-2.082-.99a1.46 1.46 0 0 1-.048-.173 2.408 2.408 0 0 1 .214-1.787A2.708 2.708 0 0 1 11.898 1l-.03.15ZM2.994 1c.552 0 .998.447.998 1v1H0V2c0-.553.446-1 .998-1h1.996Zm4.989 0c.552 0 .998.447.998 1v1H4.99V2c0-.553.446-1 .998-1h1.996Z" fill="#{$color}"/></svg>',
|
|
130
|
+
|
|
121
131
|
'books': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline books-1-spine-top" d="M96.1 32h-64C14.4 32 .1 46.3.1 64v32h128V64c0-17.7-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline books-1-spine-bottom" d="M.1 448c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32H.1v32z" fill="#{$color}"/><path class="lexicon-icon-outline books-1-spine" fill="#{$color}" d="M.1 128h128v256H.1z"/><path class="lexicon-icon-outline books-2-spine-top" d="M256.1 32h-64c-17.7 0-32 14.3-32 32v32h128V64c0-17.7-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline books-2-spine-bottom" d="M160.1 448c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32h-128v32z" fill="#{$color}"/><path class="lexicon-icon-outline books-2-spine" fill="#{$color}" d="M160.1 128h128v256h-128z"/><path class="lexicon-icon-outline books-3-spine-top" d="m359.2 35.2-31 8.1c-17.1 4.5-27.4 21.9-22.9 39l8.1 31 92.9-24.2-8.1-31c-4.5-17.1-21.9-27.4-39-22.9z" fill="#{$color}"/><path class="lexicon-icon-outline books-3-spine" fill="#{$color}" d="m321.422 144.212 92.909-24.172 64.46 247.756-92.908 24.173z"/><path class="lexicon-icon-outline books-3-spine-bottom" d="M402 453.9c4.5 17.1 21.9 27.4 39 22.9l31-8.1c17.1-4.5 27.4-21.9 22.9-39l-8.1-31-92.9 24.2 8.1 31z" fill="#{$color}"/></svg>',
|
|
122
132
|
|
|
123
133
|
'border-style': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline border-style-rectangle-1" d="M64.001 96c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h384c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-384Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-2" d="M64.001 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h128c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-128Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-3" d="M32.002 384c0-17.673 14.326-32 32-32H128c17.674 0 32 14.327 32 32 0 17.673-14.326 32-32 32h-64c-17.673 0-32-14.327-32-32Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-4" d="M320.001 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h128c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-128Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-5" d="M192.001 384c0-17.673 14.327-32 32-32h64c17.674 0 32 14.327 32 32 0 17.673-14.326 32-32 32h-64c-17.673 0-32-14.327-32-32Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-6" d="M384.001 352c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h64c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-64Z" fill="#{$color}"/></svg>',
|
|
@@ -47,7 +47,7 @@ $breadcrumb-active-color: $gray-600 !default;
|
|
|
47
47
|
$breadcrumb-active-font-weight: null !default;
|
|
48
48
|
|
|
49
49
|
$breadcrumb-item: () !default;
|
|
50
|
-
$breadcrumb-item: map-merge(
|
|
50
|
+
$breadcrumb-item: map-deep-merge(
|
|
51
51
|
(
|
|
52
52
|
font-size: $breadcrumb-font-size,
|
|
53
53
|
font-weight: $breadcrumb-font-weight,
|
|
@@ -132,6 +132,7 @@ $breadcrumb-link: map-deep-merge(
|
|
|
132
132
|
(
|
|
133
133
|
color: $breadcrumb-link-color,
|
|
134
134
|
display: block,
|
|
135
|
+
line-height: 1.5rem,
|
|
135
136
|
text-decoration: $breadcrumb-link-text-decoration,
|
|
136
137
|
text-transform: $breadcrumb-text-transform,
|
|
137
138
|
|
|
@@ -154,6 +155,8 @@ $breadcrumb-toggle: () !default;
|
|
|
154
155
|
$breadcrumb-toggle: map-merge(
|
|
155
156
|
(
|
|
156
157
|
color: $breadcrumb-link-color,
|
|
158
|
+
flex-shrink: 0,
|
|
159
|
+
margin-top: $breadcrumb-padding-y,
|
|
157
160
|
),
|
|
158
161
|
$breadcrumb-toggle
|
|
159
162
|
);
|
|
@@ -161,7 +164,6 @@ $breadcrumb-toggle: map-merge(
|
|
|
161
164
|
$breadcrumb-bar: () !default;
|
|
162
165
|
$breadcrumb-bar: map-deep-merge(
|
|
163
166
|
(
|
|
164
|
-
align-items: center,
|
|
165
167
|
display: flex,
|
|
166
168
|
),
|
|
167
169
|
$breadcrumb-bar
|
|
@@ -676,6 +676,8 @@ $form-group-margin-bottom-mobile: null !default;
|
|
|
676
676
|
|
|
677
677
|
$form-group-sm-margin-bottom: 1rem !default; // 16px
|
|
678
678
|
|
|
679
|
+
$form-group-sm-input-label-font-size: 0.75rem !default; // 12px
|
|
680
|
+
$form-group-sm-input-label-line-height: 1.5 !default; // 150%
|
|
679
681
|
$form-group-sm-input-label-margin-bottom: 0.25rem !default; // 4px
|
|
680
682
|
|
|
681
683
|
$form-group-sm-item-label-spacer: 1.75rem !default; // 28px
|
|
@@ -345,14 +345,14 @@ $spacers: () !default;
|
|
|
345
345
|
$spacers: map-deep-merge(
|
|
346
346
|
(
|
|
347
347
|
0: 0rem,
|
|
348
|
-
1: $spacer * 0.25,
|
|
349
|
-
2: $spacer * 0.5,
|
|
350
|
-
3: $spacer,
|
|
351
|
-
4: $spacer * 1.5,
|
|
352
|
-
5: $spacer * 3,
|
|
353
|
-
6: $spacer * 4.5,
|
|
354
|
-
7: $spacer * 6,
|
|
355
|
-
8: $spacer * 7.5,
|
|
348
|
+
1: calc(#{$spacer} * 0.25),
|
|
349
|
+
2: calc(#{$spacer} * 0.5),
|
|
350
|
+
3: calc(#{$spacer}),
|
|
351
|
+
4: calc(#{$spacer} * 1.5),
|
|
352
|
+
5: calc(#{$spacer} * 3),
|
|
353
|
+
6: calc(#{$spacer} * 4.5),
|
|
354
|
+
7: calc(#{$spacer} * 6),
|
|
355
|
+
8: calc(#{$spacer} * 7.5),
|
|
356
356
|
),
|
|
357
357
|
$spacers
|
|
358
358
|
);
|
|
@@ -9,15 +9,28 @@ $c-horizontal-resizer: map-merge(
|
|
|
9
9
|
right: 0rem,
|
|
10
10
|
top: 0rem,
|
|
11
11
|
user-select: none,
|
|
12
|
-
width: 0.
|
|
12
|
+
width: 0.75rem,
|
|
13
13
|
z-index: 10,
|
|
14
14
|
|
|
15
|
+
before: (
|
|
16
|
+
bottom: 0rem,
|
|
17
|
+
content: '',
|
|
18
|
+
left: 0.25rem,
|
|
19
|
+
position: absolute,
|
|
20
|
+
right: 0.25rem,
|
|
21
|
+
top: 0rem,
|
|
22
|
+
),
|
|
23
|
+
|
|
15
24
|
hover: (
|
|
16
|
-
|
|
25
|
+
before: (
|
|
26
|
+
background-color: $primary-l0,
|
|
27
|
+
),
|
|
17
28
|
),
|
|
18
29
|
|
|
19
30
|
focus: (
|
|
20
|
-
|
|
31
|
+
before: (
|
|
32
|
+
background-color: $primary-l0,
|
|
33
|
+
),
|
|
21
34
|
),
|
|
22
35
|
),
|
|
23
36
|
$c-horizontal-resizer
|