controls: Increase checkbox theming coverage
This commit is contained in:
parent
e9f37f61dd
commit
d004e6b779
|
@ -4,6 +4,7 @@
|
|||
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
/* Checkbox */
|
||||
input[type="checkbox"],
|
||||
checkbox:not(.treenode-checkbox) > .checkbox-check {
|
||||
border: 0 !important;
|
||||
border-radius: 6px !important;
|
||||
|
@ -11,13 +12,16 @@ checkbox:not(.treenode-checkbox) > .checkbox-check {
|
|||
height: 20px !important;
|
||||
width: 20px !important;
|
||||
}
|
||||
input[type="checkbox"]:not(:checked),
|
||||
checkbox:not(.treenode-checkbox) > .checkbox-check:not([checked]) {
|
||||
background-color: transparent !important;
|
||||
box-shadow: inset 0 0 0 2px var(--gnome-trough-background);
|
||||
}
|
||||
input[type="checkbox"]:not(:checked):hover,
|
||||
checkbox:not(.treenode-checkbox) > .checkbox-check:not([checked]):hover {
|
||||
box-shadow: inset 0 0 0 2px var(--gnome-trough-hover-background);
|
||||
}
|
||||
input[type="checkbox"]:checked,
|
||||
checkbox:not(.treenode-checkbox) > .checkbox-check[checked] {
|
||||
background-color: var(--gnome-accent-bg) !important;
|
||||
background-image: url("../icons/select-symbolic.svg") !important;
|
||||
|
|
Loading…
Reference in New Issue