@trilogy-ds/styles 0.0.1-beta.26 → 0.0.1-beta.28
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/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_helpers.scss +5 -9
- package/framework/src/base/_loading.scss +1 -1
- package/framework/src/components/_accordion.scss +27 -60
- package/framework/src/components/_card.scss +6 -74
- package/framework/src/components/_countdown.scss +2 -2
- package/framework/src/components/_dropdown.scss +1 -1
- package/framework/src/components/_level.scss +1 -1
- package/framework/src/components/_modal.scss +1 -1
- package/framework/src/components/_otp.scss +1 -1
- package/framework/src/components/_pagination.scss +18 -25
- package/framework/src/components/_popover.scss +1 -1
- package/framework/src/components/_product-tour.scss +1 -1
- package/framework/src/components/_range.scss +2 -2
- package/framework/src/components/_segmented-control.scss +1 -1
- package/framework/src/components/_stepper.scss +2 -2
- package/framework/src/components/_timeline.scss +3 -3
- package/framework/src/elements/_alert.scss +1 -1
- package/framework/src/elements/_badge.scss +2 -2
- package/framework/src/elements/_box.scss +5 -68
- package/framework/src/elements/_button.scss +1 -1
- package/framework/src/elements/_checkbox.scss +1 -1
- package/framework/src/elements/_chips.scss +3 -5
- package/framework/src/elements/_dot.scss +1 -1
- package/framework/src/elements/_entry.scss +0 -1
- package/framework/src/elements/_icon.scss +3 -3
- package/framework/src/elements/_input-gauge.scss +2 -2
- package/framework/src/elements/_loader.scss +1 -1
- package/framework/src/elements/_notification.scss +1 -1
- package/framework/src/elements/_other.scss +1 -1
- package/framework/src/elements/_progress.scss +3 -3
- package/framework/src/elements/_radio.scss +1 -1
- package/framework/src/elements/_select.scss +5 -5
- package/framework/src/elements/_sticker.scss +5 -8
- package/framework/src/elements/_switch.scss +2 -2
- package/framework/src/elements/_table.scss +1 -1
- package/framework/src/elements/_tag.scss +1 -2
- package/framework/src/elements/_textarea.scss +1 -1
- package/framework/src/elements/_toaster.scss +1 -1
- package/framework/src/grid/_columns.scss +2 -2
- package/framework/src/layout/_hero.scss +2 -4
- package/framework/src/layout/_section.scss +4 -11
- package/framework/src/theming/_all.scss +1 -0
- package/framework/src/theming/buttons_partial.scss +1 -1
- package/framework/src/theming/common_partials.scss +9 -0
- package/framework/src/utilities/_controls.scss +2 -5
- package/framework/src/utilities/_initial-variables.scss +0 -2
- package/framework/src/utilities/_mixins.scss +4 -4
- package/package.json +1 -1
|
@@ -423,11 +423,11 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex';
|
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
.is-rounded {
|
|
426
|
-
border-radius:
|
|
426
|
+
border-radius: 9999px !important;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
.is-bordered {
|
|
430
|
-
border:
|
|
430
|
+
border: var(--border);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
.is-vertical-paddingless {
|
|
@@ -436,15 +436,11 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex';
|
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
// Radius
|
|
439
|
-
$radius-list:
|
|
440
|
-
'radius-small': $radius-small,
|
|
441
|
-
'radius': $radius,
|
|
442
|
-
'radius-large': $radius-large,
|
|
443
|
-
);
|
|
439
|
+
$radius-list: ['radius-small', 'radius'];
|
|
444
440
|
|
|
445
|
-
@each $label
|
|
441
|
+
@each $label in $radius-list {
|
|
446
442
|
.has-border-#{$label} {
|
|
447
|
-
border-radius: $
|
|
443
|
+
border-radius: var(--#{$label});
|
|
448
444
|
}
|
|
449
445
|
}
|
|
450
446
|
|
|
@@ -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;
|
|
@@ -10,14 +15,13 @@
|
|
|
10
15
|
flex-direction: column;
|
|
11
16
|
background-color: getColor('background');
|
|
12
17
|
font-size: $size-normal;
|
|
13
|
-
border:
|
|
14
|
-
border-radius:
|
|
18
|
+
border: var(--border);
|
|
19
|
+
border-radius: var(--radius);
|
|
15
20
|
margin: 8px 0;
|
|
16
21
|
min-height: 56px;
|
|
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
|
}
|
|
@@ -31,34 +35,35 @@
|
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
&:focus-visible {
|
|
34
|
-
outline:
|
|
38
|
+
outline: var(--border-active);
|
|
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]:not([aria-disabled="true"]) .accordion-header:after {
|
|
51
|
+
@include arrow('up');
|
|
52
|
+
}
|
|
53
|
+
&:not([open]) .accordion-header:after, &[aria-disabled="true"] .accordion-header:after {
|
|
54
|
+
@include arrow();
|
|
46
55
|
}
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
|
|
57
|
+
&[open]:not([aria-disabled="true"]) > .accordion-header:first-child {
|
|
58
|
+
font-weight: bold;
|
|
50
59
|
}
|
|
51
60
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
border-radius: $radius;
|
|
55
|
-
}
|
|
61
|
+
&[aria-disabled="true"] .accordion-body {
|
|
62
|
+
display: none !important;
|
|
56
63
|
}
|
|
57
64
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
border-radius: 0;
|
|
61
|
-
}
|
|
65
|
+
.accordion-header {
|
|
66
|
+
border-radius: var(--radius);
|
|
62
67
|
}
|
|
63
68
|
|
|
64
69
|
&:first-child {
|
|
@@ -97,44 +102,6 @@
|
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
104
|
|
|
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
105
|
p {
|
|
139
106
|
margin-bottom: 0;
|
|
140
107
|
}
|
|
@@ -143,7 +110,7 @@
|
|
|
143
110
|
overflow-y: hidden;
|
|
144
111
|
|
|
145
112
|
.accordion-content {
|
|
146
|
-
border-radius:
|
|
113
|
+
border-radius: var(--radius);
|
|
147
114
|
margin-bottom: 10px;
|
|
148
115
|
|
|
149
116
|
@include mobile() {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.card {
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
display: flex;
|
|
4
|
-
border-radius:
|
|
4
|
+
border-radius: var(--radius);
|
|
5
|
+
overflow: hidden;
|
|
5
6
|
flex-direction: column;
|
|
6
7
|
position: relative;
|
|
7
8
|
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
|
|
@@ -16,15 +17,11 @@
|
|
|
16
17
|
position: relative;
|
|
17
18
|
flex-shrink: 0;
|
|
18
19
|
overflow: hidden;
|
|
19
|
-
border-radius: $radius $radius 0px 0px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.card-content {
|
|
23
|
-
border-bottom-left-radius: $radius;
|
|
24
|
-
border-bottom-right-radius: $radius;
|
|
25
23
|
padding: $spacing-5;
|
|
26
24
|
flex-grow: 1;
|
|
27
|
-
border-radius: $radius;
|
|
28
25
|
|
|
29
26
|
@include mobile {
|
|
30
27
|
padding: $spacing-4;
|
|
@@ -57,7 +54,7 @@
|
|
|
57
54
|
|
|
58
55
|
&.is-flat {
|
|
59
56
|
box-shadow: none;
|
|
60
|
-
border:
|
|
57
|
+
border: var(--border);
|
|
61
58
|
|
|
62
59
|
.card-content {
|
|
63
60
|
padding-left: 20px;
|
|
@@ -71,26 +68,15 @@
|
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
&.is-active {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
.card-image {
|
|
77
|
-
border-radius: 6px 6px 0px 0px;
|
|
78
|
-
}
|
|
71
|
+
outline: var(--border-active);
|
|
79
72
|
|
|
80
73
|
.card-content {
|
|
81
|
-
|
|
82
|
-
border-bottom-right-radius: ($radius - 2px);
|
|
74
|
+
|
|
83
75
|
padding: 22px;
|
|
84
76
|
@include mobile {
|
|
85
77
|
padding: 14px;
|
|
86
78
|
}
|
|
87
79
|
}
|
|
88
|
-
|
|
89
|
-
&.is-horizontal {
|
|
90
|
-
.card-image {
|
|
91
|
-
border-radius: ($radius - 2px) 0px 0px ($radius - 2px);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
80
|
}
|
|
95
81
|
|
|
96
82
|
&.is-horizontal {
|
|
@@ -110,7 +96,6 @@
|
|
|
110
96
|
|
|
111
97
|
.card-image {
|
|
112
98
|
max-width: 100%;
|
|
113
|
-
border-radius: $radius 0px 0px $radius;
|
|
114
99
|
|
|
115
100
|
@include tablet {
|
|
116
101
|
img {
|
|
@@ -176,31 +161,11 @@
|
|
|
176
161
|
top: 50%;
|
|
177
162
|
transform: translateY(-50%);
|
|
178
163
|
}
|
|
179
|
-
&.is-polyfilled {
|
|
180
|
-
border-top-left-radius: $radius;
|
|
181
|
-
border-top-right-radius: 0;
|
|
182
|
-
border-bottom-left-radius: $radius;
|
|
183
|
-
position: absolute;
|
|
184
|
-
top: 0;
|
|
185
|
-
left: 0;
|
|
186
|
-
bottom: 0;
|
|
187
|
-
right: 0;
|
|
188
|
-
background-size: cover;
|
|
189
|
-
background-repeat: no-repeat;
|
|
190
|
-
background-position: 50% 50%;
|
|
191
|
-
|
|
192
|
-
img {
|
|
193
|
-
visibility: hidden;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
164
|
}
|
|
197
165
|
}
|
|
198
166
|
}
|
|
199
167
|
|
|
200
168
|
.card-content {
|
|
201
|
-
border-top-right-radius: $radius;
|
|
202
|
-
border-bottom-right-radius: $radius;
|
|
203
|
-
border-bottom-left-radius: 0;
|
|
204
169
|
padding-left: 20px;
|
|
205
170
|
padding-right: 20px;
|
|
206
171
|
|
|
@@ -220,10 +185,8 @@
|
|
|
220
185
|
box-shadow: none;
|
|
221
186
|
background: transparent;
|
|
222
187
|
|
|
223
|
-
&.is-inverted .card-image .image img,
|
|
224
|
-
&.is-reversed .card-image .image img,
|
|
225
188
|
.card-image .image img {
|
|
226
|
-
border-radius:
|
|
189
|
+
border-radius: var(--radius);
|
|
227
190
|
}
|
|
228
191
|
|
|
229
192
|
.card-content {
|
|
@@ -253,42 +216,11 @@
|
|
|
253
216
|
&.is-reversed {
|
|
254
217
|
.card-image {
|
|
255
218
|
order: 1;
|
|
256
|
-
border-radius: 0;
|
|
257
|
-
|
|
258
|
-
.image {
|
|
259
|
-
img {
|
|
260
|
-
border-bottom-left-radius: $radius;
|
|
261
|
-
border-bottom-right-radius: $radius;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.card-content {
|
|
267
|
-
border-top-left-radius: $radius;
|
|
268
|
-
border-top-right-radius: $radius;
|
|
269
|
-
border-bottom-left-radius: 0;
|
|
270
|
-
border-bottom-right-radius: 0;
|
|
271
219
|
}
|
|
272
220
|
|
|
273
221
|
&.is-horizontal {
|
|
274
222
|
.card-image {
|
|
275
223
|
order: 1;
|
|
276
|
-
|
|
277
|
-
.image {
|
|
278
|
-
img {
|
|
279
|
-
border-top-left-radius: 0;
|
|
280
|
-
border-top-right-radius: $radius;
|
|
281
|
-
border-bottom-left-radius: 0;
|
|
282
|
-
border-bottom-right-radius: $radius;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.card-content {
|
|
288
|
-
border-top-left-radius: $radius;
|
|
289
|
-
border-top-right-radius: 0;
|
|
290
|
-
border-bottom-left-radius: $radius;
|
|
291
|
-
border-bottom-right-radius: 0;
|
|
292
224
|
}
|
|
293
225
|
}
|
|
294
226
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.countdown {
|
|
2
2
|
border: 1px solid currentcolor;
|
|
3
|
-
border-radius:
|
|
3
|
+
border-radius: var(--radius);
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
padding: $spacing-2;
|
|
6
6
|
color: getColor('font');
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
&.is-small {
|
|
34
34
|
padding: $spacing-2 0;
|
|
35
|
-
border-radius:
|
|
35
|
+
border-radius: var(--radius-small);
|
|
36
36
|
|
|
37
37
|
.count {
|
|
38
38
|
font-size: $text-12;
|
|
@@ -2,25 +2,24 @@
|
|
|
2
2
|
font-size: $size-normal;
|
|
3
3
|
margin: -2.5px;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
5
|
+
.pagination-previous,
|
|
6
|
+
.pagination-next {
|
|
7
|
+
padding-left: 1em;
|
|
8
|
+
padding-right: 1em;
|
|
9
|
+
height: 35px;
|
|
10
|
+
width: 35px;
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
.pagination-link {
|
|
15
|
+
height: 35px;
|
|
16
|
+
border-radius: 9999px;
|
|
17
|
+
}
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
19
|
+
.pagination-list {
|
|
20
|
+
flex: 0 0 auto;
|
|
23
21
|
}
|
|
22
|
+
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.pagination,
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
min-width: 2.25em;
|
|
54
53
|
|
|
55
54
|
@include hover();
|
|
56
|
-
|
|
55
|
+
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
.pagination-previous,
|
|
@@ -64,7 +63,7 @@
|
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
.pagination-link {
|
|
67
|
-
|
|
66
|
+
&[aria-current] {
|
|
68
67
|
background-color: getColor('font');
|
|
69
68
|
color: getColor('background');
|
|
70
69
|
|
|
@@ -75,7 +74,7 @@
|
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
.pagination-ellipsis {
|
|
78
|
-
color:
|
|
77
|
+
color: getColor('background');
|
|
79
78
|
pointer-events: none;
|
|
80
79
|
}
|
|
81
80
|
|
|
@@ -152,9 +151,3 @@
|
|
|
152
151
|
}
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
|
-
|
|
156
|
-
@include desktop {
|
|
157
|
-
.pagination {
|
|
158
|
-
justify-content: center;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
.range-track {
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 8px;
|
|
28
|
-
border-radius:
|
|
28
|
+
border-radius: var(--radius);
|
|
29
29
|
position: absolute;
|
|
30
30
|
margin: auto;
|
|
31
31
|
top: 0;
|
|
32
32
|
bottom: 0;
|
|
33
33
|
@include mobile {
|
|
34
34
|
height: 4px;
|
|
35
|
-
border-radius:
|
|
35
|
+
border-radius: var(--radius-small);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
display: block;
|
|
26
26
|
height: 4px;
|
|
27
27
|
background: getBGColor('font');
|
|
28
|
-
border-radius:
|
|
28
|
+
border-radius: var(--radius-small);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.is-error {
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
.step-bars {
|
|
148
148
|
height: 4px;
|
|
149
149
|
background: getColor('disabled');
|
|
150
|
-
border-radius:
|
|
150
|
+
border-radius: var(--radius-small);
|
|
151
151
|
display: none;
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -137,7 +137,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
137
137
|
.timeline-marker {
|
|
138
138
|
position: absolute;
|
|
139
139
|
background: $timeline-marker-color;
|
|
140
|
-
border-radius:
|
|
140
|
+
border-radius: 9999px;
|
|
141
141
|
content: '';
|
|
142
142
|
display: block;
|
|
143
143
|
height: $timeline-marker-size;
|
|
@@ -157,7 +157,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
background: $timeline-marker-color;
|
|
160
|
-
border-radius:
|
|
160
|
+
border-radius: 9999px;
|
|
161
161
|
display: block;
|
|
162
162
|
overflow: hidden;
|
|
163
163
|
}
|
|
@@ -173,7 +173,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
173
173
|
line-height: size(0.75rem);
|
|
174
174
|
padding: math.div($timeline-icon-size, 3);
|
|
175
175
|
background: $timeline-marker-color;
|
|
176
|
-
border-radius:
|
|
176
|
+
border-radius: 9999px;
|
|
177
177
|
|
|
178
178
|
> i {
|
|
179
179
|
color: getColor('background');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@mixin badge {
|
|
7
7
|
display: inline-flex;
|
|
8
|
-
border-radius:
|
|
8
|
+
border-radius: 9999px;
|
|
9
9
|
color: getColor('background');
|
|
10
10
|
background: getColor('main');
|
|
11
11
|
font-size: $text-10;
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
border-radius:
|
|
74
|
+
border-radius: 9999px;
|
|
75
75
|
}
|
|
76
76
|
}
|