@utrecht/component-library-css 3.0.1-alpha.39 → 3.0.1-alpha.40
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 +11 -12
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -750,24 +750,23 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
750
750
|
padding-inline-start: var(--utrecht-breadcrumb-nav-item-padding-inline-start, 8px);
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
+
.utrecht-breadcrumb-nav__link--current {
|
|
754
|
+
--utrecht-link-current-font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
755
|
+
/* configure the `current` `cursor` only when the current state is applied */
|
|
756
|
+
--_utrecht-breadcrumb-nav-link-current-cursor: var(--utrecht-action-inert-cursor, default);
|
|
757
|
+
font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
758
|
+
}
|
|
759
|
+
|
|
753
760
|
.utrecht-breadcrumb-nav__link--disabled {
|
|
754
761
|
--utrecht-link-placeholder-color: var(
|
|
755
762
|
--utrecht-breadcrumb-nav-link-disabled-color,
|
|
756
763
|
var(--utrecht-breadcrumb-nav-link-color)
|
|
757
764
|
);
|
|
765
|
+
/* configure the `disabled` `cursor` only when the current state is applied */
|
|
766
|
+
--_utrecht-breadcrumb-nav-link-disabled-cursor: var(--utrecht-action-disabled-cursor, not-allowed);
|
|
758
767
|
background-color: var(--utrecht-breadcrumb-nav-link-disabled-background-color, var(--utrecht-breadcrumb-nav-link-background-color));
|
|
759
|
-
|
|
760
|
-
cursor: var(--
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
.utrecht-breadcrumb-nav__link--current {
|
|
764
|
-
/*
|
|
765
|
-
* `current` should apply to `disabled` links too, and it should override `disabled`.
|
|
766
|
-
* The override is the reason why this selector is not ordered alphabetically.
|
|
767
|
-
*/
|
|
768
|
-
--utrecht-link-current-font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
769
|
-
cursor: var(--utrecht-action-inert-cursor, default);
|
|
770
|
-
font-weight: var(--utrecht-breadcrumb-nav-link-current-font-weight, inherit);
|
|
768
|
+
/* Use the `current` cursor when available, otherwise use the `disabled` cursor */
|
|
769
|
+
cursor: var(--_utrecht-breadcrumb-nav-link-current-cursor, var(--_utrecht-breadcrumb-nav-link-disabled-cursor));
|
|
771
770
|
}
|
|
772
771
|
|
|
773
772
|
/* stylelint-disable-next-line block-no-empty */
|
package/package.json
CHANGED