@trilogy-ds/styles 0.0.1-beta-65 → 0.0.1-beta-69
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.
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
margin: 8px 0;
|
|
21
21
|
min-height: 56px;
|
|
22
22
|
max-height: max-content;
|
|
23
|
-
transition: 0.3s;
|
|
23
|
+
transition: margin 0.3s;
|
|
24
24
|
|
|
25
25
|
.accordion-header {
|
|
26
26
|
font-weight: bold;
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
@include hoverRules();
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
&:focus-visible {
|
|
38
|
+
&:has(summary:focus-visible) {
|
|
39
39
|
outline: var(--border-active);
|
|
40
|
-
outline-offset: 2px;
|
|
40
|
+
outline-offset: -2px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.accordion-header:after {
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
border-radius: var(--radius);
|
|
66
66
|
transition: margin 300ms ease-out;
|
|
67
67
|
|
|
68
|
+
&:focus-visible{
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
&[open] .accordion-header {
|
|
@@ -7,30 +7,21 @@
|
|
|
7
7
|
display: inline-flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
transition:
|
|
11
|
-
color:
|
|
12
|
-
letter-spacing: -9px;
|
|
10
|
+
transition: max-width 500ms ease-out;
|
|
11
|
+
color: white;
|
|
13
12
|
border: 0;
|
|
14
13
|
box-shadow: 0px 3px 6px 0px #00000033;
|
|
15
|
-
font-
|
|
14
|
+
font-size: 16px;
|
|
16
15
|
font-weight: 600;
|
|
17
|
-
font-size: medium;
|
|
18
16
|
line-height: 20px;
|
|
19
|
-
|
|
20
17
|
z-index: 9;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
max-width: 54px;
|
|
20
|
+
white-space: nowrap;
|
|
21
21
|
|
|
22
22
|
#{$hoverSelector}, &.is-extended, &:focus, &:focus-visible, &:focus-within {
|
|
23
23
|
background-color: getColor('hovered');
|
|
24
|
-
|
|
25
|
-
letter-spacing: initial;
|
|
26
|
-
color: white;
|
|
27
|
-
|
|
28
|
-
.icon,
|
|
29
|
-
.icon .is-small,
|
|
30
|
-
.icon .is-medium,
|
|
31
|
-
.icon .is-large {
|
|
32
|
-
margin-right: 16px;
|
|
33
|
-
}
|
|
24
|
+
max-width: 300px;
|
|
34
25
|
}
|
|
35
26
|
|
|
36
27
|
&:active {
|
|
@@ -38,9 +29,11 @@
|
|
|
38
29
|
}
|
|
39
30
|
|
|
40
31
|
.icon {
|
|
32
|
+
flex: none;
|
|
41
33
|
font-size: 24px !important;
|
|
42
34
|
margin-left: -6px;
|
|
43
|
-
margin-right:
|
|
35
|
+
margin-right: 8px;
|
|
44
36
|
color: white;
|
|
37
|
+
|
|
45
38
|
}
|
|
46
39
|
}
|