@utrecht/component-library-css 1.0.0-alpha.167 → 1.0.0-alpha.170

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/bem.css CHANGED
@@ -1585,11 +1585,12 @@ however browsers don't seem to have implemented great looking supixel tweening y
1585
1585
  * Copyright (c) 2021 Robbert Broersma
1586
1586
  */
1587
1587
  /* stylelint-disable-next-line block-no-empty */
1588
- .utrecht-navhtml {
1589
- font-family: var(--utrecht-font-family-sans-serif);
1590
- }
1591
-
1592
1588
  .utrecht-sidenav {
1589
+ --utrecht-sidenav-connection-color: var(--utrecht-sidenav-item-marker-color);
1590
+ --utrecht-sidenav-connection-inline-size: 2px;
1591
+ --utrecht-sidenav-marker-current-color: var(--utrecht-sidenav-link-hover-color);
1592
+ --utrecht-sidenav-marker-offset: 26px;
1593
+ --utrecht-sidenav-connection-block-size: 38px;
1593
1594
  border-block-end: 1px solid var(--utrecht-color-grey-80);
1594
1595
  border-block-start: 1px solid var(--utrecht-color-grey-80);
1595
1596
  margin-block-end: 0;
@@ -1607,212 +1608,152 @@ however browsers don't seem to have implemented great looking supixel tweening y
1607
1608
  padding-inline-start: 0;
1608
1609
  }
1609
1610
 
