mirror of
https://github.com/jdan/98.css.git
synced 2025-08-14 09:54:45 +02:00
fix disabled styles for radio buttons and checkboxes
This commit is contained in:
@@ -75,7 +75,8 @@ button:focus {
|
|||||||
outline-offset: -4px;
|
outline-offset: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:disabled {
|
:disabled,
|
||||||
|
:disabled + label {
|
||||||
color: var(--button-shadow);
|
color: var(--button-shadow);
|
||||||
text-shadow: 1px 1px 0 var(--button-highlight);
|
text-shadow: 1px 1px 0 var(--button-highlight);
|
||||||
}
|
}
|
||||||
@@ -289,8 +290,6 @@ input[type="checkbox"][disabled] + label::before {
|
|||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
input[type="checkbox"][disabled]:checked + label::after {
|
input[type="checkbox"][disabled]:checked + label::after {
|
||||||
background: url("./radio-dot-disabled.svg");
|
background: url("./checkmark-disabled.svg");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
Reference in New Issue
Block a user