@react-md/core 1.0.0-next.5 → 1.0.0-next.7
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/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +12 -0
- package/CHANGELOG.md +12 -0
- package/dist/_core.scss +157 -240
- package/dist/_utils.scss +10 -0
- package/dist/app-bar/_app-bar.scss +95 -93
- package/dist/avatar/_avatar.scss +49 -47
- package/dist/badge/_badge.scss +19 -17
- package/dist/box/_box.scss +57 -55
- package/dist/button/_button.scss +122 -120
- package/dist/card/_card.scss +72 -70
- package/dist/chip/_chip.scss +105 -103
- package/dist/dialog/_dialog.scss +128 -126
- package/dist/divider/_divider.scss +24 -22
- package/dist/draggable/_draggable.scss +16 -12
- package/dist/expansion-panel/_expansion-panel.scss +69 -52
- package/dist/form/Form.d.ts +1 -1
- package/dist/form/Form.js +2 -1
- package/dist/form/Form.js.map +1 -1
- package/dist/form/_form.scss +1175 -1128
- package/dist/icon/_icon.scss +64 -62
- package/dist/interaction/_interaction.scss +39 -35
- package/dist/layout/_layout.scss +68 -67
- package/dist/link/_link.scss +52 -50
- package/dist/list/_list.scss +124 -122
- package/dist/menu/_menu.scss +9 -7
- package/dist/overlay/_overlay.scss +25 -23
- package/dist/progress/_progress.scss +11 -6
- package/dist/responsive-item/_responsive-item.scss +91 -89
- package/dist/segmented-button/_segmented-button.scss +54 -49
- package/dist/sheet/_sheet.scss +84 -82
- package/dist/snackbar/_snackbar.scss +128 -123
- package/dist/table/_table.scss +159 -157
- package/dist/tabs/_tabs.scss +10 -8
- package/dist/tooltip/_tooltip.scss +60 -58
- package/dist/transition/_transition.scss +44 -39
- package/dist/tree/_tree.scss +83 -81
- package/dist/typography/_typography.scss +58 -49
- package/dist/window-splitter/_window-splitter.scss +72 -70
- package/package.json +1 -1
- package/src/_core.scss +157 -240
- package/src/_utils.scss +10 -0
- package/src/app-bar/_app-bar.scss +95 -93
- package/src/avatar/_avatar.scss +49 -47
- package/src/badge/_badge.scss +19 -17
- package/src/box/_box.scss +57 -55
- package/src/button/_button.scss +122 -120
- package/src/card/_card.scss +72 -70
- package/src/chip/_chip.scss +105 -103
- package/src/dialog/_dialog.scss +128 -126
- package/src/divider/_divider.scss +24 -22
- package/src/draggable/_draggable.scss +16 -12
- package/src/expansion-panel/_expansion-panel.scss +69 -52
- package/src/form/Form.tsx +2 -1
- package/src/form/_form.scss +1175 -1128
- package/src/icon/_icon.scss +64 -62
- package/src/interaction/_interaction.scss +39 -35
- package/src/layout/_layout.scss +68 -67
- package/src/link/_link.scss +52 -50
- package/src/list/_list.scss +124 -122
- package/src/menu/_menu.scss +9 -7
- package/src/overlay/_overlay.scss +25 -23
- package/src/progress/_progress.scss +11 -6
- package/src/responsive-item/_responsive-item.scss +91 -89
- package/src/segmented-button/_segmented-button.scss +54 -49
- package/src/sheet/_sheet.scss +84 -82
- package/src/snackbar/_snackbar.scss +128 -123
- package/src/table/_table.scss +159 -157
- package/src/tabs/_tabs.scss +10 -8
- package/src/tooltip/_tooltip.scss +60 -58
- package/src/transition/_transition.scss +44 -39
- package/src/tree/_tree.scss +83 -81
- package/src/typography/_typography.scss +58 -49
- package/src/window-splitter/_window-splitter.scss +72 -70
- package/tsconfig.json +2 -2
package/src/_core.scss
CHANGED
|
@@ -140,160 +140,162 @@ $_layer-order: (
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
@mixin css-utils {
|
|
144
|
-
.
|
|
145
|
-
display
|
|
146
|
-
|
|
143
|
+
@mixin css-utils($disable-layer: false) {
|
|
144
|
+
@include utils.optional-layer(utils, $disable-layer) {
|
|
145
|
+
.rmd-display-none {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
147
148
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
.rmd-sr-only {
|
|
150
|
+
@include utils.sr-only(true);
|
|
151
|
+
}
|
|
151
152
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
.rmd-phone-sr-only {
|
|
154
|
+
@include media-queries.phone-media {
|
|
155
|
+
@include utils.sr-only;
|
|
156
|
+
}
|
|
155
157
|
}
|
|
156
|
-
}
|
|
157
158
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
.rmd-outline {
|
|
160
|
+
// inset box-shadow is faded on the lower right half? use outline instead
|
|
161
|
+
outline: theme.theme-get-var(outline-width) solid
|
|
162
|
+
theme.theme-get-var(outline-color);
|
|
163
|
+
outline-offset: utils.negate-var(theme.theme-get-var(outline-width));
|
|
164
|
+
}
|
|
164
165
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
.rmd-greyscale-outline {
|
|
167
|
+
@include theme.theme-set-var(outline-color, outline-grey-color);
|
|
168
|
+
}
|
|
168
169
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
.rmd-background-container {
|
|
171
|
+
@include theme.theme-use-var(background-color);
|
|
172
|
+
@include theme.theme-use-var(color, on-background-color, currentcolor);
|
|
173
|
+
}
|
|
173
174
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
@each $color in (primary, secondary, warning, success, error) {
|
|
176
|
+
$theme-name: $color + "-color";
|
|
177
|
+
$on-theme-name: "on-" + $theme-name;
|
|
177
178
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
.rmd-#{$color}-container {
|
|
180
|
+
@include theme.theme-set-var(background-color, $theme-name);
|
|
181
|
+
@include theme.theme-set-var(on-background-color, $on-theme-name);
|
|
182
|
+
}
|
|
182
183
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
.rmd-#{$theme-name} {
|
|
185
|
+
@include theme.theme-use-var(color, $theme-name);
|
|
186
|
+
}
|
|
186
187
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
.rmd-#{$on-theme-name} {
|
|
189
|
+
@include theme.theme-use-var(color, $on-theme-name);
|
|
190
|
+
}
|
|
190
191
|
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
.rmd-#{$color}-outline {
|
|
193
|
+
@include theme.theme-set-var(outline-color, $theme-name);
|
|
194
|
+
}
|
|
193
195
|
}
|
|
194
|
-
}
|
|
195
196
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
@each $color in (primary, secondary, hint, disabled) {
|
|
198
|
+
.rmd-text-#{$color}-color {
|
|
199
|
+
@include theme.theme-use-var(color, text-#{$color}-color);
|
|
200
|
+
}
|
|
199
201
|
}
|
|
200
|
-
}
|
|
201
202
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
203
|
+
.rmd-light-surface {
|
|
204
|
+
@include interaction.use-light-surface;
|
|
205
|
+
@include theme.theme-set-var(
|
|
206
|
+
text-primary-color,
|
|
207
|
+
theme.$light-theme-text-primary-color
|
|
208
|
+
);
|
|
209
|
+
@include theme.theme-set-var(
|
|
210
|
+
text-secondary-color,
|
|
211
|
+
theme.$light-theme-text-secondary-color
|
|
212
|
+
);
|
|
213
|
+
@include theme.theme-set-var(
|
|
214
|
+
text-hint-color,
|
|
215
|
+
theme.$light-theme-text-hint-color
|
|
216
|
+
);
|
|
217
|
+
@include theme.theme-set-var(
|
|
218
|
+
text-disabled-color,
|
|
219
|
+
theme.$dark-theme-text-disabled-color
|
|
220
|
+
);
|
|
221
|
+
}
|
|
221
222
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
223
|
+
.rmd-dark-surface {
|
|
224
|
+
@include interaction.use-dark-surface;
|
|
225
|
+
@include theme.theme-set-var(
|
|
226
|
+
text-primary-color,
|
|
227
|
+
theme.$dark-theme-text-primary-color
|
|
228
|
+
);
|
|
229
|
+
@include theme.theme-set-var(
|
|
230
|
+
text-secondary-color,
|
|
231
|
+
theme.$dark-theme-text-secondary-color
|
|
232
|
+
);
|
|
233
|
+
@include theme.theme-set-var(
|
|
234
|
+
text-hint-color,
|
|
235
|
+
theme.$dark-theme-text-hint-color
|
|
236
|
+
);
|
|
237
|
+
@include theme.theme-set-var(
|
|
238
|
+
text-disabled-color,
|
|
239
|
+
theme.$dark-theme-text-disabled-color
|
|
240
|
+
);
|
|
241
|
+
}
|
|
241
242
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
.rmd-no-margin {
|
|
244
|
+
margin: 0;
|
|
245
|
+
}
|
|
245
246
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
.rmd-no-margin-top {
|
|
248
|
+
margin-top: 0;
|
|
249
|
+
}
|
|
249
250
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
.rmd-no-margin-bottom {
|
|
252
|
+
margin-bottom: 0;
|
|
253
|
+
}
|
|
253
254
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
.rmd-centered {
|
|
256
|
+
margin: 0 auto;
|
|
257
|
+
}
|
|
257
258
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
.rmd-nowrap {
|
|
260
|
+
white-space: nowrap;
|
|
261
|
+
}
|
|
261
262
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
.rmd-ellipsis {
|
|
264
|
+
@include typography.text-overflow(null);
|
|
265
|
+
}
|
|
265
266
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
@each $alignment in typography.$text-alignments {
|
|
268
|
+
.rmd-align-#{$alignment} {
|
|
269
|
+
@if $alignment != center {
|
|
270
|
+
@include utils.auto-rtl(text-align, $alignment);
|
|
271
|
+
} @else {
|
|
272
|
+
text-align: $alignment;
|
|
273
|
+
}
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
|
-
}
|
|
275
276
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
@each $decoration in typography.$text-decorations {
|
|
278
|
+
.rmd-#{$decoration} {
|
|
279
|
+
text-decoration: $decoration;
|
|
280
|
+
}
|
|
279
281
|
}
|
|
280
|
-
}
|
|
281
282
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
@each $transform in typography.$text-transforms {
|
|
284
|
+
.rmd-#{$transform} {
|
|
285
|
+
text-transform: $transform;
|
|
286
|
+
}
|
|
285
287
|
}
|
|
286
|
-
}
|
|
287
288
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
@each $font-style in typography.$font-styles {
|
|
290
|
+
.rmd-#{$font-style} {
|
|
291
|
+
font-style: $font-style;
|
|
292
|
+
}
|
|
291
293
|
}
|
|
292
|
-
}
|
|
293
294
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
@each $name, $font-weight in typography.$font-weights {
|
|
296
|
+
.rmd-#{$name} {
|
|
297
|
+
font-weight: $font-weight;
|
|
298
|
+
}
|
|
297
299
|
}
|
|
298
300
|
}
|
|
299
301
|
}
|
|
@@ -363,124 +365,39 @@ $_layer-order: (
|
|
|
363
365
|
@include css-reset;
|
|
364
366
|
|
|
365
367
|
@layer #{$_layer-order};
|
|
366
|
-
@
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
@
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
@
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
@
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
@
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
@
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
@
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
@
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
@
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
@
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
@
|
|
399
|
-
@include draggable.styles;
|
|
400
|
-
}
|
|
401
|
-
@layer expansion-panel {
|
|
402
|
-
@include expansion-panel.styles;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
@layer form {
|
|
406
|
-
@include form.styles;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
@layer icon {
|
|
410
|
-
@include icon.styles;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
@layer interaction {
|
|
414
|
-
@include interaction.styles;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
@layer layout {
|
|
418
|
-
@include layout.styles;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
@layer link {
|
|
422
|
-
@include link.styles;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
@layer list {
|
|
426
|
-
@include list.styles;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
@layer menu {
|
|
430
|
-
@include menu.styles;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
@layer overlay {
|
|
434
|
-
@include overlay.styles;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
@layer progress {
|
|
438
|
-
@include progress.styles;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
@layer responsive-item {
|
|
442
|
-
@include responsive-item.styles;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
@layer segmented-button {
|
|
446
|
-
@include segmented-button.styles;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
@layer sheet {
|
|
450
|
-
@include sheet.styles;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
@layer snackbar {
|
|
454
|
-
@include snackbar.styles;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
@layer table {
|
|
458
|
-
@include table.styles;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
@layer tabs {
|
|
462
|
-
@include tabs.styles;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
@layer tooltip {
|
|
466
|
-
@include tooltip.styles;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
@layer transition {
|
|
470
|
-
@include transition.transition-styles;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
@layer tree {
|
|
474
|
-
@include tree.styles;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
@layer typography {
|
|
478
|
-
@include typography.typography-styles;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
@layer window-splitter {
|
|
482
|
-
@include window-splitter.styles;
|
|
483
|
-
}
|
|
368
|
+
@include css-utils;
|
|
369
|
+
|
|
370
|
+
@include app-bar.styles;
|
|
371
|
+
@include avatar.styles;
|
|
372
|
+
@include badge.styles;
|
|
373
|
+
@include box.styles;
|
|
374
|
+
@include button.styles;
|
|
375
|
+
@include card.styles;
|
|
376
|
+
@include chip.styles;
|
|
377
|
+
@include dialog.styles;
|
|
378
|
+
@include divider.styles;
|
|
379
|
+
@include draggable.styles;
|
|
380
|
+
@include expansion-panel.styles;
|
|
381
|
+
@include form.styles;
|
|
382
|
+
@include icon.styles;
|
|
383
|
+
@include interaction.styles;
|
|
384
|
+
@include layout.styles;
|
|
385
|
+
@include link.styles;
|
|
386
|
+
@include list.styles;
|
|
387
|
+
@include menu.styles;
|
|
388
|
+
@include overlay.styles;
|
|
389
|
+
@include progress.styles;
|
|
390
|
+
@include responsive-item.styles;
|
|
391
|
+
@include segmented-button.styles;
|
|
392
|
+
@include sheet.styles;
|
|
393
|
+
@include snackbar.styles;
|
|
394
|
+
@include table.styles;
|
|
395
|
+
@include tabs.styles;
|
|
396
|
+
@include tooltip.styles;
|
|
397
|
+
@include transition.transition-styles;
|
|
398
|
+
@include tree.styles;
|
|
399
|
+
@include typography.typography-styles;
|
|
400
|
+
@include window-splitter.styles;
|
|
484
401
|
|
|
485
402
|
@if not theme.$disable-default-root-theme {
|
|
486
403
|
:root {
|
package/src/_utils.scss
CHANGED
|
@@ -117,128 +117,130 @@ $variables: (height, surface-background-color, surface-color);
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
@mixin styles {
|
|
120
|
+
@mixin styles($disable-layer: false) {
|
|
121
121
|
@if not $disable-everything {
|
|
122
|
-
@include
|
|
123
|
-
@include
|
|
124
|
-
|
|
122
|
+
@include utils.optional-layer(app-bar, $disable-layer) {
|
|
123
|
+
@include theme.default-system-theme {
|
|
124
|
+
@include use-dark-theme;
|
|
125
|
+
}
|
|
125
126
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
127
|
+
.rmd-app-bar {
|
|
128
|
+
@include use-var(height);
|
|
129
|
+
@include box.set-var(gap, $gap);
|
|
130
|
+
@include box.set-var(padding, $vertical-padding $horizontal-padding);
|
|
131
|
+
|
|
132
|
+
// since app bars can appear a lot in full page dialogs, setting these flex
|
|
133
|
+
// values allows it be be a direct replacement of the `DialogHeader`
|
|
134
|
+
// component without all the offsets and additional styles needed for fixed
|
|
135
|
+
// app bars.
|
|
136
|
+
flex: 0 0 auto;
|
|
137
|
+
|
|
138
|
+
@if not $disable-fixed or not $disable-sticky {
|
|
139
|
+
&--fixed {
|
|
140
|
+
left: 0;
|
|
141
|
+
position: fixed;
|
|
142
|
+
// Note: right and width were added to support the main navigation
|
|
143
|
+
// behavior with toggleable full-height navigation
|
|
144
|
+
right: 0;
|
|
145
|
+
width: auto;
|
|
146
|
+
z-index: $fixed-z-index;
|
|
147
|
+
}
|
|
147
148
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
@if $fixed-elevation and $fixed-elevation != 0 {
|
|
150
|
+
&--elevated {
|
|
151
|
+
@include box-shadows.box-shadow(
|
|
152
|
+
$fixed-elevation,
|
|
153
|
+
$disable-colors: true
|
|
154
|
+
);
|
|
155
|
+
}
|
|
154
156
|
}
|
|
155
|
-
}
|
|
156
157
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
@each $position in $fixed-positions {
|
|
159
|
+
&--#{$position} {
|
|
160
|
+
#{$position}: 0;
|
|
161
|
+
}
|
|
160
162
|
}
|
|
161
|
-
}
|
|
162
163
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
@if not $disable-sticky {
|
|
165
|
+
&--sticky {
|
|
166
|
+
position: sticky;
|
|
167
|
+
}
|
|
166
168
|
}
|
|
167
169
|
}
|
|
168
|
-
}
|
|
169
170
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&--stacked {
|
|
176
|
-
flex-direction: column;
|
|
177
|
-
gap: 0;
|
|
178
|
-
padding: 0;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@if not $disable-dense-theme {
|
|
182
|
-
&--dense {
|
|
183
|
-
@include set-var(height, $dense-height);
|
|
171
|
+
&--auto {
|
|
172
|
+
// do not set variable so that child AppBar can maintain their height as needed
|
|
173
|
+
height: auto;
|
|
184
174
|
}
|
|
185
|
-
}
|
|
186
175
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
176
|
+
&--stacked {
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
gap: 0;
|
|
179
|
+
padding: 0;
|
|
190
180
|
}
|
|
191
|
-
}
|
|
192
181
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
182
|
+
@if not $disable-dense-theme {
|
|
183
|
+
&--dense {
|
|
184
|
+
@include set-var(height, $dense-height);
|
|
185
|
+
}
|
|
196
186
|
}
|
|
197
|
-
}
|
|
198
187
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
188
|
+
@if not $disable-prominent-theme {
|
|
189
|
+
&--prominent {
|
|
190
|
+
@include set-var(height, $prominent-height);
|
|
191
|
+
}
|
|
203
192
|
}
|
|
204
|
-
}
|
|
205
193
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
margin-right: calc(-1 * #{utils.scrollbar-size()});
|
|
194
|
+
@if not $disable-prominent-dense-theme {
|
|
195
|
+
&--prominent-dense {
|
|
196
|
+
@include set-var(height, $prominent-dense-height);
|
|
210
197
|
}
|
|
198
|
+
}
|
|
211
199
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
200
|
+
@if not $disable-surface-theme {
|
|
201
|
+
&--surface {
|
|
202
|
+
@include use-var(background-color, surface-background-color);
|
|
203
|
+
@include use-var(color, surface-color);
|
|
204
|
+
}
|
|
215
205
|
}
|
|
216
206
|
|
|
217
|
-
@if not $disable-
|
|
218
|
-
&--
|
|
219
|
-
|
|
207
|
+
@if not $disable-scrollbar-offset {
|
|
208
|
+
&--scrollbar-offset {
|
|
209
|
+
@include utils.rtl {
|
|
210
|
+
margin-right: calc(-1 * #{utils.scrollbar-size()});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
padding-right: calc(
|
|
214
|
+
#{$horizontal-padding} + #{utils.scrollbar-size()}
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@if not $disable-static-scrollbar-offset {
|
|
219
|
+
&--static-scrollbar-offset {
|
|
220
|
+
width: calc(100% + utils.scrollbar-size());
|
|
221
|
+
}
|
|
220
222
|
}
|
|
221
223
|
}
|
|
222
224
|
}
|
|
223
|
-
}
|
|
224
225
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
@if not $disable-title {
|
|
227
|
+
.rmd-app-bar-title {
|
|
228
|
+
@include utils.auto-rtl(margin-left, $keyline - $horizontal-padding);
|
|
228
229
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
flex: 1 1 auto;
|
|
231
|
+
margin-bottom: 0;
|
|
232
|
+
margin-top: 0;
|
|
232
233
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
234
|
+
&--keyline {
|
|
235
|
+
@include utils.auto-rtl(
|
|
236
|
+
margin-left,
|
|
237
|
+
$title-keyline - $horizontal-padding
|
|
238
|
+
);
|
|
239
|
+
}
|
|
239
240
|
|
|
240
|
-
|
|
241
|
-
|
|
241
|
+
&--nav-keyline {
|
|
242
|
+
@include utils.auto-rtl(margin-left, $nav-keyline);
|
|
243
|
+
}
|
|
242
244
|
}
|
|
243
245
|
}
|
|
244
246
|
}
|