1
0
mirror of https://github.com/jdan/98.css.git synced 2025-08-01 11:30:22 +02:00

fix disabled styles for radio buttons and checkboxes

This commit is contained in:
Jordan Scales
2020-04-17 15:45:04 -04:00
parent 6ffd7c6316
commit 0f3ee2f0a9

View File

@@ -75,7 +75,8 @@ button:focus {
outline-offset: -4px;
}
:disabled {
:disabled,
:disabled + label {
color: var(--button-shadow);
text-shadow: 1px 1px 0 var(--button-highlight);
}
@@ -289,8 +290,6 @@ input[type="checkbox"][disabled] + label::before {
background: var(--surface);
}
/*
input[type="checkbox"][disabled]:checked + label::after {
background: url("./radio-dot-disabled.svg");
background: url("./checkmark-disabled.svg");
}
*/