@clayui/css 3.161.0 → 3.163.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 +136 -6
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +134 -5
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +74 -7
- 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/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/icons.svg +1 -1
- package/src/scss/_components.scss +2 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_forms.scss +3 -1
- package/src/scss/atlas/variables/_reorder.scss +1 -1
- package/src/scss/atlas-custom-properties/_variables.scss +0 -2
- package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
- package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
- package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
- package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
- package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
- package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
- package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
- package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
- package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
- package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
- package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
- package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
- package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
- package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
- package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
- package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
- package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
- package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
- package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
- package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
- package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
- package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
- package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
- package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
- package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
- package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
- package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
- package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
- package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
- package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
- package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
- package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
- package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
- package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
- package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
- package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
- package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
- package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
- package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
- package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
- package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
- package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
- package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
- package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
- package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
- package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
- package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
- package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
- package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
- package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
- package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
- package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
- package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
- package/src/scss/atlas-variables.scss +0 -2
- package/src/scss/atlas.scss +0 -2
- package/src/scss/base-variables.scss +0 -2
- package/src/scss/base.scss +0 -2
- 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/_lx-icons-generated.scss +8 -0
- package/src/scss/variables/_breadcrumbs.scss +4 -2
- package/src/scss/variables/_forms.scss +2 -0
- package/src/scss/variables/_resizer.scss +16 -3
package/src/scss/atlas.scss
CHANGED
package/src/scss/base.scss
CHANGED
|
@@ -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
|
}
|
|
@@ -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>',
|
|
@@ -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
|
|
@@ -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
|