Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ p > .dnb-icon {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header:hover[disabled] {
cursor: not-allowed;
}
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header:hover:not([disabled]) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header:hover:not([disabled]):where(:not([aria-disabled=true])) {
--accordion-color-text: var(--accordion-color-text--hover);
--accordion-color-description: var(
--accordion-color-description--hover
Expand All @@ -249,7 +249,7 @@ p > .dnb-icon {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header--after-click:hover[disabled] {
cursor: not-allowed;
}
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header--after-click:hover:not([disabled]) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header--after-click:hover:not([disabled]):where(:not([aria-disabled=true])) {
--accordion-color-text: var(--accordion-color-text--after-click);
--accordion-color-description: var(
--accordion-color-description--after-click
Expand All @@ -263,7 +263,7 @@ p > .dnb-icon {
.dnb-accordion__header:active[disabled], html:not([data-whatintent=touch]) .dnb-accordion__header:active[disabled] {
cursor: not-allowed;
}
.dnb-accordion__header:active:not([disabled]), html:not([data-whatintent=touch]) .dnb-accordion__header:active:not([disabled]) {
.dnb-accordion__header:active:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch]) .dnb-accordion__header:active:not([disabled]):where(:not([aria-disabled=true])) {
--accordion-color-text: var(--accordion-color-text--active);
--accordion-color-description: var(
--accordion-color-description--active
Expand Down Expand Up @@ -348,7 +348,7 @@ html:not([data-whatinput=touch]) .dnb-accordion__header:focus-visible:not([disab
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header--outlined:hover[disabled] {
cursor: not-allowed;
}
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header--outlined:hover:not([disabled]) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-accordion__header--outlined:hover:not([disabled]):where(:not([aria-disabled=true])) {
z-index: 1;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,28 +460,28 @@ button .dnb-form-status__text {
text-decoration: none;
}
@media (any-hover: hover) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:where(:not([aria-disabled=true])):hover[disabled] {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:hover[disabled] {
cursor: not-allowed;
}
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:where(:not([aria-disabled=true])):hover:not([disabled]) .dnb-button__text {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:hover:not([disabled]):where(:not([aria-disabled=true])) .dnb-button__text {
text-decoration-color: var(--button-color-underline, var(--button-color-underline--default));
}
}
.dnb-button--tertiary:where(:not([aria-disabled=true])):active[disabled], html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active[disabled] {
.dnb-button--tertiary:active[disabled], html:not([data-whatintent=touch]) .dnb-button--tertiary:active[disabled] {
cursor: not-allowed;
}
.dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]), html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) {
.dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) {
outline: initial;
}
html[data-whatinput=keyboard] .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]), html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) {
html[data-whatinput=keyboard] .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])), html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) {
box-shadow: none;
}
html[data-whatintent=touch] .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) .dnb-button__text, html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) .dnb-button__text {
html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) .dnb-button__text, html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) .dnb-button__text {
--button-color-underline: var(--button-color-underline--hover);
transition: none;
text-decoration-color: var(--button-color-underline, var(--button-color-underline--default));
}
html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) .dnb-button__text, html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) .dnb-button__text {
html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) .dnb-button__text, html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) .dnb-button__text {
text-decoration: none;
}
.dnb-button--tertiary.dnb-button--has-text {
Expand Down Expand Up @@ -612,10 +612,10 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disable
color: var(--button-color-icon, var(--button-color-icon--default));
}
@media (any-hover: hover) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--primary:where(:not([aria-disabled=true])):hover[disabled], html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:where(:not([aria-disabled=true])):hover[disabled], html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:where(:not([aria-disabled=true])):hover[disabled] {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--primary:hover[disabled], html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:hover[disabled], html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:hover[disabled] {
cursor: not-allowed;
}
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--primary:where(:not([aria-disabled=true])):hover:not([disabled]), html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:where(:not([aria-disabled=true])):hover:not([disabled]), html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:where(:not([aria-disabled=true])):hover:not([disabled]) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--primary:hover:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:hover:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--tertiary:hover:not([disabled]):where(:not([aria-disabled=true])) {
--button-color-bg: var(--button-color-bg--hover);
--button-color-border: var(--button-color-border--hover);
--button-color-icon: var(--button-color-icon--hover);
Expand All @@ -628,10 +628,10 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disable
);
}
}
.dnb-button--primary:where(:not([aria-disabled=true])):active[disabled], html:not([data-whatintent=touch]) .dnb-button--primary:where(:not([aria-disabled=true])):active[disabled], .dnb-button--secondary:where(:not([aria-disabled=true])):active[disabled], html:not([data-whatintent=touch]) .dnb-button--secondary:where(:not([aria-disabled=true])):active[disabled], .dnb-button--tertiary:where(:not([aria-disabled=true])):active[disabled], html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active[disabled] {
.dnb-button--primary:active[disabled], html:not([data-whatintent=touch]) .dnb-button--primary:active[disabled], .dnb-button--secondary:active[disabled], html:not([data-whatintent=touch]) .dnb-button--secondary:active[disabled], .dnb-button--tertiary:active[disabled], html:not([data-whatintent=touch]) .dnb-button--tertiary:active[disabled] {
cursor: not-allowed;
}
.dnb-button--primary:where(:not([aria-disabled=true])):active:not([disabled]), html:not([data-whatintent=touch]) .dnb-button--primary:where(:not([aria-disabled=true])):active:not([disabled]), .dnb-button--secondary:where(:not([aria-disabled=true])):active:not([disabled]), html:not([data-whatintent=touch]) .dnb-button--secondary:where(:not([aria-disabled=true])):active:not([disabled]), .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]), html:not([data-whatintent=touch]) .dnb-button--tertiary:where(:not([aria-disabled=true])):active:not([disabled]) {
.dnb-button--primary:active:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch]) .dnb-button--primary:active:not([disabled]):where(:not([aria-disabled=true])), .dnb-button--secondary:active:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch]) .dnb-button--secondary:active:not([disabled]):where(:not([aria-disabled=true])), .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]):where(:not([aria-disabled=true])) {
--button-color-bg: var(--button-color-bg--active);
--button-color-border: var(--button-color-border--active);
--button-color-icon: var(--button-color-icon--active);
Expand Down Expand Up @@ -1070,10 +1070,10 @@ html:not([data-whatinput=touch]) .dnb-button--tertiary:focus-visible:not([disabl
width: var(--input-border-width);
background-color: var(--button-input-separator-color, var(--button-input-separator-color--default));
}
.dnb-button--icon-only.dnb-button--input-button:where(:not([aria-disabled=true])):active[disabled], html:not([data-whatintent=touch]) .dnb-button--icon-only.dnb-button--input-button:where(:not([aria-disabled=true])):active[disabled] {
.dnb-button--icon-only.dnb-button--input-button:active[disabled], html:not([data-whatintent=touch]) .dnb-button--icon-only.dnb-button--input-button:active[disabled] {
cursor: not-allowed;
}
.dnb-button--icon-only.dnb-button--input-button:where(:not([aria-disabled=true])):active:not([disabled])::after, html:not([data-whatintent=touch]) .dnb-button--icon-only.dnb-button--input-button:where(:not([aria-disabled=true])):active:not([disabled])::after {
.dnb-button--icon-only.dnb-button--input-button:active:not([disabled]):where(:not([aria-disabled=true]))::after, html:not([data-whatintent=touch]) .dnb-button--icon-only.dnb-button--input-button:active:not([disabled]):where(:not([aria-disabled=true]))::after {
top: var(--input-border-width);
bottom: var(--input-border-width);
}
Expand Down Expand Up @@ -1220,7 +1220,7 @@ html:not([data-whatinput=touch]) .dnb-button--tertiary:focus-visible:not([disabl
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:not(.dnb-button--has-text).dnb-button--control-before:hover[disabled], html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:not(.dnb-button--has-text).dnb-button--control-after:hover[disabled] {
cursor: not-allowed;
}
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:not(.dnb-button--has-text).dnb-button--control-before:hover:not([disabled]), html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:not(.dnb-button--has-text).dnb-button--control-after:hover:not([disabled]) {
html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:not(.dnb-button--has-text).dnb-button--control-before:hover:not([disabled]):where(:not([aria-disabled=true])), html:not([data-whatintent=touch], [data-whatintent=keyboard]) .dnb-button--secondary:not(.dnb-button--has-text).dnb-button--control-after:hover:not([disabled]):where(:not([aria-disabled=true])) {
box-shadow: none;
border: none;
}
Expand Down
Loading
Loading