@siemens/element-theme 47.0.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 +28 -0
- package/src/styles/_accessibility.scss +9 -0
- package/src/styles/_all-variables.scss +7 -0
- package/src/styles/_bootstrap.scss +26 -0
- package/src/styles/_themes.scss +35 -0
- package/src/styles/_variables.scss +10 -0
- package/src/styles/bootstrap/_alert.scss +60 -0
- package/src/styles/bootstrap/_badges.scss +115 -0
- package/src/styles/bootstrap/_breadcrumb.scss +32 -0
- package/src/styles/bootstrap/_button-group.scss +101 -0
- package/src/styles/bootstrap/_buttons.scss +244 -0
- package/src/styles/bootstrap/_card.scss +208 -0
- package/src/styles/bootstrap/_containers.scss +44 -0
- package/src/styles/bootstrap/_dropdowns.scss +216 -0
- package/src/styles/bootstrap/_forms.scss +10 -0
- package/src/styles/bootstrap/_functions.scss +188 -0
- package/src/styles/bootstrap/_grid.scss +33 -0
- package/src/styles/bootstrap/_helpers.scss +6 -0
- package/src/styles/bootstrap/_images.scss +45 -0
- package/src/styles/bootstrap/_list-group.scss +197 -0
- package/src/styles/bootstrap/_mixins.scss +30 -0
- package/src/styles/bootstrap/_modals.scss +234 -0
- package/src/styles/bootstrap/_nav.scss +155 -0
- package/src/styles/bootstrap/_pagination.scss +58 -0
- package/src/styles/bootstrap/_popovers.scss +188 -0
- package/src/styles/bootstrap/_progress.scss +42 -0
- package/src/styles/bootstrap/_reboot.scss +618 -0
- package/src/styles/bootstrap/_root.scss +22 -0
- package/src/styles/bootstrap/_tables.scss +186 -0
- package/src/styles/bootstrap/_tooltip.scss +145 -0
- package/src/styles/bootstrap/_transitions.scss +28 -0
- package/src/styles/bootstrap/_type.scss +235 -0
- package/src/styles/bootstrap/_utilities.scss +105 -0
- package/src/styles/bootstrap/_variables.scss +654 -0
- package/src/styles/bootstrap/forms/_form-check.scss +249 -0
- package/src/styles/bootstrap/forms/_form-control.scss +151 -0
- package/src/styles/bootstrap/forms/_form-file.scss +29 -0
- package/src/styles/bootstrap/forms/_form-label.scss +39 -0
- package/src/styles/bootstrap/forms/_form-range.scss +68 -0
- package/src/styles/bootstrap/forms/_input-group.scss +103 -0
- package/src/styles/bootstrap/forms/_validation.scss +95 -0
- package/src/styles/bootstrap/helpers/_clearfix.scss +5 -0
- package/src/styles/bootstrap/helpers/_position.scss +34 -0
- package/src/styles/bootstrap/helpers/_stacks.scss +13 -0
- package/src/styles/bootstrap/helpers/_stretched-link.scss +14 -0
- package/src/styles/bootstrap/helpers/_text-truncation.scss +9 -0
- package/src/styles/bootstrap/helpers/_visually-hidden.scss +10 -0
- package/src/styles/bootstrap/mixins/_backdrop.scss +19 -0
- package/src/styles/bootstrap/mixins/_breakpoints.scss +136 -0
- package/src/styles/bootstrap/mixins/_clearfix.scss +7 -0
- package/src/styles/bootstrap/mixins/_container.scss +7 -0
- package/src/styles/bootstrap/mixins/_deprecate.scss +12 -0
- package/src/styles/bootstrap/mixins/_gradients.scss +14 -0
- package/src/styles/bootstrap/mixins/_grid.scss +171 -0
- package/src/styles/bootstrap/mixins/_image.scss +15 -0
- package/src/styles/bootstrap/mixins/_lists.scss +5 -0
- package/src/styles/bootstrap/mixins/_reset-text.scss +18 -0
- package/src/styles/bootstrap/mixins/_table-row.scss +31 -0
- package/src/styles/bootstrap/mixins/_text-truncate.scss +7 -0
- package/src/styles/bootstrap/mixins/_transition.scss +28 -0
- package/src/styles/bootstrap/mixins/_utilities.scss +86 -0
- package/src/styles/bootstrap/mixins/_visually-hidden.scss +29 -0
- package/src/styles/components/_application-header.scss +244 -0
- package/src/styles/components/_container-grid.scss +99 -0
- package/src/styles/components/_datatable.scss +328 -0
- package/src/styles/components/_drag_drop.scss +105 -0
- package/src/styles/components/_electron-titlebar.scss +5 -0
- package/src/styles/components/_elevation.scss +21 -0
- package/src/styles/components/_focus.scss +21 -0
- package/src/styles/components/_icons.scss +25 -0
- package/src/styles/components/_layout.scss +105 -0
- package/src/styles/components/_links.scss +34 -0
- package/src/styles/components/_pills.scss +45 -0
- package/src/styles/components/_scrollbar.scss +10 -0
- package/src/styles/components/_skeleton.scss +42 -0
- package/src/styles/components/_switch.scss +77 -0
- package/src/styles/components/_system-banner.scss +5 -0
- package/src/styles/components/_widgets.scss +58 -0
- package/src/styles/variables/_animations.scss +7 -0
- package/src/styles/variables/_elevation.scss +25 -0
- package/src/styles/variables/_focus.scss +55 -0
- package/src/styles/variables/_layout.scss +6 -0
- package/src/styles/variables/_semantic-tokens.scss +178 -0
- package/src/styles/variables/_si-vars.scss +19 -0
- package/src/styles/variables/_spacers.scss +28 -0
- package/src/styles/variables/_typography.scss +66 -0
- package/src/styles/variables/_utilities.scss +599 -0
- package/src/styles/variables/_zindex.scss +20 -0
- package/src/theme/_base-colors.scss +79 -0
- package/src/theme/_data-colors.scss +105 -0
- package/src/theme/_theme-element.scss +339 -0
- package/src/theme.scss +49 -0
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
@use '../variables/animations';
|
|
2
|
+
@use '../variables/elevation';
|
|
3
|
+
@use '../variables/semantic-tokens';
|
|
4
|
+
@use '../variables/spacers';
|
|
5
|
+
@use '../variables/typography';
|
|
6
|
+
@use './functions';
|
|
7
|
+
|
|
8
|
+
@use 'sass:map';
|
|
9
|
+
@use 'sass:string';
|
|
10
|
+
|
|
11
|
+
// Variables
|
|
12
|
+
//
|
|
13
|
+
// Variables should follow the `$component-state-property-size` formula for
|
|
14
|
+
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
|
15
|
+
|
|
16
|
+
// Options
|
|
17
|
+
//
|
|
18
|
+
// Quickly modify global styling by enabling or disabling optional features.
|
|
19
|
+
//
|
|
20
|
+
|
|
21
|
+
$enable-smooth-scroll: true !default;
|
|
22
|
+
$enable-cssgrid: false !default;
|
|
23
|
+
$enable-button-pointers: true !default;
|
|
24
|
+
$enable-deprecation-messages: true !default;
|
|
25
|
+
$enable-important-utilities: true !default;
|
|
26
|
+
|
|
27
|
+
// Prefix for :root CSS variables
|
|
28
|
+
|
|
29
|
+
$variable-prefix: bs- !default;
|
|
30
|
+
|
|
31
|
+
// Position
|
|
32
|
+
//
|
|
33
|
+
// Define the edge positioning anchors of the position utilities.
|
|
34
|
+
|
|
35
|
+
$position-values: (
|
|
36
|
+
0: 0,
|
|
37
|
+
50: 50%,
|
|
38
|
+
100: 100%
|
|
39
|
+
) !default;
|
|
40
|
+
|
|
41
|
+
// Body
|
|
42
|
+
//
|
|
43
|
+
// Settings for the `<body>` element.
|
|
44
|
+
|
|
45
|
+
$body-bg: semantic-tokens.$element-base-0 !default;
|
|
46
|
+
$body-color: semantic-tokens.$element-text-primary !default;
|
|
47
|
+
$body-text-align: null !default;
|
|
48
|
+
|
|
49
|
+
// Links
|
|
50
|
+
//
|
|
51
|
+
// Style anchor elements.
|
|
52
|
+
|
|
53
|
+
$link-color: semantic-tokens.$element-ui-0;
|
|
54
|
+
$link-decoration: none !default;
|
|
55
|
+
$link-shade-percentage: 20% !default;
|
|
56
|
+
$link-hover-color: semantic-tokens.$element-ui-0-hover;
|
|
57
|
+
$link-hover-decoration: underline !default;
|
|
58
|
+
$link-border-radius: semantic-tokens.$element-button-radius;
|
|
59
|
+
|
|
60
|
+
$stretched-link-pseudo-element: after !default;
|
|
61
|
+
$stretched-link-z-index: 1 !default;
|
|
62
|
+
|
|
63
|
+
// Paragraphs
|
|
64
|
+
//
|
|
65
|
+
// Style p element.
|
|
66
|
+
|
|
67
|
+
$paragraph-margin-bottom: 1rem !default;
|
|
68
|
+
|
|
69
|
+
// Grid breakpoints
|
|
70
|
+
//
|
|
71
|
+
// Define the minimum dimensions at which your layout will change,
|
|
72
|
+
// adapting to different screen sizes, for use in media queries.
|
|
73
|
+
|
|
74
|
+
$grid-breakpoints: (
|
|
75
|
+
xs: 0,
|
|
76
|
+
sm: 576px,
|
|
77
|
+
md: 768px,
|
|
78
|
+
lg: 992px,
|
|
79
|
+
xl: 1200px,
|
|
80
|
+
xxl: 1400px
|
|
81
|
+
) !default;
|
|
82
|
+
// NOTE: when changing these, also change in si-responsive-container.directive.ts
|
|
83
|
+
|
|
84
|
+
@include functions.assert-ascending($grid-breakpoints, '$grid-breakpoints');
|
|
85
|
+
@include functions.assert-starts-at-zero($grid-breakpoints, '$grid-breakpoints');
|
|
86
|
+
|
|
87
|
+
// Grid containers
|
|
88
|
+
//
|
|
89
|
+
// Define the maximum width of `.container` for different screen sizes.
|
|
90
|
+
|
|
91
|
+
$container-max-widths: (
|
|
92
|
+
sm: 540px,
|
|
93
|
+
md: 720px,
|
|
94
|
+
lg: 960px,
|
|
95
|
+
xl: 1140px,
|
|
96
|
+
xxl: 1320px
|
|
97
|
+
) !default;
|
|
98
|
+
|
|
99
|
+
@include functions.assert-ascending($container-max-widths, '$container-max-widths');
|
|
100
|
+
|
|
101
|
+
// Grid columns
|
|
102
|
+
//
|
|
103
|
+
// Set the number of columns and specify the width of the gutters.
|
|
104
|
+
|
|
105
|
+
$grid-columns: 12 !default;
|
|
106
|
+
$grid-gutter-width: spacers.$spacer !default;
|
|
107
|
+
$grid-row-columns: 6 !default;
|
|
108
|
+
$gutters: spacers.$spacers !default;
|
|
109
|
+
|
|
110
|
+
// Container padding
|
|
111
|
+
|
|
112
|
+
$container-padding-x: $grid-gutter-width * 0.5 !default;
|
|
113
|
+
|
|
114
|
+
// Components
|
|
115
|
+
//
|
|
116
|
+
// Define common padding and border radius sizes and more.
|
|
117
|
+
|
|
118
|
+
$border-width: 1px !default;
|
|
119
|
+
$border-widths: (
|
|
120
|
+
1: 1px,
|
|
121
|
+
2: 2px,
|
|
122
|
+
3: 3px,
|
|
123
|
+
4: 4px,
|
|
124
|
+
5: 5px
|
|
125
|
+
) !default;
|
|
126
|
+
|
|
127
|
+
$border-color: semantic-tokens.$element-ui-4 !default;
|
|
128
|
+
|
|
129
|
+
$border-radius: semantic-tokens.$element-radius-2 !default;
|
|
130
|
+
$border-radius-sm: semantic-tokens.$element-radius-1 !default;
|
|
131
|
+
$border-radius-lg: semantic-tokens.$element-radius-2 !default;
|
|
132
|
+
$border-radius-pill: 50rem !default;
|
|
133
|
+
|
|
134
|
+
$box-shadow: elevation.$element-elevation-2 !default;
|
|
135
|
+
$box-shadow-sm: elevation.$element-elevation-1 !default;
|
|
136
|
+
$box-shadow-lg: elevation.$element-elevation-3 !default;
|
|
137
|
+
$box-shadow-inset: inset 0 1px 1px var(--element-box-shadow-color-2);
|
|
138
|
+
|
|
139
|
+
$component-active-color: semantic-tokens.$element-ui-5 !default;
|
|
140
|
+
|
|
141
|
+
$transition-base: all animations.element-transition-duration(0.2s) ease-in-out !default;
|
|
142
|
+
$transition-fade: opacity animations.element-transition-duration(0.15s) linear !default;
|
|
143
|
+
$transition-collapse: height animations.element-transition-duration(0.35s) ease !default;
|
|
144
|
+
$transition-collapse-width: width animations.element-transition-duration(0.35s) ease !default;
|
|
145
|
+
|
|
146
|
+
$aspect-ratios: (
|
|
147
|
+
'1x1': 100%,
|
|
148
|
+
'4x3': calc(3 / 4 * 100%),
|
|
149
|
+
'16x9': calc(9 / 16 * 100%),
|
|
150
|
+
'21x9': calc(9 / 21 * 100%)
|
|
151
|
+
) !default;
|
|
152
|
+
|
|
153
|
+
// Typography
|
|
154
|
+
//
|
|
155
|
+
// Font, line-height, and color for body text, headings, and more.
|
|
156
|
+
$font-family-sans-serif: var(--element-body-font-family);
|
|
157
|
+
$font-family-monospace:
|
|
158
|
+
SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !default;
|
|
159
|
+
|
|
160
|
+
$font-family-base: $font-family-sans-serif !default;
|
|
161
|
+
$font-family-code: $font-family-monospace !default;
|
|
162
|
+
|
|
163
|
+
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
|
|
164
|
+
// $font-size-base effects the font size of the body text
|
|
165
|
+
$font-size-root: null !default;
|
|
166
|
+
$font-size-base: typography.$si-font-size-body-2 !default;
|
|
167
|
+
$font-size-lg: typography.$si-font-size-body-1 !default;
|
|
168
|
+
$font-size-sm: typography.$si-font-size-caption-1 !default;
|
|
169
|
+
|
|
170
|
+
$font-weight-lighter: typography.$si-font-weight-lighter;
|
|
171
|
+
$font-weight-light: typography.$si-font-weight-light;
|
|
172
|
+
$font-weight-normal: typography.$si-font-weight-normal;
|
|
173
|
+
$font-weight-bold: typography.$si-font-weight-bold;
|
|
174
|
+
$font-weight-bolder: typography.$si-font-weight-bolder;
|
|
175
|
+
|
|
176
|
+
$font-weight-base: $font-weight-normal !default;
|
|
177
|
+
|
|
178
|
+
$line-height-base: typography.$si-line-height-body-2 !default;
|
|
179
|
+
$line-height-sm: 1.25 !default;
|
|
180
|
+
$line-height-lg: 2 !default;
|
|
181
|
+
|
|
182
|
+
$h1-font-size: typography.$si-font-size-h1 !default;
|
|
183
|
+
$h2-font-size: typography.$si-font-size-h2 !default;
|
|
184
|
+
$h3-font-size: typography.$si-font-size-h3 !default;
|
|
185
|
+
$h4-font-size: 1rem !default;
|
|
186
|
+
$h5-font-size: $font-size-base !default;
|
|
187
|
+
$h6-font-size: $font-size-base !default;
|
|
188
|
+
|
|
189
|
+
$font-sizes: (
|
|
190
|
+
1: $h1-font-size,
|
|
191
|
+
2: $h2-font-size,
|
|
192
|
+
3: $h3-font-size,
|
|
193
|
+
4: $h4-font-size,
|
|
194
|
+
5: $h5-font-size,
|
|
195
|
+
6: $h6-font-size
|
|
196
|
+
) !default;
|
|
197
|
+
|
|
198
|
+
$headings-margin-bottom: spacers.$spacer * 0.5 !default;
|
|
199
|
+
$headings-font-family: null !default;
|
|
200
|
+
$headings-font-style: null !default;
|
|
201
|
+
$headings-font-weight: typography.$si-font-weight-bold !default;
|
|
202
|
+
$headings-line-height: 1.2 !default;
|
|
203
|
+
$headings-color: semantic-tokens.$element-text-primary !default;
|
|
204
|
+
|
|
205
|
+
$lead-font-size: typography.$si-font-size-body-1 !default;
|
|
206
|
+
$lead-font-weight: typography.$si-font-weight-normal !default;
|
|
207
|
+
|
|
208
|
+
$small-font-size: typography.$si-font-size-caption-1 !default;
|
|
209
|
+
|
|
210
|
+
$sub-sup-font-size: 0.75em !default;
|
|
211
|
+
|
|
212
|
+
$initialism-font-size: $small-font-size !default;
|
|
213
|
+
|
|
214
|
+
$text-muted: semantic-tokens.$element-text-disabled !default;
|
|
215
|
+
|
|
216
|
+
$blockquote-margin-y: spacers.$spacer !default;
|
|
217
|
+
$blockquote-font-size: typography.$si-font-size-body-1 !default;
|
|
218
|
+
$blockquote-footer-color: semantic-tokens.$element-text-secondary !default;
|
|
219
|
+
$blockquote-footer-font-size: $small-font-size !default;
|
|
220
|
+
|
|
221
|
+
$hr-margin-y: spacers.$spacer !default;
|
|
222
|
+
$hr-color: semantic-tokens.$element-ui-4 !default;
|
|
223
|
+
$hr-height: $border-width !default;
|
|
224
|
+
$hr-opacity: 1 !default;
|
|
225
|
+
|
|
226
|
+
$legend-margin-bottom: 0.5rem !default;
|
|
227
|
+
$legend-font-size: 1.5rem !default;
|
|
228
|
+
$legend-font-weight: null !default;
|
|
229
|
+
|
|
230
|
+
$mark-padding: 0.2em !default;
|
|
231
|
+
|
|
232
|
+
$dt-font-weight: $font-weight-bold !default;
|
|
233
|
+
|
|
234
|
+
$nested-kbd-font-weight: $font-weight-bold !default;
|
|
235
|
+
|
|
236
|
+
$list-inline-padding: 0.5rem !default;
|
|
237
|
+
|
|
238
|
+
$mark-bg: semantic-tokens.$element-status-caution;
|
|
239
|
+
$mark-color: semantic-tokens.$element-status-caution-contrast;
|
|
240
|
+
|
|
241
|
+
// Tables
|
|
242
|
+
//
|
|
243
|
+
// Customizes the `.table` component with basic values, each used across all table variations.
|
|
244
|
+
|
|
245
|
+
$table-cell-padding-y: map.get(spacers.$spacers, 4) !default;
|
|
246
|
+
$table-cell-padding-x: map.get(spacers.$spacers, 4) !default;
|
|
247
|
+
$table-cell-padding-y-sm: map.get(spacers.$spacers, 2) !default;
|
|
248
|
+
$table-cell-padding-x-sm: map.get(spacers.$spacers, 4) !default;
|
|
249
|
+
|
|
250
|
+
$table-cell-vertical-align: top !default;
|
|
251
|
+
|
|
252
|
+
$table-color: $body-color !default;
|
|
253
|
+
$table-bg: semantic-tokens.$element-base-1 !default;
|
|
254
|
+
$table-accent-bg: transparent !default;
|
|
255
|
+
|
|
256
|
+
$table-th-font-weight: null !default;
|
|
257
|
+
|
|
258
|
+
$table-striped-color: $table-color !default;
|
|
259
|
+
$table-striped-bg: semantic-tokens.$element-base-0 !default;
|
|
260
|
+
|
|
261
|
+
$table-active-color: $table-color !default;
|
|
262
|
+
$table-active-bg: semantic-tokens.$element-base-1-selected !default;
|
|
263
|
+
|
|
264
|
+
$table-hover-color: $table-color !default;
|
|
265
|
+
$table-hover-bg: semantic-tokens.$element-base-1-hover !default;
|
|
266
|
+
|
|
267
|
+
$table-border-width: $border-width !default;
|
|
268
|
+
$table-border-color: $border-color !default;
|
|
269
|
+
|
|
270
|
+
$table-striped-order: odd !default;
|
|
271
|
+
|
|
272
|
+
$table-group-separator-color: currentColor !default;
|
|
273
|
+
|
|
274
|
+
$table-caption-color: $text-muted !default;
|
|
275
|
+
|
|
276
|
+
$table-variants: (
|
|
277
|
+
'success': semantic-tokens.$element-base-success,
|
|
278
|
+
'info': semantic-tokens.$element-base-information,
|
|
279
|
+
'warning': semantic-tokens.$element-base-warning,
|
|
280
|
+
'danger': semantic-tokens.$element-base-danger
|
|
281
|
+
) !default;
|
|
282
|
+
|
|
283
|
+
// Buttons
|
|
284
|
+
//
|
|
285
|
+
// For each of Bootstrap's buttons, define text, background, and border color.
|
|
286
|
+
|
|
287
|
+
$btn-padding-y: map.get(spacers.$spacers, 4);
|
|
288
|
+
$btn-padding-x: map.get(spacers.$spacers, 6);
|
|
289
|
+
$btn-font-size: $font-size-base;
|
|
290
|
+
$btn-line-height: typography.$si-line-height-title-2 !default;
|
|
291
|
+
$btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
|
|
292
|
+
|
|
293
|
+
$btn-font-size-sm: $font-size-sm;
|
|
294
|
+
$btn-font-size-lg: $font-size-lg;
|
|
295
|
+
|
|
296
|
+
$btn-link-color: $link-color !default;
|
|
297
|
+
$btn-link-hover-color: $link-hover-color !default;
|
|
298
|
+
$btn-link-disabled-color: semantic-tokens.$element-text-disabled !default;
|
|
299
|
+
|
|
300
|
+
// Allows for customizing button radius independently from global border radius
|
|
301
|
+
$btn-border-radius: semantic-tokens.$element-button-radius !default;
|
|
302
|
+
$btn-border-radius-sm: semantic-tokens.$element-button-radius !default;
|
|
303
|
+
$btn-border-radius-lg: semantic-tokens.$element-button-radius !default;
|
|
304
|
+
|
|
305
|
+
$btn-transition:
|
|
306
|
+
color 0.15s ease-in-out,
|
|
307
|
+
background-color 0.15s ease-in-out,
|
|
308
|
+
border-color 0.15s ease-in-out,
|
|
309
|
+
box-shadow 0.15s ease-in-out !default;
|
|
310
|
+
|
|
311
|
+
// Forms
|
|
312
|
+
// According to figma it should be 2px + line-height: 16px
|
|
313
|
+
// As overriding line-height is not planned by bootstrap, we use 4px + line-height of 14px
|
|
314
|
+
$form-text-margin-top: map.get(spacers.$spacers, 2);
|
|
315
|
+
$form-text-font-size: $small-font-size !default;
|
|
316
|
+
$form-text-font-style: null !default;
|
|
317
|
+
$form-text-font-weight: null !default;
|
|
318
|
+
$form-text-color: semantic-tokens.$element-text-secondary !default;
|
|
319
|
+
|
|
320
|
+
$form-label-margin-bottom: 4px !default;
|
|
321
|
+
$form-label-font-size: typography.$si-font-size-body-2 !default;
|
|
322
|
+
$form-label-font-style: null !default;
|
|
323
|
+
$form-label-font-weight: null !default;
|
|
324
|
+
$form-label-color: semantic-tokens.$element-text-secondary !default;
|
|
325
|
+
|
|
326
|
+
$input-padding-y: (map.get(spacers.$spacers, 4) - 1px); // 8px including 1px border
|
|
327
|
+
$input-padding-x: (map.get(spacers.$spacers, 4) - 1px); // 8px including 1px border
|
|
328
|
+
$input-font-family: null !default;
|
|
329
|
+
$input-font-size: $font-size-base;
|
|
330
|
+
$input-font-weight: $font-weight-base;
|
|
331
|
+
$input-line-height: $line-height-base;
|
|
332
|
+
|
|
333
|
+
$input-bg: semantic-tokens.$element-base-1 !default;
|
|
334
|
+
$input-disabled-bg: semantic-tokens.$element-base-1 !default;
|
|
335
|
+
$input-disabled-border-color: semantic-tokens.$element-ui-4 !default;
|
|
336
|
+
|
|
337
|
+
$input-color: semantic-tokens.$element-text-primary !default;
|
|
338
|
+
$input-border-color: semantic-tokens.$element-ui-2 !default;
|
|
339
|
+
$input-border-width: $border-width !default;
|
|
340
|
+
$input-box-shadow: $box-shadow-inset !default;
|
|
341
|
+
|
|
342
|
+
$input-border-radius: semantic-tokens.$element-input-radius !default;
|
|
343
|
+
|
|
344
|
+
$input-focus-bg: $input-bg !default;
|
|
345
|
+
$input-focus-color: $input-color !default;
|
|
346
|
+
|
|
347
|
+
$input-placeholder-color: semantic-tokens.$element-text-secondary !default;
|
|
348
|
+
$input-placeholder-disabled-color: transparent !default;
|
|
349
|
+
$input-plaintext-color: $body-color !default;
|
|
350
|
+
|
|
351
|
+
$input-height-border: $input-border-width * 2 !default;
|
|
352
|
+
|
|
353
|
+
$input-height-inner: functions.add($input-line-height * 1em, $input-padding-y * 2) !default;
|
|
354
|
+
$input-height-inner-half: functions.add($input-line-height * 0.5em, $input-padding-y) !default;
|
|
355
|
+
$input-height-inner-quarter: functions.add(
|
|
356
|
+
$input-line-height * 0.25em,
|
|
357
|
+
$input-padding-y * 0.5
|
|
358
|
+
) !default;
|
|
359
|
+
|
|
360
|
+
$input-height: functions.add(
|
|
361
|
+
$input-line-height * 1em,
|
|
362
|
+
functions.add($input-padding-y * 2, $input-height-border, false)
|
|
363
|
+
) !default;
|
|
364
|
+
|
|
365
|
+
$input-transition:
|
|
366
|
+
border-color 0.15s ease-in-out,
|
|
367
|
+
box-shadow 0.15s ease-in-out !default;
|
|
368
|
+
|
|
369
|
+
$form-check-input-checked-bg-image: url('data:image/svg+xml;base64,PHN2ZyBpZD0iSWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+CiAgPHRpdGxlPm9rPC90aXRsZT4KICA8cGF0aCBkPSJNMzc5LjUxLDE1Ni43NmwtMTczLDE3My03NC03NGExMiwxMiwwLDEsMC0xNywxN2w4Mi41LDgyLjVhMTIsMTIsMCwwLDAsMTcsMGwxODEuNS0xODEuNWExMiwxMiwwLDAsMC0xNy0xN1oiLz4KPC9zdmc+Cg==');
|
|
370
|
+
$form-check-inline-margin-end: 1rem !default;
|
|
371
|
+
|
|
372
|
+
$input-group-addon-padding-y: $input-padding-y !default;
|
|
373
|
+
$input-group-addon-padding-x: $input-padding-x !default;
|
|
374
|
+
$input-group-addon-font-weight: $input-font-weight !default;
|
|
375
|
+
$input-group-addon-color: $input-color !default;
|
|
376
|
+
$input-group-addon-bg: semantic-tokens.$element-ui-4 !default;
|
|
377
|
+
$input-group-addon-border-color: $input-border-color !default;
|
|
378
|
+
|
|
379
|
+
// Form validation
|
|
380
|
+
|
|
381
|
+
$form-feedback-font-size: $form-text-font-size !default;
|
|
382
|
+
$form-feedback-valid-color: null !default;
|
|
383
|
+
$form-feedback-warning-color: semantic-tokens.$element-text-warning !default;
|
|
384
|
+
$form-feedback-invalid-color: semantic-tokens.$element-text-danger !default;
|
|
385
|
+
|
|
386
|
+
$form-feedback-icon-valid: semantic-tokens.$element-feedback-icon-valid;
|
|
387
|
+
$form-feedback-icon-invalid: semantic-tokens.$element-feedback-icon-invalid;
|
|
388
|
+
$form-feedback-icon-warning: semantic-tokens.$element-feedback-icon-warning;
|
|
389
|
+
|
|
390
|
+
$form-validation-states: (
|
|
391
|
+
'valid': (
|
|
392
|
+
'color': null,
|
|
393
|
+
'text-color': $form-feedback-valid-color,
|
|
394
|
+
'icon': $form-feedback-icon-valid
|
|
395
|
+
),
|
|
396
|
+
'invalid': (
|
|
397
|
+
'color': semantic-tokens.$element-status-danger,
|
|
398
|
+
'text-color': $form-feedback-invalid-color,
|
|
399
|
+
'icon': $form-feedback-icon-invalid
|
|
400
|
+
),
|
|
401
|
+
'warning': (
|
|
402
|
+
'color': semantic-tokens.$element-status-warning,
|
|
403
|
+
'text-color': $form-feedback-warning-color,
|
|
404
|
+
'icon': $form-feedback-icon-warning
|
|
405
|
+
)
|
|
406
|
+
);
|
|
407
|
+
|
|
408
|
+
// Z-index master list
|
|
409
|
+
//
|
|
410
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
|
411
|
+
// of components dependent on the z-axis and are designed to all work together.
|
|
412
|
+
|
|
413
|
+
// $zindex-* moved to variables/_zindex.scss
|
|
414
|
+
|
|
415
|
+
// Navs
|
|
416
|
+
|
|
417
|
+
$nav-link-padding-y: 10px;
|
|
418
|
+
$nav-link-padding-x: map.get(spacers.$spacers, 8);
|
|
419
|
+
$nav-link-font-size: typography.$si-font-size-title-1;
|
|
420
|
+
$nav-link-font-weight: typography.$si-font-weight-title-1;
|
|
421
|
+
$nav-link-color: semantic-tokens.$element-text-secondary !default;
|
|
422
|
+
$nav-link-hover-color: $link-hover-color !default;
|
|
423
|
+
$nav-link-transition: ();
|
|
424
|
+
$nav-link-disabled-color: semantic-tokens.$element-text-disabled !default;
|
|
425
|
+
|
|
426
|
+
$nav-tabs-border-color: transparent;
|
|
427
|
+
$nav-tabs-border-width: 2px;
|
|
428
|
+
$nav-tabs-border-radius: 0;
|
|
429
|
+
$nav-tabs-link-hover-border-color: transparent transparent $nav-tabs-border-color !default;
|
|
430
|
+
$nav-tabs-link-active-color: semantic-tokens.$element-action-secondary-text-hover !default;
|
|
431
|
+
$nav-tabs-link-active-bg: transparent !default;
|
|
432
|
+
|
|
433
|
+
// Dropdowns
|
|
434
|
+
//
|
|
435
|
+
// Dropdown menu container and contents.
|
|
436
|
+
$dropdown-min-width: 10rem !default;
|
|
437
|
+
$dropdown-padding-x: 0 !default;
|
|
438
|
+
$dropdown-padding-y: map.get(spacers.$spacers, 4) !default;
|
|
439
|
+
$dropdown-spacer: 0.125rem !default;
|
|
440
|
+
$dropdown-font-size: $font-size-base !default;
|
|
441
|
+
$dropdown-color: $body-color !default;
|
|
442
|
+
$dropdown-bg: semantic-tokens.$element-base-1 !default;
|
|
443
|
+
$dropdown-border-radius: semantic-tokens.$element-radius-2 !default;
|
|
444
|
+
$dropdown-divider-bg: semantic-tokens.$element-ui-4 !default;
|
|
445
|
+
$dropdown-divider-margin-y: 4px !default;
|
|
446
|
+
$dropdown-box-shadow: elevation.$element-elevation-2 !default;
|
|
447
|
+
$dropdown-link-color: semantic-tokens.$element-text-primary !default;
|
|
448
|
+
$dropdown-link-disabled-color: semantic-tokens.$element-text-disabled !default;
|
|
449
|
+
$dropdown-item-padding-y: 6px !default;
|
|
450
|
+
$dropdown-item-padding-x: map.get(spacers.$spacers, 5);
|
|
451
|
+
$dropdown-header-color: semantic-tokens.$element-text-primary !default;
|
|
452
|
+
|
|
453
|
+
// Cards
|
|
454
|
+
|
|
455
|
+
$card-spacer-y: map.get(spacers.$spacers, 6) !default;
|
|
456
|
+
$card-spacer-x: map.get(spacers.$spacers, 6) !default;
|
|
457
|
+
$card-title-spacer-y: map.get(spacers.$spacers, 5) !default;
|
|
458
|
+
$card-border-radius: $border-radius !default;
|
|
459
|
+
$card-inner-border-radius: $card-border-radius;
|
|
460
|
+
$card-cap-padding-y: map.get(spacers.$spacers, 5) !default;
|
|
461
|
+
$card-cap-padding-x: $card-spacer-x !default;
|
|
462
|
+
$card-cap-bg: semantic-tokens.$element-base-1 !default;
|
|
463
|
+
$card-cap-color: null !default;
|
|
464
|
+
$card-height: null !default;
|
|
465
|
+
$card-color: null !default;
|
|
466
|
+
$card-bg: semantic-tokens.$element-base-1 !default;
|
|
467
|
+
$card-img-overlay-padding: spacers.$spacer !default;
|
|
468
|
+
$card-group-margin: $grid-gutter-width !default;
|
|
469
|
+
|
|
470
|
+
// Tooltips
|
|
471
|
+
|
|
472
|
+
$tooltip-font-size: $font-size-base !default;
|
|
473
|
+
$tooltip-max-width: 200px !default;
|
|
474
|
+
$tooltip-color: semantic-tokens.$element-ui-5 !default;
|
|
475
|
+
$tooltip-bg: semantic-tokens.$element-ui-1 !default;
|
|
476
|
+
$tooltip-border-radius: semantic-tokens.$element-radius-2 !default;
|
|
477
|
+
$tooltip-opacity: 0.9 !default;
|
|
478
|
+
$tooltip-padding-y: map.get(spacers.$spacers, 4) !default;
|
|
479
|
+
$tooltip-padding-x: map.get(spacers.$spacers, 6) !default;
|
|
480
|
+
$tooltip-margin: 0 !default;
|
|
481
|
+
|
|
482
|
+
$tooltip-arrow-width: 12px !default;
|
|
483
|
+
$tooltip-arrow-height: 6px !default;
|
|
484
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
|
485
|
+
|
|
486
|
+
// Popovers
|
|
487
|
+
|
|
488
|
+
$popover-font-size: $font-size-base;
|
|
489
|
+
$popover-bg: semantic-tokens.$element-base-3 !default;
|
|
490
|
+
$popover-max-width: 276px !default;
|
|
491
|
+
$popover-border-width: $border-width !default;
|
|
492
|
+
$popover-border-color: semantic-tokens.$element-ui-4 !default;
|
|
493
|
+
$popover-border-radius: $border-radius-lg !default;
|
|
494
|
+
$popover-inner-border-radius: functions.subtract(
|
|
495
|
+
$popover-border-radius,
|
|
496
|
+
$popover-border-width
|
|
497
|
+
) !default;
|
|
498
|
+
$popover-box-shadow: $box-shadow !default;
|
|
499
|
+
|
|
500
|
+
$popover-header-bg: semantic-tokens.$element-base-3 !default;
|
|
501
|
+
$popover-header-color: semantic-tokens.$element-text-active;
|
|
502
|
+
$popover-header-padding-y: map.get(spacers.$spacers, 5) !default;
|
|
503
|
+
$popover-header-padding-x: map.get(spacers.$spacers, 5) !default;
|
|
504
|
+
|
|
505
|
+
$popover-body-color: semantic-tokens.$element-text-primary !default;
|
|
506
|
+
$popover-body-padding-y: $popover-header-padding-y !default;
|
|
507
|
+
$popover-body-padding-x: $popover-header-padding-x !default;
|
|
508
|
+
|
|
509
|
+
$popover-arrow-width: 12px;
|
|
510
|
+
$popover-arrow-height: 6px;
|
|
511
|
+
$popover-arrow-color: $popover-bg !default;
|
|
512
|
+
|
|
513
|
+
$popover-arrow-outer-color: $popover-border-color !default;
|
|
514
|
+
|
|
515
|
+
// Badges
|
|
516
|
+
$badge-font-size: typography.$si-font-size-body-2;
|
|
517
|
+
$badge-font-weight: typography.$si-font-weight-body-2;
|
|
518
|
+
$badge-color: semantic-tokens.$element-text-inverse !default;
|
|
519
|
+
$badge-padding-y: 0;
|
|
520
|
+
$badge-padding-x: map.get(spacers.$spacers, 4);
|
|
521
|
+
$badge-border-radius: map.get(spacers.$spacers, 5);
|
|
522
|
+
|
|
523
|
+
// Modals
|
|
524
|
+
|
|
525
|
+
// Padding applied to the modal body
|
|
526
|
+
$modal-inner-padding: map.get(spacers.$spacers, 8);
|
|
527
|
+
|
|
528
|
+
// Margin between elements in footer, must be lower than or equal to 2 * $modal-inner-padding
|
|
529
|
+
$modal-footer-margin-between: map.get(spacers.$spacers, 6);
|
|
530
|
+
|
|
531
|
+
$modal-dialog-margin: map.get(spacers.$spacers, 4);
|
|
532
|
+
$modal-dialog-margin-y-sm-up: map.get(spacers.$spacers, 9);
|
|
533
|
+
|
|
534
|
+
$modal-title-line-height: typography.$si-line-height-title-1 !default;
|
|
535
|
+
|
|
536
|
+
$modal-content-color: null !default;
|
|
537
|
+
$modal-content-bg: semantic-tokens.$element-base-1 !default;
|
|
538
|
+
$modal-content-border-width: $border-width !default;
|
|
539
|
+
$modal-content-border-radius: $border-radius-lg !default;
|
|
540
|
+
$modal-content-inner-border-radius: functions.subtract(
|
|
541
|
+
$modal-content-border-radius,
|
|
542
|
+
$modal-content-border-width
|
|
543
|
+
) !default;
|
|
544
|
+
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
|
545
|
+
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
|
546
|
+
|
|
547
|
+
$modal-backdrop-bg: semantic-tokens.$element-base-translucent-1 !default;
|
|
548
|
+
$modal-backdrop-opacity: 1 !default;
|
|
549
|
+
$modal-header-border-color: $border-color !default;
|
|
550
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
|
551
|
+
$modal-header-border-width: 0 !default;
|
|
552
|
+
$modal-footer-border-width: 0 !default;
|
|
553
|
+
$modal-header-padding-y: map.get(spacers.$spacers, 5);
|
|
554
|
+
$modal-header-padding-x: map.get(spacers.$spacers, 8);
|
|
555
|
+
|
|
556
|
+
$modal-sm: 300px !default;
|
|
557
|
+
$modal-md: 500px !default;
|
|
558
|
+
$modal-lg: 800px !default;
|
|
559
|
+
$modal-xl: 1140px !default;
|
|
560
|
+
|
|
561
|
+
$modal-fade-transform: translate(0, -50px) !default;
|
|
562
|
+
$modal-show-transform: none !default;
|
|
563
|
+
$modal-transition: transform animations.element-transition-duration(0.3s) ease-out !default;
|
|
564
|
+
$modal-scale-transform: scale(1.02) !default;
|
|
565
|
+
|
|
566
|
+
// Alerts
|
|
567
|
+
//
|
|
568
|
+
// Define alert colors, border radius, and padding.
|
|
569
|
+
|
|
570
|
+
$alert-padding-y: 10px !default;
|
|
571
|
+
$alert-padding-x: map.get(spacers.$spacers, 5) !default;
|
|
572
|
+
$alert-margin-bottom: 0 !default;
|
|
573
|
+
$alert-border-radius: 0 !default;
|
|
574
|
+
$alert-link-font-weight: $font-weight-bold !default;
|
|
575
|
+
$alert-border-width: 0 !default;
|
|
576
|
+
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
|
577
|
+
|
|
578
|
+
// Progress bars
|
|
579
|
+
|
|
580
|
+
$progress-height: 0.5rem !default;
|
|
581
|
+
$progress-font-size: $font-size-base * 0.75 !default;
|
|
582
|
+
$progress-bg: semantic-tokens.$element-ui-4 !default;
|
|
583
|
+
$progress-border-radius: $progress-height * 0.5 !default;
|
|
584
|
+
$progress-box-shadow: none !default;
|
|
585
|
+
$progress-bar-color: semantic-tokens.$element-text-inverse !default;
|
|
586
|
+
$progress-bar-bg: semantic-tokens.$element-ui-0 !default;
|
|
587
|
+
$progress-bar-animation-timing: 1s linear infinite !default;
|
|
588
|
+
$progress-bar-transition: width animations.element-transition-duration(0.6s) ease;
|
|
589
|
+
|
|
590
|
+
// List group
|
|
591
|
+
|
|
592
|
+
$list-group-color: semantic-tokens.$element-text-primary !default;
|
|
593
|
+
$list-group-bg: semantic-tokens.$element-base-1 !default;
|
|
594
|
+
$list-group-border-color: $border-color !default;
|
|
595
|
+
$list-group-border-width: $border-width !default;
|
|
596
|
+
$list-group-border-radius: $border-radius !default;
|
|
597
|
+
|
|
598
|
+
$list-group-item-padding-y: map.get(spacers.$spacers, 4) !default;
|
|
599
|
+
$list-group-item-padding-x: map.get(spacers.$spacers, 6) !default; // 1.25rem !default;
|
|
600
|
+
|
|
601
|
+
$list-group-hover-bg: semantic-tokens.$element-base-1-hover !default;
|
|
602
|
+
$list-group-active-color: $body-color !default;
|
|
603
|
+
$list-group-active-bg: semantic-tokens.$element-base-1-selected !default;
|
|
604
|
+
$list-group-active-border-color: $border-color !default;
|
|
605
|
+
|
|
606
|
+
$list-group-disabled-color: semantic-tokens.$element-text-disabled !default;
|
|
607
|
+
$list-group-disabled-bg: $list-group-bg !default;
|
|
608
|
+
|
|
609
|
+
$list-group-action-color: semantic-tokens.$element-text-primary !default;
|
|
610
|
+
$list-group-action-hover-color: $list-group-action-color !important !default;
|
|
611
|
+
|
|
612
|
+
$list-group-action-active-color: $body-color !default;
|
|
613
|
+
$list-group-action-active-bg: semantic-tokens.$element-base-0 !default;
|
|
614
|
+
|
|
615
|
+
// Image thumbnails
|
|
616
|
+
|
|
617
|
+
$thumbnail-padding: 0.25rem !default;
|
|
618
|
+
$thumbnail-bg: $body-bg !default;
|
|
619
|
+
$thumbnail-border-width: $border-width !default;
|
|
620
|
+
$thumbnail-border-color: $border-color !default;
|
|
621
|
+
$thumbnail-border-radius: $border-radius !default;
|
|
622
|
+
$thumbnail-box-shadow: $box-shadow-sm !default;
|
|
623
|
+
|
|
624
|
+
// Figures
|
|
625
|
+
|
|
626
|
+
$figure-caption-font-size: $small-font-size !default;
|
|
627
|
+
$figure-caption-color: semantic-tokens.$element-text-secondary !default;
|
|
628
|
+
|
|
629
|
+
// Breadcrumbs
|
|
630
|
+
|
|
631
|
+
$breadcrumb-font-size: null !default;
|
|
632
|
+
$breadcrumb-padding-y: 0;
|
|
633
|
+
$breadcrumb-padding-x: 0;
|
|
634
|
+
$breadcrumb-item-padding-x: map.get(spacers.$spacers, 5);
|
|
635
|
+
$breadcrumb-margin-bottom: 0;
|
|
636
|
+
$breadcrumb-bg: inherit !default;
|
|
637
|
+
$breadcrumb-divider-color: semantic-tokens.$element-ui-2 !default;
|
|
638
|
+
$breadcrumb-active-color: $link-color !default;
|
|
639
|
+
$breadcrumb-divider: string.quote('>') !default;
|
|
640
|
+
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
|
641
|
+
$breadcrumb-border-radius: 0 !default;
|
|
642
|
+
|
|
643
|
+
// Code
|
|
644
|
+
|
|
645
|
+
$code-font-size: 87.5% !default;
|
|
646
|
+
$code-color: semantic-tokens.$element-data-11 !default;
|
|
647
|
+
|
|
648
|
+
$kbd-padding-y: 0.2rem !default;
|
|
649
|
+
$kbd-padding-x: 0.4rem !default;
|
|
650
|
+
$kbd-font-size: $code-font-size !default;
|
|
651
|
+
$kbd-color: semantic-tokens.$element-base-1 !default;
|
|
652
|
+
$kbd-bg: semantic-tokens.$element-ui-1 !default;
|
|
653
|
+
|
|
654
|
+
$pre-color: semantic-tokens.$element-text-primary !default;
|