@siemens/element-theme 51.5.0 → 51.7.0
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/package.json +1 -1
- package/src/styles/_density.scss +43 -130
- package/src/styles/_variables.scss +2 -1
- package/src/styles/bootstrap/_alert.scss +22 -23
- package/src/styles/bootstrap/_badges.scss +42 -43
- package/src/styles/bootstrap/_button-group.scss +14 -15
- package/src/styles/bootstrap/_buttons.scss +70 -71
- package/src/styles/bootstrap/_card.scss +16 -16
- package/src/styles/bootstrap/_dropdowns.scss +6 -7
- package/src/styles/bootstrap/_functions.scss +4 -8
- package/src/styles/bootstrap/_images.scss +2 -2
- package/src/styles/bootstrap/_list-group.scss +14 -15
- package/src/styles/bootstrap/_modals.scss +4 -9
- package/src/styles/bootstrap/_nav.scss +12 -14
- package/src/styles/bootstrap/_pagination.scss +6 -8
- package/src/styles/bootstrap/_popovers.scss +4 -5
- package/src/styles/bootstrap/_reboot.scss +4 -3
- package/src/styles/bootstrap/_root.scss +11 -0
- package/src/styles/bootstrap/_tables.scss +4 -4
- package/src/styles/bootstrap/_type.scss +92 -91
- package/src/styles/bootstrap/_utilities.scss +39 -39
- package/src/styles/bootstrap/_variables.scss +129 -126
- package/src/styles/bootstrap/forms/_form-check.scss +22 -23
- package/src/styles/bootstrap/forms/_form-control.scss +15 -15
- package/src/styles/bootstrap/forms/_form-file.scss +7 -7
- package/src/styles/bootstrap/forms/_form-range.scss +13 -13
- package/src/styles/bootstrap/forms/_validation.scss +2 -2
- package/src/styles/bootstrap/mixins/_badge-text.scss +2 -1
- package/src/styles/components/_application-header.scss +24 -25
- package/src/styles/components/_datatable.scss +19 -21
- package/src/styles/components/_drag_drop.scss +1 -1
- package/src/styles/components/_elevation.scss +5 -5
- package/src/styles/components/_layout.scss +9 -9
- package/src/styles/components/_links.scss +2 -2
- package/src/styles/components/_list-item.scss +8 -8
- package/src/styles/components/_markdown.scss +1 -1
- package/src/styles/components/_scrollbar.scss +4 -4
- package/src/styles/components/_search-bar.scss +10 -10
- package/src/styles/components/_skeleton.scss +5 -6
- package/src/styles/components/_widgets.scss +6 -3
- package/src/styles/mixins/_utilities.scss +87 -87
- package/src/styles/variables/_elevation.scss +9 -9
- package/src/styles/variables/_focus.scss +20 -19
- package/src/styles/variables/_si-sys-variables-compat.scss +10 -0
- package/src/styles/variables/_sizing.scss +22 -20
- package/src/styles/variables/_spacers.scss +29 -28
- package/src/styles/variables/_system-tokens.scss +2 -202
- package/src/styles/variables/_typography.scss +97 -95
- package/src/styles/variables/_utilities.scss +56 -56
- package/src/styles/variables/si-sys-sizing.compact.map-flat.scss +86 -0
- package/src/styles/variables/si-sys-sizing.default.map-flat.scss +86 -0
- package/src/styles/variables/si-sys-typography.compact.map-flat.scss +140 -0
- package/src/styles/variables/si-sys-typography.default.map-flat.scss +140 -0
- package/src/styles/variables/si-sys-variables.scss +400 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@use '../../variables/
|
|
2
|
-
@use '../../variables/system-tokens';
|
|
1
|
+
@use '../../variables/si-sys-variables';
|
|
3
2
|
@use '../../variables/spacers';
|
|
4
3
|
@use '../functions';
|
|
5
4
|
@use '../variables';
|
|
@@ -43,21 +42,21 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
43
42
|
%form-check-base {
|
|
44
43
|
position: relative;
|
|
45
44
|
appearance: none;
|
|
46
|
-
background-color:
|
|
47
|
-
border: 1px solid
|
|
45
|
+
background-color: si-sys-variables.$si-sys-color-background-1;
|
|
46
|
+
border: 1px solid si-sys-variables.$si-sys-color-border-2;
|
|
48
47
|
flex-shrink: 0;
|
|
49
48
|
float: inline-start;
|
|
50
49
|
|
|
51
50
|
&:is(:hover, .hover) {
|
|
52
|
-
background:
|
|
51
|
+
background: si-sys-variables.$si-sys-color-background-hover;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
&:is(:active, .active) {
|
|
56
|
-
background:
|
|
55
|
+
background: si-sys-variables.$si-sys-color-background-active;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
&:is([disabled], .disabled) {
|
|
60
|
-
border-color:
|
|
59
|
+
border-color: si-sys-variables.$si-sys-color-text-disabled;
|
|
61
60
|
background-color: transparent;
|
|
62
61
|
}
|
|
63
62
|
}
|
|
@@ -65,7 +64,7 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
65
64
|
%form-check-checkbox {
|
|
66
65
|
inline-size: $form-check-size !important; // stylelint-disable-line declaration-no-important
|
|
67
66
|
block-size: $form-check-size !important; // stylelint-disable-line declaration-no-important
|
|
68
|
-
border-radius:
|
|
67
|
+
border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs;
|
|
69
68
|
|
|
70
69
|
&::after {
|
|
71
70
|
content: '';
|
|
@@ -80,27 +79,27 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
&:is(:checked, .checked, :indeterminate) {
|
|
83
|
-
background-color:
|
|
82
|
+
background-color: si-sys-variables.$si-sys-color-background-accent;
|
|
84
83
|
border-color: transparent;
|
|
85
84
|
|
|
86
85
|
&:hover {
|
|
87
|
-
background-color:
|
|
86
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-hover;
|
|
88
87
|
border-color: transparent;
|
|
89
88
|
}
|
|
90
89
|
|
|
91
90
|
&:active {
|
|
92
|
-
background-color:
|
|
91
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-active;
|
|
93
92
|
border-color: transparent;
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
&::after {
|
|
97
|
-
background-color:
|
|
96
|
+
background-color: si-sys-variables.$si-sys-color-text-on-accent;
|
|
98
97
|
opacity: 1;
|
|
99
98
|
}
|
|
100
99
|
|
|
101
100
|
&[disabled] {
|
|
102
101
|
border-color: transparent;
|
|
103
|
-
background-color:
|
|
102
|
+
background-color: si-sys-variables.$si-sys-color-text-disabled;
|
|
104
103
|
}
|
|
105
104
|
}
|
|
106
105
|
|
|
@@ -135,26 +134,26 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
135
134
|
|
|
136
135
|
&:checked {
|
|
137
136
|
border-color: transparent;
|
|
138
|
-
background-color:
|
|
137
|
+
background-color: si-sys-variables.$si-sys-color-background-accent;
|
|
139
138
|
|
|
140
139
|
&::after {
|
|
141
140
|
border-color: transparent;
|
|
142
|
-
background-color:
|
|
141
|
+
background-color: si-sys-variables.$si-sys-color-text-on-accent;
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
&:hover {
|
|
146
145
|
border-color: transparent;
|
|
147
|
-
background-color:
|
|
146
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-hover;
|
|
148
147
|
}
|
|
149
148
|
|
|
150
149
|
&:active {
|
|
151
150
|
border-color: transparent;
|
|
152
|
-
background-color:
|
|
151
|
+
background-color: si-sys-variables.$si-sys-color-border-accent-active;
|
|
153
152
|
}
|
|
154
153
|
|
|
155
154
|
&[disabled] {
|
|
156
155
|
border-color: transparent;
|
|
157
|
-
background-color:
|
|
156
|
+
background-color: si-sys-variables.$si-sys-color-text-disabled;
|
|
158
157
|
}
|
|
159
158
|
}
|
|
160
159
|
}
|
|
@@ -163,7 +162,7 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
163
162
|
display: inline-block;
|
|
164
163
|
position: relative;
|
|
165
164
|
padding-inline-end: $form-check-padding-x;
|
|
166
|
-
color:
|
|
165
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
167
166
|
}
|
|
168
167
|
|
|
169
168
|
.form-check-input {
|
|
@@ -174,7 +173,7 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
174
173
|
}
|
|
175
174
|
|
|
176
175
|
&[disabled] ~ .form-check-label {
|
|
177
|
-
color:
|
|
176
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
&:is([type='checkbox'], .si-form-checkbox) {
|
|
@@ -209,7 +208,7 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
209
208
|
+ .btn {
|
|
210
209
|
pointer-events: none;
|
|
211
210
|
filter: none;
|
|
212
|
-
color:
|
|
211
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
213
212
|
}
|
|
214
213
|
}
|
|
215
214
|
}
|
|
@@ -240,7 +239,7 @@ formly-field-multicheckbox {
|
|
|
240
239
|
}
|
|
241
240
|
|
|
242
241
|
&[disabled] ~ label {
|
|
243
|
-
color:
|
|
242
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
244
243
|
}
|
|
245
244
|
}
|
|
246
245
|
}
|
|
@@ -255,7 +254,7 @@ formly-field-radio {
|
|
|
255
254
|
}
|
|
256
255
|
|
|
257
256
|
&[disabled] ~ label {
|
|
258
|
-
color:
|
|
257
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
259
258
|
}
|
|
260
259
|
}
|
|
261
260
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use '../../variables/focus';
|
|
2
|
-
@use '../../variables/
|
|
2
|
+
@use '../../variables/si-sys-variables';
|
|
3
3
|
@use '../../variables/spacers';
|
|
4
4
|
@use '../../variables/sizing';
|
|
5
5
|
@use '../../variables/utilities';
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
@use 'sass:map';
|
|
10
10
|
|
|
11
11
|
:is(.form-control, .form-select) {
|
|
12
|
-
--border-color: #{
|
|
13
|
-
--si-textarea-mask: #{
|
|
12
|
+
--border-color: #{si-sys-variables.$si-sys-color-border-2};
|
|
13
|
+
--si-textarea-mask: #{si-sys-variables.$si-sys-color-background-1};
|
|
14
14
|
// Formula:
|
|
15
15
|
// (1.25rem / 0px) (feedback icon size)
|
|
16
16
|
// + (action-size / 0px) (action-offset includes a padding)
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
font-size: variables.$input-font-size;
|
|
29
29
|
font-weight: variables.$input-font-weight;
|
|
30
30
|
line-height: variables.$input-line-height;
|
|
31
|
-
color:
|
|
32
|
-
background-color:
|
|
31
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
32
|
+
background-color: si-sys-variables.$si-sys-color-background-1;
|
|
33
33
|
background-clip: padding-box;
|
|
34
34
|
border: variables.$input-border-width solid var(--border-color);
|
|
35
35
|
border-radius: variables.$input-border-radius;
|
|
@@ -69,32 +69,32 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&:autofill {
|
|
72
|
-
background:
|
|
72
|
+
background: si-sys-variables.$si-sys-color-background-information-subtle;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
&:is(:focus, :hover, :has(+ .form-control-actions:is(:hover, :focus-within))) {
|
|
76
|
-
--border-color: #{
|
|
77
|
-
--si-textarea-mask: #{
|
|
78
|
-
background-color:
|
|
76
|
+
--border-color: #{si-sys-variables.$si-sys-color-border-1};
|
|
77
|
+
--si-textarea-mask: #{si-sys-variables.$si-sys-color-background-4};
|
|
78
|
+
background-color: si-sys-variables.$si-sys-color-background-4;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&:is(.readonly, [readonly]) {
|
|
82
82
|
&,
|
|
83
83
|
&:is(:hover, :focus, :has(+ .form-control-actions:is(:hover, :focus-within))) {
|
|
84
|
-
--border-color: #{
|
|
84
|
+
--border-color: #{si-sys-variables.$si-sys-color-border-4};
|
|
85
85
|
--si-textarea-mask: transparent;
|
|
86
86
|
background-color: transparent;
|
|
87
|
-
color:
|
|
87
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&:is(.disabled, :disabled) {
|
|
92
92
|
&,
|
|
93
93
|
&:is(:hover, :focus, :has(+ .form-control-actions:is(:hover, :focus-within))) {
|
|
94
|
-
--border-color: #{
|
|
94
|
+
--border-color: #{si-sys-variables.$si-sys-color-border-4};
|
|
95
95
|
--si-textarea-mask: transparent;
|
|
96
96
|
background-color: transparent;
|
|
97
|
-
color:
|
|
97
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&::placeholder {
|
|
@@ -222,7 +222,7 @@ select:is(.form-control, .form-select)[multiple] {
|
|
|
222
222
|
|
|
223
223
|
option:checked,
|
|
224
224
|
&:not(:disabled) option:not(:disabled):hover {
|
|
225
|
-
background:
|
|
226
|
-
color:
|
|
225
|
+
background: si-sys-variables.$si-sys-color-background-0;
|
|
226
|
+
color: si-sys-variables.$si-sys-color-text-accent;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../../variables/
|
|
1
|
+
@use '../../variables/si-sys-variables';
|
|
2
2
|
@use '../variables';
|
|
3
3
|
|
|
4
4
|
.form-control {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&::file-selector-button {
|
|
14
|
-
color:
|
|
15
|
-
background:
|
|
14
|
+
color: si-sys-variables.$si-sys-color-text-on-accent-secondary;
|
|
15
|
+
background: si-sys-variables.$si-sys-color-background-accent-secondary;
|
|
16
16
|
border-color: inherit;
|
|
17
17
|
border-block-width: 0;
|
|
18
18
|
border-inline-width: 0 1px;
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&:hover::file-selector-button {
|
|
26
|
-
color:
|
|
27
|
-
background:
|
|
26
|
+
color: si-sys-variables.$si-sys-color-text-on-accent-secondary-hover;
|
|
27
|
+
background: si-sys-variables.$si-sys-color-background-accent-secondary-hover;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&:active::file-selector-button {
|
|
31
|
-
color:
|
|
32
|
-
background:
|
|
31
|
+
color: si-sys-variables.$si-sys-color-text-on-accent-secondary-active;
|
|
32
|
+
background: si-sys-variables.$si-sys-color-background-accent-secondary-active;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../variables/focus';
|
|
2
|
-
@use '../../variables/
|
|
2
|
+
@use '../../variables/si-sys-variables';
|
|
3
3
|
|
|
4
|
-
$track-color:
|
|
4
|
+
$track-color: si-sys-variables.$si-sys-color-border-4 !default;
|
|
5
5
|
$track-height: 4px !default;
|
|
6
6
|
$thumb-size: 24px !default;
|
|
7
7
|
|
|
@@ -14,36 +14,36 @@ $thumb-size: 24px !default;
|
|
|
14
14
|
|
|
15
15
|
@mixin range-thumb {
|
|
16
16
|
box-shadow: var(--thumb-shadow);
|
|
17
|
-
border: 1px solid
|
|
17
|
+
border: 1px solid si-sys-variables.$si-sys-color-border-accent;
|
|
18
18
|
block-size: $thumb-size;
|
|
19
19
|
inline-size: $thumb-size;
|
|
20
20
|
border-radius: 50%;
|
|
21
|
-
background:
|
|
21
|
+
background: si-sys-variables.$si-sys-color-background-1;
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
|
|
24
24
|
&:hover {
|
|
25
|
-
border-color:
|
|
25
|
+
border-color: si-sys-variables.$si-sys-color-border-accent-hover;
|
|
26
26
|
background: radial-gradient(
|
|
27
27
|
circle,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
si-sys-variables.$si-sys-color-text-accent-hover 0%,
|
|
29
|
+
si-sys-variables.$si-sys-color-text-accent-hover 35%,
|
|
30
|
+
si-sys-variables.$si-sys-color-background-accent-secondary-hover 36%
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&:active {
|
|
35
|
-
border-color:
|
|
35
|
+
border-color: si-sys-variables.$si-sys-color-border-accent-active;
|
|
36
36
|
background: radial-gradient(
|
|
37
37
|
circle,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
si-sys-variables.$si-sys-color-background-accent-active 0%,
|
|
39
|
+
si-sys-variables.$si-sys-color-background-accent-active 35%,
|
|
40
|
+
si-sys-variables.$si-sys-color-background-accent-secondary-active 36%
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.form-range {
|
|
46
|
-
--thumb-shadow: #{
|
|
46
|
+
--thumb-shadow: #{si-sys-variables.$si-sys-color-effects-shadow-20};
|
|
47
47
|
-webkit-appearance: none; // stylelint-disable-line property-no-vendor-prefix
|
|
48
48
|
background: transparent;
|
|
49
49
|
inline-size: 100%;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use '../../variables/spacers';
|
|
2
|
-
@use '../../variables/
|
|
2
|
+
@use '../../variables/si-sys-variables';
|
|
3
3
|
@use '../../variables/si-vars';
|
|
4
4
|
@use '../variables';
|
|
5
5
|
@use 'sass:map';
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
font-size: variables.$form-feedback-font-size;
|
|
63
63
|
display: none;
|
|
64
64
|
inline-size: 100%;
|
|
65
|
-
line-height:
|
|
65
|
+
line-height: si-sys-variables.$si-sys-typography-body-sm-line-height;
|
|
66
66
|
margin-block: map.get(spacers.$spacers-block, 1);
|
|
67
67
|
margin-inline: map.get(spacers.$spacers-inline, 1);
|
|
68
68
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
|
|
3
3
|
@use '../../variables/spacers';
|
|
4
|
+
@use '../../variables/si-sys-variables';
|
|
4
5
|
@use '../../variables/typography';
|
|
5
6
|
@use '.././variables';
|
|
6
7
|
|
|
7
8
|
@mixin badge-text {
|
|
8
9
|
min-inline-size: 0.875rem;
|
|
9
10
|
border-radius: 0.4375rem;
|
|
10
|
-
font-size:
|
|
11
|
+
font-size: si-sys-variables.$si-sys-typography-body-sm-font-size;
|
|
11
12
|
line-height: 0.875rem;
|
|
12
13
|
padding-block: 0;
|
|
13
14
|
padding-inline: map.get(spacers.$spacers-inline, 2);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
@use '../bootstrap/mixins/breakpoints';
|
|
2
2
|
@use '../bootstrap/variables' as bootstrap-variables;
|
|
3
3
|
@use '../variables/si-vars';
|
|
4
|
-
@use '../variables/
|
|
4
|
+
@use '../variables/si-sys-variables';
|
|
5
5
|
@use '../variables/semantic-tokens';
|
|
6
6
|
@use '../variables/spacers';
|
|
7
|
-
@use '../variables/typography';
|
|
8
7
|
@use '../variables/zindex';
|
|
9
8
|
|
|
10
9
|
@use 'sass:map';
|
|
@@ -26,10 +25,10 @@
|
|
|
26
25
|
var(--element-titlebar-spacing, 0px) + var(--element-system-banner-spacing, 0px)
|
|
27
26
|
);
|
|
28
27
|
z-index: zindex.$zindex-application-header;
|
|
29
|
-
background:
|
|
28
|
+
background: si-sys-variables.$si-sys-color-background-1;
|
|
30
29
|
min-block-size: si-vars.$si-application-header-height;
|
|
31
30
|
align-items: stretch;
|
|
32
|
-
border-block-end: 1px solid
|
|
31
|
+
border-block-end: 1px solid si-sys-variables.$si-sys-color-border-4;
|
|
33
32
|
|
|
34
33
|
// hide border when mobile styles are applied and either the dropdown-menu is shown or navigation is expanded
|
|
35
34
|
&:has(.dropdown-menu.show),
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
order: 2;
|
|
43
42
|
flex-basis: 100%;
|
|
44
43
|
box-shadow: none;
|
|
45
|
-
border-block-start: 1px solid
|
|
44
|
+
border-block-start: 1px solid si-sys-variables.$si-sys-color-border-4;
|
|
46
45
|
margin-block: 0;
|
|
47
46
|
border-radius: 0;
|
|
48
47
|
}
|
|
@@ -81,8 +80,8 @@
|
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
.application-name {
|
|
84
|
-
font-size:
|
|
85
|
-
font-weight:
|
|
83
|
+
font-size: si-sys-variables.$si-sys-typography-body-lg-font-size;
|
|
84
|
+
font-weight: si-sys-variables.$si-sys-typography-body-lg-font-weight;
|
|
86
85
|
padding: map.get(spacers.$spacers-block, 5) map.get(spacers.$spacers-inline, 5);
|
|
87
86
|
margin: 0;
|
|
88
87
|
line-height: normal;
|
|
@@ -97,7 +96,7 @@
|
|
|
97
96
|
display: flex;
|
|
98
97
|
flex-flow: column;
|
|
99
98
|
padding-block: map.get(spacers.$spacers-block, 4);
|
|
100
|
-
border-block-start: 1px solid
|
|
99
|
+
border-block-start: 1px solid si-sys-variables.$si-sys-color-border-4;
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
.header-navigation {
|
|
@@ -109,13 +108,13 @@
|
|
|
109
108
|
|
|
110
109
|
.header-item {
|
|
111
110
|
&.active {
|
|
112
|
-
--si-header-item-border: #{
|
|
113
|
-
color:
|
|
111
|
+
--si-header-item-border: #{si-sys-variables.$si-sys-color-border-accent};
|
|
112
|
+
color: si-sys-variables.$si-sys-color-text-accent;
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
&:hover {
|
|
117
|
-
--si-header-item-border: #{
|
|
118
|
-
color:
|
|
116
|
+
--si-header-item-border: #{si-sys-variables.$si-sys-color-border-accent-hover};
|
|
117
|
+
color: si-sys-variables.$si-sys-color-text-accent-hover;
|
|
119
118
|
}
|
|
120
119
|
}
|
|
121
120
|
}
|
|
@@ -133,13 +132,13 @@
|
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
.header-toggle {
|
|
136
|
-
color:
|
|
135
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
137
136
|
border: 0;
|
|
138
137
|
padding: map.get(spacers.$spacers-block, 5) map.get(spacers.$spacers-inline, 5);
|
|
139
138
|
background-color: transparent; // remove default button style
|
|
140
139
|
|
|
141
140
|
&:is(:hover, .show, :active) {
|
|
142
|
-
background:
|
|
141
|
+
background: si-sys-variables.$si-sys-color-background-hover;
|
|
143
142
|
text-decoration: none;
|
|
144
143
|
}
|
|
145
144
|
}
|
|
@@ -150,11 +149,11 @@
|
|
|
150
149
|
flex-basis: 0;
|
|
151
150
|
align-items: center;
|
|
152
151
|
position: relative;
|
|
153
|
-
color:
|
|
152
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
154
153
|
inline-size: 100%;
|
|
155
|
-
font-size:
|
|
156
|
-
line-height:
|
|
157
|
-
font-weight:
|
|
154
|
+
font-size: si-sys-variables.$si-sys-typography-h4-font-size;
|
|
155
|
+
line-height: si-sys-variables.$si-sys-typography-h4-line-height;
|
|
156
|
+
font-weight: si-sys-variables.$si-sys-typography-h4-font-weight;
|
|
158
157
|
padding-block: map.get(spacers.$spacers-block, 5);
|
|
159
158
|
padding-inline: map.get(spacers.$spacers-inline, 5);
|
|
160
159
|
background: none;
|
|
@@ -179,8 +178,8 @@
|
|
|
179
178
|
}
|
|
180
179
|
|
|
181
180
|
&:hover {
|
|
182
|
-
color:
|
|
183
|
-
background-color:
|
|
181
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
182
|
+
background-color: si-sys-variables.$si-sys-color-background-hover;
|
|
184
183
|
text-decoration: none;
|
|
185
184
|
}
|
|
186
185
|
|
|
@@ -196,13 +195,13 @@
|
|
|
196
195
|
}
|
|
197
196
|
|
|
198
197
|
&.header-selection-item {
|
|
199
|
-
color:
|
|
200
|
-
font-size:
|
|
201
|
-
font-weight:
|
|
202
|
-
line-height:
|
|
198
|
+
color: si-sys-variables.$si-sys-color-text-accent;
|
|
199
|
+
font-size: si-sys-variables.$si-sys-typography-h5-font-size;
|
|
200
|
+
font-weight: si-sys-variables.$si-sys-typography-h5-font-weight;
|
|
201
|
+
line-height: si-sys-variables.$si-sys-typography-h5-line-height;
|
|
203
202
|
|
|
204
203
|
&:hover {
|
|
205
|
-
color:
|
|
204
|
+
color: si-sys-variables.$si-sys-color-text-accent-hover;
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
207
|
}
|
|
@@ -2,20 +2,18 @@
|
|
|
2
2
|
@use '../bootstrap/variables';
|
|
3
3
|
@use '../variables/animations';
|
|
4
4
|
@use '../variables/focus';
|
|
5
|
-
@use '../variables/
|
|
6
|
-
@use '../variables/system-tokens';
|
|
5
|
+
@use '../variables/si-sys-variables';
|
|
7
6
|
@use '../variables/spacers';
|
|
8
|
-
@use '../variables/typography';
|
|
9
7
|
@use '../variables/utilities';
|
|
10
8
|
|
|
11
9
|
@use 'sass:map';
|
|
12
10
|
|
|
13
11
|
$datatable-header-border-color: variables.$table-border-color !default;
|
|
14
12
|
$datatable-header-background-color: variables.$table-bg !default;
|
|
15
|
-
$datatable-header-color:
|
|
13
|
+
$datatable-header-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
16
14
|
$datatable-footer-background-color: transparent !default;
|
|
17
15
|
|
|
18
|
-
$datatable-summary-background-color:
|
|
16
|
+
$datatable-summary-background-color: si-sys-variables.$si-sys-color-background-2 !default;
|
|
19
17
|
$datatable-striped-background-color: variables.$table-striped-bg !default;
|
|
20
18
|
|
|
21
19
|
$datatable-header-height: 40px !default;
|
|
@@ -24,12 +22,12 @@ $datatable-body-row-min-height: 48px !default;
|
|
|
24
22
|
|
|
25
23
|
$datatable-ghost-cell-container-background: variables.$table-bg !default;
|
|
26
24
|
|
|
27
|
-
$datatable-ghost-cell-strip-background:
|
|
25
|
+
$datatable-ghost-cell-strip-background: si-sys-variables.$si-sys-color-background-hover !default;
|
|
28
26
|
$datatable-ghost-cell-strip-background-image: linear-gradient(
|
|
29
27
|
90deg,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
si-sys-variables.$si-sys-color-background-hover 0%,
|
|
29
|
+
si-sys-variables.$si-sys-color-background-active 25%,
|
|
30
|
+
si-sys-variables.$si-sys-color-background-hover 50%
|
|
33
31
|
) !default;
|
|
34
32
|
$datatable-ghost-cell-strip-radius: 0 !default;
|
|
35
33
|
|
|
@@ -46,7 +44,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
46
44
|
|
|
47
45
|
.ngx-datatable.table-element {
|
|
48
46
|
background-color: variables.$table-bg;
|
|
49
|
-
border-radius:
|
|
47
|
+
border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm;
|
|
50
48
|
|
|
51
49
|
// Compat for v26. This element hos no class.
|
|
52
50
|
[role='table'] {
|
|
@@ -121,7 +119,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
121
119
|
.datatable-row-left {
|
|
122
120
|
.datatable-body-cell:last-child,
|
|
123
121
|
.datatable-header-cell:last-child {
|
|
124
|
-
box-shadow:
|
|
122
|
+
box-shadow: si-sys-variables.$si-sys-color-effects-shadow-30;
|
|
125
123
|
clip-path: inset(0 -8px 0 0);
|
|
126
124
|
}
|
|
127
125
|
}
|
|
@@ -129,7 +127,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
129
127
|
.datatable-row-right {
|
|
130
128
|
.datatable-body-cell:first-child,
|
|
131
129
|
.datatable-header-cell:first-child {
|
|
132
|
-
box-shadow:
|
|
130
|
+
box-shadow: si-sys-variables.$si-sys-color-effects-shadow-30;
|
|
133
131
|
clip-path: inset(0 0 0 -8px);
|
|
134
132
|
}
|
|
135
133
|
}
|
|
@@ -182,7 +180,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
182
180
|
padding-block: 0;
|
|
183
181
|
padding-inline: map.get(spacers.$spacers-inline, 4);
|
|
184
182
|
min-inline-size: $datatable-cell-min-width;
|
|
185
|
-
line-height:
|
|
183
|
+
line-height: si-sys-variables.$si-sys-typography-body-line-height;
|
|
186
184
|
|
|
187
185
|
&:first-child {
|
|
188
186
|
padding-inline-start: map.get(spacers.$spacers-inline, 6);
|
|
@@ -213,9 +211,9 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
213
211
|
background-color: $datatable-header-background-color;
|
|
214
212
|
color: $datatable-header-color;
|
|
215
213
|
block-size: $datatable-header-height;
|
|
216
|
-
font-size:
|
|
217
|
-
font-weight:
|
|
218
|
-
line-height:
|
|
214
|
+
font-size: si-sys-variables.$si-sys-typography-h5-font-size;
|
|
215
|
+
font-weight: si-sys-variables.$si-sys-typography-h5-font-weight;
|
|
216
|
+
line-height: si-sys-variables.$si-sys-typography-h5-line-height;
|
|
219
217
|
user-select: none;
|
|
220
218
|
|
|
221
219
|
.sort-btn {
|
|
@@ -245,7 +243,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
245
243
|
inset-inline: 0;
|
|
246
244
|
margin-inline: auto;
|
|
247
245
|
inline-size: map.get(spacers.$spacers-inline, 1);
|
|
248
|
-
background-color:
|
|
246
|
+
background-color: si-sys-variables.$si-sys-color-border-4;
|
|
249
247
|
}
|
|
250
248
|
}
|
|
251
249
|
|
|
@@ -274,7 +272,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
274
272
|
|
|
275
273
|
.datatable-summary-row .datatable-body-row {
|
|
276
274
|
background-color: $datatable-summary-background-color;
|
|
277
|
-
font-weight:
|
|
275
|
+
font-weight: si-sys-variables.$si-sys-typography-h5-font-weight;
|
|
278
276
|
}
|
|
279
277
|
|
|
280
278
|
// Body Styles
|
|
@@ -343,8 +341,8 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
343
341
|
align-items: flex-end;
|
|
344
342
|
align-content: flex-end;
|
|
345
343
|
background-color: $datatable-footer-background-color;
|
|
346
|
-
color:
|
|
347
|
-
font-size:
|
|
344
|
+
color: si-sys-variables.$si-sys-color-text-secondary;
|
|
345
|
+
font-size: si-sys-variables.$si-sys-typography-body-sm-font-size;
|
|
348
346
|
margin-block-start: -1px;
|
|
349
347
|
position: relative;
|
|
350
348
|
z-index: 11;
|
|
@@ -362,7 +360,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
362
360
|
inset-inline-start: 0;
|
|
363
361
|
inline-size: 100%;
|
|
364
362
|
block-size: 1px;
|
|
365
|
-
background-color:
|
|
363
|
+
background-color: si-sys-variables.$si-sys-color-background-0;
|
|
366
364
|
}
|
|
367
365
|
}
|
|
368
366
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
.cdk-drag-preview {
|
|
27
27
|
background-color: variables.$si-sys-color-background-3 !important;
|
|
28
|
-
box-shadow: variables.$si-sys-color-effects-shadow-
|
|
28
|
+
box-shadow: variables.$si-sys-color-effects-shadow-40 !important;
|
|
29
29
|
position: relative !important;
|
|
30
30
|
inset-inline-start: -5px !important;
|
|
31
31
|
inset-block-start: -10px !important;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../variables/
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
2
2
|
|
|
3
3
|
// @deprecated Use .shadow-none instead.
|
|
4
4
|
.elevation-none {
|
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
|
|
8
8
|
// @deprecated Use .shadow-1 instead.
|
|
9
9
|
.elevation-1 {
|
|
10
|
-
box-shadow:
|
|
10
|
+
box-shadow: si-sys-variables.$si-sys-color-effects-shadow-10;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
// @deprecated Use .shadow-2 instead.
|
|
14
14
|
.elevation-2 {
|
|
15
|
-
box-shadow:
|
|
15
|
+
box-shadow: si-sys-variables.$si-sys-color-effects-shadow-20;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// @deprecated Use .shadow-3 instead.
|
|
19
19
|
.elevation-3 {
|
|
20
|
-
box-shadow:
|
|
20
|
+
box-shadow: si-sys-variables.$si-sys-color-effects-shadow-30;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// @deprecated Use .shadow-4 instead.
|
|
24
24
|
.elevation-4 {
|
|
25
|
-
box-shadow:
|
|
25
|
+
box-shadow: si-sys-variables.$si-sys-color-effects-shadow-40;
|
|
26
26
|
}
|