@trilogy-ds/styles 0.0.1-beta.23 → 0.0.1-beta.27
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.
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
padding-right: 0;
|
|
4
4
|
margin: $spacing-4 0;
|
|
5
5
|
|
|
6
|
+
details.accordion ::-webkit-details-marker {
|
|
7
|
+
display: none;
|
|
8
|
+
content: "";
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
.accordion {
|
|
7
12
|
|
|
8
13
|
box-sizing: border-box;
|
|
@@ -17,7 +22,6 @@
|
|
|
17
22
|
max-height: max-content;
|
|
18
23
|
|
|
19
24
|
.accordion-body {
|
|
20
|
-
display: none;
|
|
21
25
|
padding: $spacing-4;
|
|
22
26
|
padding-top: 0 !important;
|
|
23
27
|
}
|
|
@@ -35,18 +39,23 @@
|
|
|
35
39
|
outline-offset: 2px;
|
|
36
40
|
}
|
|
37
41
|
|
|
38
|
-
|
|
39
|
-
|
|
42
|
+
.accordion-header:after {
|
|
43
|
+
max-width: 15px;
|
|
44
|
+
max-height: 15px;
|
|
45
|
+
position: absolute;
|
|
46
|
+
margin-top: 0;
|
|
47
|
+
right: 20px;
|
|
48
|
+
}
|
|
40
49
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
&[open] .accordion-header:after {
|
|
51
|
+
@include arrow('up');
|
|
52
|
+
}
|
|
53
|
+
&:not([open]) .accordion-header:after{
|
|
54
|
+
@include arrow();
|
|
46
55
|
}
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
|
|
57
|
+
&[open] > .accordion-header:first-child {
|
|
58
|
+
font-weight: bold;
|
|
50
59
|
}
|
|
51
60
|
|
|
52
61
|
&:not(:first-child) {
|
|
@@ -97,44 +106,6 @@
|
|
|
97
106
|
}
|
|
98
107
|
}
|
|
99
108
|
|
|
100
|
-
.toggle {
|
|
101
|
-
-moz-appearance: none;
|
|
102
|
-
-webkit-appearance: none;
|
|
103
|
-
user-select: none;
|
|
104
|
-
border: none;
|
|
105
|
-
background-color: transparent;
|
|
106
|
-
cursor: pointer;
|
|
107
|
-
display: inline-block;
|
|
108
|
-
flex-grow: 0;
|
|
109
|
-
flex-shrink: 0;
|
|
110
|
-
height: 20px;
|
|
111
|
-
width: 20px;
|
|
112
|
-
max-height: 20px;
|
|
113
|
-
max-width: 20px;
|
|
114
|
-
min-height: 20px;
|
|
115
|
-
min-width: 20px;
|
|
116
|
-
outline-offset: 8px;
|
|
117
|
-
position: relative;
|
|
118
|
-
vertical-align: top;
|
|
119
|
-
margin-left: auto;
|
|
120
|
-
padding: 0 0 0 10px;
|
|
121
|
-
|
|
122
|
-
&::after {
|
|
123
|
-
display: none;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&::before {
|
|
127
|
-
@include arrow();
|
|
128
|
-
top: -0.25em;
|
|
129
|
-
left: 0;
|
|
130
|
-
right: 0;
|
|
131
|
-
bottom: 0;
|
|
132
|
-
width: 15px;
|
|
133
|
-
height: 5px;
|
|
134
|
-
margin: auto;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
109
|
p {
|
|
139
110
|
margin-bottom: 0;
|
|
140
111
|
}
|