@navikt/ds-css 3.4.2 → 4.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/CHANGELOG.md +30 -0
- package/config/_mappings.js +17 -2
- package/dist/component/dropdown.css +77 -0
- package/dist/component/dropdown.min.css +1 -0
- package/dist/component/index.css +461 -1
- package/dist/component/index.min.css +2 -2
- package/dist/component/internalheader.css +85 -0
- package/dist/component/internalheader.min.css +1 -0
- package/dist/component/timeline.css +375 -0
- package/dist/component/timeline.min.css +1 -0
- package/dist/components.css +460 -0
- package/dist/components.min.css +2 -2
- package/dist/global/tokens.css +1 -1
- package/dist/index.css +461 -1
- package/dist/index.min.css +2 -2
- package/dropdown.css +77 -0
- package/index.css +3 -0
- package/internalheader.css +85 -0
- package/package.json +2 -2
- package/timeline.css +375 -0
- package/tokens.json +42 -0
package/dist/components.css
CHANGED
|
@@ -1292,6 +1292,72 @@
|
|
|
1292
1292
|
cursor: not-allowed;
|
|
1293
1293
|
opacity: 0.3;
|
|
1294
1294
|
}
|
|
1295
|
+
.navds-dropdown__menu {
|
|
1296
|
+
overflow: hidden;
|
|
1297
|
+
padding: var(--a-spacing-2) 0;
|
|
1298
|
+
color: var(--ac-dropdown-text, var(--a-text-default));
|
|
1299
|
+
width: 27ch;
|
|
1300
|
+
max-height: 616px;
|
|
1301
|
+
overflow-y: auto;
|
|
1302
|
+
}
|
|
1303
|
+
.navds-dropdown__divider {
|
|
1304
|
+
margin: var(--a-spacing-3) 0;
|
|
1305
|
+
border: none;
|
|
1306
|
+
border-bottom: 1px solid var(--a-border-divider);
|
|
1307
|
+
}
|
|
1308
|
+
.navds-dropdown__menu > :not(.navds-dropdown__divider):not(.navds-dropdown__list) {
|
|
1309
|
+
margin: 0 var(--a-spacing-4) var(--a-spacing-3);
|
|
1310
|
+
}
|
|
1311
|
+
.navds-dropdown__list {
|
|
1312
|
+
margin: 0;
|
|
1313
|
+
padding: 0;
|
|
1314
|
+
list-style: none;
|
|
1315
|
+
}
|
|
1316
|
+
.navds-dropdown__list-item {
|
|
1317
|
+
margin: 0;
|
|
1318
|
+
}
|
|
1319
|
+
.navds-dropdown__list-heading {
|
|
1320
|
+
margin: var(--a-spacing-1) var(--a-spacing-4) var(--a-spacing-3);
|
|
1321
|
+
}
|
|
1322
|
+
.navds-dropdown__item {
|
|
1323
|
+
border: none;
|
|
1324
|
+
margin: 0;
|
|
1325
|
+
overflow: visible;
|
|
1326
|
+
background: transparent;
|
|
1327
|
+
color: var(--ac-dropdown-item-text, var(--a-text-action));
|
|
1328
|
+
font: inherit;
|
|
1329
|
+
text-decoration: none;
|
|
1330
|
+
text-align: left;
|
|
1331
|
+
cursor: pointer;
|
|
1332
|
+
width: 100%;
|
|
1333
|
+
display: flex;
|
|
1334
|
+
align-items: center;
|
|
1335
|
+
gap: var(--a-spacing-2);
|
|
1336
|
+
padding: var(--a-spacing-1) var(--a-spacing-4);
|
|
1337
|
+
}
|
|
1338
|
+
.navds-dropdown__item:hover {
|
|
1339
|
+
background-color: var(--ac-dropdown-item-hover-bg, var(--a-surface-action-subtle-hover));
|
|
1340
|
+
}
|
|
1341
|
+
.navds-dropdown__item:active {
|
|
1342
|
+
background-color: var(--ac-dropdown-item-active-bg, var(--a-surface-action-active));
|
|
1343
|
+
color: var(--ac-dropdown-item-active-text, var(--a-text-on-action));
|
|
1344
|
+
}
|
|
1345
|
+
.navds-dropdown__item:focus-visible {
|
|
1346
|
+
outline: none;
|
|
1347
|
+
box-shadow: inset 0 0 0 2px var(--a-border-focus);
|
|
1348
|
+
}
|
|
1349
|
+
@supports not selector(:focus-visible) {
|
|
1350
|
+
.navds-dropdown__item:focus {
|
|
1351
|
+
outline: none;
|
|
1352
|
+
box-shadow: inset 0 0 0 2px var(--a-border-focus);
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
.navds-dropdown__item:disabled {
|
|
1356
|
+
color: var(--ac-dropdown-item-text, var(--a-text-action));
|
|
1357
|
+
opacity: 0.3;
|
|
1358
|
+
background: transparent;
|
|
1359
|
+
cursor: not-allowed;
|
|
1360
|
+
}
|
|
1295
1361
|
.navds-expansioncard {
|
|
1296
1362
|
--__ac-expansioncard-border-color: var(--ac-expansioncard-border-color, var(--a-border-default));
|
|
1297
1363
|
--__ac-expansioncard-border-radius: var(--ac-expansioncard-border-radius, var(--a-border-radius-large));
|
|
@@ -2420,6 +2486,82 @@
|
|
|
2420
2486
|
display: inherit;
|
|
2421
2487
|
}
|
|
2422
2488
|
}
|
|
2489
|
+
.navds-internalheader {
|
|
2490
|
+
display: flex;
|
|
2491
|
+
align-self: stretch;
|
|
2492
|
+
background: var(--ac-internalheader-bg, var(--a-surface-inverted));
|
|
2493
|
+
min-height: var(--a-spacing-12);
|
|
2494
|
+
|
|
2495
|
+
--navds-internalheader-focus: inset 0 0 0 2px var(--a-border-focus-on-inverted);
|
|
2496
|
+
}
|
|
2497
|
+
.navds-internalheader__title {
|
|
2498
|
+
border: none;
|
|
2499
|
+
overflow: visible;
|
|
2500
|
+
background: transparent;
|
|
2501
|
+
font: inherit;
|
|
2502
|
+
font-weight: var(--a-font-weight-bold);
|
|
2503
|
+
line-height: normal;
|
|
2504
|
+
text-align: left;
|
|
2505
|
+
padding: 0 var(--a-spacing-5) 0 var(--a-spacing-6);
|
|
2506
|
+
border-right: 1px solid var(--ac-internalheader-divider, var(--a-gray-600));
|
|
2507
|
+
display: flex;
|
|
2508
|
+
align-items: center;
|
|
2509
|
+
text-decoration: none;
|
|
2510
|
+
margin: 0;
|
|
2511
|
+
color: var(--ac-internalheader-text, var(--a-text-on-inverted));
|
|
2512
|
+
}
|
|
2513
|
+
button.navds-internalheader__title {
|
|
2514
|
+
cursor: pointer;
|
|
2515
|
+
}
|
|
2516
|
+
.navds-internalheader__user {
|
|
2517
|
+
padding: 0 var(--a-spacing-5);
|
|
2518
|
+
border-left: 1px solid var(--ac-internalheader-divider, var(--a-gray-600));
|
|
2519
|
+
display: flex;
|
|
2520
|
+
align-items: center;
|
|
2521
|
+
}
|
|
2522
|
+
.navds-internalheader__button {
|
|
2523
|
+
border: none;
|
|
2524
|
+
margin: 0;
|
|
2525
|
+
padding: 0 var(--a-spacing-3);
|
|
2526
|
+
overflow: visible;
|
|
2527
|
+
background: transparent;
|
|
2528
|
+
font: inherit;
|
|
2529
|
+
line-height: normal;
|
|
2530
|
+
cursor: pointer;
|
|
2531
|
+
text-align: left;
|
|
2532
|
+
display: flex;
|
|
2533
|
+
align-items: center;
|
|
2534
|
+
justify-self: center;
|
|
2535
|
+
gap: var(--a-spacing-2);
|
|
2536
|
+
border-left: 1px solid var(--ac-internalheader-divider, var(--a-gray-600));
|
|
2537
|
+
color: var(--ac-internalheader-text, var(--a-text-on-inverted));
|
|
2538
|
+
}
|
|
2539
|
+
a.navds-internalheader__title:hover,
|
|
2540
|
+
button.navds-internalheader__title:hover,
|
|
2541
|
+
.navds-internalheader__button:hover {
|
|
2542
|
+
background-color: var(--ac-internalheader-hover-bg, var(--a-surface-inverted-hover));
|
|
2543
|
+
}
|
|
2544
|
+
.navds-internalheader__title:focus-visible,
|
|
2545
|
+
.navds-internalheader__button:focus-visible {
|
|
2546
|
+
box-shadow: var(--navds-internalheader-focus);
|
|
2547
|
+
outline: none;
|
|
2548
|
+
}
|
|
2549
|
+
@supports not selector(:focus-visible) {
|
|
2550
|
+
.navds-internalheader__title:focus,
|
|
2551
|
+
.navds-internalheader__button:focus {
|
|
2552
|
+
box-shadow: var(--navds-internalheader-focus);
|
|
2553
|
+
outline: none;
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
a.navds-internalheader__title:active,
|
|
2557
|
+
button.navds-internalheader__title:active,
|
|
2558
|
+
.navds-internalheader__button:active {
|
|
2559
|
+
background-color: var(--ac-internalheader-active-bg, var(--a-surface-inverted-active));
|
|
2560
|
+
}
|
|
2561
|
+
.navds-internalheader__user-button {
|
|
2562
|
+
padding-left: var(--a-spacing-5);
|
|
2563
|
+
gap: var(--a-spacing-4);
|
|
2564
|
+
}
|
|
2423
2565
|
.navds-link {
|
|
2424
2566
|
color: var(--ac-link-text, var(--a-text-action));
|
|
2425
2567
|
text-decoration: underline;
|
|
@@ -3096,6 +3238,324 @@
|
|
|
3096
3238
|
background-color: var(--ac-tag-alt-3-moderate-bg, var(--a-surface-alt-3-moderate));
|
|
3097
3239
|
color: var(--ac-tag-alt-3-moderate-text, var(--a-text-default));
|
|
3098
3240
|
}
|
|
3241
|
+
.navds-timeline {
|
|
3242
|
+
position: relative;
|
|
3243
|
+
display: grid;
|
|
3244
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
3245
|
+
width: 100%;
|
|
3246
|
+
min-width: fit-content;
|
|
3247
|
+
align-items: center;
|
|
3248
|
+
}
|
|
3249
|
+
.navds-timeline__axislabels {
|
|
3250
|
+
position: relative;
|
|
3251
|
+
height: 1rem;
|
|
3252
|
+
box-sizing: content-box;
|
|
3253
|
+
grid-column: 2;
|
|
3254
|
+
}
|
|
3255
|
+
.navds-timeline__row-label {
|
|
3256
|
+
white-space: nowrap;
|
|
3257
|
+
width: auto;
|
|
3258
|
+
margin-right: var(--a-spacing-4);
|
|
3259
|
+
grid-column: 1;
|
|
3260
|
+
min-height: 1.5rem;
|
|
3261
|
+
display: flex;
|
|
3262
|
+
align-items: center;
|
|
3263
|
+
gap: var(--a-spacing-2);
|
|
3264
|
+
}
|
|
3265
|
+
.navds-timeline__row-label:where(:nth-last-child(2)) {
|
|
3266
|
+
align-self: flex-end;
|
|
3267
|
+
}
|
|
3268
|
+
.navds-timeline__axislabels-label {
|
|
3269
|
+
position: absolute;
|
|
3270
|
+
color: var(--ac-timeline-axislabel-text, var(--a-text-subtle));
|
|
3271
|
+
white-space: nowrap;
|
|
3272
|
+
}
|
|
3273
|
+
.navds-timeline__row {
|
|
3274
|
+
display: flex;
|
|
3275
|
+
background: var(--ac-timeline-row-bg, var(--a-surface-subtle));
|
|
3276
|
+
margin: var(--a-spacing-4) 0;
|
|
3277
|
+
grid-column: 2;
|
|
3278
|
+
}
|
|
3279
|
+
.navds-timeline__row--active {
|
|
3280
|
+
background: var(--ac-timeline-row-active-bg, var(--a-surface-selected));
|
|
3281
|
+
}
|
|
3282
|
+
.navds-timeline__row:last-of-type {
|
|
3283
|
+
margin-bottom: 0;
|
|
3284
|
+
}
|
|
3285
|
+
.navds-timeline__row-periods {
|
|
3286
|
+
min-height: 1.5rem;
|
|
3287
|
+
position: relative;
|
|
3288
|
+
width: 100%;
|
|
3289
|
+
margin: 0;
|
|
3290
|
+
}
|
|
3291
|
+
.navds-timeline__row-periods > li {
|
|
3292
|
+
list-style-type: none;
|
|
3293
|
+
}
|
|
3294
|
+
.navds-timeline__period {
|
|
3295
|
+
height: 100%;
|
|
3296
|
+
border-radius: var(--a-border-radius-full);
|
|
3297
|
+
position: absolute;
|
|
3298
|
+
padding: 0;
|
|
3299
|
+
display: flex;
|
|
3300
|
+
align-items: center;
|
|
3301
|
+
z-index: 2;
|
|
3302
|
+
border: none;
|
|
3303
|
+
font-size: 1rem;
|
|
3304
|
+
}
|
|
3305
|
+
.navds-timeline__period--inner {
|
|
3306
|
+
margin: 0 var(--a-spacing-1);
|
|
3307
|
+
overflow: hidden;
|
|
3308
|
+
white-space: nowrap;
|
|
3309
|
+
text-overflow: clip;
|
|
3310
|
+
text-align: left;
|
|
3311
|
+
display: flex;
|
|
3312
|
+
align-items: center;
|
|
3313
|
+
}
|
|
3314
|
+
.navds-timeline__period--inner svg {
|
|
3315
|
+
flex-shrink: 0;
|
|
3316
|
+
}
|
|
3317
|
+
.navds-timeline__period--clickable {
|
|
3318
|
+
cursor: pointer;
|
|
3319
|
+
}
|
|
3320
|
+
.navds-timeline__period--success {
|
|
3321
|
+
background: var(--ac-timeline-period-success-bg, var(--a-surface-success-subtle));
|
|
3322
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-period-success-border, var(--a-border-success));
|
|
3323
|
+
}
|
|
3324
|
+
.navds-timeline__period--success.navds-timeline__period--clickable:hover {
|
|
3325
|
+
background: var(--a-surface-success-subtle-hover);
|
|
3326
|
+
background: var(--ac-timeline-period-success-bg-hover, var(--a-surface-success-subtle-hover));
|
|
3327
|
+
}
|
|
3328
|
+
.navds-timeline__period--warning {
|
|
3329
|
+
background: var(--ac-timeline-period-warning-bg, var(--a-surface-warning-subtle));
|
|
3330
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-period-warning-border, var(--a-border-warning));
|
|
3331
|
+
}
|
|
3332
|
+
.navds-timeline__period--warning.navds-timeline__period--clickable:hover {
|
|
3333
|
+
background: var(--ac-timeline-period-warning-bg-hover, var(--a-surface-warning-subtle-hover));
|
|
3334
|
+
}
|
|
3335
|
+
.navds-timeline__period--danger {
|
|
3336
|
+
background: var(--ac-timeline-period-danger-bg, var(--a-surface-danger-subtle));
|
|
3337
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-period-danger-border, var(--a-border-danger));
|
|
3338
|
+
}
|
|
3339
|
+
.navds-timeline__period--danger.navds-timeline__period--clickable:hover {
|
|
3340
|
+
background: var(--ac-timeline-period-danger-bg-hover, var(--a-surface-danger-subtle-hover));
|
|
3341
|
+
}
|
|
3342
|
+
.navds-timeline__period--info {
|
|
3343
|
+
background: var(--ac-timeline-period-info-bg, var(--a-surface-info-subtle));
|
|
3344
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-period-info-border, var(--a-border-info));
|
|
3345
|
+
}
|
|
3346
|
+
.navds-timeline__period--info.navds-timeline__period--clickable:hover {
|
|
3347
|
+
background: var(--ac-timeline-period-info-bg-hover, var(--a-surface-info-subtle-hover));
|
|
3348
|
+
}
|
|
3349
|
+
.navds-timeline__period--neutral {
|
|
3350
|
+
background: var(--ac-timeline-period-neutral-bg, var(--a-bg-subtle));
|
|
3351
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-period-neutral-border, var(--a-border-default));
|
|
3352
|
+
}
|
|
3353
|
+
.navds-timeline__period--neutral.navds-timeline__period--clickable:hover {
|
|
3354
|
+
background: var(--ac-timeline-period-neutral-bg-hover, var(--a-gray-200));
|
|
3355
|
+
}
|
|
3356
|
+
.navds-timeline__period--connected-both {
|
|
3357
|
+
border-radius: 0;
|
|
3358
|
+
}
|
|
3359
|
+
.navds-timeline__period--connected-right {
|
|
3360
|
+
border-bottom-right-radius: 0;
|
|
3361
|
+
border-top-right-radius: 0;
|
|
3362
|
+
}
|
|
3363
|
+
.navds-timeline__period--connected-left {
|
|
3364
|
+
border-bottom-left-radius: 0;
|
|
3365
|
+
border-top-left-radius: 0;
|
|
3366
|
+
}
|
|
3367
|
+
.navds-timeline__period--selected {
|
|
3368
|
+
box-shadow: inset 0 0 0 2px var(--ac-timeline-period-selected-border, var(--a-border-action-selected));
|
|
3369
|
+
z-index: 3;
|
|
3370
|
+
}
|
|
3371
|
+
.navds-timeline__pin-wrapper {
|
|
3372
|
+
position: absolute;
|
|
3373
|
+
grid-column: 2;
|
|
3374
|
+
top: 0;
|
|
3375
|
+
z-index: 1;
|
|
3376
|
+
height: 100%;
|
|
3377
|
+
display: flex;
|
|
3378
|
+
flex-direction: column-reverse;
|
|
3379
|
+
isolation: isolate;
|
|
3380
|
+
|
|
3381
|
+
--navdsc-timeline-pin-size: 0.9rem;
|
|
3382
|
+
}
|
|
3383
|
+
.navds-timeline__pin-button {
|
|
3384
|
+
border: none;
|
|
3385
|
+
cursor: pointer;
|
|
3386
|
+
background: var(--a-surface-default);
|
|
3387
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
3388
|
+
0 0 0 4px var(--ac-timeline-pin-bg, var(--a-surface-danger)), 0 0 0 5px var(--a-surface-default);
|
|
3389
|
+
z-index: 2;
|
|
3390
|
+
border-radius: var(--a-border-radius-full);
|
|
3391
|
+
padding: 3.5px;
|
|
3392
|
+
position: relative;
|
|
3393
|
+
}
|
|
3394
|
+
.navds-timeline__pin-button::before {
|
|
3395
|
+
content: "";
|
|
3396
|
+
inset: 0;
|
|
3397
|
+
position: absolute;
|
|
3398
|
+
width: 25px;
|
|
3399
|
+
height: 25px;
|
|
3400
|
+
border-radius: var(--a-border-radius-full);
|
|
3401
|
+
left: calc(-12.5px + 3.5px);
|
|
3402
|
+
top: calc(-12.5px + 3.5px);
|
|
3403
|
+
}
|
|
3404
|
+
.navds-timeline__pin-button:focus-visible {
|
|
3405
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
3406
|
+
0 0 0 3px var(--ac-timeline-pin-bg, var(--a-surface-danger)), 0 0 0 4px var(--a-surface-default),
|
|
3407
|
+
0 0 0 6px var(--a-border-focus);
|
|
3408
|
+
outline: none;
|
|
3409
|
+
}
|
|
3410
|
+
.navds-timeline__pin-button:hover {
|
|
3411
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
3412
|
+
0 0 0 4px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)), 0 0 0 5px var(--a-surface-default);
|
|
3413
|
+
}
|
|
3414
|
+
.navds-timeline__pin-button:hover:focus-visible {
|
|
3415
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
3416
|
+
0 0 0 3px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)), 0 0 0 4px var(--a-surface-default),
|
|
3417
|
+
0 0 0 6px var(--a-border-focus);
|
|
3418
|
+
}
|
|
3419
|
+
@supports not selector(:focus-visible) {
|
|
3420
|
+
.navds-timeline__pin-button:focus {
|
|
3421
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
3422
|
+
0 0 0 3px var(--ac-timeline-pin-bg, var(--a-surface-danger)), 0 0 0 4px var(--a-surface-default),
|
|
3423
|
+
0 0 0 6px var(--a-border-focus);
|
|
3424
|
+
outline: none;
|
|
3425
|
+
}
|
|
3426
|
+
|
|
3427
|
+
.navds-timeline__pin-button:hover:focus {
|
|
3428
|
+
box-shadow: inset 0 0 0 1px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
3429
|
+
0 0 0 3px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)), 0 0 0 4px var(--a-surface-default),
|
|
3430
|
+
0 0 0 6px var(--a-border-focus);
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
.navds-timeline__pin-wrapper::before {
|
|
3434
|
+
content: "";
|
|
3435
|
+
top: var(--navdsc-timeline-pin-size);
|
|
3436
|
+
height: calc(94% - var(--navdsc-timeline-pin-size));
|
|
3437
|
+
width: 1px;
|
|
3438
|
+
margin: 0 auto;
|
|
3439
|
+
background: var(--a-surface-inverted);
|
|
3440
|
+
}
|
|
3441
|
+
.navds-timeline__zoom {
|
|
3442
|
+
margin-top: var(--a-spacing-6);
|
|
3443
|
+
float: right;
|
|
3444
|
+
display: flex;
|
|
3445
|
+
list-style-type: none;
|
|
3446
|
+
}
|
|
3447
|
+
.navds-timeline__zoom-button {
|
|
3448
|
+
all: unset;
|
|
3449
|
+
cursor: pointer;
|
|
3450
|
+
padding: 6px 9px 6px 8px;
|
|
3451
|
+
border: 1px solid var(--ac-timeline-zoom-border, var(--a-border-default));
|
|
3452
|
+
border-width: 1px 0 1px 1px;
|
|
3453
|
+
background: var(--ac-timeline-zoom-bg, var(--a-surface-default));
|
|
3454
|
+
}
|
|
3455
|
+
.navds-timeline__zoom li:first-child .navds-timeline__zoom-button {
|
|
3456
|
+
border-radius: var(--a-border-radius-medium) 0 0 var(--a-border-radius-medium);
|
|
3457
|
+
}
|
|
3458
|
+
.navds-timeline__zoom li:last-child .navds-timeline__zoom-button {
|
|
3459
|
+
border-width: 1px;
|
|
3460
|
+
border-radius: 0 var(--a-border-radius-medium) var(--a-border-radius-medium) 0;
|
|
3461
|
+
}
|
|
3462
|
+
.navds-timeline__zoom li:only-child .navds-timeline__zoom-button {
|
|
3463
|
+
border-radius: var(--a-border-radius-medium);
|
|
3464
|
+
}
|
|
3465
|
+
.navds-timeline__zoom-button:not([aria-pressed="true"]):hover {
|
|
3466
|
+
background: var(--ac-timeline-zoom-bg-hover, var(--a-surface-action-subtle-hover));
|
|
3467
|
+
}
|
|
3468
|
+
.navds-timeline__zoom-button[aria-pressed="true"] {
|
|
3469
|
+
background: var(--ac-timeline-zoom-selected-bg, var(--a-surface-inverted));
|
|
3470
|
+
color: var(--ac-timeline-zoom-selected-text, var(--a-text-on-inverted));
|
|
3471
|
+
}
|
|
3472
|
+
.navds-timeline__period:focus-visible {
|
|
3473
|
+
outline: none;
|
|
3474
|
+
z-index: 4;
|
|
3475
|
+
box-shadow: 0 0 0 2px var(--a-border-focus);
|
|
3476
|
+
}
|
|
3477
|
+
.navds-timeline__period--selected:focus-visible {
|
|
3478
|
+
box-shadow: inset 0 0 0 2px var(--ac-timeline-period-selected-border, var(--a-border-action-selected)),
|
|
3479
|
+
0 0 0 2px var(--a-border-focus);
|
|
3480
|
+
z-index: 3;
|
|
3481
|
+
}
|
|
3482
|
+
.navds-timeline__zoom li:focus-within {
|
|
3483
|
+
z-index: var(--a-z-index-focus);
|
|
3484
|
+
}
|
|
3485
|
+
.navds-timeline__zoom-button:focus-visible {
|
|
3486
|
+
box-shadow: 0 0 0 1px var(--a-surface-default), 0 0 0 3px var(--a-border-focus);
|
|
3487
|
+
border-width: 1px;
|
|
3488
|
+
}
|
|
3489
|
+
.navds-timeline__zoom li:not(:last-child) .navds-timeline__zoom-button:focus-visible {
|
|
3490
|
+
margin-right: 2px;
|
|
3491
|
+
padding-right: 6px;
|
|
3492
|
+
}
|
|
3493
|
+
@supports not selector(:focus-visible) {
|
|
3494
|
+
.navds-timeline__period:focus {
|
|
3495
|
+
outline: none;
|
|
3496
|
+
z-index: 4;
|
|
3497
|
+
box-shadow: 0 0 0 2px var(--a-border-focus);
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
.navds-timeline__period--selected:focus {
|
|
3501
|
+
box-shadow: inset 0 0 0 2px var(--ac-timeline-period-selected-border, var(--a-border-action-selected)),
|
|
3502
|
+
0 0 0 2px var(--a-border-focus);
|
|
3503
|
+
z-index: 3;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
.navds-timeline__zoom-button:focus {
|
|
3507
|
+
box-shadow: 0 0 0 1px var(--a-surface-default), 0 0 0 3px var(--a-border-focus);
|
|
3508
|
+
border-width: 1px;
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3511
|
+
.navds-timeline__zoom li:not(:last-child) .navds-timeline__zoom-button:focus {
|
|
3512
|
+
margin-right: 2px;
|
|
3513
|
+
padding-right: 6px;
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3516
|
+
/**
|
|
3517
|
+
* Timeline Popover
|
|
3518
|
+
*/
|
|
3519
|
+
.navds-timeline__popover {
|
|
3520
|
+
z-index: var(--a-z-index-popover);
|
|
3521
|
+
background-color: var(--ac-popover-bg, var(--a-surface-default));
|
|
3522
|
+
box-shadow: var(--a-shadow-medium);
|
|
3523
|
+
border: 1px solid;
|
|
3524
|
+
border-color: var(--ac-popover-border, var(--a-border-default));
|
|
3525
|
+
border-radius: var(--a-border-radius-medium);
|
|
3526
|
+
}
|
|
3527
|
+
.navds-timeline__popover:focus {
|
|
3528
|
+
outline: none;
|
|
3529
|
+
}
|
|
3530
|
+
.navds-timeline__popover-content {
|
|
3531
|
+
padding: var(--a-spacing-3);
|
|
3532
|
+
}
|
|
3533
|
+
.navds-timeline__popover-arrow {
|
|
3534
|
+
position: absolute;
|
|
3535
|
+
z-index: -1;
|
|
3536
|
+
transform: rotate(45deg);
|
|
3537
|
+
background-color: var(--ac-popover-bg, var(--a-surface-default));
|
|
3538
|
+
border: 1px solid;
|
|
3539
|
+
border-color: var(--ac-popover-border, var(--a-border-default));
|
|
3540
|
+
width: 1rem;
|
|
3541
|
+
height: 1rem;
|
|
3542
|
+
}
|
|
3543
|
+
.navds-timeline__popover[data-placement^="top"] > .navds-timeline__popover-arrow {
|
|
3544
|
+
border-left-color: transparent;
|
|
3545
|
+
border-top-color: transparent;
|
|
3546
|
+
}
|
|
3547
|
+
.navds-timeline__popover[data-placement^="bottom"] > .navds-timeline__popover-arrow {
|
|
3548
|
+
border-bottom-color: transparent;
|
|
3549
|
+
border-right-color: transparent;
|
|
3550
|
+
}
|
|
3551
|
+
.navds-timeline__popover[data-placement^="left"] > .navds-timeline__popover-arrow {
|
|
3552
|
+
border-left-color: transparent;
|
|
3553
|
+
border-bottom-color: transparent;
|
|
3554
|
+
}
|
|
3555
|
+
.navds-timeline__popover[data-placement^="right"] > .navds-timeline__popover-arrow {
|
|
3556
|
+
border-right-color: transparent;
|
|
3557
|
+
border-top-color: transparent;
|
|
3558
|
+
}
|
|
3099
3559
|
@keyframes tooltipFadeIn {
|
|
3100
3560
|
0% {
|
|
3101
3561
|
opacity: 0;
|