@utrecht/component-library-css 1.0.0-alpha.519 → 1.0.0-alpha.520
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 +92 -0
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -5724,6 +5724,98 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
5724
5724
|
font-variant-numeric: lining-nums tabular-nums;
|
|
5725
5725
|
}
|
|
5726
5726
|
|
|
5727
|
+
/**
|
|
5728
|
+
* @license EUPL-1.2
|
|
5729
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5730
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
5731
|
+
*/
|
|
5732
|
+
/**
|
|
5733
|
+
* @license EUPL-1.2
|
|
5734
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
5735
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5736
|
+
*/
|
|
5737
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
5738
|
+
.utrecht-toptask-link {
|
|
5739
|
+
--utrecht-icon-color: currentColor;
|
|
5740
|
+
--utrecht-icon-size: var(--utrecht-toptask-link-icon-size);
|
|
5741
|
+
background-color: var(--utrecht-toptask-link-background-color);
|
|
5742
|
+
color: var(--utrecht-toptask-link-color);
|
|
5743
|
+
display: flex;
|
|
5744
|
+
flex-direction: column;
|
|
5745
|
+
font-size: var(--utrecht-toptask-link-font-size);
|
|
5746
|
+
line-height: var(--utrecht-toptask-link-line-height);
|
|
5747
|
+
max-inline-size: var(--utrecht-toptask-link-max-inline-size);
|
|
5748
|
+
min-block-size: var(--utrecht-toptask-link-min-block-size);
|
|
5749
|
+
min-inline-size: var(--utrecht-toptask-link-min-inline-size);
|
|
5750
|
+
padding-block-end: var(--utrecht-toptask-link-padding-block-end);
|
|
5751
|
+
padding-block-start: var(--utrecht-toptask-link-padding-block-start);
|
|
5752
|
+
padding-inline-end: var(--utrecht-toptask-link-padding-inline-end);
|
|
5753
|
+
padding-inline-start: var(--utrecht-toptask-link-padding-inline-start);
|
|
5754
|
+
text-decoration: none;
|
|
5755
|
+
}
|
|
5756
|
+
|
|
5757
|
+
.utrecht-toptask-link--hover,
|
|
5758
|
+
.utrecht-toptask-link:hover {
|
|
5759
|
+
background-color: var(--utrecht-toptask-link-hover-background-color, var(--utrecht-toptask-link-background-color));
|
|
5760
|
+
color: var(--utrecht-toptask-link-hover-color, var(--utrecht-toptask-link-color));
|
|
5761
|
+
transform: var(--utrecht-toptask-link-hover-transform-scale, 1);
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
.utrecht-toptask-link--focus-visible, .utrecht-toptask-link:focus {
|
|
5765
|
+
/* the pseudo-class for `:focus-visible` is implemented via the mixin */
|
|
5766
|
+
/* - The browser default focus ring should apply when these CSS custom properties are not set.
|
|
5767
|
+
* - Make the `box-shadow` value available, so components that have their own `box-shadow`
|
|
5768
|
+
* can combine it with the focus ring box shadow.
|
|
5769
|
+
*/
|
|
5770
|
+
--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
|
|
5771
|
+
var(--utrecht-focus-inverse-outline-color, transparent);
|
|
5772
|
+
box-shadow: var(--_utrecht-focus-ring-box-shadow);
|
|
5773
|
+
outline-color: var(--utrecht-focus-outline-color, revert);
|
|
5774
|
+
outline-offset: var(--utrecht-focus-outline-offset, revert);
|
|
5775
|
+
outline-style: var(--utrecht-focus-outline-style, revert);
|
|
5776
|
+
outline-width: var(--utrecht-focus-outline-width, revert);
|
|
5777
|
+
}
|
|
5778
|
+
|
|
5779
|
+
.utrecht-toptask-link--focus, .utrecht-toptask-link:focus {
|
|
5780
|
+
background-color: var(--utrecht-toptask-link-focus-background-color, var(--utrecht-toptask-link-background-color));
|
|
5781
|
+
color: var(--utrecht-toptask-link-focus-color, var(--utrecht-toptask-link-color));
|
|
5782
|
+
}
|
|
5783
|
+
|
|
5784
|
+
/* override the `:focus` selector above */
|
|
5785
|
+
/* stylelint-disable-next-line no-descending-specificity */
|
|
5786
|
+
.utrecht-toptask-link:focus:not(:focus-visible) {
|
|
5787
|
+
/* undo focus ring */
|
|
5788
|
+
box-shadow: none;
|
|
5789
|
+
outline-style: revert;
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
.utrecht-toptask-link__title {
|
|
5793
|
+
display: block;
|
|
5794
|
+
}
|
|
5795
|
+
|
|
5796
|
+
.utrecht-toptask-link__icon {
|
|
5797
|
+
display: block;
|
|
5798
|
+
padding-block-end: var(--utrecht-space-block-xs);
|
|
5799
|
+
padding-inline-end: var(--utrecht-space-inline-md);
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
/**
|
|
5803
|
+
* @license EUPL-1.2
|
|
5804
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
5805
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5806
|
+
*/
|
|
5807
|
+
.utrecht-toptask-nav {
|
|
5808
|
+
display: flex;
|
|
5809
|
+
flex-direction: column;
|
|
5810
|
+
flex-wrap: wrap;
|
|
5811
|
+
gap: var(--utrecht-toptask-nav-gap);
|
|
5812
|
+
}
|
|
5813
|
+
|
|
5814
|
+
.utrecht-toptask-nav--grid {
|
|
5815
|
+
--utrecht-toptask-link-max-inline-size: var(--utrecht-toptask-nav-link-grid-max-inline-size);
|
|
5816
|
+
flex-direction: row;
|
|
5817
|
+
}
|
|
5818
|
+
|
|
5727
5819
|
/**
|
|
5728
5820
|
* @license EUPL-1.2
|
|
5729
5821
|
* Copyright (c) 2021 Robbert Broersma
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.0-alpha.
|
|
2
|
+
"version": "1.0.0-alpha.520",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
4
|
"description": "Component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
|
|
5
5
|
"license": "EUPL-1.2",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"clean": "rimraf dist/"
|
|
27
27
|
},
|
|
28
28
|
"main": "dist/index.css",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "4966b8d4287dcba356e6a7652f5cb3306f173928"
|
|
30
30
|
}
|