Add missing checked styles for checkboxes and radios in menus

pull/218/head
Simon Steinbeiss 2015-01-11 14:28:20 +01:00
parent 49c87c80b5
commit 7fdca0128d
1 changed files with 12 additions and 6 deletions

View File

@ -54,15 +54,18 @@
-gtk-icon-source: none;
}
.menuitem.check:active {
.menuitem.check:active,
.menuitem.check:checked {
-gtk-icon-source: url("assets/menuitem-checkbox-checked.svg");
}
.menuitem.check:active:hover {
.menuitem.check:active:hover,
.menuitem.check:checked:hover {
-gtk-icon-source: url("assets/menuitem-checkbox-checked-hover.svg");
}
.menuitem.check:active:insensitive {
.menuitem.check:active:insensitive,
.menuitem.check:checked:insensitive {
-gtk-icon-source: url("assets/menuitem-checkbox-checked-insensitive.svg");
}
@ -85,15 +88,18 @@
-gtk-icon-source: none;
}
.menuitem.radio:active {
.menuitem.radio:active,
.menuitem.radio:checked {
-gtk-icon-source: url("assets/menuitem-radio-checked.svg");
}
.menuitem.radio:active:hover {
.menuitem.radio:active:hover,
.menuitem.radio:checked:hover {
-gtk-icon-source: url("assets/menuitem-radio-checked-hover.svg");
}
.menuitem.radio:active:insensitive {
.menuitem.radio:active:insensitive,
.menuitem.radio:checked:insensitive {
-gtk-icon-source: url("assets/menuitem-radio-checked-insensitive.svg");
}