Skip to content

Commit

Permalink
📝 Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Nov 20, 2024
1 parent 870687a commit e49b6cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @navikt/core/css/darkside/form/switch.darkside.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
cursor: not-allowed;
}

/* Readonly */
/* -------------------------- Switch Readonly state ------------------------- */
.navds-switch--readonly > .navds-switch__track,
.navds-switch--readonly > .navds-switch__input:hover ~ .navds-switch__track,
.navds-switch--readonly > .navds-switch__input:checked ~ .navds-switch__track,
Expand Down Expand Up @@ -199,6 +199,7 @@
}
}

/* ------------------------ Switch Forced colors mode ----------------------- */
@media (forced-colors: active) {
.navds-switch__input:hover ~ .navds-switch__label-wrapper,
.navds-switch__label-wrapper:hover {
Expand Down

0 comments on commit e49b6cc

Please sign in to comment.