Skip to content

Commit 26467e6

Browse files
authored
Bug 1987016 - Apply better styling for disabled checkboxes
1 parent b46e56f commit 26467e6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

skins/standard/global.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,19 @@ input[type="checkbox"]:checked {
779779
background-size: 18px 18px;
780780
}
781781

782+
input[type="checkbox"]:disabled {
783+
border-color: var(--disabled-button-foreground-color);
784+
background-color: var(--disabled-button-background-color);
785+
border-width: 1px;
786+
cursor: default;
787+
}
788+
789+
input[type="checkbox"]:disabled:checked {
790+
border-color: var(--disabled-control-foreground-color);
791+
background-color: var(--disabled-control-foreground-color);
792+
cursor: default;
793+
}
794+
782795
input[type="radio"] {
783796
border-radius: 50%;
784797
}

0 commit comments

Comments
 (0)