@trilogy-ds/styles 0.0.1-beta-74 → 0.0.1-beta-76
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 +13 -13
- package/framework/src/base/_generic.scss +1 -1
- package/framework/src/base/_helpers.scss +3 -3
- package/framework/src/components/_card.scss +1 -1
- package/framework/src/components/_divider.scss +1 -1
- package/framework/src/components/_fab.scss +10 -2
- package/framework/src/components/_modal.scss +1 -1
- package/framework/src/components/_pagination.scss +6 -3
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_price.scss +2 -2
- package/framework/src/components/_segmented-control.scss +2 -2
- package/framework/src/components/_stepper.scss +2 -2
- package/framework/src/components/_timeline.scss +9 -12
- package/framework/src/elements/_alert.scss +1 -1
- package/framework/src/elements/_all.scss +0 -1
- package/framework/src/elements/_autocomplete.scss +3 -3
- package/framework/src/elements/_box.scss +1 -1
- package/framework/src/elements/_button.scss +2 -2
- package/framework/src/elements/_chips.scss +1 -1
- package/framework/src/elements/_form.scss +4 -4
- package/framework/src/elements/_other.scss +0 -37
- package/framework/src/elements/_progress.scss +3 -3
- package/framework/src/elements/_switch.scss +4 -4
- package/framework/src/elements/_table.scss +10 -10
- package/framework/src/elements/_tag.scss +3 -3
- package/framework/src/elements/_toaster.scss +2 -2
- package/framework/src/grid/_columns.scss +1 -1
- package/framework/src/layout/_section.scss +0 -17
- package/framework/src/theming/buttons_partial.scss +1 -1
- package/framework/src/theming/common_partials.scss +1 -1
- package/framework/src/utilities/_all.scss +1 -1
- package/framework/src/utilities/_background.scss +2 -2
- package/framework/src/utilities/_colors.scss +23 -0
- package/framework/src/utilities/_initial-variables.scss +1 -29
- package/framework/src/utilities/_mixins.scss +13 -6
- package/package.json +1 -1
- package/framework/src/elements/_dot.scss +0 -6
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
|
|
3
3
|
@function getColor( $name ) {
|
|
4
|
-
@if str-slice($name, 0,
|
|
5
|
-
$submane: str-slice($name,
|
|
6
|
-
@return
|
|
4
|
+
@if str-slice($name, 0, 5) == 'fade-' {
|
|
5
|
+
$submane: str-slice($name, 6);
|
|
6
|
+
@return getFadeColor( $submane );
|
|
7
7
|
}
|
|
8
|
-
@return var(--color-#{nth(map-get($colors,$name),
|
|
8
|
+
@return var(--color-#{nth(map-get($colors,$name),3)});
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@function getColorValue( $name ) {
|
|
12
|
-
@return #{nth(map-get($colors,$name),
|
|
12
|
+
@return #{nth(map-get($colors,$name),1)}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@function
|
|
16
|
-
@return #{nth(map-get($colors,$name),
|
|
15
|
+
@function getFadeColorValue( $name ) {
|
|
16
|
+
@return #{nth(map-get($colors,$name),2)}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@function getColorBrandName( $name ) {
|
|
20
|
-
@return #{nth(map-get($colors,$name),
|
|
20
|
+
@return #{nth(map-get($colors,$name),3)}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
@function
|
|
24
|
-
@return var(--color-
|
|
23
|
+
@function getFadeColor( $name ) {
|
|
24
|
+
@return var(--color-fade-#{nth(map-get($colors,$name),3)})
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
:root {
|
|
28
28
|
@each $name, $color in $colors {
|
|
29
|
-
--color-#{nth($color,
|
|
30
|
-
--color-
|
|
29
|
+
--color-#{nth($color,3)}: #{nth($color,1)};
|
|
30
|
+
--color-fade-#{nth($color,3)}: #{nth($color,2)};
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@function invertColor ($colorName) {
|
|
35
|
-
@return var(--color-#{nth(map-get($colors,$colorName),
|
|
35
|
+
@return var(--color-#{nth(map-get($colors,$colorName),4)})
|
|
36
36
|
}
|
|
@@ -7,7 +7,7 @@ $body-line-height: 1.5 !default;
|
|
|
7
7
|
.html-wrap {
|
|
8
8
|
margin: 0;
|
|
9
9
|
padding: 0;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: getColor('background');
|
|
11
11
|
font-size: $body-size;
|
|
12
12
|
-moz-osx-font-smoothing: grayscale;
|
|
13
13
|
-webkit-font-smoothing: antialiased;
|
|
@@ -197,8 +197,8 @@ $alignments: (
|
|
|
197
197
|
|
|
198
198
|
@mixin typography-colors() {
|
|
199
199
|
@each $name, $color in $colors {
|
|
200
|
-
$brandName: nth($color,
|
|
201
|
-
$color: nth($color,
|
|
200
|
+
$brandName: nth($color, 3);
|
|
201
|
+
$color: nth($color, 1);
|
|
202
202
|
$color-invert: invertColor($name);
|
|
203
203
|
|
|
204
204
|
.has-text-#{$brandName} {
|
|
@@ -211,7 +211,7 @@ $alignments: (
|
|
|
211
211
|
background-color: getColor($name) !important;
|
|
212
212
|
}
|
|
213
213
|
.has-background-#{$brandName}-fade {
|
|
214
|
-
background-color:
|
|
214
|
+
background-color: getFadeColor($name) !important;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
}
|
|
@@ -20,12 +20,20 @@
|
|
|
20
20
|
white-space: nowrap;
|
|
21
21
|
|
|
22
22
|
#{$hoverSelector}, &.is-extended, &:focus, &:focus-visible, &:focus-within {
|
|
23
|
-
background
|
|
23
|
+
background: linear-gradient(
|
|
24
|
+
to top,
|
|
25
|
+
rgba(0, 0, 0, 0.25),
|
|
26
|
+
rgba(0, 0, 0, 0.25)
|
|
27
|
+
) getColor('font');
|
|
24
28
|
max-width: 300px;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
&:active {
|
|
28
|
-
background
|
|
32
|
+
background: linear-gradient(
|
|
33
|
+
to top,
|
|
34
|
+
rgba(0, 0, 0, 0.25),
|
|
35
|
+
rgba(0, 0, 0, 0.25)
|
|
36
|
+
) getColor('font');
|
|
29
37
|
}
|
|
30
38
|
|
|
31
39
|
.icon {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
.pagination-previous,
|
|
49
49
|
.pagination-next,
|
|
50
50
|
.pagination-link {
|
|
51
|
-
color: getColor('neutral
|
|
51
|
+
color: getColor('neutral');
|
|
52
52
|
min-width: 2.25em;
|
|
53
53
|
|
|
54
54
|
@include hover();
|
|
@@ -66,9 +66,12 @@
|
|
|
66
66
|
&[aria-current] {
|
|
67
67
|
background-color: getColor('font');
|
|
68
68
|
color: getColor('background');
|
|
69
|
-
|
|
70
69
|
#{$hoverSelector}, &:focus, &:focus-within {
|
|
71
|
-
background
|
|
70
|
+
background: linear-gradient(
|
|
71
|
+
to top,
|
|
72
|
+
rgba(0, 0, 0, 0.25),
|
|
73
|
+
rgba(0, 0, 0, 0.25)
|
|
74
|
+
) getColor('font') !important;
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$plus-symbol-size: 40px;
|
|
2
2
|
|
|
3
|
-
@mixin plus-symbol($color:
|
|
3
|
+
@mixin plus-symbol($color: getFadeColor('neutral'), $text-color: getColor('neutral')) {
|
|
4
4
|
&::after {
|
|
5
5
|
content: "+";
|
|
6
6
|
display: inline-block;
|
|
@@ -170,7 +170,7 @@ $price-levels: (
|
|
|
170
170
|
|
|
171
171
|
&.is-striked {
|
|
172
172
|
position: relative;
|
|
173
|
-
color:
|
|
173
|
+
color: getFadeColor('font');
|
|
174
174
|
|
|
175
175
|
&::before {
|
|
176
176
|
position: absolute;
|
|
@@ -185,7 +185,7 @@ $price-levels: (
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
&.is-inverted {
|
|
188
|
-
color:
|
|
188
|
+
color: getFadeColor('font');
|
|
189
189
|
|
|
190
190
|
&::before {
|
|
191
191
|
border-color: getColor('background');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.segmented-control {
|
|
2
2
|
border-radius: 6px;
|
|
3
3
|
padding: $spacing-1;
|
|
4
|
-
background-color:
|
|
4
|
+
background-color: getFadeColor('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: getFadeColor('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: getFadeColor('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%, getFadeColor('neutral') 50%, getFadeColor('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: getFadeColor('neutral') !default;
|
|
5
5
|
$timeline-marker-icon-size: 2.85em !default;
|
|
6
|
-
$timeline-line-color:
|
|
6
|
+
$timeline-line-color: getFadeColor('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;
|
|
@@ -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: getFadeColor('neutral');
|
|
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: getFadeColor('neutral');
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
&::before {
|
|
124
124
|
content: '';
|
|
125
|
-
background-color:
|
|
125
|
+
background-color: getFadeColor('neutral');
|
|
126
126
|
display: block;
|
|
127
127
|
width: $timeline-line-width;
|
|
128
128
|
position: absolute;
|
|
@@ -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: getFadeColor('neutral');
|
|
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: getFadeColor('neutral');
|
|
354
351
|
}
|
|
355
352
|
|
|
356
353
|
.timeline-marker {
|
|
@@ -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('fade-neutral');
|
|
27
|
+
border-bottom: 1px solid getColor('fade-neutral');
|
|
28
28
|
padding: calc($spacing-1 - 1.25px) calc($spacing-4 - 1px);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|
|
@@ -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 getFadeColor('neutral');
|
|
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: getFadeColorValue('main') !important;
|
|
67
|
+
color: getFadeColorValue('disabled') !important
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&.is-loading {
|
|
@@ -228,7 +228,7 @@ $label-weight: $weight-bold;
|
|
|
228
228
|
@each $name, $pair in $colors-feedback {
|
|
229
229
|
&.is-#{$name} {
|
|
230
230
|
~ .icon {
|
|
231
|
-
color:
|
|
231
|
+
color: getFadeColor($name);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
}
|
|
@@ -242,7 +242,7 @@ $label-weight: $weight-bold;
|
|
|
242
242
|
@each $name, $pair in $colors-feedback {
|
|
243
243
|
&.is-#{$name} {
|
|
244
244
|
~ .icon {
|
|
245
|
-
color:
|
|
245
|
+
color: getFadeColor($name)
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
@@ -405,7 +405,7 @@ $label-weight: $weight-bold;
|
|
|
405
405
|
|
|
406
406
|
&:hover,
|
|
407
407
|
&:focus {
|
|
408
|
-
color: getColor('neutral
|
|
408
|
+
color: getColor('neutral');
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
}
|
|
@@ -569,7 +569,7 @@ $label-weight: $weight-bold;
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
.label {
|
|
572
|
-
color: getColor('neutral
|
|
572
|
+
color: getColor('neutral');
|
|
573
573
|
display: block;
|
|
574
574
|
font-size: $size-normal;
|
|
575
575
|
font-weight: $label-weight;
|
|
@@ -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: getFadeColor('neutral');
|
|
22
22
|
|
|
23
23
|
&::-webkit-progress-bar {
|
|
24
|
-
background-color:
|
|
24
|
+
background-color: getFadeColor('font');
|
|
25
25
|
border-radius: $progressbar-height;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -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: getFadeColor('neutral')
|
|
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: getFadeColor('font');
|
|
49
49
|
margin-left: 16px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:after {
|
|
53
|
-
$colorSvg: encodecolor(
|
|
53
|
+
$colorSvg: encodecolor(getFadeColorValue('font'));
|
|
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: getFadeColor('neutral');
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
td,
|
|
28
28
|
th {
|
|
29
|
-
border: 1px solid
|
|
29
|
+
border: 1px solid getFadeColor('neutral');
|
|
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: getFadeColor($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 getFadeColor('neutral');
|
|
75
75
|
|
|
76
76
|
> p {
|
|
77
77
|
margin: 0;
|
|
@@ -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 getFadeColor('neutral');
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
td {
|
|
162
162
|
&:not(:last-child) {
|
|
163
|
-
border-right: 1px solid
|
|
163
|
+
border-right: 1px solid getFadeColor('neutral');
|
|
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: getFadeColor('neutral');
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.subtable {
|
|
206
|
-
background-color:
|
|
206
|
+
background-color: getFadeColor('neutral');
|
|
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('fade-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: getFadeColor('neutral');
|
|
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: getFadeColor($name);
|
|
124
124
|
}
|
|
125
125
|
&.is-inverted.is-#{$name} {
|
|
126
126
|
color: getColor($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('fade-info');
|
|
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: getFadeColor($name);
|
|
68
68
|
border: 2px solid getColor($name);
|
|
69
69
|
|
|
70
70
|
.icon {
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
&:nth-child(even) {
|
|
17
|
-
background-color: getBGColor('neutral');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:nth-child(odd) {
|
|
21
|
-
background-color: getColor('background');
|
|
22
|
-
}
|
|
23
|
-
|
|
24
16
|
&.is-info {
|
|
25
17
|
background-color: getColor('info');
|
|
26
18
|
color: getColor('background');
|
|
@@ -46,13 +38,4 @@
|
|
|
46
38
|
&.has-pattern-dark {
|
|
47
39
|
@include pattern-dark(120%, 260px, -30%);
|
|
48
40
|
}
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.section:nth-child(2n).is-inverted {
|
|
53
|
-
background-color: getColor('background');
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.section:nth-child(2n-1).is-inverted {
|
|
57
|
-
background-color: getBGColor('neutral');
|
|
58
41
|
}
|
|
@@ -9,7 +9,7 @@ Colors for buttons
|
|
|
9
9
|
$button-colors: (
|
|
10
10
|
'accent':['conversion', 'alternate', 'background'],
|
|
11
11
|
'primary': ['primary', 'main', 'background'],
|
|
12
|
-
'secondary': ['secondary', '
|
|
12
|
+
'secondary': ['secondary', 'fade-main', 'main'],
|
|
13
13
|
'ghost': ['ghost', 'background', 'main'],
|
|
14
14
|
) !default;
|
|
15
15
|
|