@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
|
@@ -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: getBGColor('hovered');
|
|
22
22
|
|
|
23
23
|
&::-webkit-progress-bar {
|
|
24
|
-
background-color:
|
|
24
|
+
background-color: getBGColor('font');
|
|
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-funcionnal {
|
|
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-funcionnal {
|
|
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: getBGColor('neutral-dark')
|
|
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-dark'));
|
|
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-dark'));
|
|
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: getBGColor('font');
|
|
49
49
|
margin-left: 16px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:after {
|
|
53
|
-
$colorSvg: encodecolor(
|
|
53
|
+
$colorSvg: encodecolor(getBGColorValue('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-dark');
|
|
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: getBGColor('neutral-dark');
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
td,
|
|
28
28
|
th {
|
|
29
|
-
border: 1px solid
|
|
29
|
+
border: 1px solid getBGColor('neutral-dark');
|
|
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: getBGColor($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 getBGColor('neutral-dark');
|
|
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('alternate');
|
|
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 getBGColor('neutral');
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
td {
|
|
162
162
|
&:not(:last-child) {
|
|
163
|
-
border-right: 1px solid
|
|
163
|
+
border-right: 1px solid getBGColor('neutral-dark');
|
|
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: getBGColor('neutral');
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.subtable {
|
|
206
|
-
background-color:
|
|
206
|
+
background-color: getBGColor('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-dark');
|
|
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('background');
|
|
88
|
+
background-color: getColor(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: getBGColor('neutral-dark');
|
|
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: getBGColor($name);
|
|
124
124
|
}
|
|
125
125
|
&.is-inverted.is-#{$name} {
|
|
126
126
|
color: getColor($name);
|
|
@@ -2,15 +2,6 @@
|
|
|
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
|
-
|
|
14
5
|
textarea.textarea {
|
|
15
6
|
padding: $spacing-4;
|
|
16
7
|
border-radius: var(--radius-small);
|
|
@@ -74,14 +65,6 @@
|
|
|
74
65
|
font-size: 16px;
|
|
75
66
|
}
|
|
76
67
|
|
|
77
|
-
.textarea-label + .textarea-sample ~ span.icon {
|
|
78
|
-
top: 72px !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.textarea-label ~ span.icon {
|
|
82
|
-
top: 45px !important;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
68
|
span.icon {
|
|
86
69
|
position: absolute;
|
|
87
70
|
top: $spacing-4;
|
|
@@ -96,7 +79,7 @@
|
|
|
96
79
|
}
|
|
97
80
|
|
|
98
81
|
// Colors
|
|
99
|
-
@each $name, $pair in $colors-brand-
|
|
82
|
+
@each $name, $pair in $colors-brand-funcionnal {
|
|
100
83
|
$color: getColor($name);
|
|
101
84
|
$color-invert: invertColor($name);
|
|
102
85
|
$brandName: getColorBrandName($name);
|
|
@@ -13,7 +13,7 @@ a.toaster {
|
|
|
13
13
|
@include apply-shadow-box();
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
background-color: getColor('info
|
|
16
|
+
background-color: getColor('bg-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: getBGColor($name);
|
|
68
68
|
border: 2px solid getColor($name);
|
|
69
69
|
|
|
70
70
|
.icon {
|