@trilogy-ds/styles 0.0.1-beta.9 → 0.0.3-beta-v4
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/_color.scss +9 -39
- package/framework/src/base/_generic.scss +4 -1
- package/framework/src/base/_helpers.scss +13 -38
- package/framework/src/base/_loading.scss +8 -1
- package/framework/src/base/_reset.scss +8 -3
- package/framework/src/components/_accordion.scss +53 -88
- package/framework/src/components/_all.scss +1 -7
- package/framework/src/components/_autolayout.scss +302 -0
- package/framework/src/components/_breadcrumb.scss +39 -34
- package/framework/src/components/_card.scss +8 -79
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +10 -15
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_modal.scss +161 -158
- package/framework/src/components/_otp.scss +10 -29
- package/framework/src/components/_pagination.scss +59 -161
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +119 -170
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_progress-radial.scss +24 -19
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +51 -53
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/components/_tabs.scss +46 -81
- package/framework/src/components/_timeline.scss +27 -112
- package/framework/src/elements/_alert.scss +13 -10
- package/framework/src/elements/_all.scss +1 -4
- package/framework/src/elements/_autocomplete.scss +32 -0
- package/framework/src/elements/_badge.scss +67 -61
- package/framework/src/elements/_box.scss +64 -161
- package/framework/src/elements/_button.scss +15 -141
- package/framework/src/elements/_checkbox.scss +29 -26
- package/framework/src/elements/_chips.scss +69 -85
- package/framework/src/elements/_container.scss +7 -39
- package/framework/src/elements/_entry.scss +76 -88
- package/framework/src/elements/_form.scss +26 -23
- package/framework/src/elements/_icon.scss +4 -4
- package/framework/src/elements/_image.scss +50 -40
- package/framework/src/elements/_input-gauge.scss +32 -33
- package/framework/src/elements/_input-icons.scss +33 -31
- package/framework/src/elements/_link.scss +38 -65
- package/framework/src/elements/_list.scss +45 -44
- package/framework/src/elements/_loader.scss +2 -2
- package/framework/src/elements/_other.scss +0 -37
- package/framework/src/elements/_paragraph.scss +35 -69
- package/framework/src/elements/_progress.scss +33 -22
- package/framework/src/elements/_radio.scss +45 -31
- package/framework/src/elements/_select.scss +85 -304
- package/framework/src/elements/_sticker.scss +12 -27
- package/framework/src/elements/_switch.scss +101 -99
- package/framework/src/elements/_table.scss +175 -228
- package/framework/src/elements/_tag.scss +104 -105
- package/framework/src/elements/_textarea.scss +113 -105
- package/framework/src/elements/_title.scss +89 -87
- package/framework/src/elements/_toaster.scss +4 -5
- package/framework/src/grid/_columns.scss +257 -764
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +89 -215
- package/framework/src/layout/_section.scss +5 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +19 -0
- package/framework/src/utilities/_colors.scss +40 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +4 -15
- package/framework/src/utilities/_initial-variables.scss +4 -36
- package/framework/src/utilities/_mixins.scss +483 -592
- package/framework/src/utilities/_pre.scss +1 -0
- package/package.json +3 -3
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_dropdown.scss +0 -128
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/components/_switch.scss +0 -209
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/layout/_toolbar.scss +0 -100
|
@@ -4,295 +4,242 @@
|
|
|
4
4
|
* @deprecated "Use box.is-paddingless instead"
|
|
5
5
|
*/
|
|
6
6
|
.table-container.box {
|
|
7
|
-
|
|
7
|
+
padding: 0;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.table {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
@include block;
|
|
12
|
+
|
|
13
|
+
background-color: transparent;
|
|
14
|
+
color: getColor('neutral');
|
|
15
|
+
|
|
16
|
+
&:not(:last-child) {
|
|
17
|
+
margin-bottom: 30px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated "Use multiples <tr><th> instead"
|
|
22
|
+
*/
|
|
23
|
+
tbody .is-body-header {
|
|
24
|
+
background-color: getColor('neutral-fade');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
td,
|
|
28
|
+
th {
|
|
29
|
+
border: 1px solid getColor('neutral-fade');
|
|
30
|
+
border-width: 0;
|
|
31
|
+
padding: 20px;
|
|
32
|
+
vertical-align: top;
|
|
33
|
+
text-align: left;
|
|
34
|
+
|
|
35
|
+
// Modifiers
|
|
36
|
+
&.is-narrow {
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
width: 1%;
|
|
18
39
|
}
|
|
19
40
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
41
|
+
&.is-selected {
|
|
42
|
+
background-color: getColor('main');
|
|
43
|
+
color: getColor('background');
|
|
44
|
+
|
|
45
|
+
a,
|
|
46
|
+
strong {
|
|
47
|
+
color: currentColor;
|
|
48
|
+
}
|
|
25
49
|
}
|
|
50
|
+
}
|
|
26
51
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
border-width: 0;
|
|
31
|
-
padding: 20px;
|
|
32
|
-
vertical-align: top;
|
|
33
|
-
text-align: left;
|
|
34
|
-
|
|
35
|
-
// Modifiers
|
|
36
|
-
&.is-narrow {
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
width: 1%;
|
|
39
|
-
}
|
|
52
|
+
th {
|
|
53
|
+
color: getColor('font');
|
|
54
|
+
}
|
|
40
55
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
color: currentColor;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
56
|
+
tr {
|
|
57
|
+
@each $name in $colors-feedback {
|
|
58
|
+
&.is-#{$name} {
|
|
59
|
+
background-color: fadeColor($name);
|
|
60
|
+
}
|
|
49
61
|
}
|
|
50
62
|
|
|
51
63
|
th {
|
|
52
|
-
|
|
64
|
+
background-color: getColor('background');
|
|
53
65
|
}
|
|
54
66
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
}
|
|
67
|
+
th,
|
|
68
|
+
td {
|
|
69
|
+
color: getColor('font');
|
|
70
|
+
vertical-align: middle;
|
|
71
|
+
}
|
|
62
72
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
73
|
+
td {
|
|
74
|
+
border-bottom: 1px solid getColor('neutral-fade');
|
|
66
75
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
td {
|
|
74
|
-
border-bottom: 1px solid getColor('grey-light');
|
|
76
|
+
> p {
|
|
77
|
+
margin: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
75
80
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
81
|
+
&.is-selected {
|
|
82
|
+
background-color: getColor('main');
|
|
83
|
+
color: getColor('background');
|
|
80
84
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
a,
|
|
86
|
+
strong {
|
|
87
|
+
color: currentColor;
|
|
88
|
+
}
|
|
84
89
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
td,
|
|
91
|
+
th {
|
|
92
|
+
border-color: currentColor;
|
|
93
|
+
color: currentColor;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
89
96
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
&.is-expanded,
|
|
98
|
+
&.is-expandable:hover {
|
|
99
|
+
td {
|
|
100
|
+
color: getColor('accent');
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
96
104
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
color: getColor('alternate');
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
105
|
+
&.is-expandable + .is-expansion {
|
|
106
|
+
display: none;
|
|
107
|
+
}
|
|
104
108
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
109
|
+
&.is-expanded + .is-expansion {
|
|
110
|
+
display: table-row;
|
|
111
|
+
}
|
|
108
112
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
113
|
+
&.is-expanded {
|
|
114
|
+
> td {
|
|
115
|
+
border-bottom: 0;
|
|
116
|
+
}
|
|
112
117
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
.toggle {
|
|
119
|
+
transform: rotate(180deg);
|
|
120
|
+
color: inherit;
|
|
121
|
+
}
|
|
117
122
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
123
|
+
+ tr > td {
|
|
124
|
+
border-top: 0;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
122
128
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
129
|
+
thead {
|
|
130
|
+
td,
|
|
131
|
+
th {
|
|
132
|
+
border-width: 0 0 1px;
|
|
133
|
+
color: getColor('font');
|
|
127
134
|
}
|
|
135
|
+
}
|
|
128
136
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
137
|
+
tfoot {
|
|
138
|
+
td,
|
|
139
|
+
th {
|
|
140
|
+
border-width: 2px 0 0;
|
|
141
|
+
color: getColor('font');
|
|
135
142
|
}
|
|
143
|
+
}
|
|
136
144
|
|
|
137
|
-
|
|
145
|
+
tbody {
|
|
146
|
+
tr {
|
|
147
|
+
&:last-child {
|
|
138
148
|
td,
|
|
139
149
|
th {
|
|
140
|
-
|
|
141
|
-
color: getColor('font');
|
|
150
|
+
border-bottom-width: 0;
|
|
142
151
|
}
|
|
152
|
+
}
|
|
143
153
|
}
|
|
154
|
+
}
|
|
144
155
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
&:last-child {
|
|
148
|
-
td,
|
|
149
|
-
th {
|
|
150
|
-
border-bottom-width: 0;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&:not(.is-bordered).is-comparative {
|
|
157
|
-
th {
|
|
158
|
-
border-right: 1px solid getColor('grey-lighter');
|
|
159
|
-
}
|
|
156
|
+
&.has-border-all {
|
|
157
|
+
border: 1px solid getColor('neutral-fade');
|
|
160
158
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
border-right: 1px solid getColor('grey-light');
|
|
164
|
-
}
|
|
165
|
-
}
|
|
159
|
+
th {
|
|
160
|
+
border-right: 1px solid getColor('neutral-fade');
|
|
166
161
|
}
|
|
167
162
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
163
|
+
td {
|
|
164
|
+
&:not(:last-child) {
|
|
165
|
+
border-right: 1px solid getColor('neutral-fade');
|
|
166
|
+
}
|
|
173
167
|
}
|
|
168
|
+
}
|
|
174
169
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
color: getVariantColor('alternate',2);
|
|
181
|
-
font-weight: 600;
|
|
182
|
-
text-transform: uppercase;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
tbody {
|
|
187
|
-
border-top: 1px solid #d8d8d8;
|
|
188
|
-
|
|
189
|
-
tr {
|
|
190
|
-
td {
|
|
191
|
-
height: 40px;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&:not(.is-body-header) td {
|
|
195
|
-
height: 96px;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
170
|
+
&.has-border-inner {
|
|
171
|
+
th {
|
|
172
|
+
&:not(:last-child) {
|
|
173
|
+
border-right: 1px solid getColor('neutral-fade');
|
|
174
|
+
}
|
|
199
175
|
}
|
|
200
176
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
tr {
|
|
208
|
-
&:last-child {
|
|
209
|
-
td,
|
|
210
|
-
th {
|
|
211
|
-
border-bottom-width: 1px;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
177
|
+
td {
|
|
178
|
+
&:not(:last-child) {
|
|
179
|
+
border-right: 1px solid getColor('neutral-fade');
|
|
180
|
+
}
|
|
215
181
|
}
|
|
182
|
+
}
|
|
216
183
|
|
|
217
|
-
|
|
218
|
-
|
|
184
|
+
&.is-compact {
|
|
185
|
+
td,
|
|
186
|
+
th {
|
|
187
|
+
padding: math.div(20px, 3) math.div(20px, 3);
|
|
219
188
|
}
|
|
189
|
+
}
|
|
220
190
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
&:hover {
|
|
225
|
-
background-color: getColor('grey-lighter');
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
191
|
+
&.is-fullwidth {
|
|
192
|
+
width: 100%;
|
|
193
|
+
}
|
|
229
194
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
195
|
+
&.is-striped {
|
|
196
|
+
tbody {
|
|
197
|
+
tr:not(.is-selected) {
|
|
198
|
+
&:nth-child(even) {
|
|
199
|
+
background-color: getColor('neutral-fade');
|
|
238
200
|
}
|
|
201
|
+
}
|
|
239
202
|
}
|
|
203
|
+
}
|
|
240
204
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
}
|
|
205
|
+
.subtable {
|
|
206
|
+
background-color: getColor('neutral-fade');
|
|
207
|
+
border-radius: var(--radius);
|
|
208
|
+
padding: $box-padding * 2;
|
|
247
209
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
tr:not(.is-selected) {
|
|
251
|
-
&:nth-child(even) {
|
|
252
|
-
background-color: getColor('grey-lighter');
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
210
|
+
@include mobile() {
|
|
211
|
+
padding: 15px;
|
|
256
212
|
}
|
|
257
213
|
|
|
258
|
-
.
|
|
259
|
-
|
|
260
|
-
border-radius: $radius;
|
|
261
|
-
padding: $box-padding * 2;
|
|
214
|
+
.table {
|
|
215
|
+
background: transparent;
|
|
262
216
|
|
|
263
|
-
|
|
264
|
-
|
|
217
|
+
tr:not(:first-child) {
|
|
218
|
+
td {
|
|
219
|
+
border-top: 1px solid getColor('neutral');
|
|
265
220
|
}
|
|
221
|
+
}
|
|
266
222
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
tr:not(:first-child) {
|
|
271
|
-
td {
|
|
272
|
-
border-top: 1px solid getColor('grey-dark');
|
|
273
|
-
}
|
|
274
|
-
}
|
|
223
|
+
td {
|
|
224
|
+
border: 0;
|
|
275
225
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
&:first-child {
|
|
280
|
-
padding-left: 0;
|
|
281
|
-
}
|
|
226
|
+
&:first-child {
|
|
227
|
+
padding-left: 0;
|
|
228
|
+
}
|
|
282
229
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
}
|
|
286
|
-
}
|
|
230
|
+
&:last-child {
|
|
231
|
+
padding-right: 0;
|
|
287
232
|
}
|
|
233
|
+
}
|
|
288
234
|
}
|
|
235
|
+
}
|
|
289
236
|
}
|
|
290
237
|
|
|
291
238
|
.table-container {
|
|
292
|
-
|
|
293
|
-
|
|
239
|
+
@include block;
|
|
240
|
+
@include overflow-touch;
|
|
294
241
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
242
|
+
overflow: auto;
|
|
243
|
+
overflow-y: hidden;
|
|
244
|
+
max-width: 100%;
|
|
298
245
|
}
|