@siemens/element-theme 48.0.3 → 48.2.0-rc.1
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
CHANGED
|
@@ -74,6 +74,43 @@
|
|
|
74
74
|
&.accent-critical {
|
|
75
75
|
border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-status-critical;
|
|
76
76
|
}
|
|
77
|
+
|
|
78
|
+
&.action-card:not(:disabled) {
|
|
79
|
+
&:hover {
|
|
80
|
+
&,
|
|
81
|
+
.card-header,
|
|
82
|
+
.card-footer {
|
|
83
|
+
background-color: semantic-tokens.$element-base-1-hover;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:active {
|
|
88
|
+
&,
|
|
89
|
+
.card-header,
|
|
90
|
+
.card-footer {
|
|
91
|
+
background-color: semantic-tokens.$element-base-1-selected;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.selected {
|
|
97
|
+
box-shadow: 0 0 0 1px semantic-tokens.$element-ui-0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:focus-visible {
|
|
101
|
+
outline-offset: 2px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
button.card {
|
|
106
|
+
border: 0;
|
|
107
|
+
padding: 0;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
text-align: start;
|
|
110
|
+
|
|
111
|
+
&:disabled {
|
|
112
|
+
opacity: 0.5;
|
|
113
|
+
}
|
|
77
114
|
}
|
|
78
115
|
|
|
79
116
|
.card-header {
|
|
@@ -420,7 +420,7 @@ $nav-link-padding-y: 10px;
|
|
|
420
420
|
$nav-link-padding-x: map.get(spacers.$spacers, 8);
|
|
421
421
|
$nav-link-font-size: typography.$si-font-size-h4;
|
|
422
422
|
$nav-link-font-weight: typography.$si-font-weight-h4;
|
|
423
|
-
$nav-link-color: semantic-tokens.$element-text-
|
|
423
|
+
$nav-link-color: semantic-tokens.$element-text-primary !default;
|
|
424
424
|
$nav-link-hover-color: $link-hover-color !default;
|
|
425
425
|
$nav-link-transition: ();
|
|
426
426
|
$nav-link-disabled-color: semantic-tokens.$element-text-disabled !default;
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
|
|
10
10
|
:is(.form-control, .form-select) {
|
|
11
11
|
--border-color: #{semantic-tokens.$element-ui-2};
|
|
12
|
+
--si-input-padding-inline-end: calc(
|
|
13
|
+
var(--si-feedback-icon-offset, 0px) + var(--si-action-icon-offset, 0px) +
|
|
14
|
+
#{variables.$input-padding-x}
|
|
15
|
+
);
|
|
12
16
|
display: block;
|
|
13
17
|
inline-size: 100%;
|
|
14
18
|
padding-block: variables.$input-padding-y;
|
|
15
19
|
padding-inline-start: variables.$input-padding-x;
|
|
16
|
-
padding-inline-end:
|
|
17
|
-
var(--si-feedback-icon-offset, 0px) + var(--si-action-icon-offset, 0px) +
|
|
18
|
-
#{variables.$input-padding-x}
|
|
19
|
-
);
|
|
20
|
+
padding-inline-end: var(--si-input-padding-inline-end);
|
|
20
21
|
font-family: variables.$input-font-family;
|
|
21
22
|
font-size: variables.$input-font-size;
|
|
22
23
|
font-weight: variables.$input-font-weight;
|
|
@@ -96,8 +97,10 @@
|
|
|
96
97
|
|
|
97
98
|
textarea.form-control {
|
|
98
99
|
min-block-size: variables.$input-height;
|
|
99
|
-
padding-block: variables.$input-padding-y;
|
|
100
|
-
|
|
100
|
+
padding-block: calc(variables.$input-padding-y - 3px);
|
|
101
|
+
padding-inline-start: calc(variables.$input-padding-x - 3px);
|
|
102
|
+
padding-inline-end: calc(var(--si-input-padding-inline-end) - 3px);
|
|
103
|
+
line-height: variables.$input-line-height;
|
|
101
104
|
// prevent scrollbar overlapping rounded borders
|
|
102
105
|
box-shadow: 0 0 0 1px var(--border-color);
|
|
103
106
|
border: 3px solid variables.$input-bg !important; // stylelint-disable-line declaration-no-important
|
|
@@ -177,6 +177,24 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
+
|
|
181
|
+
.horizontal-overflow {
|
|
182
|
+
.datatable-row-left {
|
|
183
|
+
.datatable-body-cell:last-child,
|
|
184
|
+
.datatable-header-cell:last-child {
|
|
185
|
+
box-shadow: 0 0 8px var(--element-box-shadow-color-1);
|
|
186
|
+
clip-path: inset(0 -8px 0 0);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.datatable-row-right {
|
|
191
|
+
.datatable-body-cell:first-child,
|
|
192
|
+
.datatable-header-cell:first-child {
|
|
193
|
+
box-shadow: 0 0 8px var(--element-box-shadow-color-1);
|
|
194
|
+
clip-path: inset(0 0 0 -8px);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
180
198
|
}
|
|
181
199
|
|
|
182
200
|
// Header Styles
|
|
@@ -209,6 +227,10 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
209
227
|
}
|
|
210
228
|
}
|
|
211
229
|
|
|
230
|
+
.datatable-header-inner {
|
|
231
|
+
block-size: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
212
234
|
:is(.datatable-row-left, .datatable-row-right) {
|
|
213
235
|
background-color: variables.$table-bg;
|
|
214
236
|
display: flex;
|