From 0f3ee2f0a9264e60df925a78149f4c1635a341e8 Mon Sep 17 00:00:00 2001 From: Jordan Scales Date: Fri, 17 Apr 2020 15:45:04 -0400 Subject: [PATCH] fix disabled styles for radio buttons and checkboxes --- style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 8668c42..d06d1ff 100644 --- a/style.css +++ b/style.css @@ -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"); } -*/