1610
- .utrecht-sidenav__list ul {
1611
- margin-block-end: 0;
1612
- padding-block-end: 0;
1613
- padding-block-start: 0;
1614
- padding-inline-start: 1.2rem;
1611
+ .utrecht-sidenav__list--child {
1612
+ margin-block-start: 0;
1613
+ padding-inline-end: 0;
1614
+ padding-inline-start: 1.4rem;
1615
1615
  }
1616
1616
 
1617
- .utrecht-sidenav__item,
1618
- .utrecht-sidenav__sibling__item {
1617
+ .utrecht-sidenav__item {
1619
1618
  list-style: none;
1620
1619
  margin-inline-start: 0;
1621
1620
  position: relative;
1622
1621
  }
1623
1622
 
1624
- .utrecht-sidenav__item:last-child {
1623
+ .utrecht-sidenav__item--current {
1624
+ color: var(--utrecht-sidenav-item-hover-color, var(--utrecht-link-hover-color, red));
1625
+ }
1626
+
1627
+ .utrecht-sidenav__item--last {
1625
1628
  border-block-end: none;
1626
1629
  }
1627
1630
 
1628
1631
  /* draw the li item box bottom line */
1629
- .utrecht-sidenav__item span:not(.utrecht-sidenav__item:last-child span, .utrecht-sidenav__item--has-children span:first-of-type) {
1632
+ .utrecht-sidenav__item-separator:not(.utrecht-sidenav__item--last .utrecht-sidenav__item-separator,
1633
+ .utrecht-sidenav__item--has-children .utrecht-sidenav__item-separator:first-of-type) {
1634
+ /* .utrecht-sidenav__item--has-children span */
1630
1635
  border-block-end: 1px solid var(--utrecht-color-grey-80);
1631
1636
  display: block;
1632
- margin-inline-start: var(--utrecht-space-inline-lg);
1633
- }
1634
-
1635
- /* Remove bottom padding form first item in list with children */
1636
- .utrecht-sidenav__item .utrecht-sidenav__link--has-children {
1637
- padding-block-end: 0;
1638
- }
1639
-
1640
- .utrecht-sidenav__child__item {
1641
- list-style: none;
1637
+ margin-inline-start: var(--utrecht-space-inline-md);
1642
1638
  }
1643
1639
 
1644
- .utrecht-sidenav__link,
1645
- .utrecht-sidenav__link--sibling {
1640
+ .utrecht-sidenav__link {
1646
1641
  color: var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));
1647
1642
  display: block;
1648
1643
  margin-inline-start: 0;
1649
1644
  padding-block-end: var(--utrecht-space-block-xs);
1650
1645
  padding-block-start: var(--utrecht-space-block-xs);
1651
1646
  padding-inline-end: var(--utrecht-space-inline-3xs);
1652
- padding-inline-start: var(--utrecht-space-inline-xl);
1647
+ padding-inline-start: var(--utrecht-space-inline-lg);
1653
1648
  text-decoration: none;
1654
1649
  }
1655
1650
 
1656
- .utrecht-sidenav__link--child,
1657
- .utrecht-sidenav__link--child--current {
1658
- color: var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));
1659
- display: block;
1660
- margin-block-end: 0;
1661
- margin-block-start: 0;
1662
- padding-block-end: var(--utrecht-space-block-2xs);
1663
- padding-block-start: var(--utrecht-space-block-2xs);
1664
- padding-inline-end: var(--utrecht-space-inline-3xs);
1665
- padding-inline-start: var(--utrecht-space-inline-xl);
1666
- text-decoration: none;
1667
- }
1668
-
1669
- .utrecht-sidenav__link::before,
1670
- .utrecht-sidenav__link--sibling::before {
1671
- background-color: var(--utrecht-sidenav-item-marker-color);
1672
- left: 26px;
1673
- }
1674
-
1675
- /* Little fix to move the dot to the right */
1676
- .utrecht-sidenav__link--current::before {
1677
- background-color: var(--utrecht-sidenav-link-hover-color);
1678
- left: 27px;
1679
- }
1680
-
1681
- /* Dot for link with siblings */
1682
- .utrecht-sidenav__link::before,
1683
- .utrecht-sidenav__link--sibling::before,
1684
- .utrecht-sidenav__item:last-child .utrecht-sidenav__link--current::before {
1685
- border-radius: 100%;
1686
- box-shadow: 0 0 2px 2px #fff;
1687
- /* Make var */
1688
- content: "";
1689
- height: 8px;
1690
- overflow: hidden;
1691
- position: absolute;
1692
- top: 20px;
1693
- /* Hard value? */
1694
- transform: translateY(-50%) translateX(-2.5ch);
1695
- width: 8px;
1696
- z-index: 10;
1697
- }
1698
-
1699
- /* Hover layout for mousover on sidenav__link */
1700
- .utrecht-sidenav__link:hover::before,
1701
- .utrecht-sidenav__link--sibling:hover::before {
1702
- background-color: var(--utrecht-sidenav-link-hover-color);
1703
- }
1704
-
1705
- .utrecht-sidenav__item a:hover {
1651
+ .utrecht-sidenav__link:hover {
1706
1652
  color: var(--utrecht-sidenav-link-hover-color, var(--utrecht-link-hover-color, red));
1707
1653
  text-decoration: underline;
1708
1654
  }
1709
1655
 
1710
- .utrecht-sidenav__item--current {
1711
- color: var(--utrecht-sidenav-item-hover-color, var(--utrecht-link-hover-color, red));
1656
+ .utrecht-sidenav__link--focus-visible, .utrecht-sidenav__link:focus {
1657
+ box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1658
+ outline-color: var(--utrecht-focus-outline-color, transparent);
1659
+ outline-offset: 0;
1660
+ outline-style: var(--utrecht-focus-outline-style, solid);
1661
+ outline-width: var(--utrecht-focus-outline-width, 0);
1662
+ }
1663
+
1664
+ /* Remove bottom padding form first item in list with children */
1665
+ .utrecht-sidenav__link--has-children {
1666
+ padding-block-end: 0;
1712
1667
  }
1713
1668
 
1714
1669
  /* Draw metro connection lines on sidenav link items */
1715
- .utrecht-sidenav__link::after,
1716
- .utrecht-sidenav__item:last-child .utrecht-sidenav__link::after {
1717
- background: var(--utrecht-sidenav-item-marker-color);
1718
- /* min-height: 100%;
1719
- height: calc(100% + 2px); */
1670
+ .utrecht-sidenav__connection, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link:not(.utrecht-sidenav__link--sibling):not(.utrecht-sidenav__link--child)::after {
1671
+ background: var(--utrecht-sidenav-connection-color);
1720
1672
  bottom: 0;
1721
1673
  content: "";
1722
1674
  display: block;
1675
+ height: calc(var(--utrecht-sidenav-connection-block-size) + 2px);
1723
1676
  left: 3px;
1677
+ min-height: var(--utrecht-sidenav-connection-block-size);
1724
1678
  overflow: hidden;
1725
1679
  position: absolute;
1726
1680
  top: -22px;
1727
- width: 3px;
1681
+ width: var(--utrecht-sidenav-connection-inline-size);
1728
1682
  z-index: 5;
1729
1683
  }
1730
1684
 
1731
- /* Draw short metro connection lines on sidenav child link items */
1732
- .utrecht-sidenav__item:last-child .utrecht-sidenav__link::after,
1733
- .utrecht-sidenav__link--current::after,
1734
- .utrecht-sidenav__item--has-children a::after {
1735
- height: 40px;
1736
- min-height: 38px;
1737
- }
1738
-
1739
- /* Remove first metro line in listing */
1740
- .utrecht-sidenav__item:first-child .utrecht-sidenav__link::after {
1741
- content: "";
1685
+ .utrecht-sidenav__connection--first, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__item:first-child .utrecht-sidenav__link::after {
1742
1686
  display: none;
1743
1687
  }
1744
1688
 
1745
- /* Make current link bold */
1746
- .utrecht-sidenav__link--current,
1747
- .utrecht-sidenav__link--child--current {
1748
- font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
1749
- }
1750
-
1751
- .utrecht-sidenav__list--child {
1752
- margin-block-end: 0;
1753
- margin-block-start: 0;
1754
- padding-block-end: 0;
1755
- padding-block-start: 0;
1756
- padding-inline-end: 0;
1757
- padding-inline-start: 1.4rem;
1758
- }
1759
-
1760
- .utrecht-sidenav__item--child {
1761
- border: none;
1762
- list-style: none;
1763
- position: relative;
1764
- }
1765
-
1766
- /* No last border on child item */
1767
- .utrecht-sidenav__item--child:last-child {
1768
- border: none;
1689
+ /* Dot for link with siblings */
1690
+ /* Little fix to move the dot to the right */
1691
+ .utrecht-sidenav__marker, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link::before {
1692
+ background-color: var(--utrecht-sidenav-item-marker-color);
1693
+ border-radius: 100%;
1694
+ box-shadow: 0 0 2px 2px #fff;
1695
+ /* Make var */
1696
+ content: "";
1697
+ height: 8px;
1698
+ left: var(--utrecht-sidenav-marker-offset);
1699
+ overflow: hidden;
1700
+ position: absolute;
1701
+ top: 20px;
1702
+ /* Hard value? */
1703
+ transform: translateY(-50%) translateX(calc(-1 * var(--utrecht-sidenav-marker-offset)));
1704
+ width: 8px;
1705
+ z-index: 10;
1769
1706
  }
1770
1707
 
1771
1708
  /* Add dot bullets on child links */
1772
- .utrecht-sidenav__link--child::before,
1773
- .utrecht-sidenav__link--child--current::before {
1709
+ .utrecht-sidenav__marker--child, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--child::before {
1774
1710
  background-color: transparent;
1775
1711
  border: 2px solid var(--utrecht-sidenav-link-color);
1776
- border-radius: 100%;
1777
- content: "";
1778
1712
  height: 4px;
1779
1713
  left: 1.2rem;
1780
- overflow: hidden;
1781
- position: absolute;
1782
1714
  top: 16px;
1783
1715
  transform: translateY(-50%) translateX(-19.5px);
1784
1716
  width: 4px;
1785
- z-index: 10;
1786
1717
  }
1787
1718
 
1788
- /* Make current marker dots bold */
1789
- .utrecht-sidenav__link--child--current::before {
1719
+ /* selector must override .utrecht-sidenav__marker--child */
1720
+ .utrecht-sidenav__marker--current, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--current::before,
1721
+ .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--current-child::before {
1722
+ background-color: var(--utrecht-sidenav-marker-current-color);
1723
+ }
1724
+
1725
+ .utrecht-sidenav__link--child,
1726
+ .utrecht-sidenav__link--current-child {
1727
+ color: var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));
1728
+ margin-block-end: 0;
1729
+ margin-block-start: 0;
1730
+ padding-block-end: var(--utrecht-space-block-2xs);
1731
+ padding-block-start: var(--utrecht-space-block-2xs);
1732
+ padding-inline-end: var(--utrecht-space-inline-3xs);
1733
+ padding-inline-start: var(--utrecht-space-inline-lg);
1734
+ text-decoration: none;
1735
+ }
1736
+
1737
+ .utrecht-sidenav__link--current,
1738
+ .utrecht-sidenav__link--current-child {
1739
+ font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
1740
+ }
1741
+
1742
+ /* Hover layout for mousover on sidenav__link */
1743
+ .utrecht-sidenav__marker--hover, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link:hover::before {
1790
1744
  background-color: var(--utrecht-sidenav-link-hover-color);
1791
1745
  }
1792
1746
 
1793
1747
  /* Hover layout for mousover on child__link */
1794
- .utrecht-sidenav__link--child:hover::before {
1748
+ .utrecht-sidenav__marker--child.utrecht-sidenav__marker--hover, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__marker--child.utrecht-sidenav__link:hover::before, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__marker--hover.utrecht-sidenav__link--child::before, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--child.utrecht-sidenav__link:hover::before {
1795
1749
  background-color: var(--utrecht-sidenav-link-hover-color);
1796
1750
  border: 2px solid var(--utrecht-sidenav-link-hover-color);
1797
1751
  }
1798
1752
 
1799
- /* remove :after lines in child and sibling links */
1800
- .utrecht-sidenav__item--child:first-child .utrecht-sidenav__link--child--current::after,
1801
- .utrecht-sidenav__link--child::after,
1802
- .utrecht-sidenav__item .utrecht-sidenav__item--child .utrecht-sidenav__link--child::after,
1803
- .utrecht-sidenav__item .utrecht-sidenav__link--sibling::after,
1804
- .utrecht-sidenav__item--sibling:last-child .utrecht-sidenav__link--sibling::after {
1753
+ .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--child::after {
1805
1754
  display: none;
1806
1755
  }
1807
1756
 
1808
- .utrecht-sidenav__link--focus-visible, .utrecht-sidenav__link:focus {
1809
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1810
- outline-color: var(--utrecht-focus-outline-color, transparent);
1811
- outline-offset: 0;
1812
- outline-style: var(--utrecht-focus-outline-style, solid);
1813
- outline-width: var(--utrecht-focus-outline-width, 0);
1814
- }
1815
-
1816
1757
  .utrecht-sidenav__link:focus:not(:focus-visible) {
1817
1758
  /* undo focus ring */
1818
1759
  box-shadow: none;
package/dist/index.css CHANGED
@@ -1625,11 +1625,12 @@ however browsers don't seem to have implemented great looking supixel tweening y
1625
1625
  * Copyright (c) 2021 Robbert Broersma
1626
1626
  */
1627
1627
  /* stylelint-disable-next-line block-no-empty */
1628
- .utrecht-navhtml {
1629
- font-family: var(--utrecht-font-family-sans-serif);
1630
- }
1631
-
1632
1628
  .utrecht-sidenav {
1629
+ --utrecht-sidenav-connection-color: var(--utrecht-sidenav-item-marker-color);
1630
+ --utrecht-sidenav-connection-inline-size: 2px;
1631
+ --utrecht-sidenav-marker-current-color: var(--utrecht-sidenav-link-hover-color);
1632
+ --utrecht-sidenav-marker-offset: 26px;
1633
+ --utrecht-sidenav-connection-block-size: 38px;
1633
1634
  border-block-end: 1px solid var(--utrecht-color-grey-80);
1634
1635
  border-block-start: 1px solid var(--utrecht-color-grey-80);
1635
1636
  margin-block-end: 0;
@@ -1647,212 +1648,152 @@ however browsers don't seem to have implemented great looking supixel tweening y
1647
1648
  padding-inline-start: 0;
1648
1649
  }
1649
1650
 
1650
- .utrecht-sidenav__list ul {
1651
- margin-block-end: 0;
1652
- padding-block-end: 0;
1653
- padding-block-start: 0;
1654
- padding-inline-start: 1.2rem;
1651
+ .utrecht-sidenav__list--child {
1652
+ margin-block-start: 0;
1653
+ padding-inline-end: 0;
1654
+ padding-inline-start: 1.4rem;
1655
1655
  }
1656
1656
 
1657
- .utrecht-sidenav__item,
1658
- .utrecht-sidenav__sibling__item {
1657
+ .utrecht-sidenav__item {
1659
1658
  list-style: none;
1660
1659
  margin-inline-start: 0;
1661
1660
  position: relative;
1662
1661
  }
1663
1662
 
1664
- .utrecht-sidenav__item:last-child {
1663
+ .utrecht-sidenav__item--current {
1664
+ color: var(--utrecht-sidenav-item-hover-color, var(--utrecht-link-hover-color, red));
1665
+ }
1666
+
1667
+ .utrecht-sidenav__item--last {
1665
1668
  border-block-end: none;
1666
1669
  }
1667
1670
 
1668
1671
  /* draw the li item box bottom line */
1669
- .utrecht-sidenav__item span:not(.utrecht-sidenav__item:last-child span, .utrecht-sidenav__item--has-children span:first-of-type) {
1672
+ .utrecht-sidenav__item-separator:not(.utrecht-sidenav__item--last .utrecht-sidenav__item-separator,
1673
+ .utrecht-sidenav__item--has-children .utrecht-sidenav__item-separator:first-of-type) {
1674
+ /* .utrecht-sidenav__item--has-children span */
1670
1675
  border-block-end: 1px solid var(--utrecht-color-grey-80);
1671
1676
  display: block;
1672
- margin-inline-start: var(--utrecht-space-inline-lg);
1673
- }
1674
-
1675
- /* Remove bottom padding form first item in list with children */
1676
- .utrecht-sidenav__item .utrecht-sidenav__link--has-children {
1677
- padding-block-end: 0;
1678
- }
1679
-
1680
- .utrecht-sidenav__child__item {
1681
- list-style: none;
1677
+ margin-inline-start: var(--utrecht-space-inline-md);
1682
1678
  }
1683
1679
 
1684
- .utrecht-sidenav__link,
1685
- .utrecht-sidenav__link--sibling {
1680
+ .utrecht-sidenav__link {
1686
1681
  color: var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));
1687
1682
  display: block;
1688
1683
  margin-inline-start: 0;
1689
1684
  padding-block-end: var(--utrecht-space-block-xs);
1690
1685
  padding-block-start: var(--utrecht-space-block-xs);
1691
1686
  padding-inline-end: var(--utrecht-space-inline-3xs);
1692
- padding-inline-start: var(--utrecht-space-inline-xl);
1687
+ padding-inline-start: var(--utrecht-space-inline-lg);
1693
1688
  text-decoration: none;
1694
1689
  }
1695
1690
 
1696
- .utrecht-sidenav__link--child,
1697
- .utrecht-sidenav__link--child--current {
1698
- color: var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));
1699
- display: block;
1700
- margin-block-end: 0;
1701
- margin-block-start: 0;
1702
- padding-block-end: var(--utrecht-space-block-2xs);
1703
- padding-block-start: var(--utrecht-space-block-2xs);
1704
- padding-inline-end: var(--utrecht-space-inline-3xs);
1705
- padding-inline-start: var(--utrecht-space-inline-xl);
1706
- text-decoration: none;
1707
- }
1708
-
1709
- .utrecht-sidenav__link::before,
1710
- .utrecht-sidenav__link--sibling::before {
1711
- background-color: var(--utrecht-sidenav-item-marker-color);
1712
- left: 26px;
1713
- }
1714
-
1715
- /* Little fix to move the dot to the right */
1716
- .utrecht-sidenav__link--current::before {
1717
- background-color: var(--utrecht-sidenav-link-hover-color);
1718
- left: 27px;
1719
- }
1720
-
1721
- /* Dot for link with siblings */
1722
- .utrecht-sidenav__link::before,
1723
- .utrecht-sidenav__link--sibling::before,
1724
- .utrecht-sidenav__item:last-child .utrecht-sidenav__link--current::before {
1725
- border-radius: 100%;
1726
- box-shadow: 0 0 2px 2px #fff;
1727
- /* Make var */
1728
- content: "";
1729
- height: 8px;
1730
- overflow: hidden;
1731
- position: absolute;
1732
- top: 20px;
1733
- /* Hard value? */
1734
- transform: translateY(-50%) translateX(-2.5ch);
1735
- width: 8px;
1736
- z-index: 10;
1737
- }
1738
-
1739
- /* Hover layout for mousover on sidenav__link */
1740
- .utrecht-sidenav__link:hover::before,
1741
- .utrecht-sidenav__link--sibling:hover::before {
1742
- background-color: var(--utrecht-sidenav-link-hover-color);
1743
- }
1744
-
1745
- .utrecht-sidenav__item a:hover {
1691
+ .utrecht-sidenav__link:hover {
1746
1692
  color: var(--utrecht-sidenav-link-hover-color, var(--utrecht-link-hover-color, red));
1747
1693
  text-decoration: underline;
1748
1694
  }
1749
1695
 
1750
- .utrecht-sidenav__item--current {
1751
- color: var(--utrecht-sidenav-item-hover-color, var(--utrecht-link-hover-color, red));
1696
+ .utrecht-sidenav__link--focus-visible, .utrecht-sidenav__link:focus {
1697
+ box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1698
+ outline-color: var(--utrecht-focus-outline-color, transparent);
1699
+ outline-offset: 0;
1700
+ outline-style: var(--utrecht-focus-outline-style, solid);
1701
+ outline-width: var(--utrecht-focus-outline-width, 0);
1702
+ }
1703
+
1704
+ /* Remove bottom padding form first item in list with children */
1705
+ .utrecht-sidenav__link--has-children {
1706
+ padding-block-end: 0;
1752
1707
  }
1753
1708
 
1754
1709
  /* Draw metro connection lines on sidenav link items */
1755
- .utrecht-sidenav__link::after,
1756
- .utrecht-sidenav__item:last-child .utrecht-sidenav__link::after {
1757
- background: var(--utrecht-sidenav-item-marker-color);
1758
- /* min-height: 100%;
1759
- height: calc(100% + 2px); */
1710
+ .utrecht-sidenav__connection, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link:not(.utrecht-sidenav__link--sibling):not(.utrecht-sidenav__link--child)::after {
1711
+ background: var(--utrecht-sidenav-connection-color);
1760
1712
  bottom: 0;
1761
1713
  content: "";
1762
1714
  display: block;
1715
+ height: calc(var(--utrecht-sidenav-connection-block-size) + 2px);
1763
1716
  left: 3px;
1717
+ min-height: var(--utrecht-sidenav-connection-block-size);
1764
1718
  overflow: hidden;
1765
1719
  position: absolute;
1766
1720
  top: -22px;
1767
- width: 3px;
1721
+ width: var(--utrecht-sidenav-connection-inline-size);
1768
1722
  z-index: 5;
1769
1723
  }
1770
1724
 
1771
- /* Draw short metro connection lines on sidenav child link items */
1772
- .utrecht-sidenav__item:last-child .utrecht-sidenav__link::after,
1773
- .utrecht-sidenav__link--current::after,
1774
- .utrecht-sidenav__item--has-children a::after {
1775
- height: 40px;
1776
- min-height: 38px;
1777
- }
1778
-
1779
- /* Remove first metro line in listing */
1780
- .utrecht-sidenav__item:first-child .utrecht-sidenav__link::after {
1781
- content: "";
1725
+ .utrecht-sidenav__connection--first, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__item:first-child .utrecht-sidenav__link::after {
1782
1726
  display: none;
1783
1727
  }
1784
1728
 
1785
- /* Make current link bold */
1786
- .utrecht-sidenav__link--current,
1787
- .utrecht-sidenav__link--child--current {
1788
- font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
1789
- }
1790
-
1791
- .utrecht-sidenav__list--child {
1792
- margin-block-end: 0;
1793
- margin-block-start: 0;
1794
- padding-block-end: 0;
1795
- padding-block-start: 0;
1796
- padding-inline-end: 0;
1797
- padding-inline-start: 1.4rem;
1798
- }
1799
-
1800
- .utrecht-sidenav__item--child {
1801
- border: none;
1802
- list-style: none;
1803
- position: relative;
1804
- }
1805
-
1806
- /* No last border on child item */
1807
- .utrecht-sidenav__item--child:last-child {
1808
- border: none;
1729
+ /* Dot for link with siblings */
1730
+ /* Little fix to move the dot to the right */
1731
+ .utrecht-sidenav__marker, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link::before {
1732
+ background-color: var(--utrecht-sidenav-item-marker-color);
1733
+ border-radius: 100%;
1734
+ box-shadow: 0 0 2px 2px #fff;
1735
+ /* Make var */
1736
+ content: "";
1737
+ height: 8px;
1738
+ left: var(--utrecht-sidenav-marker-offset);
1739
+ overflow: hidden;
1740
+ position: absolute;
1741
+ top: 20px;
1742
+ /* Hard value? */
1743
+ transform: translateY(-50%) translateX(calc(-1 * var(--utrecht-sidenav-marker-offset)));
1744
+ width: 8px;
1745
+ z-index: 10;
1809
1746
  }
1810
1747
 
1811
1748
  /* Add dot bullets on child links */
1812
- .utrecht-sidenav__link--child::before,
1813
- .utrecht-sidenav__link--child--current::before {
1749
+ .utrecht-sidenav__marker--child, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--child::before {
1814
1750
  background-color: transparent;
1815
1751
  border: 2px solid var(--utrecht-sidenav-link-color);
1816
- border-radius: 100%;
1817
- content: "";
1818
1752
  height: 4px;
1819
1753
  left: 1.2rem;
1820
- overflow: hidden;
1821
- position: absolute;
1822
1754
  top: 16px;
1823
1755
  transform: translateY(-50%) translateX(-19.5px);
1824
1756
  width: 4px;
1825
- z-index: 10;
1826
1757
  }
1827
1758
 
1828
- /* Make current marker dots bold */
1829
- .utrecht-sidenav__link--child--current::before {
1759
+ /* selector must override .utrecht-sidenav__marker--child */
1760
+ .utrecht-sidenav__marker--current, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--current::before,
1761
+ .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--current-child::before {
1762
+ background-color: var(--utrecht-sidenav-marker-current-color);
1763
+ }
1764
+
1765
+ .utrecht-sidenav__link--child,
1766
+ .utrecht-sidenav__link--current-child {
1767
+ color: var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));
1768
+ margin-block-end: 0;
1769
+ margin-block-start: 0;
1770
+ padding-block-end: var(--utrecht-space-block-2xs);
1771
+ padding-block-start: var(--utrecht-space-block-2xs);
1772
+ padding-inline-end: var(--utrecht-space-inline-3xs);
1773
+ padding-inline-start: var(--utrecht-space-inline-lg);
1774
+ text-decoration: none;
1775
+ }
1776
+
1777
+ .utrecht-sidenav__link--current,
1778
+ .utrecht-sidenav__link--current-child {
1779
+ font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
1780
+ }
1781
+
1782
+ /* Hover layout for mousover on sidenav__link */
1783
+ .utrecht-sidenav__marker--hover, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link:hover::before {
1830
1784
  background-color: var(--utrecht-sidenav-link-hover-color);
1831
1785
  }
1832
1786
 
1833
1787
  /* Hover layout for mousover on child__link */
1834
- .utrecht-sidenav__link--child:hover::before {
1788
+ .utrecht-sidenav__marker--child.utrecht-sidenav__marker--hover, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__marker--child.utrecht-sidenav__link:hover::before, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__marker--hover.utrecht-sidenav__link--child::before, .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--child.utrecht-sidenav__link:hover::before {
1835
1789
  background-color: var(--utrecht-sidenav-link-hover-color);
1836
1790
  border: 2px solid var(--utrecht-sidenav-link-hover-color);
1837
1791
  }
1838
1792
 
1839
- /* remove :after lines in child and sibling links */
1840
- .utrecht-sidenav__item--child:first-child .utrecht-sidenav__link--child--current::after,
1841
- .utrecht-sidenav__link--child::after,
1842
- .utrecht-sidenav__item .utrecht-sidenav__item--child .utrecht-sidenav__link--child::after,
1843
- .utrecht-sidenav__item .utrecht-sidenav__link--sibling::after,
1844
- .utrecht-sidenav__item--sibling:last-child .utrecht-sidenav__link--sibling::after {
1793
+ .utrecht-sidenav--pseudo-elements .utrecht-sidenav__link--child::after {
1845
1794
  display: none;
1846
1795
  }
1847
1796
 
1848
- .utrecht-sidenav__link--focus-visible, .utrecht-sidenav__link:focus {
1849
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1850
- outline-color: var(--utrecht-focus-outline-color, transparent);
1851
- outline-offset: 0;
1852
- outline-style: var(--utrecht-focus-outline-style, solid);
1853
- outline-width: var(--utrecht-focus-outline-width, 0);
1854
- }
1855
-
1856
1797
  .utrecht-sidenav__link:focus:not(:focus-visible) {
1857
1798
  /* undo focus ring */
1858
1799
  box-shadow: none;
@@ -5323,7 +5264,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
5323
5264
  /* Collection of CSS variables for Utrecht theme applied to `:root` */
5324
5265
  /**
5325
5266
  * Do not edit directly
5326
- * Generated on Fri, 28 Jan 2022 10:35:33 GMT
5267
+ * Generated on Wed, 02 Feb 2022 14:14:16 GMT
5327
5268
  */
5328
5269
  :root {
5329
5270
  --utrecht-toptask-nav-link-grid-max-inline-size: 240px;
@@ -5374,7 +5315,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
5374
5315
  /* 12px */
5375
5316
  --utrecht-typography-scale-2xs-font-size: 0.5rem;
5376
5317
  /* 8px */
5377
- --utrecht-typography-sans-serif-font-family: "Arial", sans-serif;
5318
+ --utrecht-typography-sans-serif-fallback-font-family: "Arial", sans-serif;
5319
+ --utrecht-typography-sans-serif-font-family: "Lucida Grande";
5378
5320
  --utrecht-color-black: hsl(0 0% 0%);
5379
5321
  --utrecht-color-white: hsl(0 0% 100%);
5380
5322
  --utrecht-color-invalid: #990000;
@@ -5791,38 +5733,32 @@ however browsers don't seem to have implemented great looking supixel tweening y
5791
5733
  --utrecht-heading-6-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
5792
5734
  --utrecht-heading-6-font-size: var(--utrecht-typography-scale-sm-font-size);
5793
5735
  --utrecht-heading-6-font-family: var(--utrecht-typography-sans-serif-font-family);
5794
- --utrecht-heading-6-color: var(--utrecht-color-black);
5795
5736
  --utrecht-heading-5-text-transform: var(--utrecht-typography-text-transform-uppercase);
5796
5737
  --utrecht-heading-5-letter-spacing: var(--utrecht-typography-letter-spacing-sm);
5797
5738
  --utrecht-heading-5-line-height: var(--utrecht-typography-line-height-md);
5798
5739
  --utrecht-heading-5-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
5799
5740
  --utrecht-heading-5-font-size: var(--utrecht-typography-scale-sm-font-size);
5800
5741
  --utrecht-heading-5-font-family: var(--utrecht-typography-sans-serif-font-family);
5801
- --utrecht-heading-5-color: var(--utrecht-color-black);
5802
5742
  --utrecht-heading-4-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
5803
5743
  --utrecht-heading-4-line-height: var(--utrecht-typography-line-height-md);
5804
5744
  --utrecht-heading-4-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
5805
5745
  --utrecht-heading-4-font-size: var(--utrecht-typography-scale-lg-font-size);
5806
5746
  --utrecht-heading-4-font-family: var(--utrecht-typography-sans-serif-font-family);
5807
- --utrecht-heading-4-color: var(--utrecht-color-black);
5808
5747
  --utrecht-heading-3-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
5809
5748
  --utrecht-heading-3-line-height: var(--utrecht-typography-line-height-sm);
5810
5749
  --utrecht-heading-3-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
5811
5750
  --utrecht-heading-3-font-size: var(--utrecht-typography-scale-xl-font-size);
5812
5751
  --utrecht-heading-3-font-family: var(--utrecht-typography-sans-serif-font-family);
5813
- --utrecht-heading-3-color: var(--utrecht-color-black);
5814
5752
  --utrecht-heading-2-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
5815
5753
  --utrecht-heading-2-line-height: var(--utrecht-typography-line-height-sm);
5816
5754
  --utrecht-heading-2-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
5817
5755
  --utrecht-heading-2-font-size: var(--utrecht-typography-scale-xl-font-size);
5818
5756
  --utrecht-heading-2-font-family: var(--utrecht-typography-sans-serif-font-family);
5819
- --utrecht-heading-2-color: var(--utrecht-color-black);
5820
5757
  --utrecht-heading-1-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
5821
5758
  --utrecht-heading-1-line-height: var(--utrecht-typography-line-height-sm);
5822
5759
  --utrecht-heading-1-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
5823
5760
  --utrecht-heading-1-font-size: var(--utrecht-typography-scale-3xl-font-size);
5824
5761
  --utrecht-heading-1-font-family: var(--utrecht-typography-sans-serif-font-family);
5825
- --utrecht-heading-1-color: var(--utrecht-color-black);
5826
5762
  --utrecht-form-toggle-focus-border-color: var(--utrecht-color-black);
5827
5763
  --utrecht-form-toggle-checked-accent-color: var(--utrecht-color-blue-35);
5828
5764
  --utrecht-form-toggle-thumb-disabled-background-color: var(--utrecht-color-white);
@@ -5947,6 +5883,12 @@ however browsers don't seem to have implemented great looking supixel tweening y
5947
5883
  --utrecht-link-visited-color: var(--utrecht-link-color);
5948
5884
  --utrecht-link-hover-color: var(--utrecht-link-focus-color);
5949
5885
  --utrecht-link-active-color: var(--utrecht-link-color);
5886
+ --utrecht-heading-6-color: var(--utrecht-document-color);
5887
+ --utrecht-heading-5-color: var(--utrecht-document-color);
5888
+ --utrecht-heading-4-color: var(--utrecht-document-color);
5889
+ --utrecht-heading-3-color: var(--utrecht-document-color);
5890
+ --utrecht-heading-2-color: var(--utrecht-document-color);
5891
+ --utrecht-heading-1-color: var(--utrecht-document-color);
5950
5892
  --utrecht-form-input-invalid-border-color: var(--utrecht-feedback-invalid-border-color);
5951
5893
  --utrecht-form-input-font-family: var(--utrecht-document-font-family);
5952
5894
  --utrecht-custom-checkbox-invalid-background-color: var(--utrecht-feedback-invalid-background-color);
@@ -5,7 +5,7 @@
5
5
  /* Collection of CSS variables for Utrecht theme applied to `:root` */
6
6
  /**
7
7
  * Do not edit directly
8
- * Generated on Fri, 28 Jan 2022 10:35:33 GMT
8
+ * Generated on Wed, 02 Feb 2022 14:14:16 GMT
9
9
  */
10
10
  :root {
11
11
  --utrecht-toptask-nav-link-grid-max-inline-size: 240px;
@@ -56,7 +56,8 @@
56
56
  /* 12px */
57
57
  --utrecht-typography-scale-2xs-font-size: 0.5rem;
58
58
  /* 8px */
59
- --utrecht-typography-sans-serif-font-family: "Arial", sans-serif;
59
+ --utrecht-typography-sans-serif-fallback-font-family: "Arial", sans-serif;
60
+ --utrecht-typography-sans-serif-font-family: "Lucida Grande";
60
61
  --utrecht-color-black: hsl(0 0% 0%);
61
62
  --utrecht-color-white: hsl(0 0% 100%);
62
63
  --utrecht-color-invalid: #990000;
@@ -473,38 +474,32 @@
473
474
  --utrecht-heading-6-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
474
475
  --utrecht-heading-6-font-size: var(--utrecht-typography-scale-sm-font-size);
475
476
  --utrecht-heading-6-font-family: var(--utrecht-typography-sans-serif-font-family);
476
- --utrecht-heading-6-color: var(--utrecht-color-black);
477
477
  --utrecht-heading-5-text-transform: var(--utrecht-typography-text-transform-uppercase);
478
478
  --utrecht-heading-5-letter-spacing: var(--utrecht-typography-letter-spacing-sm);
479
479
  --utrecht-heading-5-line-height: var(--utrecht-typography-line-height-md);
480
480
  --utrecht-heading-5-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
481
481
  --utrecht-heading-5-font-size: var(--utrecht-typography-scale-sm-font-size);
482
482
  --utrecht-heading-5-font-family: var(--utrecht-typography-sans-serif-font-family);
483
- --utrecht-heading-5-color: var(--utrecht-color-black);
484
483
  --utrecht-heading-4-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
485
484
  --utrecht-heading-4-line-height: var(--utrecht-typography-line-height-md);
486
485
  --utrecht-heading-4-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
487
486
  --utrecht-heading-4-font-size: var(--utrecht-typography-scale-lg-font-size);
488
487
  --utrecht-heading-4-font-family: var(--utrecht-typography-sans-serif-font-family);
489
- --utrecht-heading-4-color: var(--utrecht-color-black);
490
488
  --utrecht-heading-3-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
491
489
  --utrecht-heading-3-line-height: var(--utrecht-typography-line-height-sm);
492
490
  --utrecht-heading-3-font-weight: var(--utrecht-typography-weight-scale-normal-font-weight);
493
491
  --utrecht-heading-3-font-size: var(--utrecht-typography-scale-xl-font-size);
494
492
  --utrecht-heading-3-font-family: var(--utrecht-typography-sans-serif-font-family);
495
- --utrecht-heading-3-color: var(--utrecht-color-black);
496
493
  --utrecht-heading-2-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
497
494
  --utrecht-heading-2-line-height: var(--utrecht-typography-line-height-sm);
498
495
  --utrecht-heading-2-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
499
496
  --utrecht-heading-2-font-size: var(--utrecht-typography-scale-xl-font-size);
500
497
  --utrecht-heading-2-font-family: var(--utrecht-typography-sans-serif-font-family);
501
- --utrecht-heading-2-color: var(--utrecht-color-black);
502
498
  --utrecht-heading-1-letter-spacing: var(--utrecht-typography-letter-spacing-normal);
503
499
  --utrecht-heading-1-line-height: var(--utrecht-typography-line-height-sm);
504
500
  --utrecht-heading-1-font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
505
501
  --utrecht-heading-1-font-size: var(--utrecht-typography-scale-3xl-font-size);
506
502
  --utrecht-heading-1-font-family: var(--utrecht-typography-sans-serif-font-family);
507
- --utrecht-heading-1-color: var(--utrecht-color-black);
508
503
  --utrecht-form-toggle-focus-border-color: var(--utrecht-color-black);
509
504
  --utrecht-form-toggle-checked-accent-color: var(--utrecht-color-blue-35);
510
505
  --utrecht-form-toggle-thumb-disabled-background-color: var(--utrecht-color-white);
@@ -629,6 +624,12 @@
629
624
  --utrecht-link-visited-color: var(--utrecht-link-color);
630
625
  --utrecht-link-hover-color: var(--utrecht-link-focus-color);
631
626
  --utrecht-link-active-color: var(--utrecht-link-color);
627
+ --utrecht-heading-6-color: var(--utrecht-document-color);
628
+ --utrecht-heading-5-color: var(--utrecht-document-color);
629
+ --utrecht-heading-4-color: var(--utrecht-document-color);
630
+ --utrecht-heading-3-color: var(--utrecht-document-color);
631
+ --utrecht-heading-2-color: var(--utrecht-document-color);
632
+ --utrecht-heading-1-color: var(--utrecht-document-color);
632
633
  --utrecht-form-input-invalid-border-color: var(--utrecht-feedback-invalid-border-color);
633
634
  --utrecht-form-input-font-family: var(--utrecht-document-font-family);
634
635
  --utrecht-custom-checkbox-invalid-background-color: var(--utrecht-feedback-invalid-background-color);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.167",
2
+ "version": "1.0.0-alpha.170",
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",
@@ -16,7 +16,7 @@
16
16
  "url": "git@github.com:nl-design-system/utrecht.git"
17
17
  },
18
18
  "devDependencies": {
19
- "@utrecht/design-tokens": "1.0.0-alpha.160",
19
+ "@utrecht/design-tokens": "1.0.0-alpha.163",
20
20
  "node-sass-package-importer": "5.3.2",
21
21
  "rimraf": "3.0.2",
22
22
  "sass": "1.49.0"
@@ -26,5 +26,5 @@
26
26
  "build": "sass src/:dist/ --load-path=../../node_modules/ --no-source-map",
27
27
  "clean": "rimraf dist/"
28
28
  },
29
- "gitHead": "f8bf13126ba56f27241835ee311f79f16507afcf"
29
+ "gitHead": "6e7d8651845ebf07443603165ac83dd40f0a8a18"
30
30
  }