@siemens/element-theme 48.0.0-next.5 → 48.0.0-next.6
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/_themes.scss +1 -1
- package/src/styles/bootstrap/_alert.scss +3 -3
- package/src/styles/bootstrap/_badges.scss +6 -6
- package/src/styles/bootstrap/_button-group.scss +2 -2
- package/src/styles/bootstrap/_buttons.scss +5 -5
- package/src/styles/bootstrap/_card.scss +3 -3
- package/src/styles/bootstrap/_dropdowns.scss +3 -2
- package/src/styles/bootstrap/_list-group.scss +2 -1
- package/src/styles/bootstrap/_modals.scss +2 -2
- package/src/styles/bootstrap/_pagination.scss +2 -2
- package/src/styles/bootstrap/_reboot.scss +1 -1
- package/src/styles/bootstrap/_tables.scss +3 -3
- package/src/styles/bootstrap/_type.scss +67 -52
- package/src/styles/bootstrap/_variables.scss +17 -15
- package/src/styles/bootstrap/forms/_form-control.scss +1 -1
- package/src/styles/bootstrap/forms/_form-label.scss +6 -4
- package/src/styles/bootstrap/forms/_validation.scss +1 -1
- package/src/styles/components/_application-header.scss +11 -9
- package/src/styles/components/_datatable.scss +5 -5
- package/src/styles/components/_layout.scss +3 -3
- package/src/styles/components/_widgets.scss +6 -6
- package/src/styles/variables/_typography.scss +133 -60
- package/src/styles/variables/_utilities.scss +3 -1
- package/src/theme/_theme-element.scss +334 -318
package/package.json
CHANGED
package/src/styles/_themes.scss
CHANGED
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
|
|
23
23
|
.alert,
|
|
24
24
|
.alert-link {
|
|
25
|
-
font-size: typography.$si-font-size-
|
|
26
|
-
line-height: typography.$si-line-height-
|
|
25
|
+
font-size: typography.$si-font-size-h4;
|
|
26
|
+
line-height: typography.$si-line-height-h4;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.alert-link {
|
|
30
|
-
font-weight: typography.$si-font-weight-
|
|
30
|
+
font-weight: typography.$si-font-weight-h4;
|
|
31
31
|
color: inherit;
|
|
32
32
|
|
|
33
33
|
&:hover {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
// stylelint-disable declaration-no-important
|
|
9
9
|
|
|
10
10
|
%badge-text-emphasis {
|
|
11
|
-
font-size: typography.$si-font-size-
|
|
12
|
-
font-weight: typography.$si-font-weight-
|
|
11
|
+
font-size: typography.$si-font-size-h5;
|
|
12
|
+
font-weight: typography.$si-font-weight-h5;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.badge {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
block-size: map.get(spacers.$spacers, 8);
|
|
23
23
|
line-height: map.get(spacers.$spacers, 8);
|
|
24
24
|
flex-shrink: 0;
|
|
25
|
-
font-size: typography.$si-font-size-body
|
|
26
|
-
font-weight: typography.$si-font-weight-body
|
|
25
|
+
font-size: typography.$si-font-size-body;
|
|
26
|
+
font-weight: typography.$si-font-weight-body;
|
|
27
27
|
max-inline-size: 196px;
|
|
28
28
|
min-inline-size: map.get(spacers.$spacers, 8);
|
|
29
29
|
text-overflow: ellipsis;
|
|
@@ -153,12 +153,12 @@
|
|
|
153
153
|
position: relative;
|
|
154
154
|
background-color: semantic-tokens.$element-action-danger;
|
|
155
155
|
color: semantic-tokens.$element-action-danger-text;
|
|
156
|
-
font-size: typography.$si-font-size-caption
|
|
156
|
+
font-size: typography.$si-font-size-caption;
|
|
157
157
|
line-height: 13px;
|
|
158
158
|
padding-block: 0;
|
|
159
159
|
padding-inline: map.get(spacers.$spacers, 2);
|
|
160
160
|
font-family: variables.$font-family-sans-serif;
|
|
161
|
-
font-weight: typography.$si-font-weight-
|
|
161
|
+
font-weight: typography.$si-font-weight-semibold;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.icon + .badge-text {
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
|
|
64
64
|
&.btn-sm {
|
|
65
65
|
padding-block: map.get(spacers.$spacers, 4) - 1px;
|
|
66
|
-
font-size: typography.$si-font-size-body
|
|
67
|
-
line-height: typography.$si-line-height-body
|
|
66
|
+
font-size: typography.$si-font-size-body;
|
|
67
|
+
line-height: typography.$si-line-height-body;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -27,7 +27,7 @@ button {
|
|
|
27
27
|
|
|
28
28
|
:is(.btn, .btn-close) {
|
|
29
29
|
line-height: bootstrap-variables.$btn-line-height;
|
|
30
|
-
font-weight: typography.$si-font-weight-
|
|
30
|
+
font-weight: typography.$si-font-weight-h5;
|
|
31
31
|
padding-block: calc(bootstrap-variables.$btn-padding-y - var(--btn-border-width, 0px));
|
|
32
32
|
padding-inline: calc(bootstrap-variables.$btn-padding-x - var(--btn-border-width, 0px));
|
|
33
33
|
font-size: bootstrap-variables.$btn-font-size;
|
|
@@ -133,7 +133,7 @@ button {
|
|
|
133
133
|
.btn-link {
|
|
134
134
|
--btn-color: #{bootstrap-variables.$btn-link-color};
|
|
135
135
|
--btn-color-hover: #{bootstrap-variables.$btn-link-hover-color};
|
|
136
|
-
font-weight: typography.$si-font-weight-body
|
|
136
|
+
font-weight: typography.$si-font-weight-body;
|
|
137
137
|
justify-content: flex-start;
|
|
138
138
|
text-decoration: bootstrap-variables.$link-decoration;
|
|
139
139
|
padding: 0;
|
|
@@ -222,9 +222,9 @@ button {
|
|
|
222
222
|
--btn-border-color-hover: #{semantic-tokens.$element-ui-1};
|
|
223
223
|
|
|
224
224
|
@include typography.si-font(
|
|
225
|
-
typography.$si-font-size-body
|
|
226
|
-
typography.$si-line-height-body
|
|
227
|
-
typography.$si-font-weight-body
|
|
225
|
+
typography.$si-font-size-body,
|
|
226
|
+
typography.$si-line-height-body,
|
|
227
|
+
typography.$si-font-weight-body
|
|
228
228
|
);
|
|
229
229
|
padding-block: bootstrap-variables.$input-padding-y;
|
|
230
230
|
padding-inline: 7px;
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.card-header {
|
|
80
|
-
font-size: typography.$si-font-size-
|
|
81
|
-
font-weight: typography.$si-font-weight-
|
|
80
|
+
font-size: typography.$si-font-size-h5;
|
|
81
|
+
font-weight: typography.$si-font-weight-h5;
|
|
82
82
|
min-block-size: map.get(spacers.$spacers, 9) + map.get(spacers.$spacers, 4);
|
|
83
83
|
white-space: nowrap;
|
|
84
84
|
text-overflow: ellipsis;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
margin-block-end: 0; // Removes the default margin-bottom of <hN>
|
|
89
89
|
color: variables.$card-cap-color;
|
|
90
90
|
background-color: variables.$card-cap-bg;
|
|
91
|
-
line-height: typography.$si-font-size-
|
|
91
|
+
line-height: typography.$si-font-size-h5;
|
|
92
92
|
|
|
93
93
|
.icon {
|
|
94
94
|
// The icon would be 8px too high without this.
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
background-color: transparent; // For `<button>`s
|
|
99
99
|
border: 0; // For `<button>`s
|
|
100
100
|
cursor: pointer;
|
|
101
|
+
border-radius: 0;
|
|
101
102
|
|
|
102
103
|
.item-title {
|
|
103
104
|
flex: 1;
|
|
@@ -157,8 +158,8 @@
|
|
|
157
158
|
margin-block-end: 0; // for use with heading elements
|
|
158
159
|
color: bootstrap-variables.$dropdown-header-color;
|
|
159
160
|
white-space: nowrap; // as with > li > a
|
|
160
|
-
font-size: typography.$si-font-size-
|
|
161
|
-
font-weight: typography.$si-font-weight-
|
|
161
|
+
font-size: typography.$si-font-size-h5;
|
|
162
|
+
font-weight: typography.$si-font-weight-h5;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
.dropdown-divider {
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
text-decoration: none;
|
|
57
57
|
background-color: variables.$list-group-bg;
|
|
58
58
|
border: variables.$list-group-border-width solid variables.$list-group-border-color;
|
|
59
|
+
border-radius: 0;
|
|
59
60
|
border-inline-width: 0;
|
|
60
61
|
margin: 0;
|
|
61
62
|
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
.list-header {
|
|
111
|
-
font-size: typography.$si-font-size-caption
|
|
112
|
+
font-size: typography.$si-font-size-caption;
|
|
112
113
|
padding-block: variables.$list-group-item-padding-y;
|
|
113
114
|
padding-inline: variables.$list-group-item-padding-x;
|
|
114
115
|
color: variables.$headings-color;
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.modal-title {
|
|
99
|
-
font-size: typography.$si-font-size-
|
|
100
|
-
font-weight: typography.$si-font-weight-
|
|
99
|
+
font-size: typography.$si-font-size-h4;
|
|
100
|
+
font-weight: typography.$si-font-weight-h4;
|
|
101
101
|
line-height: variables.$modal-title-line-height;
|
|
102
102
|
margin-block-end: 0;
|
|
103
103
|
}
|
|
@@ -25,8 +25,8 @@ $page-button-size: 24px;
|
|
|
25
25
|
padding-inline: map.get(spacers.$spacers, 2);
|
|
26
26
|
margin-inline: map.get(spacers.$spacers, 1);
|
|
27
27
|
background: transparent;
|
|
28
|
-
font-size: typography.$si-font-size-
|
|
29
|
-
font-weight: typography.$si-font-weight-
|
|
28
|
+
font-size: typography.$si-font-size-h5;
|
|
29
|
+
font-weight: typography.$si-font-weight-h5;
|
|
30
30
|
color: semantic-tokens.$element-text-primary;
|
|
31
31
|
border: 0;
|
|
32
32
|
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
|
|
70
70
|
th {
|
|
71
71
|
vertical-align: baseline;
|
|
72
|
-
font-size: typography.$si-font-size-
|
|
73
|
-
font-weight: typography.$si-font-weight-
|
|
74
|
-
line-height: typography.$si-line-height-
|
|
72
|
+
font-size: typography.$si-font-size-h5;
|
|
73
|
+
font-weight: typography.$si-font-weight-h5;
|
|
74
|
+
line-height: typography.$si-line-height-h5;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -109,11 +109,13 @@ h1,
|
|
|
109
109
|
);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
.si-h1-bold,
|
|
113
|
+
// @deprecated Will be removed in a future major version, use `.si-h1-bold` instead.
|
|
112
114
|
.si-h1-black {
|
|
113
115
|
@include typography.si-font(
|
|
114
|
-
typography.$si-font-size-h1-
|
|
115
|
-
typography.$si-line-height-h1-
|
|
116
|
-
typography.$si-font-weight-h1-
|
|
116
|
+
typography.$si-font-size-h1-bold,
|
|
117
|
+
typography.$si-line-height-h1-bold,
|
|
118
|
+
typography.$si-font-weight-h1-bold
|
|
117
119
|
);
|
|
118
120
|
}
|
|
119
121
|
|
|
@@ -137,108 +139,121 @@ h3,
|
|
|
137
139
|
);
|
|
138
140
|
}
|
|
139
141
|
|
|
140
|
-
h4,
|
|
141
|
-
|
|
142
|
-
h6,
|
|
143
|
-
.h4,
|
|
144
|
-
.h5,
|
|
145
|
-
.h6 {
|
|
146
|
-
@include typography.si-font(
|
|
147
|
-
typography.$si-font-size-body-1,
|
|
148
|
-
typography.$si-line-height-body-1,
|
|
149
|
-
typography.$si-font-weight-body-1
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
|
|
142
|
+
.si-h4-bold,
|
|
143
|
+
// @deprecated Will be removed in a future major version, use `.si-h4-bold` instead.
|
|
153
144
|
.si-title-1-bold {
|
|
154
145
|
@include typography.si-font(
|
|
155
|
-
typography.$si-font-size-
|
|
156
|
-
typography.$si-line-height-
|
|
157
|
-
typography.$si-font-weight-
|
|
146
|
+
typography.$si-font-size-h4-bold,
|
|
147
|
+
typography.$si-line-height-h4-bold,
|
|
148
|
+
typography.$si-font-weight-h4-bold
|
|
158
149
|
);
|
|
159
150
|
}
|
|
160
151
|
|
|
152
|
+
h4,
|
|
153
|
+
.h4,
|
|
154
|
+
.si-h4,
|
|
155
|
+
// @deprecated Will be removed in a future major version, use `.si-h4` instead.
|
|
161
156
|
.si-title-1 {
|
|
162
157
|
@include typography.si-font(
|
|
163
|
-
typography.$si-font-size-
|
|
164
|
-
typography.$si-line-height-
|
|
165
|
-
typography.$si-font-weight-
|
|
158
|
+
typography.$si-font-size-h4,
|
|
159
|
+
typography.$si-line-height-h4,
|
|
160
|
+
typography.$si-font-weight-h4
|
|
166
161
|
);
|
|
167
162
|
}
|
|
168
163
|
|
|
169
|
-
.si-
|
|
164
|
+
.si-h5-bold,
|
|
165
|
+
// @deprecated Will be removed in a future major version, use `.si-h5-bold` instead.
|
|
166
|
+
.si-title-2-bold {
|
|
170
167
|
@include typography.si-font(
|
|
171
|
-
typography.$si-font-size-
|
|
172
|
-
typography.$si-line-height-
|
|
173
|
-
typography.$si-font-weight-
|
|
168
|
+
typography.$si-font-size-h5-bold,
|
|
169
|
+
typography.$si-line-height-h5-bold,
|
|
170
|
+
typography.$si-font-weight-h5-bold
|
|
174
171
|
);
|
|
175
172
|
}
|
|
176
173
|
|
|
177
|
-
|
|
174
|
+
h5,
|
|
175
|
+
h6,
|
|
176
|
+
.h5,
|
|
177
|
+
.h6,
|
|
178
|
+
.si-h5,
|
|
179
|
+
// @deprecated Will be removed in a future major version, use `.si-h5` instead.
|
|
180
|
+
.si-title-2 {
|
|
178
181
|
@include typography.si-font(
|
|
179
|
-
typography.$si-font-size-
|
|
180
|
-
typography.$si-line-height-
|
|
181
|
-
typography.$si-font-weight-
|
|
182
|
+
typography.$si-font-size-h5,
|
|
183
|
+
typography.$si-line-height-h5,
|
|
184
|
+
typography.$si-font-weight-h5
|
|
182
185
|
);
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
.si-
|
|
188
|
+
.si-body-lg,
|
|
189
|
+
// @deprecated Will be removed in a future major version, use `.si-body-lg` instead.
|
|
190
|
+
.si-body-1 {
|
|
186
191
|
@include typography.si-font(
|
|
187
|
-
typography.$si-font-size-
|
|
188
|
-
typography.$si-line-height-
|
|
189
|
-
typography.$si-font-weight-
|
|
192
|
+
typography.$si-font-size-body-lg,
|
|
193
|
+
typography.$si-line-height-body-lg,
|
|
194
|
+
typography.$si-font-weight-body-lg
|
|
190
195
|
);
|
|
191
196
|
}
|
|
192
197
|
|
|
198
|
+
.si-body,
|
|
199
|
+
// @deprecated Will be removed in a future major version, use `.si-body` instead.
|
|
193
200
|
.si-body-2 {
|
|
194
201
|
@include typography.si-font(
|
|
195
|
-
typography.$si-font-size-body
|
|
196
|
-
typography.$si-line-height-body
|
|
197
|
-
typography.$si-font-weight-body
|
|
202
|
+
typography.$si-font-size-body,
|
|
203
|
+
typography.$si-line-height-body,
|
|
204
|
+
typography.$si-font-weight-body
|
|
198
205
|
);
|
|
199
206
|
}
|
|
200
207
|
|
|
201
208
|
.si-caption {
|
|
202
209
|
@include typography.si-font(
|
|
203
|
-
typography.$si-font-size-caption
|
|
204
|
-
typography.$si-line-height-caption
|
|
205
|
-
typography.$si-font-weight-caption
|
|
210
|
+
typography.$si-font-size-caption,
|
|
211
|
+
typography.$si-line-height-caption,
|
|
212
|
+
typography.$si-font-weight-caption
|
|
206
213
|
);
|
|
207
214
|
}
|
|
208
215
|
|
|
216
|
+
.si-display-xl,
|
|
209
217
|
.display-1,
|
|
218
|
+
// @deprecated Will be removed in a future major version, use `.si-display-xl` instead.
|
|
210
219
|
.si-display-1 {
|
|
211
220
|
@include typography.si-font(
|
|
212
|
-
typography.$si-font-size-display-
|
|
213
|
-
typography.$si-line-height-display-
|
|
214
|
-
typography.$si-font-weight-display-
|
|
221
|
+
typography.$si-font-size-display-xl,
|
|
222
|
+
typography.$si-line-height-display-xl,
|
|
223
|
+
typography.$si-font-weight-display-xl
|
|
215
224
|
);
|
|
216
225
|
}
|
|
217
226
|
|
|
227
|
+
.si-display-lg,
|
|
218
228
|
.display-2,
|
|
229
|
+
// @deprecated Will be removed in a future major version, use `.si-display-lg` instead.
|
|
219
230
|
.si-display-2 {
|
|
220
231
|
@include typography.si-font(
|
|
221
|
-
typography.$si-font-size-display-
|
|
222
|
-
typography.$si-line-height-display-
|
|
223
|
-
typography.$si-font-weight-display-
|
|
232
|
+
typography.$si-font-size-display-lg,
|
|
233
|
+
typography.$si-line-height-display-lg,
|
|
234
|
+
typography.$si-font-weight-display-lg
|
|
224
235
|
);
|
|
225
236
|
}
|
|
226
237
|
|
|
238
|
+
.si-display-bold,
|
|
227
239
|
.display-3,
|
|
240
|
+
// @deprecated Will be removed in a future major version, use `.si-display-bold` instead.
|
|
228
241
|
.si-display-3 {
|
|
229
242
|
@include typography.si-font(
|
|
230
|
-
typography.$si-font-size-display-
|
|
231
|
-
typography.$si-line-height-display-
|
|
232
|
-
typography.$si-font-weight-display-
|
|
243
|
+
typography.$si-font-size-display-bold,
|
|
244
|
+
typography.$si-line-height-display-bold,
|
|
245
|
+
typography.$si-font-weight-display-bold
|
|
233
246
|
);
|
|
234
247
|
}
|
|
235
248
|
|
|
249
|
+
.si-display,
|
|
236
250
|
.display-4,
|
|
251
|
+
// @deprecated Will be removed in a future major version, use `.si-display` instead.
|
|
237
252
|
.si-display-4 {
|
|
238
253
|
@include typography.si-font(
|
|
239
|
-
typography.$si-font-size-display
|
|
240
|
-
typography.$si-line-height-display
|
|
241
|
-
typography.$si-font-weight-display
|
|
254
|
+
typography.$si-font-size-display,
|
|
255
|
+
typography.$si-line-height-display,
|
|
256
|
+
typography.$si-font-weight-display
|
|
242
257
|
);
|
|
243
258
|
}
|
|
244
259
|
|
|
@@ -163,19 +163,21 @@ $font-family-code: $font-family-monospace !default;
|
|
|
163
163
|
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
|
|
164
164
|
// $font-size-base effects the font size of the body text
|
|
165
165
|
$font-size-root: null !default;
|
|
166
|
-
$font-size-base: typography.$si-font-size-body
|
|
167
|
-
$font-size-lg: typography.$si-font-size-body-
|
|
168
|
-
$font-size-sm: typography.$si-font-size-caption
|
|
166
|
+
$font-size-base: typography.$si-font-size-body !default;
|
|
167
|
+
$font-size-lg: typography.$si-font-size-body-lg !default;
|
|
168
|
+
$font-size-sm: typography.$si-font-size-caption !default;
|
|
169
169
|
|
|
170
170
|
$font-weight-lighter: typography.$si-font-weight-lighter;
|
|
171
171
|
$font-weight-light: typography.$si-font-weight-light;
|
|
172
172
|
$font-weight-normal: typography.$si-font-weight-normal;
|
|
173
|
+
$font-weight-medium: typography.$si-font-weight-medium;
|
|
174
|
+
$font-weight-semibold: typography.$si-font-weight-semibold;
|
|
173
175
|
$font-weight-bold: typography.$si-font-weight-bold;
|
|
174
176
|
$font-weight-bolder: typography.$si-font-weight-bolder;
|
|
175
177
|
|
|
176
178
|
$font-weight-base: $font-weight-normal !default;
|
|
177
179
|
|
|
178
|
-
$line-height-base: typography.$si-line-height-body
|
|
180
|
+
$line-height-base: typography.$si-line-height-body !default;
|
|
179
181
|
$line-height-sm: 1.25 !default;
|
|
180
182
|
$line-height-lg: 2 !default;
|
|
181
183
|
|
|
@@ -198,14 +200,14 @@ $font-sizes: (
|
|
|
198
200
|
$headings-margin-bottom: spacers.$spacer * 0.5 !default;
|
|
199
201
|
$headings-font-family: null !default;
|
|
200
202
|
$headings-font-style: null !default;
|
|
201
|
-
$headings-font-weight: typography.$si-font-weight-
|
|
203
|
+
$headings-font-weight: typography.$si-font-weight-semibold !default;
|
|
202
204
|
$headings-line-height: 1.2 !default;
|
|
203
205
|
$headings-color: semantic-tokens.$element-text-primary !default;
|
|
204
206
|
|
|
205
|
-
$lead-font-size: typography.$si-font-size-body-
|
|
207
|
+
$lead-font-size: typography.$si-font-size-body-lg !default;
|
|
206
208
|
$lead-font-weight: typography.$si-font-weight-normal !default;
|
|
207
209
|
|
|
208
|
-
$small-font-size: typography.$si-font-size-caption
|
|
210
|
+
$small-font-size: typography.$si-font-size-caption !default;
|
|
209
211
|
|
|
210
212
|
$sub-sup-font-size: 0.75em !default;
|
|
211
213
|
|
|
@@ -214,7 +216,7 @@ $initialism-font-size: $small-font-size !default;
|
|
|
214
216
|
$text-muted: semantic-tokens.$element-text-disabled !default;
|
|
215
217
|
|
|
216
218
|
$blockquote-margin-y: spacers.$spacer !default;
|
|
217
|
-
$blockquote-font-size: typography.$si-font-size-body-
|
|
219
|
+
$blockquote-font-size: typography.$si-font-size-body-lg !default;
|
|
218
220
|
$blockquote-footer-color: semantic-tokens.$element-text-secondary !default;
|
|
219
221
|
$blockquote-footer-font-size: $small-font-size !default;
|
|
220
222
|
|
|
@@ -287,7 +289,7 @@ $table-variants: (
|
|
|
287
289
|
$btn-padding-y: map.get(spacers.$spacers, 4);
|
|
288
290
|
$btn-padding-x: map.get(spacers.$spacers, 6);
|
|
289
291
|
$btn-font-size: $font-size-base;
|
|
290
|
-
$btn-line-height: typography.$si-line-height-
|
|
292
|
+
$btn-line-height: typography.$si-line-height-h5 !default;
|
|
291
293
|
$btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
|
|
292
294
|
|
|
293
295
|
$btn-font-size-sm: $font-size-sm;
|
|
@@ -318,7 +320,7 @@ $form-text-font-weight: null !default;
|
|
|
318
320
|
$form-text-color: semantic-tokens.$element-text-secondary !default;
|
|
319
321
|
|
|
320
322
|
$form-label-margin-bottom: 4px !default;
|
|
321
|
-
$form-label-font-size: typography.$si-font-size-body
|
|
323
|
+
$form-label-font-size: typography.$si-font-size-body !default;
|
|
322
324
|
$form-label-font-style: null !default;
|
|
323
325
|
$form-label-font-weight: null !default;
|
|
324
326
|
$form-label-color: semantic-tokens.$element-text-secondary !default;
|
|
@@ -416,8 +418,8 @@ $form-validation-states: (
|
|
|
416
418
|
|
|
417
419
|
$nav-link-padding-y: 10px;
|
|
418
420
|
$nav-link-padding-x: map.get(spacers.$spacers, 8);
|
|
419
|
-
$nav-link-font-size: typography.$si-font-size-
|
|
420
|
-
$nav-link-font-weight: typography.$si-font-weight-
|
|
421
|
+
$nav-link-font-size: typography.$si-font-size-h4;
|
|
422
|
+
$nav-link-font-weight: typography.$si-font-weight-h4;
|
|
421
423
|
$nav-link-color: semantic-tokens.$element-text-secondary !default;
|
|
422
424
|
$nav-link-hover-color: $link-hover-color !default;
|
|
423
425
|
$nav-link-transition: ();
|
|
@@ -513,8 +515,8 @@ $popover-arrow-color: $popover-bg !default;
|
|
|
513
515
|
$popover-arrow-outer-color: $popover-border-color !default;
|
|
514
516
|
|
|
515
517
|
// Badges
|
|
516
|
-
$badge-font-size: typography.$si-font-size-body
|
|
517
|
-
$badge-font-weight: typography.$si-font-weight-body
|
|
518
|
+
$badge-font-size: typography.$si-font-size-body;
|
|
519
|
+
$badge-font-weight: typography.$si-font-weight-body;
|
|
518
520
|
$badge-color: semantic-tokens.$element-text-inverse !default;
|
|
519
521
|
$badge-padding-y: 0;
|
|
520
522
|
$badge-padding-x: map.get(spacers.$spacers, 4);
|
|
@@ -531,7 +533,7 @@ $modal-footer-margin-between: map.get(spacers.$spacers, 6);
|
|
|
531
533
|
$modal-dialog-margin: map.get(spacers.$spacers, 4);
|
|
532
534
|
$modal-dialog-margin-y-sm-up: map.get(spacers.$spacers, 9);
|
|
533
535
|
|
|
534
|
-
$modal-title-line-height: typography.$si-line-height-
|
|
536
|
+
$modal-title-line-height: typography.$si-line-height-h4 !default;
|
|
535
537
|
|
|
536
538
|
$modal-content-color: null !default;
|
|
537
539
|
$modal-content-bg: semantic-tokens.$element-base-1 !default;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
.form-control:not(textarea):not(select[multiple]) {
|
|
89
89
|
// force height to fix line-height issue in firefox
|
|
90
|
-
block-size: calc(#{typography.$si-line-height-body
|
|
90
|
+
block-size: calc(#{typography.$si-line-height-body}em + #{2 * map.get(spacers.$spacers, 4)});
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.addon-second-icon {
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
.form-label {
|
|
15
15
|
display: inline-block;
|
|
16
|
-
|
|
17
|
-
padding-block: map.get(spacers.$spacers, 3) map.get(spacers.$spacers, 2);
|
|
16
|
+
padding-block: map.get(spacers.$spacers, 2);
|
|
18
17
|
|
|
19
18
|
.text-end & {
|
|
20
19
|
padding-inline-end: variables.$input-padding-x;
|
|
@@ -25,8 +24,11 @@
|
|
|
25
24
|
padding-block: map.get(spacers.$spacers, 4) - 1px 0;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
:is(.form-label, .col-form-label, .form-check-label) {
|
|
28
|
+
&.required::after,
|
|
29
|
+
.required::after {
|
|
30
|
+
content: '*';
|
|
31
|
+
}
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.form-text {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
font-size: variables.$form-feedback-font-size;
|
|
29
29
|
display: none;
|
|
30
30
|
inline-size: 100%;
|
|
31
|
-
line-height: typography.$si-line-height-caption
|
|
31
|
+
line-height: typography.$si-line-height-caption;
|
|
32
32
|
margin-block: map.get(spacers.$spacers, 1);
|
|
33
33
|
margin-inline: map.get(spacers.$spacers, 1);
|
|
34
34
|
}
|
|
@@ -76,9 +76,11 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.application-name {
|
|
79
|
-
font-size: typography.$si-font-size-body-
|
|
80
|
-
font-weight: typography.$si-font-weight-body-
|
|
79
|
+
font-size: typography.$si-font-size-body-lg;
|
|
80
|
+
font-weight: typography.$si-font-weight-body-lg;
|
|
81
81
|
padding: map.get(spacers.$spacers, 5);
|
|
82
|
+
margin: 0;
|
|
83
|
+
line-height: normal;
|
|
82
84
|
white-space: nowrap;
|
|
83
85
|
}
|
|
84
86
|
|
|
@@ -133,10 +135,10 @@
|
|
|
133
135
|
position: relative;
|
|
134
136
|
color: semantic-tokens.$element-text-primary;
|
|
135
137
|
inline-size: 100%;
|
|
136
|
-
font-size: typography.$si-font-size-
|
|
137
|
-
line-height: typography.$si-line-height-
|
|
138
|
-
font-weight: typography.$si-font-weight-
|
|
139
|
-
padding-block:
|
|
138
|
+
font-size: typography.$si-font-size-h4;
|
|
139
|
+
line-height: typography.$si-line-height-h4;
|
|
140
|
+
font-weight: typography.$si-font-weight-h4;
|
|
141
|
+
padding-block: 13px;
|
|
140
142
|
padding-inline: map.get(spacers.$spacers, 5);
|
|
141
143
|
background: none;
|
|
142
144
|
box-shadow: none;
|
|
@@ -176,9 +178,9 @@
|
|
|
176
178
|
|
|
177
179
|
&.header-selection-item {
|
|
178
180
|
color: semantic-tokens.$element-action-secondary-text;
|
|
179
|
-
font-size: typography.$si-font-size-
|
|
180
|
-
font-weight: typography.$si-font-weight-
|
|
181
|
-
line-height: typography.$si-line-height-
|
|
181
|
+
font-size: typography.$si-font-size-h5;
|
|
182
|
+
font-weight: typography.$si-font-weight-h5;
|
|
183
|
+
line-height: typography.$si-line-height-h5;
|
|
182
184
|
|
|
183
185
|
&:hover {
|
|
184
186
|
color: semantic-tokens.$element-action-secondary-text-hover;
|
|
@@ -151,7 +151,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
151
151
|
padding-block: 0;
|
|
152
152
|
padding-inline: 4px;
|
|
153
153
|
min-inline-size: $datatable-cell-min-width;
|
|
154
|
-
line-height: typography.$si-line-height-body
|
|
154
|
+
line-height: typography.$si-line-height-body;
|
|
155
155
|
|
|
156
156
|
> div {
|
|
157
157
|
padding: 4px;
|
|
@@ -189,9 +189,9 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
189
189
|
color: $datatable-header-color;
|
|
190
190
|
block-size: $datatable-header-height;
|
|
191
191
|
vertical-align: baseline;
|
|
192
|
-
font-size: typography.$si-font-size-
|
|
193
|
-
font-weight: typography.$si-font-weight-
|
|
194
|
-
line-height: typography.$si-line-height-
|
|
192
|
+
font-size: typography.$si-font-size-h5;
|
|
193
|
+
font-weight: typography.$si-font-weight-h5;
|
|
194
|
+
line-height: typography.$si-line-height-h5;
|
|
195
195
|
user-select: none;
|
|
196
196
|
|
|
197
197
|
.sort-btn {
|
|
@@ -290,7 +290,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
290
290
|
align-content: flex-end;
|
|
291
291
|
background-color: $datatable-footer-background-color;
|
|
292
292
|
color: semantic-tokens.$element-text-secondary;
|
|
293
|
-
font-size: typography.$si-font-size-caption
|
|
293
|
+
font-size: typography.$si-font-size-caption;
|
|
294
294
|
margin-block-start: -1px;
|
|
295
295
|
position: relative;
|
|
296
296
|
z-index: 11;
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
margin-block-end: 0;
|
|
65
65
|
color: variables.$element-text-secondary;
|
|
66
66
|
@include variables.si-font(
|
|
67
|
-
variables.$si-font-size-body
|
|
68
|
-
variables.$si-line-height-body
|
|
69
|
-
variables.$si-font-weight-body
|
|
67
|
+
variables.$si-font-size-body,
|
|
68
|
+
variables.$si-line-height-body,
|
|
69
|
+
variables.$si-font-weight-body
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|