@trilogy-ds/styles 0.0.1-beta-103 → 0.0.1-beta-104
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 -17
- package/framework/src/base/_generic.scss +1 -1
- package/framework/src/base/_helpers.scss +2 -5
- package/framework/src/components/_accordion.scss +13 -6
- package/framework/src/components/_all.scss +1 -1
- package/framework/src/components/_autolayout.scss +290 -0
- package/framework/src/components/_card.scss +1 -1
- package/framework/src/components/_divider.scss +1 -2
- package/framework/src/components/_fab.scss +20 -19
- package/framework/src/components/_modal.scss +7 -3
- package/framework/src/components/_pagination.scss +6 -3
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_price.scss +31 -26
- package/framework/src/components/_segmented-control.scss +2 -2
- package/framework/src/components/_stepper.scss +2 -2
- package/framework/src/components/_timeline.scss +11 -14
- package/framework/src/elements/_alert.scss +1 -3
- package/framework/src/elements/_all.scss +0 -1
- package/framework/src/elements/_autocomplete.scss +3 -3
- package/framework/src/elements/_badge.scss +10 -7
- 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/_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 +0 -37
- 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 +18 -1
- package/framework/src/elements/_toaster.scss +2 -2
- package/framework/src/grid/_columns.scss +1 -1
- package/framework/src/layout/_section.scss +1 -18
- package/framework/src/theming/buttons_partial.scss +2 -2
- package/framework/src/theming/common_partials.scss +1 -1
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +1 -0
- package/framework/src/utilities/_background.scss +7 -3
- package/framework/src/utilities/_colors.scss +41 -0
- package/framework/src/utilities/_derived-variables.scss +3 -3
- package/framework/src/utilities/_initial-variables.scss +1 -29
- package/framework/src/utilities/_mixins.scss +8 -9
- package/package.json +3 -3
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/elements/_dot.scss +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.segmented-control {
|
|
2
2
|
border-radius: 6px;
|
|
3
3
|
padding: $spacing-1;
|
|
4
|
-
background-color:
|
|
4
|
+
background-color: getColor('neutral-fade');
|
|
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: getColor('neutral-fade');
|
|
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: getColor('neutral-fade');
|
|
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%, getColor('neutral-fade') 50%, getColor('neutral-fade') 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: getColor('neutral-fade') !default;
|
|
5
5
|
$timeline-marker-icon-size: 2.85em !default;
|
|
6
|
-
$timeline-line-color:
|
|
6
|
+
$timeline-line-color: getColor('neutral-fade') !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;
|
|
@@ -53,7 +53,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
53
53
|
padding-bottom: $spacing-2;
|
|
54
54
|
|
|
55
55
|
&::before {
|
|
56
|
-
background-color:
|
|
56
|
+
background-color: getColor('neutral-fade');
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.timeline-marker.is-icon {
|
|
@@ -116,13 +116,13 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
116
116
|
|
|
117
117
|
&.cancel {
|
|
118
118
|
.timeline-marker.is-icon {
|
|
119
|
-
background-color: getColor('neutral
|
|
120
|
-
color:
|
|
119
|
+
background-color: getColor('neutral');
|
|
120
|
+
color: getColor('neutral-fade');
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
&::before {
|
|
124
124
|
content: '';
|
|
125
|
-
background-color:
|
|
125
|
+
background-color: getColor('neutral-fade');
|
|
126
126
|
display: block;
|
|
127
127
|
width: $timeline-line-width;
|
|
128
128
|
position: absolute;
|
|
@@ -215,7 +215,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
@each $name in $colors-brand-
|
|
218
|
+
@each $name in $colors-brand-functionnal {
|
|
219
219
|
$color: getColor($name);
|
|
220
220
|
$brandName: getColorBrandName($name);
|
|
221
221
|
|
|
@@ -295,7 +295,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
@each $name, $pair in $colors-brand-
|
|
298
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
299
299
|
$color: getColor($name);
|
|
300
300
|
$brandName: getColorBrandName($name);
|
|
301
301
|
|
|
@@ -338,11 +338,8 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
338
338
|
background-color: getColor('main');
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
&.undone {
|
|
342
|
-
|
|
343
|
-
&::before {
|
|
344
|
-
background-color: getBGColor('neutral');
|
|
345
|
-
}
|
|
341
|
+
&.undone::before {
|
|
342
|
+
background-color: getColor('neutral-fade');
|
|
346
343
|
}
|
|
347
344
|
|
|
348
345
|
&.done::before {
|
|
@@ -350,7 +347,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
350
347
|
}
|
|
351
348
|
|
|
352
349
|
&.cancel::before {
|
|
353
|
-
background-color:
|
|
350
|
+
background-color: getColor('neutral-fade');
|
|
354
351
|
}
|
|
355
352
|
|
|
356
353
|
.timeline-marker {
|
|
@@ -11,9 +11,7 @@ a.alert {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.alert {
|
|
14
|
-
|
|
15
14
|
border-radius: var(--radius);
|
|
16
|
-
margin-bottom: 16px;
|
|
17
15
|
position: relative;
|
|
18
16
|
display: flex;
|
|
19
17
|
align-self: flex-start;
|
|
@@ -49,7 +47,7 @@ a.alert {
|
|
|
49
47
|
|
|
50
48
|
@each $name in $colors-feedback {
|
|
51
49
|
&.is-#{$name} {
|
|
52
|
-
background-color:
|
|
50
|
+
background-color: fadeColor($name);
|
|
53
51
|
border: 1px solid getColor($name);
|
|
54
52
|
|
|
55
53
|
.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 getColor('neutral-fade');
|
|
27
|
+
border-bottom: 1px solid getColor('neutral-fade');
|
|
28
28
|
padding: calc($spacing-1 - 1.25px) calc($spacing-4 - 1px);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|
|
@@ -40,18 +40,21 @@
|
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
|
|
43
|
+
.badge {
|
|
44
|
+
position: relative;
|
|
45
|
+
margin-right: 60px;
|
|
46
|
+
}
|
|
47
|
+
|
|
43
48
|
p {
|
|
44
49
|
margin-bottom: 0 !important;
|
|
45
50
|
|
|
46
|
-
+ .badge {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
&.is-level {
|
|
50
|
-
position: relative;
|
|
51
|
-
margin-left: 60px;
|
|
52
|
-
}
|
|
51
|
+
& + .badge {
|
|
52
|
+
margin-left: 60px;
|
|
53
|
+
margin-right: 0;
|
|
53
54
|
}
|
|
55
|
+
|
|
54
56
|
}
|
|
57
|
+
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
[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-functionnal {
|
|
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 getColor('neutral-fade');
|
|
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: getColorValue('main-fade') !important;
|
|
67
|
+
color: getColorValue('disabled-fade') !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: getColor('neutral-fade');
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.is-inverted {
|
|
63
63
|
background-color: white;
|
|
64
|
-
color: getColor('
|
|
64
|
+
color: getColor('accent');
|
|
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('accent') !important;
|
|
72
72
|
color: getColor('background') !important;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -5,20 +5,21 @@ $help-size: $size-small;
|
|
|
5
5
|
$label-weight: $weight-bold;
|
|
6
6
|
|
|
7
7
|
.field {
|
|
8
|
-
&:not(:first-child) {
|
|
9
|
-
margin-top: $field-margin;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:not(:last-child) {
|
|
13
|
-
margin-bottom: 7.5px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
8
|
&.is-fullwidth {
|
|
17
9
|
div.control {
|
|
18
10
|
flex: 1;
|
|
19
11
|
}
|
|
20
12
|
}
|
|
21
13
|
|
|
14
|
+
.input-label {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
margin-bottom: 6px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.input-sample {
|
|
20
|
+
margin-bottom: 10px !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
22
23
|
@include mobile {
|
|
23
24
|
&.is-very-short,
|
|
24
25
|
&.is-short {
|
|
@@ -219,7 +220,7 @@ $label-weight: $weight-bold;
|
|
|
219
220
|
@each $name, $pair in $colors-feedback {
|
|
220
221
|
&.is-#{$name} {
|
|
221
222
|
~ .icon {
|
|
222
|
-
color:
|
|
223
|
+
color: fadeColor($name);
|
|
223
224
|
}
|
|
224
225
|
}
|
|
225
226
|
}
|
|
@@ -233,7 +234,7 @@ $label-weight: $weight-bold;
|
|
|
233
234
|
@each $name, $pair in $colors-feedback {
|
|
234
235
|
&.is-#{$name} {
|
|
235
236
|
~ .icon {
|
|
236
|
-
color:
|
|
237
|
+
color: fadeColor($name);
|
|
237
238
|
}
|
|
238
239
|
}
|
|
239
240
|
}
|
|
@@ -396,14 +397,13 @@ $label-weight: $weight-bold;
|
|
|
396
397
|
|
|
397
398
|
&:hover,
|
|
398
399
|
&:focus {
|
|
399
|
-
color: getColor('neutral
|
|
400
|
+
color: getColor('neutral');
|
|
400
401
|
}
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
405
|
|
|
405
406
|
+ .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');
|
|
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-functionnal {
|
|
588
588
|
$color: getColor($name);
|
|
589
589
|
$brandName: getColorBrandName($name);
|
|
590
590
|
|
|
@@ -5,40 +5,3 @@
|
|
|
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
|
-
}
|
|
@@ -18,10 +18,10 @@ $progressbar-small: 5px;
|
|
|
18
18
|
-moz-appearance: none;
|
|
19
19
|
-webkit-appearance: none;
|
|
20
20
|
|
|
21
|
-
background-color:
|
|
21
|
+
background-color: getColor('neutral-fade');
|
|
22
22
|
|
|
23
23
|
&::-webkit-progress-bar {
|
|
24
|
-
background-color:
|
|
24
|
+
background-color: getColor('main-fade');
|
|
25
25
|
border-radius: $progressbar-height;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -40,7 +40,7 @@ $progressbar-small: 5px;
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
// Colors
|
|
43
|
-
@each $name in $colors-brand-
|
|
43
|
+
@each $name in $colors-brand-functionnal {
|
|
44
44
|
$brandName: getColorBrandName($name);
|
|
45
45
|
$color: getColor($name);
|
|
46
46
|
|
|
@@ -81,7 +81,7 @@ $progressbar-small: 5px;
|
|
|
81
81
|
border-radius: 0 $progressbar-height $progressbar-height 0;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
@each $name in $colors-brand-
|
|
84
|
+
@each $name in $colors-brand-functionnal {
|
|
85
85
|
$color: getColor($name);
|
|
86
86
|
$color-invert: invertColor($name);
|
|
87
87
|
$brandName: getColorBrandName($name);
|
|
@@ -98,7 +98,7 @@ $progress-circle-slices: (
|
|
|
98
98
|
secondary: getColor('info'),
|
|
99
99
|
tertiary: getColor('font'),
|
|
100
100
|
warning: getColor('warning'),
|
|
101
|
-
empty:
|
|
101
|
+
empty: getColor('neutral-fade')
|
|
102
102
|
);
|
|
103
103
|
|
|
104
104
|
.progress-circle {
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
&:disabled ~ label {
|
|
17
17
|
&:after {
|
|
18
|
-
$colorSvg: encodecolor(getColorValue('neutral
|
|
18
|
+
$colorSvg: encodecolor(getColorValue('neutral'));
|
|
19
19
|
content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-width="3.2" fill="none"><path d="M12.6 12.6L31.4 31.4M12.6 31.4L31.4 12.6"/></svg>');
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&:disabled:checked ~ label {
|
|
24
24
|
&:after {
|
|
25
|
-
$colorSvg: encodecolor(getColorValue('neutral
|
|
25
|
+
$colorSvg: encodecolor(getColorValue('neutral'));
|
|
26
26
|
content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" fill="none"><path d="M11.3 22.4L18.1 29.3L32.7 14.7"/></svg>');
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
border-radius: 9999px;
|
|
46
46
|
width: 44px;
|
|
47
47
|
height: 22px;
|
|
48
|
-
background-color:
|
|
48
|
+
background-color: getColor('main-fade');
|
|
49
49
|
margin-left: 16px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:after {
|
|
53
|
-
$colorSvg: encodecolor(
|
|
53
|
+
$colorSvg: encodecolor(getColorValue('main-fade'));
|
|
54
54
|
content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-width="3.2" fill="none"><path d="M12.6 12.6L31.4 31.4M12.6 31.4L31.4 12.6"/></svg>');
|
|
55
55
|
position: absolute;
|
|
56
56
|
top: 50%;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@include block;
|
|
12
12
|
|
|
13
13
|
background-color: transparent;
|
|
14
|
-
color: getColor('neutral
|
|
14
|
+
color: getColor('neutral');
|
|
15
15
|
|
|
16
16
|
&:not(:last-child) {
|
|
17
17
|
margin-bottom: 30px;
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
* @deprecated "Use multiples <tr><th> instead"
|
|
22
22
|
*/
|
|
23
23
|
tbody .is-body-header {
|
|
24
|
-
background-color:
|
|
24
|
+
background-color: getColor('neutral-fade');
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
td,
|
|
28
28
|
th {
|
|
29
|
-
border: 1px solid
|
|
29
|
+
border: 1px solid getColor('neutral-fade');
|
|
30
30
|
border-width: 0;
|
|
31
31
|
padding: 20px;
|
|
32
32
|
vertical-align: top;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
tr {
|
|
57
57
|
@each $name in $colors-feedback {
|
|
58
58
|
&.is-#{$name} {
|
|
59
|
-
background-color:
|
|
59
|
+
background-color: fadeColor($name);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
td {
|
|
74
|
-
border-bottom: 1px solid
|
|
74
|
+
border-bottom: 1px solid getColor('neutral-fade');
|
|
75
75
|
|
|
76
76
|
> p {
|
|
77
77
|
margin: 0;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
&.is-expanded,
|
|
98
98
|
&.is-expandable:hover {
|
|
99
99
|
td {
|
|
100
|
-
color: getColor('
|
|
100
|
+
color: getColor('accent');
|
|
101
101
|
cursor: pointer;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -155,12 +155,12 @@
|
|
|
155
155
|
|
|
156
156
|
&:not(.is-bordered).is-comparative {
|
|
157
157
|
th {
|
|
158
|
-
border-right: 1px solid
|
|
158
|
+
border-right: 1px solid getColor('neutral-fade');
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
td {
|
|
162
162
|
&:not(:last-child) {
|
|
163
|
-
border-right: 1px solid
|
|
163
|
+
border-right: 1px solid getColor('neutral-fade');
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -196,14 +196,14 @@
|
|
|
196
196
|
tbody {
|
|
197
197
|
tr:not(.is-selected) {
|
|
198
198
|
&:nth-child(even) {
|
|
199
|
-
background-color:
|
|
199
|
+
background-color: getColor('neutral-fade');
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.subtable {
|
|
206
|
-
background-color:
|
|
206
|
+
background-color: getColor('neutral-fade');
|
|
207
207
|
border-radius: var(--radius);
|
|
208
208
|
padding: $box-padding * 2;
|
|
209
209
|
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
|
|
217
217
|
tr:not(:first-child) {
|
|
218
218
|
td {
|
|
219
|
-
border-top: 1px solid getColor('neutral
|
|
219
|
+
border-top: 1px solid getColor('neutral');
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
@@ -85,7 +85,7 @@ $tag-delete-margin: 1px !default;
|
|
|
85
85
|
|
|
86
86
|
&.is-inverted {
|
|
87
87
|
.tag {
|
|
88
|
-
background-color: getColor(
|
|
88
|
+
background-color: getColor('background');
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -94,7 +94,7 @@ $tag-delete-margin: 1px !default;
|
|
|
94
94
|
|
|
95
95
|
.tag {
|
|
96
96
|
align-items: center;
|
|
97
|
-
background-color:
|
|
97
|
+
background-color: getColor('neutral-fade');
|
|
98
98
|
border-radius: 9999px;
|
|
99
99
|
color: getColor('font');
|
|
100
100
|
display: inline-flex;
|
|
@@ -120,7 +120,7 @@ $tag-delete-margin: 1px !default;
|
|
|
120
120
|
|
|
121
121
|
@each $name in $colors-feedback {
|
|
122
122
|
&.is-#{$name}:not(.is-inverted) {
|
|
123
|
-
background-color:
|
|
123
|
+
background-color: fadeColor($name);
|
|
124
124
|
}
|
|
125
125
|
&.is-inverted.is-#{$name} {
|
|
126
126
|
color: getColor($name);
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
margin: 16px 0;
|
|
4
4
|
|
|
5
|
+
.textarea-label {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
margin-bottom: 6px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.textarea-sample {
|
|
11
|
+
margin-bottom: 10px !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
5
14
|
textarea.textarea {
|
|
6
15
|
padding: $spacing-4;
|
|
7
16
|
border-radius: var(--radius-small);
|
|
@@ -65,6 +74,14 @@
|
|
|
65
74
|
font-size: 16px;
|
|
66
75
|
}
|
|
67
76
|
|
|
77
|
+
.textarea-label + .textarea-sample ~ span.icon {
|
|
78
|
+
top: 72px !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.textarea-label ~ span.icon {
|
|
82
|
+
top: 45px !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
68
85
|
span.icon {
|
|
69
86
|
position: absolute;
|
|
70
87
|
top: $spacing-4;
|
|
@@ -79,7 +96,7 @@
|
|
|
79
96
|
}
|
|
80
97
|
|
|
81
98
|
// Colors
|
|
82
|
-
@each $name, $pair in $colors-brand-
|
|
99
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
83
100
|
$color: getColor($name);
|
|
84
101
|
$color-invert: invertColor($name);
|
|
85
102
|
$brandName: getColorBrandName($name);
|
|
@@ -13,7 +13,7 @@ a.toaster {
|
|
|
13
13
|
@include apply-shadow-box();
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
background-color: getColor('
|
|
16
|
+
background-color: getColor('info-fade');
|
|
17
17
|
border-radius: var(--radius);
|
|
18
18
|
margin-bottom: 16px;
|
|
19
19
|
position: relative;
|
|
@@ -64,7 +64,7 @@ a.toaster {
|
|
|
64
64
|
|
|
65
65
|
@each $name in $colors-feedback {
|
|
66
66
|
&.is-#{$name} {
|
|
67
|
-
background-color:
|
|
67
|
+
background-color: fadeColor($name);
|
|
68
68
|
border: 2px solid getColor($name);
|
|
69
69
|
|
|
70
70
|
.icon {
|