@utrecht/component-library-css 3.0.1-alpha.22 → 3.0.1-alpha.23
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/index.css +80 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -4432,6 +4432,86 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
4432
4432
|
margin-block-start: 0;
|
|
4433
4433
|
}
|
|
4434
4434
|
|
|
4435
|
+
/**
|
|
4436
|
+
* @license EUPL-1.2
|
|
4437
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4438
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4439
|
+
*/
|
|
4440
|
+
.utrecht-nav-bar {
|
|
4441
|
+
background-color: var(--utrecht-nav-bar-background-color);
|
|
4442
|
+
color: var(--utrecht-nav-bar-color);
|
|
4443
|
+
display: flex;
|
|
4444
|
+
justify-content: center;
|
|
4445
|
+
}
|
|
4446
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
4447
|
+
.utrecht-nav-bar {
|
|
4448
|
+
border-block-end-color: currentColor;
|
|
4449
|
+
border-block-end-style: solid;
|
|
4450
|
+
border-block-end-width: 1px;
|
|
4451
|
+
/* add `padding` in `forced-colors` mode to make room for contrasting focus ring */
|
|
4452
|
+
border-block-start-color: currentColor;
|
|
4453
|
+
border-block-start-style: solid;
|
|
4454
|
+
border-block-start-width: 1px;
|
|
4455
|
+
padding-block-end: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4456
|
+
padding-block-start: calc(var(--utrecht-focus-outline-width) * 2);
|
|
4457
|
+
}
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
.utrecht-nav-bar__content {
|
|
4461
|
+
align-items: stretch;
|
|
4462
|
+
display: flex;
|
|
4463
|
+
flex-direction: row;
|
|
4464
|
+
flex-wrap: wrap;
|
|
4465
|
+
inline-size: 100%;
|
|
4466
|
+
justify-content: space-between;
|
|
4467
|
+
/* Wrap content to accomodate:
|
|
4468
|
+
* - 400% zoom
|
|
4469
|
+
* - longer text due to automatic translation
|
|
4470
|
+
* - longer text due to editorial content requirements
|
|
4471
|
+
*/
|
|
4472
|
+
max-inline-size: var(--utrecht-nav-bar-content-max-inline-size);
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* @license EUPL-1.2
|
|
4477
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4478
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4479
|
+
*/
|
|
4480
|
+
.utrecht-nav-list {
|
|
4481
|
+
margin-block-end: 0;
|
|
4482
|
+
margin-block-start: 0;
|
|
4483
|
+
margin-inline-end: 0;
|
|
4484
|
+
margin-inline-start: 0;
|
|
4485
|
+
padding-inline-start: 0;
|
|
4486
|
+
align-items: stretch;
|
|
4487
|
+
display: flex;
|
|
4488
|
+
flex-direction: row;
|
|
4489
|
+
flex-wrap: wrap;
|
|
4490
|
+
inline-size: 100%;
|
|
4491
|
+
justify-content: start;
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4494
|
+
.utrecht-nav-list--center > * {
|
|
4495
|
+
flex: 1 1 0;
|
|
4496
|
+
justify-content: center;
|
|
4497
|
+
}
|
|
4498
|
+
|
|
4499
|
+
.utrecht-nav-list__item {
|
|
4500
|
+
list-style: none;
|
|
4501
|
+
display: inline-flex;
|
|
4502
|
+
}
|
|
4503
|
+
|
|
4504
|
+
/* Style for the navigation links */
|
|
4505
|
+
.utrecht-nav-list__link {
|
|
4506
|
+
font-weight: var(--utrecht-nav-list-link-font-weight);
|
|
4507
|
+
max-inline-size: var(--utrecht-nav-bar-link-max-inline-size, 30ch);
|
|
4508
|
+
padding-block-end: var(--utrecht-nav-bar-link-padding-block-end);
|
|
4509
|
+
padding-block-start: var(--utrecht-nav-bar-link-padding-block-start);
|
|
4510
|
+
padding-inline-end: var(--utrecht-nav-bar-link-padding-inline-end);
|
|
4511
|
+
padding-inline-start: var(--utrecht-nav-bar-link-padding-inline-start);
|
|
4512
|
+
text-decoration: none;
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4435
4515
|
/**
|
|
4436
4516
|
* @license EUPL-1.2
|
|
4437
4517
|
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
package/package.json
CHANGED