@trilogy-ds/styles 0.0.1-beta-110 → 0.0.1-beta-112
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 +17 -9
- package/framework/src/base/_generic.scss +1 -1
- package/framework/src/base/_helpers.scss +5 -2
- package/framework/src/components/_accordion.scss +6 -13
- package/framework/src/components/_all.scss +1 -1
- package/framework/src/components/_autolayout2.scss +38 -0
- package/framework/src/components/_card.scss +1 -1
- package/framework/src/components/_divider.scss +15 -11
- package/framework/src/components/_fab.scss +19 -20
- package/framework/src/components/_level.scss +120 -0
- package/framework/src/components/_media.scss +64 -0
- package/framework/src/components/_modal.scss +3 -7
- package/framework/src/components/_pagination.scss +121 -48
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_price.scss +27 -32
- package/framework/src/components/_segmented-control.scss +2 -2
- package/framework/src/components/_stepper.scss +2 -2
- package/framework/src/components/_timeline.scss +118 -26
- package/framework/src/elements/_alert.scss +3 -1
- package/framework/src/elements/_all.scss +1 -0
- package/framework/src/elements/_autocomplete.scss +3 -3
- package/framework/src/elements/_badge.scss +7 -10
- package/framework/src/elements/_box.scss +2 -2
- package/framework/src/elements/_button.scss +2 -2
- package/framework/src/elements/_chips.scss +3 -3
- package/framework/src/elements/_dot.scss +6 -0
- package/framework/src/elements/_entry.scss +1 -1
- package/framework/src/elements/_form.scss +14 -14
- package/framework/src/elements/_icon.scss +1 -1
- package/framework/src/elements/_loader.scss +1 -1
- package/framework/src/elements/_other.scss +37 -0
- package/framework/src/elements/_progress.scss +5 -5
- package/framework/src/elements/_sticker.scss +1 -1
- package/framework/src/elements/_switch.scss +4 -4
- package/framework/src/elements/_table.scss +11 -11
- package/framework/src/elements/_tag.scss +3 -3
- package/framework/src/elements/_textarea.scss +1 -18
- package/framework/src/elements/_toaster.scss +2 -2
- package/framework/src/grid/_columns.scss +751 -284
- package/framework/src/grid/_rows.scss +42 -44
- package/framework/src/layout/_section.scss +18 -1
- package/framework/src/theming/buttons_partial.scss +2 -2
- package/framework/src/theming/common_partials.scss +1 -1
- package/framework/src/utilities/_all.scss +0 -1
- package/framework/src/utilities/_background.scss +3 -7
- package/framework/src/utilities/_colors.scss +10 -28
- package/framework/src/utilities/_derived-variables.scss +3 -3
- package/framework/src/utilities/_initial-variables.scss +29 -1
- package/framework/src/utilities/_mixins.scss +10 -9
- package/package.json +3 -3
- package/framework/src/components/_autolayout.scss +0 -290
- package/framework/src/utilities/_a11y.scss +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$plus-symbol-size: 40px;
|
|
2
2
|
|
|
3
|
-
@mixin plus-symbol($color:
|
|
3
|
+
@mixin plus-symbol($color: getBGColor('neutral-dark'), $text-color: getColor('neutral-dark')) {
|
|
4
4
|
&::after {
|
|
5
5
|
content: "+";
|
|
6
6
|
display: inline-block;
|
|
@@ -8,30 +8,6 @@ $price-levels: (
|
|
|
8
8
|
($text-20),
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
-
.price-container {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: baseline;
|
|
14
|
-
column-gap: 12px;
|
|
15
|
-
flex-wrap: wrap;
|
|
16
|
-
|
|
17
|
-
.overline {
|
|
18
|
-
width: 100%;
|
|
19
|
-
flex: none;
|
|
20
|
-
margin: 0;
|
|
21
|
-
--font-size: #{$text-64};
|
|
22
|
-
font-size: calc(var(--font-size) * 0.4);
|
|
23
|
-
|
|
24
|
-
@each $price-level in $price-levels {
|
|
25
|
-
$i: index($price-levels, $price-level);
|
|
26
|
-
$font-size: nth($price-level, 1);
|
|
27
|
-
|
|
28
|
-
&:has(~ .price.is-level-#{$i}:not(.is-striked)) {
|
|
29
|
-
--font-size: #{$font-size};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
11
|
.price {
|
|
36
12
|
display: inline-flex;
|
|
37
13
|
font-weight: $weight-semibold;
|
|
@@ -94,6 +70,7 @@ $price-levels: (
|
|
|
94
70
|
&::before {
|
|
95
71
|
border-width: 3px;
|
|
96
72
|
margin-left: -6px;
|
|
73
|
+
margin-top: 4px;
|
|
97
74
|
border-radius: 1px;
|
|
98
75
|
}
|
|
99
76
|
font-size: $text-10;
|
|
@@ -145,6 +122,16 @@ $price-levels: (
|
|
|
145
122
|
color: getColor('background');
|
|
146
123
|
}
|
|
147
124
|
|
|
125
|
+
&.has-suptitle {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-wrap: wrap;
|
|
128
|
+
|
|
129
|
+
.price-suptitle {
|
|
130
|
+
flex-basis: 100%;
|
|
131
|
+
font-size: 0.375em;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
148
135
|
&.has-description {
|
|
149
136
|
.cents,
|
|
150
137
|
.centimes {
|
|
@@ -183,7 +170,7 @@ $price-levels: (
|
|
|
183
170
|
|
|
184
171
|
&.is-striked {
|
|
185
172
|
position: relative;
|
|
186
|
-
color:
|
|
173
|
+
color: getBGColor('font');
|
|
187
174
|
|
|
188
175
|
&::before {
|
|
189
176
|
position: absolute;
|
|
@@ -192,24 +179,33 @@ $price-levels: (
|
|
|
192
179
|
top: 50%;
|
|
193
180
|
right: 0;
|
|
194
181
|
border-top: 2px solid;
|
|
195
|
-
border-color: getColor('
|
|
182
|
+
border-color: getColor('font');
|
|
196
183
|
border-radius: 5px;
|
|
197
184
|
transform: rotate(-20deg);
|
|
198
185
|
}
|
|
199
186
|
|
|
200
187
|
&.is-inverted {
|
|
201
|
-
color:
|
|
188
|
+
color: getBGColor('font');
|
|
202
189
|
|
|
203
190
|
&::before {
|
|
204
191
|
border-color: getColor('background');
|
|
205
192
|
}
|
|
206
193
|
}
|
|
194
|
+
|
|
195
|
+
&.has-suptitle {
|
|
196
|
+
display: inline-flex;
|
|
197
|
+
margin-top: 0.55em;
|
|
198
|
+
|
|
199
|
+
.price-suptitle {
|
|
200
|
+
position: absolute;
|
|
201
|
+
top: -1.4em;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
207
204
|
}
|
|
208
205
|
}
|
|
209
206
|
|
|
210
207
|
.price-tag {
|
|
211
|
-
|
|
212
|
-
background-color: getColor('accent');
|
|
208
|
+
background-color: getColor('alternate');
|
|
213
209
|
margin-left: 10px;
|
|
214
210
|
border-radius: 6px;
|
|
215
211
|
display: inline-flex;
|
|
@@ -220,12 +216,11 @@ $price-levels: (
|
|
|
220
216
|
line-height: 1em;
|
|
221
217
|
align-items: baseline;
|
|
222
218
|
position: relative;
|
|
223
|
-
margin-left: -4px;
|
|
224
219
|
&::before {
|
|
225
220
|
content: '';
|
|
226
221
|
border-color: transparent;
|
|
227
|
-
border-bottom-color: getColor('
|
|
228
|
-
border-left-color: getColor('
|
|
222
|
+
border-bottom-color: getColor('alternate');
|
|
223
|
+
border-left-color: getColor('alternate');
|
|
229
224
|
transform: rotate(45deg);
|
|
230
225
|
border-style: solid;
|
|
231
226
|
border-width: 5px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.segmented-control {
|
|
2
2
|
border-radius: 6px;
|
|
3
3
|
padding: $spacing-1;
|
|
4
|
-
background-color:
|
|
4
|
+
background-color: getBGColor('neutral');
|
|
5
5
|
display: inline-block;
|
|
6
6
|
margin: 16px 0;
|
|
7
7
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
border: 2px solid transparent;
|
|
20
20
|
height: 42px;
|
|
21
21
|
color: getColor('font');
|
|
22
|
-
background-color:
|
|
22
|
+
background-color: getBGColor('neutral');
|
|
23
23
|
|
|
24
24
|
&:not(:last-child) {
|
|
25
25
|
margin-right: 4px;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
height: 4px;
|
|
24
24
|
border-radius: var(--radius-small);
|
|
25
25
|
background-size: 200% !important;
|
|
26
|
-
background-color:
|
|
26
|
+
background-color: getBGColor('neutral');
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&.is-error {
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
|
|
205
205
|
@keyframes progress {
|
|
206
206
|
0%, 100% {
|
|
207
|
-
background-image: linear-gradient(to right, transparent 0, transparent 50%,
|
|
207
|
+
background-image: linear-gradient(to right, transparent 0, transparent 50%, getBGColor('neutral') 50%, getBGColor('neutral') 100%);
|
|
208
208
|
}
|
|
209
209
|
0% {
|
|
210
210
|
background-position: 100% 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
@import "../utilities/spacing";
|
|
3
3
|
|
|
4
|
-
$timeline-marker-color:
|
|
4
|
+
$timeline-marker-color: getBGColor('neutral') !default;
|
|
5
5
|
$timeline-marker-icon-size: 2.85em !default;
|
|
6
|
-
$timeline-line-color:
|
|
6
|
+
$timeline-line-color: getBGColor('neutral') !default;
|
|
7
7
|
$timeline-marker-size: 0.8em !default;
|
|
8
8
|
$timeline-marker-border-size: 0.1em !default;
|
|
9
9
|
$timeline-marker-border: $timeline-marker-border-size solid $timeline-marker-color !default;
|
|
@@ -31,9 +31,20 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
31
31
|
margin-left: 0;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
&::before {
|
|
35
|
+
content: '';
|
|
36
|
+
display: block;
|
|
37
|
+
width: $timeline-line-width;
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 49.80px;
|
|
40
|
+
left: 3rem;
|
|
41
|
+
bottom: 8px;
|
|
42
|
+
height: auto;
|
|
43
|
+
border-radius: 2px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.timeline-item,
|
|
47
|
+
.undone {
|
|
37
48
|
display: flex;
|
|
38
49
|
display: -ms-flexbox;
|
|
39
50
|
display: -webkit-flex;
|
|
@@ -42,39 +53,85 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
42
53
|
padding-bottom: $spacing-2;
|
|
43
54
|
|
|
44
55
|
&::before {
|
|
45
|
-
|
|
46
|
-
display: block;
|
|
47
|
-
width: $timeline-line-width;
|
|
48
|
-
background-color: var(--font-color);
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 49.80px;
|
|
51
|
-
left: 3rem;
|
|
52
|
-
bottom: 8px;
|
|
53
|
-
height: auto;
|
|
54
|
-
border-radius: 2px;
|
|
56
|
+
background-color: getBGColor('neutral');
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
.timeline-marker.is-icon {
|
|
58
|
-
background-color:
|
|
59
|
-
color:
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.active, &.done {
|
|
63
|
-
--font-color: #{getColor('main')};
|
|
64
|
-
--bg-color: #{getColor('background')};
|
|
60
|
+
background-color: getColor('main');
|
|
61
|
+
color: getColor('font');
|
|
65
62
|
}
|
|
66
63
|
|
|
67
64
|
&.active {
|
|
65
|
+
.timeline-marker.is-icon {
|
|
66
|
+
background-color: getColor('main');
|
|
67
|
+
|
|
68
|
+
.icon {
|
|
69
|
+
color: getColor('background');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
68
73
|
.timeline-content {
|
|
69
74
|
p.main-content {
|
|
70
75
|
font-weight: 800;
|
|
71
76
|
}
|
|
72
77
|
}
|
|
78
|
+
|
|
79
|
+
&::before {
|
|
80
|
+
content: '';
|
|
81
|
+
background-color: getColor('main');
|
|
82
|
+
display: block;
|
|
83
|
+
width: $timeline-line-width;
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 49.80px;
|
|
86
|
+
left: 3rem;
|
|
87
|
+
bottom: 8px;
|
|
88
|
+
height: auto;
|
|
89
|
+
border-radius: 2px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.done {
|
|
95
|
+
.timeline-marker.is-icon {
|
|
96
|
+
background-color: getColor('font');
|
|
97
|
+
|
|
98
|
+
.icon {
|
|
99
|
+
color: getColor('background')
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&::before {
|
|
104
|
+
content: '';
|
|
105
|
+
background-color: getColor('font');
|
|
106
|
+
display: block;
|
|
107
|
+
width: $timeline-line-width;
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: 49.80px;
|
|
110
|
+
left: 3rem;
|
|
111
|
+
bottom: 8px;
|
|
112
|
+
height: auto;
|
|
113
|
+
border-radius: 2px;
|
|
114
|
+
}
|
|
73
115
|
}
|
|
74
116
|
|
|
75
117
|
&.cancel {
|
|
76
|
-
|
|
77
|
-
|
|
118
|
+
.timeline-marker.is-icon {
|
|
119
|
+
background-color: getColor('neutral-dark');
|
|
120
|
+
color: getBGColor('neutral');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&::before {
|
|
124
|
+
content: '';
|
|
125
|
+
background-color: getBGColor('neutral-dark');
|
|
126
|
+
display: block;
|
|
127
|
+
width: $timeline-line-width;
|
|
128
|
+
position: absolute;
|
|
129
|
+
top: 49.80px;
|
|
130
|
+
left: 3rem;
|
|
131
|
+
bottom: 8px;
|
|
132
|
+
height: auto;
|
|
133
|
+
border-radius: 2px;
|
|
134
|
+
}
|
|
78
135
|
}
|
|
79
136
|
|
|
80
137
|
.timeline-marker {
|
|
@@ -115,7 +172,13 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
115
172
|
$timeline-marker-border-size * 0.5);
|
|
116
173
|
line-height: size(0.75rem);
|
|
117
174
|
padding: math.div($timeline-icon-size, 3);
|
|
175
|
+
background: $timeline-marker-color;
|
|
118
176
|
border-radius: 9999px;
|
|
177
|
+
|
|
178
|
+
> i {
|
|
179
|
+
color: getColor('background');
|
|
180
|
+
font-size: $timeline-icon-size !important;
|
|
181
|
+
}
|
|
119
182
|
}
|
|
120
183
|
|
|
121
184
|
&.is-outlined {
|
|
@@ -152,7 +215,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
152
215
|
}
|
|
153
216
|
}
|
|
154
217
|
|
|
155
|
-
@each $name in $colors-brand-
|
|
218
|
+
@each $name in $colors-brand-funcionnal {
|
|
156
219
|
$color: getColor($name);
|
|
157
220
|
$brandName: getColorBrandName($name);
|
|
158
221
|
|
|
@@ -232,7 +295,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
232
295
|
}
|
|
233
296
|
}
|
|
234
297
|
|
|
235
|
-
@each $name, $pair in $colors-brand-
|
|
298
|
+
@each $name, $pair in $colors-brand-funcionnal {
|
|
236
299
|
$color: getColor($name);
|
|
237
300
|
$brandName: getColorBrandName($name);
|
|
238
301
|
|
|
@@ -259,10 +322,35 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
259
322
|
}
|
|
260
323
|
|
|
261
324
|
&::before {
|
|
325
|
+
content: '';
|
|
326
|
+
background-color: $timeline-line-color;
|
|
327
|
+
display: block;
|
|
262
328
|
width: calc(100% - 58px);
|
|
329
|
+
position: absolute;
|
|
263
330
|
top: 22.89px;
|
|
264
331
|
left: 59px;
|
|
332
|
+
bottom: 8px;
|
|
265
333
|
height: 2px;
|
|
334
|
+
border-radius: 2px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
&.active::before {
|
|
338
|
+
background-color: getColor('main');
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
&.undone {
|
|
342
|
+
|
|
343
|
+
&::before {
|
|
344
|
+
background-color: getBGColor('neutral');
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&.done::before {
|
|
349
|
+
background-color: getColor('font');
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&.cancel::before {
|
|
353
|
+
background-color: getBGColor('neutral-dark');
|
|
266
354
|
}
|
|
267
355
|
|
|
268
356
|
.timeline-marker {
|
|
@@ -275,6 +363,10 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
275
363
|
padding: 0;
|
|
276
364
|
margin-top: 8px;
|
|
277
365
|
|
|
366
|
+
.main-content {
|
|
367
|
+
margin-left: 0;
|
|
368
|
+
}
|
|
369
|
+
|
|
278
370
|
}
|
|
279
371
|
}
|
|
280
372
|
}
|
|
@@ -11,7 +11,9 @@ a.alert {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.alert {
|
|
14
|
+
|
|
14
15
|
border-radius: var(--radius);
|
|
16
|
+
margin-bottom: 16px;
|
|
15
17
|
position: relative;
|
|
16
18
|
display: flex;
|
|
17
19
|
align-self: flex-start;
|
|
@@ -47,7 +49,7 @@ a.alert {
|
|
|
47
49
|
|
|
48
50
|
@each $name in $colors-feedback {
|
|
49
51
|
&.is-#{$name} {
|
|
50
|
-
background-color:
|
|
52
|
+
background-color: getBGColor($name);
|
|
51
53
|
border: 1px solid getColor($name);
|
|
52
54
|
|
|
53
55
|
.icon {
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
@include hoverRules();
|
|
24
24
|
margin-left: calc(2px - $spacing-3 );
|
|
25
25
|
margin-right: calc(2px - $spacing-3 );
|
|
26
|
-
border-top: 1px solid
|
|
27
|
-
border-bottom: 1px solid
|
|
26
|
+
border-top: 1px solid var(--color-bg-hovered);
|
|
27
|
+
border-bottom: 1px solid var(--color-bg-hovered);
|
|
28
28
|
padding: calc($spacing-1 - 1.25px) calc($spacing-4 - 1px);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|
|
@@ -40,21 +40,18 @@
|
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
|
|
43
|
-
.badge {
|
|
44
|
-
position: relative;
|
|
45
|
-
margin-right: 60px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
43
|
p {
|
|
49
44
|
margin-bottom: 0 !important;
|
|
50
45
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
margin-right: 0;
|
|
54
|
-
}
|
|
46
|
+
+ .badge {
|
|
47
|
+
@include badge;
|
|
55
48
|
|
|
49
|
+
&.is-level {
|
|
50
|
+
position: relative;
|
|
51
|
+
margin-left: 60px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
56
54
|
}
|
|
57
|
-
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
[data-badge-number] {
|
|
@@ -69,7 +69,7 @@ a.box {
|
|
|
69
69
|
border-left: $highlighted-border-width solid transparent;
|
|
70
70
|
border-top-left-radius: calc(var(--radius) + $highlighted-border-width);
|
|
71
71
|
border-bottom-left-radius: calc(var(--radius) + $highlighted-border-width);
|
|
72
|
-
@each $name, $pair in $colors-brand-
|
|
72
|
+
@each $name, $pair in $colors-brand-funcionnal {
|
|
73
73
|
$color: getColor($name);
|
|
74
74
|
$brandName: getColorBrandName($name);
|
|
75
75
|
|
|
@@ -158,7 +158,7 @@ a.box {
|
|
|
158
158
|
margin-right: calc(var(--padding-box)*-1);
|
|
159
159
|
margin-bottom: calc(var(--padding-box)*-1);
|
|
160
160
|
padding: var(--padding-box);
|
|
161
|
-
border-top: 1px solid
|
|
161
|
+
border-top: 1px solid getBGColor('hovered');
|
|
162
162
|
border-bottom-left-radius: var(--radius);
|
|
163
163
|
border-bottom-right-radius: var(--radius);
|
|
164
164
|
}
|
|
@@ -63,8 +63,8 @@ $button-border-width: 2px !default;
|
|
|
63
63
|
|
|
64
64
|
&[disabled],
|
|
65
65
|
&[aria-disabled=true] {
|
|
66
|
-
background-color:
|
|
67
|
-
color:
|
|
66
|
+
background-color: getBGColorValue('main') !important;
|
|
67
|
+
color: getBGColorValue('disabled') !important
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&.is-loading {
|
|
@@ -55,20 +55,20 @@
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
#{$hoverSelector} {
|
|
58
|
-
background-color:
|
|
58
|
+
background-color: var(--color-bg-hovered);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.is-inverted {
|
|
63
63
|
background-color: white;
|
|
64
|
-
color: getColor('
|
|
64
|
+
color: getColor('alternate');
|
|
65
65
|
|
|
66
66
|
&:active,
|
|
67
67
|
&:hover,
|
|
68
68
|
&:focus,
|
|
69
69
|
&:focus-visible,
|
|
70
70
|
&.is-active {
|
|
71
|
-
background-color: getColor('
|
|
71
|
+
background-color: getColor('alternate') !important;
|
|
72
72
|
color: getColor('background') !important;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -5,19 +5,18 @@ $help-size: $size-small;
|
|
|
5
5
|
$label-weight: $weight-bold;
|
|
6
6
|
|
|
7
7
|
.field {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
flex: 1;
|
|
11
|
-
}
|
|
8
|
+
&:not(:first-child) {
|
|
9
|
+
margin-top: $field-margin;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
margin-bottom: 6px;
|
|
12
|
+
&:not(:last-child) {
|
|
13
|
+
margin-bottom: 7.5px;
|
|
17
14
|
}
|
|
18
15
|
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
&.is-fullwidth {
|
|
17
|
+
div.control {
|
|
18
|
+
flex: 1;
|
|
19
|
+
}
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
@include mobile {
|
|
@@ -220,7 +219,7 @@ $label-weight: $weight-bold;
|
|
|
220
219
|
@each $name, $pair in $colors-feedback {
|
|
221
220
|
&.is-#{$name} {
|
|
222
221
|
~ .icon {
|
|
223
|
-
color:
|
|
222
|
+
color: getBGColor($name);
|
|
224
223
|
}
|
|
225
224
|
}
|
|
226
225
|
}
|
|
@@ -234,7 +233,7 @@ $label-weight: $weight-bold;
|
|
|
234
233
|
@each $name, $pair in $colors-feedback {
|
|
235
234
|
&.is-#{$name} {
|
|
236
235
|
~ .icon {
|
|
237
|
-
color:
|
|
236
|
+
color: getBGColor($name)
|
|
238
237
|
}
|
|
239
238
|
}
|
|
240
239
|
}
|
|
@@ -397,13 +396,14 @@ $label-weight: $weight-bold;
|
|
|
397
396
|
|
|
398
397
|
&:hover,
|
|
399
398
|
&:focus {
|
|
400
|
-
color: getColor('neutral');
|
|
399
|
+
color: getColor('neutral-dark');
|
|
401
400
|
}
|
|
402
401
|
}
|
|
403
402
|
}
|
|
404
403
|
}
|
|
405
404
|
|
|
406
405
|
+ .help {
|
|
406
|
+
margin: 4px 0;
|
|
407
407
|
font-size: $text-12;
|
|
408
408
|
font-weight: $weight-medium;
|
|
409
409
|
}
|
|
@@ -560,7 +560,7 @@ $label-weight: $weight-bold;
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
.label {
|
|
563
|
-
color: getColor('neutral');
|
|
563
|
+
color: getColor('neutral-dark');
|
|
564
564
|
display: block;
|
|
565
565
|
font-size: $size-normal;
|
|
566
566
|
font-weight: $label-weight;
|
|
@@ -584,7 +584,7 @@ $label-weight: $weight-bold;
|
|
|
584
584
|
font-size: $help-size;
|
|
585
585
|
margin-top: 2.5px;
|
|
586
586
|
|
|
587
|
-
@each $name, $pair in $colors-brand-
|
|
587
|
+
@each $name, $pair in $colors-brand-funcionnal {
|
|
588
588
|
$color: getColor($name);
|
|
589
589
|
$brandName: getColorBrandName($name);
|
|
590
590
|
|
|
@@ -5,3 +5,40 @@
|
|
|
5
5
|
.delete {
|
|
6
6
|
@include delete;
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
.heading {
|
|
10
|
+
display: block;
|
|
11
|
+
font-size: 11px;
|
|
12
|
+
letter-spacing: 1px;
|
|
13
|
+
margin-bottom: 5px;
|
|
14
|
+
text-transform: uppercase;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.highlight {
|
|
18
|
+
@include block;
|
|
19
|
+
|
|
20
|
+
font-weight: $weight-normal;
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
padding: 0;
|
|
24
|
+
|
|
25
|
+
pre {
|
|
26
|
+
overflow: auto;
|
|
27
|
+
max-width: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.number {
|
|
32
|
+
align-items: center;
|
|
33
|
+
background-color: getBGColor('neutral-dark');
|
|
34
|
+
border-radius: 9999px;
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
font-size: $size-medium;
|
|
37
|
+
height: 2em;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
margin-right: 15px;
|
|
40
|
+
min-width: 2.5em;
|
|
41
|
+
padding: 2.5px 5px;
|
|
42
|
+
text-align: center;
|
|
43
|
+
vertical-align: top;
|
|
44
|
+
}
|