@scania/tegel-lite 0.1.0-side-menu-beta.5 → 0.1.0-tabs-beta.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 +593 -0
- package/dist/tl-folder-tabs.css +255 -0
- package/dist/tl-header.css +11 -0
- package/dist/tl-inline-tabs.css +276 -0
- package/dist/tl-navigation-tabs.css +287 -0
- package/package.json +4 -1
package/dist/components.css
CHANGED
|
@@ -3233,6 +3233,11 @@
|
|
|
3233
3233
|
--header-title-letter-spacing: calc(var(--type-headline-06-letter-spacing) * 1px);
|
|
3234
3234
|
--header-item-user-id-padding: calc(var(--component-header-size-avatar-padding) * 1px);
|
|
3235
3235
|
--header-item-user-id-image-size: calc(var(--component-header-size-avatar-default) * 1px);
|
|
3236
|
+
}
|
|
3237
|
+
.tl-header .tl-header__title {
|
|
3238
|
+
--header-title-font-weight: 400;
|
|
3239
|
+
}
|
|
3240
|
+
.tl-header {
|
|
3236
3241
|
/* Expandable header items */
|
|
3237
3242
|
--header-item-background-opened: var(--component-header-background-nav-item-current-default);
|
|
3238
3243
|
--header-item-background-opened-hover: var(--component-header-background-menu-item-link-hover);
|
|
@@ -3264,6 +3269,12 @@
|
|
|
3264
3269
|
--header-sub-menu-item-title-color: var(--component-header-text-title-default);
|
|
3265
3270
|
--header-sub-menu-item-subtitle-color: var(--component-header-text-subtitle-default);
|
|
3266
3271
|
}
|
|
3272
|
+
.tl-header .tl-header__brand {
|
|
3273
|
+
--header-logotype-local: var(--tds-background-image-scania-symbol-svg-local);
|
|
3274
|
+
--header-logotype-cdn: var(--tds-background-image-scania-symbol-svg);
|
|
3275
|
+
--header-brand-logo-size: 32px;
|
|
3276
|
+
--header-brand-item-width: 30px;
|
|
3277
|
+
}
|
|
3267
3278
|
|
|
3268
3279
|
.scania .tl-header__title {
|
|
3269
3280
|
--header-title-font-weight: 400;
|
|
@@ -7189,6 +7200,588 @@ body {
|
|
|
7189
7200
|
display: none;
|
|
7190
7201
|
}
|
|
7191
7202
|
}
|
|
7203
|
+
/* tl-folder-tabs.scss (overlay buttons, no JS) */
|
|
7204
|
+
/**
|
|
7205
|
+
* Do not edit directly, this file was auto-generated.
|
|
7206
|
+
*/
|
|
7207
|
+
:root,
|
|
7208
|
+
.tds-mode-light,
|
|
7209
|
+
.scania .tds-mode-light,
|
|
7210
|
+
.scania.tds-mode-light,
|
|
7211
|
+
.scania .tl-mode-light,
|
|
7212
|
+
.scania.tl-mode-light {
|
|
7213
|
+
--component-tabs-background-primary: var(--color-background-base);
|
|
7214
|
+
--component-tabs-background-secondary: var(--color-background-layer-01);
|
|
7215
|
+
--component-tabs-background-folder-primary: var(--scania-color-transparent-invisible-light);
|
|
7216
|
+
--component-tabs-background-folder-secondary: var(--scania-color-transparent-invisible-light);
|
|
7217
|
+
--component-tabs-background-scroll-default: var(--scania-color-grey-200);
|
|
7218
|
+
--component-tabs-background-item-primary-default: var(--scania-color-grey-100);
|
|
7219
|
+
--component-tabs-background-item-primary-hover: var(--scania-color-grey-200);
|
|
7220
|
+
--component-tabs-background-item-primary-current-default: var(--scania-color-grey-50);
|
|
7221
|
+
--component-tabs-background-item-secondary-default: var(--scania-color-grey-100);
|
|
7222
|
+
--component-tabs-background-item-secondary-hover: var(--scania-color-grey-200);
|
|
7223
|
+
--component-tabs-background-item-secondary-current-default: var(--scania-color-base-white);
|
|
7224
|
+
--component-tabs-border-default: var(--color-border-discrete);
|
|
7225
|
+
--component-tabs-border-folder-default: var(--color-border-none);
|
|
7226
|
+
--component-tabs-border-item-default: var(--color-border-none);
|
|
7227
|
+
--component-tabs-border-item-hover: var(--scania-color-grey-850);
|
|
7228
|
+
--component-tabs-border-item-divider-default: var(--color-border-discrete);
|
|
7229
|
+
--component-tabs-border-item-indicator-default: var(--scania-color-blue-400);
|
|
7230
|
+
--component-tabs-text-item-default: var(--color-text-soft);
|
|
7231
|
+
--component-tabs-text-item-folder-default: var(--color-text-strong);
|
|
7232
|
+
--component-tabs-text-item-current-default: var(--color-text-strong);
|
|
7233
|
+
--component-tabs-opacity-disabled: var(--scania-opacity-25);
|
|
7234
|
+
--component-tabs-icon-scroll-default: var(--color-icon-strong);
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
.traton .tds-mode-light,
|
|
7238
|
+
.traton.tds-mode-light,
|
|
7239
|
+
.traton .tl-mode-light,
|
|
7240
|
+
.traton.tl-mode-light {
|
|
7241
|
+
--component-tabs-background-primary: var(--color-background-base);
|
|
7242
|
+
--component-tabs-background-secondary: var(--color-background-layer-01);
|
|
7243
|
+
--component-tabs-background-folder-primary: var(--traton-color-transparent-invisible-light);
|
|
7244
|
+
--component-tabs-background-folder-secondary: var(--traton-color-transparent-invisible-light);
|
|
7245
|
+
--component-tabs-background-scroll-default: var(--traton-color-grey-300);
|
|
7246
|
+
--component-tabs-background-item-primary-default: var(--traton-color-grey-200);
|
|
7247
|
+
--component-tabs-background-item-primary-hover: var(--traton-color-grey-300);
|
|
7248
|
+
--component-tabs-background-item-primary-current-default: var(--color-background-layer-01);
|
|
7249
|
+
--component-tabs-background-item-secondary-default: var(--traton-color-grey-200);
|
|
7250
|
+
--component-tabs-background-item-secondary-hover: var(--traton-color-grey-300);
|
|
7251
|
+
--component-tabs-background-item-secondary-current-default: var(--color-background-layer-02);
|
|
7252
|
+
--component-tabs-border-default: var(--color-border-discrete);
|
|
7253
|
+
--component-tabs-border-folder-default: var(--color-border-none);
|
|
7254
|
+
--component-tabs-border-item-default: var(--color-border-none);
|
|
7255
|
+
--component-tabs-border-item-hover: var(--color-border-discrete);
|
|
7256
|
+
--component-tabs-border-item-divider-default: var(--color-border-discrete);
|
|
7257
|
+
--component-tabs-border-item-indicator-default: var(--traton-color-blue-500);
|
|
7258
|
+
--component-tabs-text-item-default: var(--color-text-soft);
|
|
7259
|
+
--component-tabs-text-item-folder-default: var(--color-text-strong);
|
|
7260
|
+
--component-tabs-text-item-current-default: var(--color-text-strong);
|
|
7261
|
+
--component-tabs-opacity-disabled: var(--traton-opacity-25);
|
|
7262
|
+
--component-tabs-icon-scroll-default: var(--color-icon-strong);
|
|
7263
|
+
}
|
|
7264
|
+
|
|
7265
|
+
.tds-mode-dark,
|
|
7266
|
+
.scania .tds-mode-dark,
|
|
7267
|
+
.scania.tds-mode-dark,
|
|
7268
|
+
.scania .tl-mode-dark,
|
|
7269
|
+
.scania.tl-mode-dark {
|
|
7270
|
+
--component-tabs-background-primary: var(--color-background-base);
|
|
7271
|
+
--component-tabs-background-secondary: var(--color-background-layer-01);
|
|
7272
|
+
--component-tabs-background-folder-primary: var(--scania-color-transparent-invisible-dark);
|
|
7273
|
+
--component-tabs-background-folder-secondary: var(--scania-color-transparent-invisible-dark);
|
|
7274
|
+
--component-tabs-background-scroll-default: var(--scania-color-grey-750);
|
|
7275
|
+
--component-tabs-background-item-primary-default: var(--scania-color-grey-800);
|
|
7276
|
+
--component-tabs-background-item-primary-hover: var(--scania-color-grey-800);
|
|
7277
|
+
--component-tabs-background-item-primary-current-default: var(--scania-color-grey-850);
|
|
7278
|
+
--component-tabs-background-item-secondary-default: var(--scania-color-grey-750);
|
|
7279
|
+
--component-tabs-background-item-secondary-hover: var(--scania-color-grey-800);
|
|
7280
|
+
--component-tabs-background-item-secondary-current-default: var(--scania-color-grey-800);
|
|
7281
|
+
--component-tabs-border-default: var(--color-border-discrete);
|
|
7282
|
+
--component-tabs-border-folder-default: var(--color-border-none);
|
|
7283
|
+
--component-tabs-border-item-default: var(--color-border-none);
|
|
7284
|
+
--component-tabs-border-item-hover: var(--scania-color-grey-50);
|
|
7285
|
+
--component-tabs-border-item-divider-default: var(--color-border-discrete);
|
|
7286
|
+
--component-tabs-border-item-indicator-default: var(--scania-color-blue-300);
|
|
7287
|
+
--component-tabs-text-item-default: var(--color-text-soft);
|
|
7288
|
+
--component-tabs-text-item-folder-default: var(--color-text-strong);
|
|
7289
|
+
--component-tabs-text-item-current-default: var(--color-text-strong);
|
|
7290
|
+
--component-tabs-opacity-disabled: var(--scania-opacity-25);
|
|
7291
|
+
--component-tabs-icon-scroll-default: var(--color-icon-strong);
|
|
7292
|
+
}
|
|
7293
|
+
|
|
7294
|
+
.traton .tds-mode-dark,
|
|
7295
|
+
.traton.tds-mode-dark,
|
|
7296
|
+
.traton .tl-mode-dark,
|
|
7297
|
+
.traton.tl-mode-dark {
|
|
7298
|
+
--component-tabs-background-primary: var(--color-background-base);
|
|
7299
|
+
--component-tabs-background-secondary: var(--color-background-layer-01);
|
|
7300
|
+
--component-tabs-background-folder-primary: var(--traton-color-transparent-invisible-dark);
|
|
7301
|
+
--component-tabs-background-folder-secondary: var(--traton-color-transparent-invisible-dark);
|
|
7302
|
+
--component-tabs-background-scroll-default: var(--traton-color-blue-800);
|
|
7303
|
+
--component-tabs-background-item-primary-default: var(--traton-color-blue-850);
|
|
7304
|
+
--component-tabs-background-item-primary-hover: var(--traton-color-blue-800);
|
|
7305
|
+
--component-tabs-background-item-primary-current-default: var(--color-background-layer-01);
|
|
7306
|
+
--component-tabs-background-item-secondary-default: var(--traton-color-blue-850);
|
|
7307
|
+
--component-tabs-background-item-secondary-hover: var(--traton-color-blue-800);
|
|
7308
|
+
--component-tabs-background-item-secondary-current-default: var(--color-background-layer-02);
|
|
7309
|
+
--component-tabs-border-default: var(--color-border-discrete);
|
|
7310
|
+
--component-tabs-border-folder-default: var(--color-border-none);
|
|
7311
|
+
--component-tabs-border-item-default: var(--color-border-none);
|
|
7312
|
+
--component-tabs-border-item-hover: var(--color-border-discrete);
|
|
7313
|
+
--component-tabs-border-item-divider-default: var(--color-border-discrete);
|
|
7314
|
+
--component-tabs-border-item-indicator-default: var(--traton-color-yellow-400);
|
|
7315
|
+
--component-tabs-text-item-default: var(--color-text-soft);
|
|
7316
|
+
--component-tabs-text-item-folder-default: var(--color-text-strong);
|
|
7317
|
+
--component-tabs-text-item-current-default: var(--color-text-strong);
|
|
7318
|
+
--component-tabs-opacity-disabled: var(--traton-opacity-25);
|
|
7319
|
+
--component-tabs-icon-scroll-default: var(--color-icon-strong);
|
|
7320
|
+
}
|
|
7321
|
+
|
|
7322
|
+
.tl-folder-tabs {
|
|
7323
|
+
--folder-tabs-scroll-button-background: var(--component-tabs-background-scroll-default);
|
|
7324
|
+
--folder-tabs-scroll-button-color: var(--component-tabs-icon-scroll-default);
|
|
7325
|
+
}
|
|
7326
|
+
|
|
7327
|
+
.tl-folder-tabs__tab {
|
|
7328
|
+
--folder-tab-background: var(--component-tabs-background-item-primary-default);
|
|
7329
|
+
--folder-tab-background-hover: var(--component-tabs-background-item-primary-hover);
|
|
7330
|
+
--folder-tab-background-selected: var(--component-tabs-background-item-primary-current-default);
|
|
7331
|
+
--folder-tab-border-selected: var(--component-tabs-border-item-indicator-default);
|
|
7332
|
+
--folder-tab-divider-color: var(--component-tabs-border-item-divider-default);
|
|
7333
|
+
--folder-tab-text: var(--component-tabs-text-item-folder-default);
|
|
7334
|
+
--folder-tab-text-selected: var(--component-tabs-text-item-current-default);
|
|
7335
|
+
--folder-tab-item-opacity-disabled: calc(var(--component-tabs-opacity-disabled) / 100);
|
|
7336
|
+
}
|
|
7337
|
+
|
|
7338
|
+
.tl-folder-tabs--primary .tl-folder-tabs__tab {
|
|
7339
|
+
--folder-tab-background: var(--component-tabs-background-item-primary-default);
|
|
7340
|
+
--folder-tab-background-hover: var(--component-tabs-background-item-primary-hover);
|
|
7341
|
+
--folder-tab-background-selected: var(--component-tabs-background-item-primary-current-default);
|
|
7342
|
+
}
|
|
7343
|
+
|
|
7344
|
+
.tl-folder-tabs--secondary .tl-folder-tabs__tab {
|
|
7345
|
+
--folder-tab-background: var(--component-tabs-background-item-secondary-default);
|
|
7346
|
+
--folder-tab-background-hover: var(--component-tabs-background-item-secondary-hover);
|
|
7347
|
+
--folder-tab-background-selected: var(--component-tabs-background-item-secondary-current-default);
|
|
7348
|
+
}
|
|
7349
|
+
|
|
7350
|
+
/* tl-folder-tabs.scss (overlay buttons, no JS) */
|
|
7351
|
+
.tl-folder-tabs__tab {
|
|
7352
|
+
all: unset;
|
|
7353
|
+
font-family: var(--type-system-title-01-font-family);
|
|
7354
|
+
font-size: calc(var(--type-system-title-01-font-size) * 1px);
|
|
7355
|
+
line-height: calc(var(--type-system-title-01-line-height) * 1px);
|
|
7356
|
+
font-weight: var(--type-system-title-01-font-weight);
|
|
7357
|
+
letter-spacing: calc(var(--type-system-title-01-letter-spacing) * 1px);
|
|
7358
|
+
box-sizing: border-box;
|
|
7359
|
+
position: relative;
|
|
7360
|
+
display: inline-flex;
|
|
7361
|
+
align-items: center;
|
|
7362
|
+
min-inline-size: 142px;
|
|
7363
|
+
inline-size: auto;
|
|
7364
|
+
flex: 0 0 auto;
|
|
7365
|
+
white-space: nowrap;
|
|
7366
|
+
padding: 16px;
|
|
7367
|
+
text-align: left;
|
|
7368
|
+
cursor: pointer;
|
|
7369
|
+
border-left: 1px solid transparent;
|
|
7370
|
+
border-top: 2px solid transparent;
|
|
7371
|
+
background-color: var(--folder-tab-background);
|
|
7372
|
+
color: var(--folder-tab-text);
|
|
7373
|
+
}
|
|
7374
|
+
.tl-folder-tabs__tab + .tl-folder-tabs__tab {
|
|
7375
|
+
border-left: 1px solid var(--folder-tab-divider-color);
|
|
7376
|
+
}
|
|
7377
|
+
.tl-folder-tabs__tab:focus-visible {
|
|
7378
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7379
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
7380
|
+
outline-offset: -2px;
|
|
7381
|
+
z-index: 1;
|
|
7382
|
+
box-shadow: inset -0.5px -1px 0 3px var(--component--focus-ring-color-discrete);
|
|
7383
|
+
}
|
|
7384
|
+
.tl-folder-tabs__tab:hover:not(.tl-folder-tabs__tab--disabled, .tl-folder-tabs__tab--selected) {
|
|
7385
|
+
background-color: var(--folder-tab-background-hover);
|
|
7386
|
+
}
|
|
7387
|
+
.tl-folder-tabs__tab--selected {
|
|
7388
|
+
background-color: var(--folder-tab-background-selected);
|
|
7389
|
+
border-top: 2px solid var(--folder-tab-border-selected);
|
|
7390
|
+
color: var(--folder-tab-text-selected);
|
|
7391
|
+
}
|
|
7392
|
+
.tl-folder-tabs__tab--disabled {
|
|
7393
|
+
opacity: var(--folder-tab-item-opacity-disabled);
|
|
7394
|
+
cursor: not-allowed;
|
|
7395
|
+
user-select: none;
|
|
7396
|
+
}
|
|
7397
|
+
.tl-folder-tabs__tab--disabled:focus-visible {
|
|
7398
|
+
outline: none;
|
|
7399
|
+
box-shadow: none;
|
|
7400
|
+
}
|
|
7401
|
+
|
|
7402
|
+
.tl-folder-tabs {
|
|
7403
|
+
box-sizing: border-box;
|
|
7404
|
+
}
|
|
7405
|
+
.tl-folder-tabs * {
|
|
7406
|
+
box-sizing: border-box;
|
|
7407
|
+
}
|
|
7408
|
+
.tl-folder-tabs {
|
|
7409
|
+
display: flex;
|
|
7410
|
+
overflow-x: scroll;
|
|
7411
|
+
scrollbar-width: none;
|
|
7412
|
+
position: relative;
|
|
7413
|
+
outline: 0;
|
|
7414
|
+
}
|
|
7415
|
+
.tl-folder-tabs::-webkit-scrollbar {
|
|
7416
|
+
display: none;
|
|
7417
|
+
}
|
|
7418
|
+
.tl-folder-tabs:focus-visible {
|
|
7419
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7420
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
7421
|
+
outline-offset: 1px;
|
|
7422
|
+
z-index: 1;
|
|
7423
|
+
}
|
|
7424
|
+
|
|
7425
|
+
/* Overlay buttons (optional in markup; visible via media query) */
|
|
7426
|
+
.tl-folder-tabs__scroll-button {
|
|
7427
|
+
background-color: var(--folder-tabs-scroll-button-background);
|
|
7428
|
+
color: var(--folder-tabs-scroll-button-color);
|
|
7429
|
+
min-width: 48px;
|
|
7430
|
+
border: 0;
|
|
7431
|
+
justify-content: center;
|
|
7432
|
+
align-items: center;
|
|
7433
|
+
position: sticky;
|
|
7434
|
+
cursor: pointer;
|
|
7435
|
+
}
|
|
7436
|
+
.tl-folder-tabs__scroll-button:focus-visible {
|
|
7437
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7438
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
7439
|
+
outline-offset: -2px;
|
|
7440
|
+
z-index: 1;
|
|
7441
|
+
}
|
|
7442
|
+
|
|
7443
|
+
/* left/right anchoring over the track */
|
|
7444
|
+
.tl-folder-tabs__scroll-button--left {
|
|
7445
|
+
left: 0;
|
|
7446
|
+
z-index: 1;
|
|
7447
|
+
}
|
|
7448
|
+
|
|
7449
|
+
.tl-folder-tabs__scroll-button--right {
|
|
7450
|
+
right: 0;
|
|
7451
|
+
z-index: 1;
|
|
7452
|
+
}
|
|
7453
|
+
|
|
7454
|
+
.tl-folder-tabs__scroll-button svg {
|
|
7455
|
+
fill: var(--folder-tabs-scroll-button-color);
|
|
7456
|
+
}
|
|
7457
|
+
|
|
7458
|
+
.tl-inline-tabs {
|
|
7459
|
+
/* Horizontal divider */
|
|
7460
|
+
--inline-tabs-horizontal-divider: var(--component-tabs-border-default);
|
|
7461
|
+
/* Scroll button */
|
|
7462
|
+
--inline-tabs-scroll-button-color: var(--component-tabs-icon-scroll-default);
|
|
7463
|
+
--inline-tabs-scroll-button-background: var(--component-tabs-background-primary);
|
|
7464
|
+
}
|
|
7465
|
+
.tl-inline-tabs--primary {
|
|
7466
|
+
--inline-tabs-scroll-button-background: var(--component-tabs-background-primary);
|
|
7467
|
+
}
|
|
7468
|
+
.tl-inline-tabs--secondary {
|
|
7469
|
+
--inline-tabs-scroll-button-background: var(--component-tabs-background-secondary);
|
|
7470
|
+
}
|
|
7471
|
+
|
|
7472
|
+
.tl-inline-tabs__tab {
|
|
7473
|
+
/* Tab */
|
|
7474
|
+
--inline-tabs-tab-color: var(--component-tabs-text-item-default);
|
|
7475
|
+
--inline-tabs-tab-color-selected: var(--component-tabs-text-item-current-default);
|
|
7476
|
+
--inline-tabs-tab-opacity-disabled: calc(var(--component-tabs-opacity-disabled) / 100);
|
|
7477
|
+
--inline-tabs-tab-color-hover: var(--component-tabs-text-item-current-default);
|
|
7478
|
+
--inline-tabs-tab-indicator-active: var(--component-tabs-border-item-indicator-default);
|
|
7479
|
+
--inline-tabs-tab-indicator-hover: var(--component-tabs-border-item-hover);
|
|
7480
|
+
}
|
|
7481
|
+
|
|
7482
|
+
.tl-inline-tabs__tab {
|
|
7483
|
+
all: unset;
|
|
7484
|
+
box-sizing: border-box;
|
|
7485
|
+
}
|
|
7486
|
+
.tl-inline-tabs__tab * {
|
|
7487
|
+
box-sizing: border-box;
|
|
7488
|
+
}
|
|
7489
|
+
.tl-inline-tabs__tab {
|
|
7490
|
+
font-family: var(--type-system-title-01-font-family);
|
|
7491
|
+
font-size: calc(var(--type-system-title-01-font-size) * 1px);
|
|
7492
|
+
line-height: calc(var(--type-system-title-01-line-height) * 1px);
|
|
7493
|
+
font-weight: var(--type-system-title-01-font-weight);
|
|
7494
|
+
letter-spacing: calc(var(--type-system-title-01-letter-spacing) * 1px);
|
|
7495
|
+
color: var(--inline-tabs-tab-color);
|
|
7496
|
+
text-decoration: none;
|
|
7497
|
+
display: block;
|
|
7498
|
+
position: relative;
|
|
7499
|
+
transition: color 0.15s ease-in-out 0s;
|
|
7500
|
+
white-space: nowrap;
|
|
7501
|
+
background-color: transparent;
|
|
7502
|
+
border: 0;
|
|
7503
|
+
padding: 20px 8px;
|
|
7504
|
+
}
|
|
7505
|
+
.tl-inline-tabs__tab:focus-visible {
|
|
7506
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7507
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
7508
|
+
outline-offset: -2px;
|
|
7509
|
+
z-index: 1;
|
|
7510
|
+
outline-offset: -2px;
|
|
7511
|
+
}
|
|
7512
|
+
.tl-inline-tabs__tab::after {
|
|
7513
|
+
background-color: var(--inline-tabs-tab-indicator-hover);
|
|
7514
|
+
content: " ";
|
|
7515
|
+
position: absolute;
|
|
7516
|
+
bottom: 0;
|
|
7517
|
+
right: 0;
|
|
7518
|
+
left: 0;
|
|
7519
|
+
margin-left: auto;
|
|
7520
|
+
width: 0%;
|
|
7521
|
+
margin-right: auto;
|
|
7522
|
+
height: 2px;
|
|
7523
|
+
z-index: 1;
|
|
7524
|
+
transition: width 0.15s ease-in-out 0s;
|
|
7525
|
+
}
|
|
7526
|
+
.tl-inline-tabs__tab:not(.tl-inline-tabs__tab--selected)::after {
|
|
7527
|
+
width: 0%;
|
|
7528
|
+
}
|
|
7529
|
+
.tl-inline-tabs__tab:hover {
|
|
7530
|
+
cursor: pointer;
|
|
7531
|
+
color: var(--inline-tabs-tab-color-hover);
|
|
7532
|
+
}
|
|
7533
|
+
.tl-inline-tabs__tab:hover::after {
|
|
7534
|
+
width: 100%;
|
|
7535
|
+
}
|
|
7536
|
+
.tl-inline-tabs__tab--selected {
|
|
7537
|
+
color: var(--inline-tabs-tab-color-selected);
|
|
7538
|
+
}
|
|
7539
|
+
.tl-inline-tabs__tab--selected::after {
|
|
7540
|
+
background-color: var(--inline-tabs-tab-indicator-active);
|
|
7541
|
+
width: 100%;
|
|
7542
|
+
}
|
|
7543
|
+
.tl-inline-tabs__tab--disabled {
|
|
7544
|
+
opacity: var(--inline-tabs-tab-opacity-disabled);
|
|
7545
|
+
pointer-events: none;
|
|
7546
|
+
cursor: not-allowed;
|
|
7547
|
+
}
|
|
7548
|
+
.tl-inline-tabs__tab--disabled::after {
|
|
7549
|
+
content: none;
|
|
7550
|
+
}
|
|
7551
|
+
.tl-inline-tabs__tab--disabled:focus-visible::before {
|
|
7552
|
+
outline: none;
|
|
7553
|
+
box-shadow: none;
|
|
7554
|
+
}
|
|
7555
|
+
|
|
7556
|
+
.tl-inline-tabs {
|
|
7557
|
+
box-sizing: border-box;
|
|
7558
|
+
}
|
|
7559
|
+
.tl-inline-tabs * {
|
|
7560
|
+
box-sizing: border-box;
|
|
7561
|
+
}
|
|
7562
|
+
.tl-inline-tabs {
|
|
7563
|
+
display: flex;
|
|
7564
|
+
flex-wrap: nowrap;
|
|
7565
|
+
white-space: nowrap;
|
|
7566
|
+
width: 100%;
|
|
7567
|
+
overflow-x: scroll;
|
|
7568
|
+
scrollbar-width: none;
|
|
7569
|
+
position: relative;
|
|
7570
|
+
border-bottom: 1px solid var(--inline-tabs-horizontal-divider);
|
|
7571
|
+
}
|
|
7572
|
+
.tl-inline-tabs::-webkit-scrollbar {
|
|
7573
|
+
display: none;
|
|
7574
|
+
}
|
|
7575
|
+
.tl-inline-tabs:focus-visible {
|
|
7576
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7577
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
7578
|
+
outline-offset: 1px;
|
|
7579
|
+
z-index: 1;
|
|
7580
|
+
}
|
|
7581
|
+
|
|
7582
|
+
.tl-inline-tabs__scroll-button {
|
|
7583
|
+
background-color: var(--inline-tabs-scroll-button-background);
|
|
7584
|
+
color: var(--inline-tabs-scroll-button-color);
|
|
7585
|
+
cursor: pointer;
|
|
7586
|
+
min-width: 48px;
|
|
7587
|
+
border: 0;
|
|
7588
|
+
display: block;
|
|
7589
|
+
justify-content: center;
|
|
7590
|
+
align-items: center;
|
|
7591
|
+
opacity: 1;
|
|
7592
|
+
position: sticky;
|
|
7593
|
+
}
|
|
7594
|
+
.tl-inline-tabs__scroll-button:focus-visible {
|
|
7595
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7596
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
7597
|
+
outline-offset: -2px;
|
|
7598
|
+
z-index: 1;
|
|
7599
|
+
outline-offset: -2px;
|
|
7600
|
+
}
|
|
7601
|
+
|
|
7602
|
+
.tl-inline-tabs__scroll-button--right {
|
|
7603
|
+
right: 0;
|
|
7604
|
+
z-index: 1;
|
|
7605
|
+
}
|
|
7606
|
+
|
|
7607
|
+
.tl-inline-tabs__scroll-button--left {
|
|
7608
|
+
left: 0;
|
|
7609
|
+
z-index: 1;
|
|
7610
|
+
}
|
|
7611
|
+
|
|
7612
|
+
.tl-inline-tabs__scroll-button svg {
|
|
7613
|
+
fill: var(--inline-tabs-scroll-button-color);
|
|
7614
|
+
}
|
|
7615
|
+
|
|
7616
|
+
.tl-navigation-tabs {
|
|
7617
|
+
/* tds-navigation-tabs variables */
|
|
7618
|
+
--navigation-tabs-horizontal-divider: var(--component-tabs-border-default);
|
|
7619
|
+
--navigation-tabs-scroll-button-color: var(--component-tabs-icon-scroll-default);
|
|
7620
|
+
--navigation-tabs-scroll-button-background: var(--component-tabs-background-primary);
|
|
7621
|
+
}
|
|
7622
|
+
.tl-navigation-tabs--primary {
|
|
7623
|
+
--navigation-tabs-scroll-button-background: var(--component-tabs-background-primary);
|
|
7624
|
+
}
|
|
7625
|
+
.tl-navigation-tabs--secondary {
|
|
7626
|
+
--navigation-tabs-scroll-button-background: var(--component-tabs-background-secondary);
|
|
7627
|
+
}
|
|
7628
|
+
|
|
7629
|
+
.tl-navigation-tabs__tab {
|
|
7630
|
+
/* tds-navigation-tab variables */
|
|
7631
|
+
--navigation-tabs-tab-color: var(--component-tabs-text-item-default);
|
|
7632
|
+
--navigation-tabs-tab-color-selected: var(--component-tabs-text-item-current-default);
|
|
7633
|
+
--navigation-tabs-tab-opacity-disabled: calc(var(--component-tabs-opacity-disabled) / 100);
|
|
7634
|
+
--navigation-tabs-tab-color-hover: var(--component-tabs-text-item-current-default);
|
|
7635
|
+
--navigation-tabs-tab-indicator-hover: var(--component-tabs-border-item-hover);
|
|
7636
|
+
--navigation-tabs-tab-indicator-active: var(--component-tabs-border-item-indicator-default);
|
|
7637
|
+
}
|
|
7638
|
+
|
|
7639
|
+
.tl-navigation-tabs__tab {
|
|
7640
|
+
all: unset;
|
|
7641
|
+
box-sizing: border-box;
|
|
7642
|
+
}
|
|
7643
|
+
.tl-navigation-tabs__tab * {
|
|
7644
|
+
box-sizing: border-box;
|
|
7645
|
+
}
|
|
7646
|
+
.tl-navigation-tabs__tab {
|
|
7647
|
+
font-family: var(--type-system-title-01-font-family);
|
|
7648
|
+
font-size: calc(var(--type-system-title-01-font-size) * 1px);
|
|
7649
|
+
line-height: calc(var(--type-system-title-01-line-height) * 1px);
|
|
7650
|
+
font-weight: var(--type-system-title-01-font-weight);
|
|
7651
|
+
letter-spacing: calc(var(--type-system-title-01-letter-spacing) * 1px);
|
|
7652
|
+
color: var(--navigation-tabs-tab-color);
|
|
7653
|
+
text-decoration: none;
|
|
7654
|
+
display: block;
|
|
7655
|
+
position: relative;
|
|
7656
|
+
transition: color 0.15s ease-in-out 0s;
|
|
7657
|
+
white-space: nowrap;
|
|
7658
|
+
background-color: transparent;
|
|
7659
|
+
border: 0;
|
|
7660
|
+
padding: 25px 8px;
|
|
7661
|
+
}
|
|
7662
|
+
.tl-navigation-tabs__tab:focus-visible {
|
|
7663
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7664
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
7665
|
+
outline-offset: -2px;
|
|
7666
|
+
z-index: 1;
|
|
7667
|
+
outline-offset: -2px;
|
|
7668
|
+
}
|
|
7669
|
+
.tl-navigation-tabs__tab::after {
|
|
7670
|
+
background-color: var(--navigation-tabs-tab-indicator-hover);
|
|
7671
|
+
content: " ";
|
|
7672
|
+
position: absolute;
|
|
7673
|
+
bottom: 0;
|
|
7674
|
+
right: 0;
|
|
7675
|
+
left: 0;
|
|
7676
|
+
margin-left: auto;
|
|
7677
|
+
width: 0%;
|
|
7678
|
+
margin-right: auto;
|
|
7679
|
+
height: 2px;
|
|
7680
|
+
z-index: 1;
|
|
7681
|
+
transition: width 0.15s ease-in-out 0s;
|
|
7682
|
+
}
|
|
7683
|
+
.tl-navigation-tabs__tab:not(.tl-navigation-tabs__tab--selected)::after {
|
|
7684
|
+
width: 0%;
|
|
7685
|
+
}
|
|
7686
|
+
.tl-navigation-tabs__tab:hover {
|
|
7687
|
+
cursor: pointer;
|
|
7688
|
+
color: var(--navigation-tabs-tab-color-hover);
|
|
7689
|
+
}
|
|
7690
|
+
.tl-navigation-tabs__tab:hover::after {
|
|
7691
|
+
width: 100%;
|
|
7692
|
+
}
|
|
7693
|
+
.tl-navigation-tabs__tab--selected {
|
|
7694
|
+
color: var(--navigation-tabs-tab-color-selected);
|
|
7695
|
+
}
|
|
7696
|
+
.tl-navigation-tabs__tab--selected::after {
|
|
7697
|
+
background-color: var(--navigation-tabs-tab-indicator-active);
|
|
7698
|
+
width: 100%;
|
|
7699
|
+
}
|
|
7700
|
+
.tl-navigation-tabs__tab--disabled {
|
|
7701
|
+
opacity: var(--navigation-tabs-tab-opacity-disabled);
|
|
7702
|
+
pointer-events: none;
|
|
7703
|
+
cursor: not-allowed;
|
|
7704
|
+
}
|
|
7705
|
+
.tl-navigation-tabs__tab--disabled::after {
|
|
7706
|
+
content: none;
|
|
7707
|
+
}
|
|
7708
|
+
.tl-navigation-tabs__tab--disabled:hover {
|
|
7709
|
+
color: var(--navigation-tabs-tab-color);
|
|
7710
|
+
}
|
|
7711
|
+
.tl-navigation-tabs__tab--disabled:focus-visible::before {
|
|
7712
|
+
outline: none;
|
|
7713
|
+
box-shadow: none;
|
|
7714
|
+
}
|
|
7715
|
+
|
|
7716
|
+
.tl-navigation-tabs {
|
|
7717
|
+
box-sizing: border-box;
|
|
7718
|
+
}
|
|
7719
|
+
.tl-navigation-tabs * {
|
|
7720
|
+
box-sizing: border-box;
|
|
7721
|
+
}
|
|
7722
|
+
.tl-navigation-tabs {
|
|
7723
|
+
display: flex;
|
|
7724
|
+
flex-wrap: nowrap;
|
|
7725
|
+
white-space: nowrap;
|
|
7726
|
+
width: 100%;
|
|
7727
|
+
overflow-x: scroll;
|
|
7728
|
+
scrollbar-width: none;
|
|
7729
|
+
gap: 24px;
|
|
7730
|
+
position: relative;
|
|
7731
|
+
}
|
|
7732
|
+
.tl-navigation-tabs::-webkit-scrollbar {
|
|
7733
|
+
display: none;
|
|
7734
|
+
}
|
|
7735
|
+
.tl-navigation-tabs:focus-visible {
|
|
7736
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7737
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
7738
|
+
outline-offset: 1px;
|
|
7739
|
+
z-index: 1;
|
|
7740
|
+
}
|
|
7741
|
+
.tl-navigation-tabs::after {
|
|
7742
|
+
border-bottom: 1px solid var(--navigation-tabs-horizontal-divider);
|
|
7743
|
+
content: " ";
|
|
7744
|
+
display: block;
|
|
7745
|
+
left: 0;
|
|
7746
|
+
right: 0;
|
|
7747
|
+
bottom: 0;
|
|
7748
|
+
position: absolute;
|
|
7749
|
+
}
|
|
7750
|
+
|
|
7751
|
+
.tl-navigation-tabs__scroll-button {
|
|
7752
|
+
background-color: var(--navigation-tabs-scroll-button-background);
|
|
7753
|
+
color: var(--navigation-tabs-scroll-button-color);
|
|
7754
|
+
cursor: pointer;
|
|
7755
|
+
min-width: 48px;
|
|
7756
|
+
border: 0;
|
|
7757
|
+
display: block;
|
|
7758
|
+
justify-content: center;
|
|
7759
|
+
align-items: center;
|
|
7760
|
+
opacity: 1;
|
|
7761
|
+
position: sticky;
|
|
7762
|
+
border-bottom: 1px solid var(--navigation-tabs-horizontal-divider);
|
|
7763
|
+
}
|
|
7764
|
+
.tl-navigation-tabs__scroll-button:focus-visible {
|
|
7765
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7766
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
7767
|
+
outline-offset: -2px;
|
|
7768
|
+
z-index: 1;
|
|
7769
|
+
}
|
|
7770
|
+
|
|
7771
|
+
.tl-navigation-tabs__scroll-button--right {
|
|
7772
|
+
right: 0;
|
|
7773
|
+
z-index: 1;
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7776
|
+
.tl-navigation-tabs__scroll-button--left {
|
|
7777
|
+
left: 0;
|
|
7778
|
+
z-index: 1;
|
|
7779
|
+
}
|
|
7780
|
+
|
|
7781
|
+
.tl-navigation-tabs__scroll-button svg {
|
|
7782
|
+
fill: var(--navigation-tabs-scroll-button-color);
|
|
7783
|
+
}
|
|
7784
|
+
|
|
7192
7785
|
/**
|
|
7193
7786
|
* Do not edit directly, this file was auto-generated.
|
|
7194
7787
|
*/
|