@scania/tegel-lite 1.9.1 → 1.10.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/dist/components.css +711 -46
- package/dist/tl-badge.css +99 -0
- package/dist/tl-slider.css +2567 -0
- package/dist/tl-spinner.css +148 -0
- package/package.json +6 -3
package/dist/components.css
CHANGED
|
@@ -329,6 +329,105 @@
|
|
|
329
329
|
position: relative;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
+
/**
|
|
333
|
+
* Do not edit directly, this file was auto-generated.
|
|
334
|
+
*/
|
|
335
|
+
:root,
|
|
336
|
+
.tds-mode-light,
|
|
337
|
+
.scania .tds-mode-light,
|
|
338
|
+
.scania.tds-mode-light,
|
|
339
|
+
.scania .tl-mode-light,
|
|
340
|
+
.scania.tl-mode-light {
|
|
341
|
+
--component-badge-font-weight: var(--scania-font-weight-bold);
|
|
342
|
+
--component-badge-border-radius-none: var(--scania-unit-0);
|
|
343
|
+
--component-badge-border-radius-default: var(--scania-unit-24);
|
|
344
|
+
--component-badge-border-radius-full: var(--scania-unit-9999);
|
|
345
|
+
--component-badge-background-default: var(--color-system-danger-default);
|
|
346
|
+
--component-badge-text-default: var(--color-text-inverse-base);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.traton .tds-mode-light,
|
|
350
|
+
.traton.tds-mode-light,
|
|
351
|
+
.traton .tl-mode-light,
|
|
352
|
+
.traton.tl-mode-light {
|
|
353
|
+
--component-badge-font-weight: var(--traton-font-weight-semi-bold);
|
|
354
|
+
--component-badge-border-radius-none: var(--traton-unit-0);
|
|
355
|
+
--component-badge-border-radius-default: var(--traton-unit-24);
|
|
356
|
+
--component-badge-border-radius-full: var(--traton-unit-9999);
|
|
357
|
+
--component-badge-background-default: var(--color-system-warning-default);
|
|
358
|
+
--component-badge-text-default: var(--color-text-base);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.tds-mode-dark,
|
|
362
|
+
.scania .tds-mode-dark,
|
|
363
|
+
.scania.tds-mode-dark,
|
|
364
|
+
.scania .tl-mode-dark,
|
|
365
|
+
.scania.tl-mode-dark {
|
|
366
|
+
--component-badge-font-weight: var(--scania-font-weight-bold);
|
|
367
|
+
--component-badge-border-radius-none: var(--scania-unit-0);
|
|
368
|
+
--component-badge-border-radius-default: var(--scania-unit-24);
|
|
369
|
+
--component-badge-border-radius-full: var(--scania-unit-9999);
|
|
370
|
+
--component-badge-background-default: var(--color-system-danger-subtle);
|
|
371
|
+
--component-badge-text-default: var(--color-text-base);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.traton .tds-mode-dark,
|
|
375
|
+
.traton.tds-mode-dark,
|
|
376
|
+
.traton .tl-mode-dark,
|
|
377
|
+
.traton.tl-mode-dark {
|
|
378
|
+
--component-badge-font-weight: var(--traton-font-weight-semi-bold);
|
|
379
|
+
--component-badge-border-radius-none: var(--traton-unit-0);
|
|
380
|
+
--component-badge-border-radius-default: var(--traton-unit-24);
|
|
381
|
+
--component-badge-border-radius-full: var(--traton-unit-9999);
|
|
382
|
+
--component-badge-background-default: var(--color-system-warning-default);
|
|
383
|
+
--component-badge-text-default: var(--color-text-inverse-base);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.tl-badge {
|
|
387
|
+
--badge-background-color: var(--component-badge-background-default);
|
|
388
|
+
--badge-color-text: var(--component-badge-text-default);
|
|
389
|
+
--badge-border-radius: calc(var(--component-badge-border-radius-default) * 1px);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.tl-badge {
|
|
393
|
+
box-sizing: border-box;
|
|
394
|
+
}
|
|
395
|
+
.tl-badge * {
|
|
396
|
+
box-sizing: border-box;
|
|
397
|
+
}
|
|
398
|
+
.tl-badge {
|
|
399
|
+
display: block;
|
|
400
|
+
border-radius: var(--badge-border-radius);
|
|
401
|
+
background-color: var(--badge-background-color);
|
|
402
|
+
text-align: center;
|
|
403
|
+
}
|
|
404
|
+
.tl-badge--sm {
|
|
405
|
+
height: 8px;
|
|
406
|
+
width: 8px;
|
|
407
|
+
line-height: 8px;
|
|
408
|
+
}
|
|
409
|
+
.tl-badge--lg {
|
|
410
|
+
height: 20px;
|
|
411
|
+
line-height: 20px;
|
|
412
|
+
width: 20px;
|
|
413
|
+
}
|
|
414
|
+
.tl-badge--pill {
|
|
415
|
+
display: inline-block;
|
|
416
|
+
width: unset;
|
|
417
|
+
padding-left: 8px;
|
|
418
|
+
padding-right: 8px;
|
|
419
|
+
}
|
|
420
|
+
.tl-badge--hidden {
|
|
421
|
+
display: none;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.tl-badge__text {
|
|
425
|
+
font-size: 12px;
|
|
426
|
+
color: var(--badge-color-text);
|
|
427
|
+
font-family: var(--detail-01-font-family);
|
|
428
|
+
font-weight: bold;
|
|
429
|
+
}
|
|
430
|
+
|
|
332
431
|
/**
|
|
333
432
|
* Do not edit directly, this file was auto-generated.
|
|
334
433
|
*/
|
|
@@ -8377,6 +8476,618 @@ body {
|
|
|
8377
8476
|
.scania .tds-mode-light,
|
|
8378
8477
|
.scania.tds-mode-light,
|
|
8379
8478
|
.scania .tl-mode-light,
|
|
8479
|
+
.scania.tl-mode-light {
|
|
8480
|
+
--component-slider-background-divider-default: var(--component-slider-background-track-default);
|
|
8481
|
+
--component-slider-background-track-default: var(--scania-color-grey-350);
|
|
8482
|
+
--component-slider-background-selected-default: var(--component-slider-background-thumb-default);
|
|
8483
|
+
--component-slider-background-thumb-default: var(--scania-color-grey-950);
|
|
8484
|
+
--component-slider-background-halo-hover: var(--scania-color-transparent-200);
|
|
8485
|
+
--component-slider-background-halo-active: var(--scania-color-transparent-250);
|
|
8486
|
+
--component-slider-icon-control-default: var(--color-icon-defined);
|
|
8487
|
+
--component-slider-opacity-disabled: var(--scania-opacity-25);
|
|
8488
|
+
--component-slider-text-label-default: var(--scania-color-grey-950);
|
|
8489
|
+
--component-slider-text-value-default: var(--color-text-defined);
|
|
8490
|
+
}
|
|
8491
|
+
|
|
8492
|
+
.traton .tds-mode-light,
|
|
8493
|
+
.traton.tds-mode-light,
|
|
8494
|
+
.traton .tl-mode-light,
|
|
8495
|
+
.traton.tl-mode-light {
|
|
8496
|
+
--component-slider-background-divider-default: var(--component-slider-background-track-default);
|
|
8497
|
+
--component-slider-background-track-default: var(--traton-color-grey-500);
|
|
8498
|
+
--component-slider-background-selected-default: var(--component-slider-background-thumb-default);
|
|
8499
|
+
--component-slider-background-thumb-default: var(--traton-color-blue-950);
|
|
8500
|
+
--component-slider-background-halo-hover: var(--color-icon-discrete);
|
|
8501
|
+
--component-slider-background-halo-active: var(--color-icon-disabled);
|
|
8502
|
+
--component-slider-icon-control-default: var(--color-icon-defined);
|
|
8503
|
+
--component-slider-opacity-disabled: var(--traton-opacity-25);
|
|
8504
|
+
--component-slider-text-label-default: var(--traton-color-blue-950);
|
|
8505
|
+
--component-slider-text-value-default: var(--color-text-defined);
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8508
|
+
.tds-mode-dark,
|
|
8509
|
+
.scania .tds-mode-dark,
|
|
8510
|
+
.scania.tds-mode-dark,
|
|
8511
|
+
.scania .tl-mode-dark,
|
|
8512
|
+
.scania.tl-mode-dark {
|
|
8513
|
+
--component-slider-background-divider-default: var(--component-slider-background-track-default);
|
|
8514
|
+
--component-slider-background-track-default: var(--scania-color-grey-400);
|
|
8515
|
+
--component-slider-background-selected-default: var(--component-slider-background-thumb-default);
|
|
8516
|
+
--component-slider-background-thumb-default: var(--scania-color-grey-50);
|
|
8517
|
+
--component-slider-background-halo-hover: var(--color-icon-discrete);
|
|
8518
|
+
--component-slider-background-halo-active: var(--color-icon-disabled);
|
|
8519
|
+
--component-slider-icon-control-default: var(--color-icon-defined);
|
|
8520
|
+
--component-slider-opacity-disabled: var(--scania-opacity-25);
|
|
8521
|
+
--component-slider-text-label-default: var(--scania-color-grey-50);
|
|
8522
|
+
--component-slider-text-value-default: var(--color-text-defined);
|
|
8523
|
+
}
|
|
8524
|
+
|
|
8525
|
+
.traton .tds-mode-dark,
|
|
8526
|
+
.traton.tds-mode-dark,
|
|
8527
|
+
.traton .tl-mode-dark,
|
|
8528
|
+
.traton.tl-mode-dark {
|
|
8529
|
+
--component-slider-background-divider-default: var(--component-slider-background-track-default);
|
|
8530
|
+
--component-slider-background-track-default: var(--traton-color-blue-850);
|
|
8531
|
+
--component-slider-background-selected-default: var(--component-slider-background-thumb-default);
|
|
8532
|
+
--component-slider-background-thumb-default: var(--traton-color-base-white);
|
|
8533
|
+
--component-slider-background-halo-hover: var(--color-icon-discrete);
|
|
8534
|
+
--component-slider-background-halo-active: var(--color-icon-disabled);
|
|
8535
|
+
--component-slider-icon-control-default: var(--color-icon-defined);
|
|
8536
|
+
--component-slider-opacity-disabled: var(--traton-opacity-25);
|
|
8537
|
+
--component-slider-text-label-default: var(--traton-color-base-white);
|
|
8538
|
+
--component-slider-text-value-default: var(--color-text-defined);
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8541
|
+
/**
|
|
8542
|
+
* Do not edit directly, this file was auto-generated.
|
|
8543
|
+
*/
|
|
8544
|
+
:root,
|
|
8545
|
+
.tds-mode-light,
|
|
8546
|
+
.scania .tds-mode-light,
|
|
8547
|
+
.scania.tds-mode-light,
|
|
8548
|
+
.scania .tl-mode-light,
|
|
8549
|
+
.scania.tl-mode-light {
|
|
8550
|
+
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
8551
|
+
--component-tooltip-border-radius-none: var(--scania-unit-0);
|
|
8552
|
+
--component-tooltip-border-radius-default: var(--scania-unit-4);
|
|
8553
|
+
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
8554
|
+
}
|
|
8555
|
+
|
|
8556
|
+
.traton .tds-mode-light,
|
|
8557
|
+
.traton.tds-mode-light,
|
|
8558
|
+
.traton .tl-mode-light,
|
|
8559
|
+
.traton.tl-mode-light {
|
|
8560
|
+
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
8561
|
+
--component-tooltip-border-radius-none: var(--traton-unit-0);
|
|
8562
|
+
--component-tooltip-border-radius-default: var(--traton-unit-4);
|
|
8563
|
+
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
8564
|
+
}
|
|
8565
|
+
|
|
8566
|
+
.tds-mode-dark,
|
|
8567
|
+
.scania .tds-mode-dark,
|
|
8568
|
+
.scania.tds-mode-dark,
|
|
8569
|
+
.scania .tl-mode-dark,
|
|
8570
|
+
.scania.tl-mode-dark {
|
|
8571
|
+
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
8572
|
+
--component-tooltip-border-radius-none: var(--scania-unit-0);
|
|
8573
|
+
--component-tooltip-border-radius-default: var(--scania-unit-4);
|
|
8574
|
+
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
8575
|
+
}
|
|
8576
|
+
|
|
8577
|
+
.traton .tds-mode-dark,
|
|
8578
|
+
.traton.tds-mode-dark,
|
|
8579
|
+
.traton .tl-mode-dark,
|
|
8580
|
+
.traton.tl-mode-dark {
|
|
8581
|
+
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
8582
|
+
--component-tooltip-border-radius-none: var(--traton-unit-0);
|
|
8583
|
+
--component-tooltip-border-radius-default: var(--traton-unit-4);
|
|
8584
|
+
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
8585
|
+
}
|
|
8586
|
+
|
|
8587
|
+
.tl-slider {
|
|
8588
|
+
--slider-label: var(--component-slider-text-label-default);
|
|
8589
|
+
--slider-thumb: var(--component-slider-background-thumb-default);
|
|
8590
|
+
--slider-thumb-hover: var(--component-slider-background-halo-hover);
|
|
8591
|
+
--slider-thumb-active: var(--component-slider-background-halo-active);
|
|
8592
|
+
--slider-track: var(--component-slider-background-track-default);
|
|
8593
|
+
--slider-track-fill: var(--component-slider-background-selected-default);
|
|
8594
|
+
--slider-divider: var(--component-slider-background-divider-default);
|
|
8595
|
+
--slider-divider-values: var(--component-slider-text-value-default);
|
|
8596
|
+
--slider-text-value: var(--component-slider-text-value-default);
|
|
8597
|
+
--slider-input-value: var(--component--input-text-placeholder-default);
|
|
8598
|
+
--slider-opacity-disabled: calc(var(--component-slider-opacity-disabled) / 100);
|
|
8599
|
+
--slider-value-tooltip-background: var(--component-tooltip-background-default);
|
|
8600
|
+
--slider-value-tooltip: var(--component-tooltip-text-default);
|
|
8601
|
+
--slider-value-tooltip-border-radius: calc(var(--component-tooltip-border-radius-default) * 1px);
|
|
8602
|
+
--slider-input-background: var(--component--input-background-primary);
|
|
8603
|
+
--slider-controls-color: var(--component-slider-icon-control-default);
|
|
8604
|
+
}
|
|
8605
|
+
|
|
8606
|
+
.tl-mode-variant-primary .tl-slider,
|
|
8607
|
+
.tds-mode-variant-primary .tl-slider {
|
|
8608
|
+
--slider-input-background: var(--component--input-background-primary);
|
|
8609
|
+
}
|
|
8610
|
+
|
|
8611
|
+
.tl-mode-variant-secondary .tl-slider,
|
|
8612
|
+
.tds-mode-variant-secondary .tl-slider {
|
|
8613
|
+
--slider-input-background: var(--component--input-background-secondary);
|
|
8614
|
+
}
|
|
8615
|
+
|
|
8616
|
+
.tl-slider {
|
|
8617
|
+
box-sizing: border-box;
|
|
8618
|
+
}
|
|
8619
|
+
.tl-slider * {
|
|
8620
|
+
box-sizing: border-box;
|
|
8621
|
+
}
|
|
8622
|
+
.tl-slider {
|
|
8623
|
+
width: 100%;
|
|
8624
|
+
}
|
|
8625
|
+
.tl-slider:has(input[type=range][readonly]):not(:has(input[type=range]:disabled)) {
|
|
8626
|
+
pointer-events: none;
|
|
8627
|
+
}
|
|
8628
|
+
.tl-slider:has(input[type=range]:disabled) {
|
|
8629
|
+
pointer-events: none;
|
|
8630
|
+
cursor: not-allowed;
|
|
8631
|
+
opacity: var(--slider-opacity-disabled);
|
|
8632
|
+
}
|
|
8633
|
+
|
|
8634
|
+
.tl-slider__label {
|
|
8635
|
+
font-family: var(--type-system-label-01-font-family);
|
|
8636
|
+
font-size: calc(var(--type-system-label-01-font-size) * 1px);
|
|
8637
|
+
line-height: calc(var(--type-system-label-01-line-height) * 1px);
|
|
8638
|
+
font-weight: var(--type-system-label-01-font-weight);
|
|
8639
|
+
letter-spacing: calc(var(--type-system-label-01-letter-spacing) * 1px);
|
|
8640
|
+
user-select: none;
|
|
8641
|
+
color: var(--slider-label);
|
|
8642
|
+
display: block;
|
|
8643
|
+
margin-bottom: 16px;
|
|
8644
|
+
}
|
|
8645
|
+
.tl-slider:has(.tl-slider__value-divider-label) .tl-slider__label {
|
|
8646
|
+
margin-bottom: 44px;
|
|
8647
|
+
}
|
|
8648
|
+
.tl-slider:has(.tl-slider__control-minus, .tl-slider__control-plus) .tl-slider__label {
|
|
8649
|
+
margin-left: 4px;
|
|
8650
|
+
}
|
|
8651
|
+
.tl-slider:has(.tl-slider__value-divider-label):has(.tl-slider__input-wrapper,
|
|
8652
|
+
.tl-slider__control-minus,
|
|
8653
|
+
.tl-slider__control-plus) .tl-slider__label {
|
|
8654
|
+
margin-bottom: 32px;
|
|
8655
|
+
}
|
|
8656
|
+
|
|
8657
|
+
.tl-slider__track-wrapper {
|
|
8658
|
+
position: relative;
|
|
8659
|
+
display: flex;
|
|
8660
|
+
align-items: center;
|
|
8661
|
+
gap: 14px;
|
|
8662
|
+
}
|
|
8663
|
+
.tl-slider__track-wrapper:has(.tl-slider__input-wrapper) {
|
|
8664
|
+
gap: 16px;
|
|
8665
|
+
align-items: center;
|
|
8666
|
+
height: 41px;
|
|
8667
|
+
}
|
|
8668
|
+
|
|
8669
|
+
.tl-slider__control-minus,
|
|
8670
|
+
.tl-slider__control-plus {
|
|
8671
|
+
flex-shrink: 0;
|
|
8672
|
+
border: none;
|
|
8673
|
+
}
|
|
8674
|
+
.tl-slider__control-minus.tl-button,
|
|
8675
|
+
.tl-slider__control-plus.tl-button {
|
|
8676
|
+
width: 24px;
|
|
8677
|
+
height: 24px;
|
|
8678
|
+
border-radius: 4px;
|
|
8679
|
+
}
|
|
8680
|
+
.tl-slider__control-minus .tl-icon,
|
|
8681
|
+
.tl-slider__control-plus .tl-icon {
|
|
8682
|
+
color: var(--slider-controls-color);
|
|
8683
|
+
}
|
|
8684
|
+
|
|
8685
|
+
.tl-slider__track {
|
|
8686
|
+
position: relative;
|
|
8687
|
+
flex: 1;
|
|
8688
|
+
min-height: 2px;
|
|
8689
|
+
background-color: var(--slider-track);
|
|
8690
|
+
}
|
|
8691
|
+
.tl-slider__track-wrapper:has(.tl-slider__input-wrapper) .tl-slider__track {
|
|
8692
|
+
height: 2px;
|
|
8693
|
+
align-self: center;
|
|
8694
|
+
}
|
|
8695
|
+
.tl-slider__track::after {
|
|
8696
|
+
content: "";
|
|
8697
|
+
position: absolute;
|
|
8698
|
+
inset: -10px 0;
|
|
8699
|
+
cursor: pointer;
|
|
8700
|
+
z-index: 0;
|
|
8701
|
+
}
|
|
8702
|
+
.tl-slider__track:focus {
|
|
8703
|
+
outline: 0;
|
|
8704
|
+
}
|
|
8705
|
+
.tl-slider__track:focus .tl-slider__thumb-inner {
|
|
8706
|
+
width: 24px;
|
|
8707
|
+
height: 24px;
|
|
8708
|
+
}
|
|
8709
|
+
.tl-slider__track:focus .tl-slider__thumb-inner::before {
|
|
8710
|
+
display: block;
|
|
8711
|
+
background-color: var(--slider-thumb-active);
|
|
8712
|
+
}
|
|
8713
|
+
.tl-slider__track:focus-within .tl-slider__thumb-inner {
|
|
8714
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
8715
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
8716
|
+
outline-offset: 1px;
|
|
8717
|
+
z-index: 1;
|
|
8718
|
+
}
|
|
8719
|
+
.tl-slider__track:disabled {
|
|
8720
|
+
cursor: not-allowed;
|
|
8721
|
+
}
|
|
8722
|
+
.tl-slider__track:disabled::after {
|
|
8723
|
+
cursor: not-allowed;
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8726
|
+
.tl-slider__value {
|
|
8727
|
+
font-family: var(--type-system-body-01-font-family);
|
|
8728
|
+
font-size: calc(var(--type-system-body-01-font-size) * 1px);
|
|
8729
|
+
line-height: calc(var(--type-system-body-01-line-height) * 1px);
|
|
8730
|
+
font-weight: var(--type-system-body-01-font-weight);
|
|
8731
|
+
letter-spacing: calc(var(--type-system-body-01-letter-spacing) * 1px);
|
|
8732
|
+
text-transform: var(--type-system-body-01-text-transform);
|
|
8733
|
+
user-select: none;
|
|
8734
|
+
color: var(--slider-text-value);
|
|
8735
|
+
flex-shrink: 0;
|
|
8736
|
+
align-self: center;
|
|
8737
|
+
}
|
|
8738
|
+
|
|
8739
|
+
.tl-slider__input-wrapper.tl-text-field {
|
|
8740
|
+
flex-shrink: 0;
|
|
8741
|
+
width: auto;
|
|
8742
|
+
height: auto;
|
|
8743
|
+
min-width: auto;
|
|
8744
|
+
margin-left: 0;
|
|
8745
|
+
align-self: center;
|
|
8746
|
+
}
|
|
8747
|
+
.tl-slider__input-wrapper.tl-text-field.tl-text-field:not(:has(.tl-text-field__input[readonly])), .tl-slider__input-wrapper.tl-text-field.tl-text-field.tl-text-field--hide-readonly-icon {
|
|
8748
|
+
width: 50px;
|
|
8749
|
+
}
|
|
8750
|
+
.tl-slider__track-wrapper:not(:has(.tl-slider__value)) .tl-slider__input-wrapper.tl-text-field {
|
|
8751
|
+
top: -10px;
|
|
8752
|
+
}
|
|
8753
|
+
|
|
8754
|
+
.tl-slider__input-wrapper .tl-slider__input-field {
|
|
8755
|
+
width: 50px;
|
|
8756
|
+
padding: 12px;
|
|
8757
|
+
text-align: center;
|
|
8758
|
+
appearance: textfield;
|
|
8759
|
+
color: var(--slider-input-value);
|
|
8760
|
+
background-color: var(--slider-input-background);
|
|
8761
|
+
}
|
|
8762
|
+
.tl-slider__input-wrapper .tl-slider__input-field::-webkit-outer-spin-button, .tl-slider__input-wrapper .tl-slider__input-field::-webkit-inner-spin-button {
|
|
8763
|
+
appearance: none;
|
|
8764
|
+
margin: 0;
|
|
8765
|
+
}
|
|
8766
|
+
|
|
8767
|
+
.tl-slider__input-wrapper:has(.tl-text-field__input[readonly]):not(:has(.tl-text-field__input:disabled)) .tl-slider__input-field[readonly] {
|
|
8768
|
+
width: 74px;
|
|
8769
|
+
padding-right: 39px;
|
|
8770
|
+
}
|
|
8771
|
+
|
|
8772
|
+
.tl-slider__value-tooltip {
|
|
8773
|
+
font-family: var(--type-system-label-01-font-family);
|
|
8774
|
+
font-size: calc(var(--type-system-label-01-font-size) * 1px);
|
|
8775
|
+
line-height: calc(var(--type-system-label-01-line-height) * 1px);
|
|
8776
|
+
font-weight: var(--type-system-label-01-font-weight);
|
|
8777
|
+
letter-spacing: calc(var(--type-system-label-01-letter-spacing) * 1px);
|
|
8778
|
+
user-select: none;
|
|
8779
|
+
border-radius: var(--slider-value-tooltip-border-radius);
|
|
8780
|
+
padding: 8px 12px;
|
|
8781
|
+
position: absolute;
|
|
8782
|
+
left: 0;
|
|
8783
|
+
transform: translateX(-50%);
|
|
8784
|
+
top: -52px;
|
|
8785
|
+
background-color: var(--slider-value-tooltip-background);
|
|
8786
|
+
color: var(--slider-value-tooltip);
|
|
8787
|
+
display: none;
|
|
8788
|
+
white-space: nowrap;
|
|
8789
|
+
z-index: 10;
|
|
8790
|
+
}
|
|
8791
|
+
.tl-slider--small .tl-slider__value-tooltip {
|
|
8792
|
+
top: -50px;
|
|
8793
|
+
}
|
|
8794
|
+
.tl-slider__value-tooltip::after {
|
|
8795
|
+
content: "";
|
|
8796
|
+
position: absolute;
|
|
8797
|
+
left: 50%;
|
|
8798
|
+
transform: translateX(-50%);
|
|
8799
|
+
bottom: -5px;
|
|
8800
|
+
width: 0;
|
|
8801
|
+
height: 0;
|
|
8802
|
+
border-left: 5px solid transparent;
|
|
8803
|
+
border-right: 5px solid transparent;
|
|
8804
|
+
border-top: 6px solid var(--slider-value-tooltip-background);
|
|
8805
|
+
}
|
|
8806
|
+
.tl-slider__thumb:hover .tl-slider__value-tooltip {
|
|
8807
|
+
display: block;
|
|
8808
|
+
}
|
|
8809
|
+
.tl-slider:has(input[type=range]:disabled) .tl-slider__value-tooltip {
|
|
8810
|
+
display: none;
|
|
8811
|
+
}
|
|
8812
|
+
|
|
8813
|
+
.tl-slider__thumb {
|
|
8814
|
+
position: absolute;
|
|
8815
|
+
z-index: 1;
|
|
8816
|
+
top: 1px;
|
|
8817
|
+
}
|
|
8818
|
+
|
|
8819
|
+
.tl-slider__thumb-inner {
|
|
8820
|
+
width: 20px;
|
|
8821
|
+
height: 20px;
|
|
8822
|
+
border-radius: 100%;
|
|
8823
|
+
background-color: var(--slider-thumb);
|
|
8824
|
+
position: absolute;
|
|
8825
|
+
top: 50%;
|
|
8826
|
+
left: 50%;
|
|
8827
|
+
transform: translate(-50%, -50%);
|
|
8828
|
+
cursor: pointer;
|
|
8829
|
+
overflow: visible;
|
|
8830
|
+
}
|
|
8831
|
+
.tl-slider__thumb-inner::before {
|
|
8832
|
+
content: " ";
|
|
8833
|
+
display: none;
|
|
8834
|
+
width: 48px;
|
|
8835
|
+
height: 48px;
|
|
8836
|
+
background-color: var(--slider-thumb-hover);
|
|
8837
|
+
position: absolute;
|
|
8838
|
+
border-radius: 100%;
|
|
8839
|
+
top: 50%;
|
|
8840
|
+
left: 50%;
|
|
8841
|
+
transform: translate(-50%, -50%);
|
|
8842
|
+
}
|
|
8843
|
+
.tl-slider__thumb-inner:hover::before {
|
|
8844
|
+
display: block;
|
|
8845
|
+
}
|
|
8846
|
+
.tl-slider__thumb-inner--pressed {
|
|
8847
|
+
width: 24px;
|
|
8848
|
+
height: 24px;
|
|
8849
|
+
}
|
|
8850
|
+
.tl-slider__thumb-inner--pressed::before {
|
|
8851
|
+
display: block;
|
|
8852
|
+
background-color: var(--slider-thumb-active);
|
|
8853
|
+
}
|
|
8854
|
+
.tl-slider--small .tl-slider__thumb-inner {
|
|
8855
|
+
width: 16px;
|
|
8856
|
+
height: 16px;
|
|
8857
|
+
}
|
|
8858
|
+
.tl-slider--small .tl-slider__thumb-inner::before {
|
|
8859
|
+
width: 40px;
|
|
8860
|
+
height: 40px;
|
|
8861
|
+
}
|
|
8862
|
+
.tl-slider--small .tl-slider__thumb-inner.tl-slider__thumb-inner--pressed {
|
|
8863
|
+
width: 20px;
|
|
8864
|
+
height: 20px;
|
|
8865
|
+
}
|
|
8866
|
+
.tl-slider:has(input[type=range]:disabled) .tl-slider__thumb-inner {
|
|
8867
|
+
cursor: not-allowed;
|
|
8868
|
+
}
|
|
8869
|
+
.tl-slider:has(input[type=range]:disabled) .tl-slider__thumb-inner::before {
|
|
8870
|
+
display: none;
|
|
8871
|
+
}
|
|
8872
|
+
|
|
8873
|
+
.tl-slider__value-dividers {
|
|
8874
|
+
pointer-events: none;
|
|
8875
|
+
position: absolute;
|
|
8876
|
+
display: flex;
|
|
8877
|
+
justify-content: space-between;
|
|
8878
|
+
width: 100%;
|
|
8879
|
+
top: 1.2px;
|
|
8880
|
+
z-index: 0;
|
|
8881
|
+
}
|
|
8882
|
+
|
|
8883
|
+
.tl-slider__value-divider {
|
|
8884
|
+
position: relative;
|
|
8885
|
+
display: flex;
|
|
8886
|
+
flex-direction: column;
|
|
8887
|
+
align-items: center;
|
|
8888
|
+
height: 16px;
|
|
8889
|
+
}
|
|
8890
|
+
|
|
8891
|
+
.tl-slider__value-divider-line {
|
|
8892
|
+
position: absolute;
|
|
8893
|
+
width: 1px;
|
|
8894
|
+
height: 16px;
|
|
8895
|
+
background-color: var(--slider-divider);
|
|
8896
|
+
top: 0;
|
|
8897
|
+
left: 50%;
|
|
8898
|
+
transform: translate(-50%, -50%);
|
|
8899
|
+
}
|
|
8900
|
+
|
|
8901
|
+
.tl-slider__value-divider-label {
|
|
8902
|
+
font-family: var(--type-system-label-01-font-family);
|
|
8903
|
+
font-size: calc(var(--type-system-label-01-font-size) * 1px);
|
|
8904
|
+
line-height: calc(var(--type-system-label-01-line-height) * 1px);
|
|
8905
|
+
font-weight: var(--type-system-label-01-font-weight);
|
|
8906
|
+
letter-spacing: calc(var(--type-system-label-01-letter-spacing) * 1px);
|
|
8907
|
+
position: absolute;
|
|
8908
|
+
bottom: 100%;
|
|
8909
|
+
left: 50%;
|
|
8910
|
+
transform: translateX(-50%);
|
|
8911
|
+
margin-bottom: 16px;
|
|
8912
|
+
width: 50px;
|
|
8913
|
+
text-align: center;
|
|
8914
|
+
white-space: nowrap;
|
|
8915
|
+
user-select: none;
|
|
8916
|
+
color: var(--slider-divider-values);
|
|
8917
|
+
}
|
|
8918
|
+
.tl-slider:has(input[type=range]:disabled) .tl-slider__value-divider-label {
|
|
8919
|
+
color: var(--slider-disabled-text);
|
|
8920
|
+
}
|
|
8921
|
+
|
|
8922
|
+
.tl-slider__track-fill {
|
|
8923
|
+
background-color: var(--slider-track-fill);
|
|
8924
|
+
height: 4px;
|
|
8925
|
+
position: absolute;
|
|
8926
|
+
left: 0;
|
|
8927
|
+
top: -1px;
|
|
8928
|
+
z-index: 1;
|
|
8929
|
+
}
|
|
8930
|
+
|
|
8931
|
+
.tl-slider__native-input {
|
|
8932
|
+
display: none;
|
|
8933
|
+
}
|
|
8934
|
+
|
|
8935
|
+
/**
|
|
8936
|
+
* Do not edit directly, this file was auto-generated.
|
|
8937
|
+
*/
|
|
8938
|
+
:root,
|
|
8939
|
+
.tds-mode-light,
|
|
8940
|
+
.scania .tds-mode-light,
|
|
8941
|
+
.scania.tds-mode-light,
|
|
8942
|
+
.scania .tl-mode-light,
|
|
8943
|
+
.scania.tl-mode-light {
|
|
8944
|
+
--component-spinner-background-default: var(--color-system-info-default);
|
|
8945
|
+
--component-spinner-background-default-inverse: var(--scania-color-grey-00);
|
|
8946
|
+
--component-spinner-size-large: 84;
|
|
8947
|
+
--component-spinner-size-medium: 52;
|
|
8948
|
+
--component-spinner-size-small: 24;
|
|
8949
|
+
--component-spinner-size-extra-small: 16;
|
|
8950
|
+
--component-spinner-stroke-large: 8;
|
|
8951
|
+
--component-spinner-stroke-medium: 6;
|
|
8952
|
+
--component-spinner-stroke-small: 4;
|
|
8953
|
+
--component-spinner-stroke-extra-small: 3;
|
|
8954
|
+
}
|
|
8955
|
+
|
|
8956
|
+
.traton .tds-mode-light,
|
|
8957
|
+
.traton.tds-mode-light,
|
|
8958
|
+
.traton .tl-mode-light,
|
|
8959
|
+
.traton.tl-mode-light {
|
|
8960
|
+
--component-spinner-background-default: var(--traton-color-blue-800);
|
|
8961
|
+
--component-spinner-background-default-inverse: var(--traton-color-transparent-inverse-950);
|
|
8962
|
+
--component-spinner-size-large: 84;
|
|
8963
|
+
--component-spinner-size-medium: 52;
|
|
8964
|
+
--component-spinner-size-small: 24;
|
|
8965
|
+
--component-spinner-size-extra-small: 16;
|
|
8966
|
+
--component-spinner-stroke-large: 8;
|
|
8967
|
+
--component-spinner-stroke-medium: 6;
|
|
8968
|
+
--component-spinner-stroke-small: 4;
|
|
8969
|
+
--component-spinner-stroke-extra-small: 3;
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8972
|
+
.tds-mode-dark,
|
|
8973
|
+
.scania .tds-mode-dark,
|
|
8974
|
+
.scania.tds-mode-dark,
|
|
8975
|
+
.scania .tl-mode-dark,
|
|
8976
|
+
.scania.tl-mode-dark {
|
|
8977
|
+
--component-spinner-background-default: var(--color-system-info-default);
|
|
8978
|
+
--component-spinner-background-default-inverse: var(--scania-color-grey-00);
|
|
8979
|
+
--component-spinner-size-large: 84;
|
|
8980
|
+
--component-spinner-size-medium: 52;
|
|
8981
|
+
--component-spinner-size-small: 24;
|
|
8982
|
+
--component-spinner-size-extra-small: 16;
|
|
8983
|
+
--component-spinner-stroke-large: 8;
|
|
8984
|
+
--component-spinner-stroke-medium: 6;
|
|
8985
|
+
--component-spinner-stroke-small: 4;
|
|
8986
|
+
--component-spinner-stroke-extra-small: 3;
|
|
8987
|
+
}
|
|
8988
|
+
|
|
8989
|
+
.traton .tds-mode-dark,
|
|
8990
|
+
.traton.tds-mode-dark,
|
|
8991
|
+
.traton .tl-mode-dark,
|
|
8992
|
+
.traton.tl-mode-dark {
|
|
8993
|
+
--component-spinner-background-default: var(--traton-color-grey-300);
|
|
8994
|
+
--component-spinner-background-default-inverse: var(--traton-color-transparent-inverse-950);
|
|
8995
|
+
--component-spinner-size-large: 84;
|
|
8996
|
+
--component-spinner-size-medium: 52;
|
|
8997
|
+
--component-spinner-size-small: 24;
|
|
8998
|
+
--component-spinner-size-extra-small: 16;
|
|
8999
|
+
--component-spinner-stroke-large: 8;
|
|
9000
|
+
--component-spinner-stroke-medium: 6;
|
|
9001
|
+
--component-spinner-stroke-small: 4;
|
|
9002
|
+
--component-spinner-stroke-extra-small: 3;
|
|
9003
|
+
}
|
|
9004
|
+
|
|
9005
|
+
/* Component variables */
|
|
9006
|
+
.tl-spinner {
|
|
9007
|
+
--tl-spinner-background: var(--component-spinner-background-default);
|
|
9008
|
+
--tl-spinner-background-inverted: var(--component-spinner-background-default-inverse);
|
|
9009
|
+
--tl-spinner-speed: 1.8s;
|
|
9010
|
+
--tl-spinner-speed-lg: 2s;
|
|
9011
|
+
--tl-spinner-radius-xs: calc(var(--component-spinner-size-extra-small) / 2 * 1px);
|
|
9012
|
+
--tl-spinner-radius-sm: calc(var(--component-spinner-size-small) / 2 * 1px);
|
|
9013
|
+
--tl-spinner-radius-md: calc(var(--component-spinner-size-medium) / 2 * 1px);
|
|
9014
|
+
--tl-spinner-radius-lg: calc(var(--component-spinner-size-large) / 2 * 1px);
|
|
9015
|
+
--tl-spinner-stroke-width-xs: calc(var(--component-spinner-stroke-extra-small) * 1px);
|
|
9016
|
+
--tl-spinner-stroke-width-sm: calc(var(--component-spinner-stroke-small) * 1px);
|
|
9017
|
+
--tl-spinner-stroke-width-md: calc(var(--component-spinner-stroke-medium) * 1px);
|
|
9018
|
+
--tl-spinner-stroke-width-lg: calc(var(--component-spinner-stroke-large) * 1px);
|
|
9019
|
+
--tl-spinner-PI: 3.14159265358979;
|
|
9020
|
+
--tl-spinner-radius: var(--tl-spinner-radius-lg);
|
|
9021
|
+
--tl-spinner-stroke-width: var(--tl-spinner-stroke-width-lg);
|
|
9022
|
+
--tl-spinner-animation-speed: var(--tl-spinner-speed-lg);
|
|
9023
|
+
}
|
|
9024
|
+
|
|
9025
|
+
.tl-spinner {
|
|
9026
|
+
box-sizing: border-box;
|
|
9027
|
+
}
|
|
9028
|
+
.tl-spinner * {
|
|
9029
|
+
box-sizing: border-box;
|
|
9030
|
+
}
|
|
9031
|
+
.tl-spinner {
|
|
9032
|
+
display: block;
|
|
9033
|
+
width: calc(var(--tl-spinner-radius) * 2);
|
|
9034
|
+
height: calc(var(--tl-spinner-radius) * 2);
|
|
9035
|
+
transform: scale(-1, 1) rotate(-90deg);
|
|
9036
|
+
}
|
|
9037
|
+
.tl-spinner--xs {
|
|
9038
|
+
--tl-spinner-radius: var(--tl-spinner-radius-xs);
|
|
9039
|
+
--tl-spinner-stroke-width: var(--tl-spinner-stroke-width-xs);
|
|
9040
|
+
--tl-spinner-animation-speed: var(--tl-spinner-speed);
|
|
9041
|
+
}
|
|
9042
|
+
.tl-spinner--sm {
|
|
9043
|
+
--tl-spinner-radius: var(--tl-spinner-radius-sm);
|
|
9044
|
+
--tl-spinner-stroke-width: var(--tl-spinner-stroke-width-sm);
|
|
9045
|
+
--tl-spinner-animation-speed: var(--tl-spinner-speed);
|
|
9046
|
+
}
|
|
9047
|
+
.tl-spinner--md {
|
|
9048
|
+
--tl-spinner-radius: var(--tl-spinner-radius-md);
|
|
9049
|
+
--tl-spinner-stroke-width: var(--tl-spinner-stroke-width-md);
|
|
9050
|
+
--tl-spinner-animation-speed: var(--tl-spinner-speed);
|
|
9051
|
+
}
|
|
9052
|
+
.tl-spinner--lg {
|
|
9053
|
+
--tl-spinner-radius: var(--tl-spinner-radius-lg);
|
|
9054
|
+
--tl-spinner-stroke-width: var(--tl-spinner-stroke-width-lg);
|
|
9055
|
+
--tl-spinner-animation-speed: var(--tl-spinner-speed-lg);
|
|
9056
|
+
}
|
|
9057
|
+
.tl-spinner--default {
|
|
9058
|
+
stroke: var(--tl-spinner-background);
|
|
9059
|
+
}
|
|
9060
|
+
.tl-spinner--inverted {
|
|
9061
|
+
stroke: var(--tl-spinner-background-inverted);
|
|
9062
|
+
}
|
|
9063
|
+
|
|
9064
|
+
.tl-spinner__circle {
|
|
9065
|
+
cx: var(--tl-spinner-radius);
|
|
9066
|
+
cy: var(--tl-spinner-radius);
|
|
9067
|
+
r: calc(var(--tl-spinner-radius) - var(--tl-spinner-stroke-width) / 2);
|
|
9068
|
+
fill: none;
|
|
9069
|
+
--tl-spinner-stroke-dash: calc((2 * var(--tl-spinner-PI)) * var(--tl-spinner-radius));
|
|
9070
|
+
stroke-dasharray: var(--tl-spinner-stroke-dash);
|
|
9071
|
+
stroke-width: var(--tl-spinner-stroke-width);
|
|
9072
|
+
animation: tl-spinner-dash var(--tl-spinner-animation-speed) cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
|
|
9073
|
+
}
|
|
9074
|
+
|
|
9075
|
+
@keyframes tl-spinner-dash {
|
|
9076
|
+
from {
|
|
9077
|
+
stroke-dashoffset: calc(-1 * var(--tl-spinner-stroke-dash));
|
|
9078
|
+
}
|
|
9079
|
+
to {
|
|
9080
|
+
stroke-dashoffset: var(--tl-spinner-stroke-dash);
|
|
9081
|
+
}
|
|
9082
|
+
}
|
|
9083
|
+
/**
|
|
9084
|
+
* Do not edit directly, this file was auto-generated.
|
|
9085
|
+
*/
|
|
9086
|
+
:root,
|
|
9087
|
+
.tds-mode-light,
|
|
9088
|
+
.scania .tds-mode-light,
|
|
9089
|
+
.scania.tds-mode-light,
|
|
9090
|
+
.scania .tl-mode-light,
|
|
8380
9091
|
.scania.tl-mode-light {
|
|
8381
9092
|
--component-stepper-background-item-default: var(--color-background-none);
|
|
8382
9093
|
--component-stepper-background-current-default: var(--scania-color-grey-750);
|
|
@@ -11593,52 +12304,6 @@ input[type=checkbox]:disabled ~ .tl-toggle__label {
|
|
|
11593
12304
|
cursor: not-allowed;
|
|
11594
12305
|
}
|
|
11595
12306
|
|
|
11596
|
-
/**
|
|
11597
|
-
* Do not edit directly, this file was auto-generated.
|
|
11598
|
-
*/
|
|
11599
|
-
:root,
|
|
11600
|
-
.tds-mode-light,
|
|
11601
|
-
.scania .tds-mode-light,
|
|
11602
|
-
.scania.tds-mode-light,
|
|
11603
|
-
.scania .tl-mode-light,
|
|
11604
|
-
.scania.tl-mode-light {
|
|
11605
|
-
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
11606
|
-
--component-tooltip-border-radius-none: var(--scania-unit-0);
|
|
11607
|
-
--component-tooltip-border-radius-default: var(--scania-unit-4);
|
|
11608
|
-
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
11609
|
-
}
|
|
11610
|
-
|
|
11611
|
-
.traton .tds-mode-light,
|
|
11612
|
-
.traton.tds-mode-light,
|
|
11613
|
-
.traton .tl-mode-light,
|
|
11614
|
-
.traton.tl-mode-light {
|
|
11615
|
-
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
11616
|
-
--component-tooltip-border-radius-none: var(--traton-unit-0);
|
|
11617
|
-
--component-tooltip-border-radius-default: var(--traton-unit-4);
|
|
11618
|
-
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
11619
|
-
}
|
|
11620
|
-
|
|
11621
|
-
.tds-mode-dark,
|
|
11622
|
-
.scania .tds-mode-dark,
|
|
11623
|
-
.scania.tds-mode-dark,
|
|
11624
|
-
.scania .tl-mode-dark,
|
|
11625
|
-
.scania.tl-mode-dark {
|
|
11626
|
-
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
11627
|
-
--component-tooltip-border-radius-none: var(--scania-unit-0);
|
|
11628
|
-
--component-tooltip-border-radius-default: var(--scania-unit-4);
|
|
11629
|
-
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
11630
|
-
}
|
|
11631
|
-
|
|
11632
|
-
.traton .tds-mode-dark,
|
|
11633
|
-
.traton.tds-mode-dark,
|
|
11634
|
-
.traton .tl-mode-dark,
|
|
11635
|
-
.traton.tl-mode-dark {
|
|
11636
|
-
--component-tooltip-background-default: var(--color-background-inverse-layer-03);
|
|
11637
|
-
--component-tooltip-border-radius-none: var(--traton-unit-0);
|
|
11638
|
-
--component-tooltip-border-radius-default: var(--traton-unit-4);
|
|
11639
|
-
--component-tooltip-text-default: var(--color-text-inverse-strong);
|
|
11640
|
-
}
|
|
11641
|
-
|
|
11642
12307
|
.tl-tooltip {
|
|
11643
12308
|
--tooltip-color: var(--component-tooltip-text-default);
|
|
11644
12309
|
--tooltip-background: var(--component-tooltip-background-default);
|