refactor(gtk3): cleaned-up assets' css

pull/185/head
actionless 2014-12-23 14:07:53 +01:00
parent 055379a85a
commit 8c13903568
1 changed files with 12 additions and 39 deletions

View File

@ -2,78 +2,51 @@
* check and radio * * check and radio *
*******************/ *******************/
/* draw regular check and radio items using our assets */ /* draw regular check and radio items using our assets */
.check, .check {
.check:focus,
.check row:selected,
.check row:selected:focus {
-gtk-icon-source: url("assets/checkbox-unchecked.svg"); -gtk-icon-source: url("assets/checkbox-unchecked.svg");
} }
.check:insensitive, .check:insensitive {
.check row:selected:insensitive,
.check row:selected:focus:insensitive {
-gtk-icon-source: url("assets/checkbox-unchecked-insensitive.svg"); -gtk-icon-source: url("assets/checkbox-unchecked-insensitive.svg");
} }
.check:active, .check:checked {
.check:checked,
.check row:selected:active,
.check row:selected:focus:active {
-gtk-icon-source: url("assets/checkbox-checked.svg"); -gtk-icon-source: url("assets/checkbox-checked.svg");
} }
.check:active:insensitive, .check:checked:insensitive {
.check row:selected:active:insensitive,
.check row:selected:focus:active:insensitive {
-gtk-icon-source: url("assets/checkbox-checked-insensitive.svg"); -gtk-icon-source: url("assets/checkbox-checked-insensitive.svg");
} }
.check:inconsistent, .check:inconsistent {
.check row:selected:inconsistent,
.check row:selected:focus:inconsistent {
-gtk-icon-source: url("assets/checkbox-mixed.svg"); -gtk-icon-source: url("assets/checkbox-mixed.svg");
} }
.check:inconsistent:insensitive, .check:inconsistent:insensitive {
.check row:selected:inconsistent:insensitive,
.check row:selected:focus:inconsistent:insensitive {
-gtk-icon-source: url("assets/checkbox-mixed-insensitive.svg"); -gtk-icon-source: url("assets/checkbox-mixed-insensitive.svg");
} }
.radio, .radio {
.radio row:selected,
.radio row:selected:focus {
-gtk-icon-source: url("assets/radio-unselected.svg"); -gtk-icon-source: url("assets/radio-unselected.svg");
} }
.radio:insensitive, .radio:insensitive {
.radio row:selected:insensitive,
.radio row:selected:focus:insensitive {
-gtk-icon-source: url("assets/radio-unselected-insensitive.svg"); -gtk-icon-source: url("assets/radio-unselected-insensitive.svg");
} }
.radio:active, .radio:checked {
.radio:checked,
.radio row:selected:active,
.radio row:selected:focus:active {
-gtk-icon-source: url("assets/radio-selected.svg"); -gtk-icon-source: url("assets/radio-selected.svg");
} }
.radio:active:insensitive, .radio:checked:insensitive {
.radio row:selected:active:insensitive,
.radio row:selected:focus:active:insensitive {
-gtk-icon-source: url("assets/radio-selected-insensitive.svg"); -gtk-icon-source: url("assets/radio-selected-insensitive.svg");
} }
.radio:inconsistent, .radio:inconsistent {
.radio row:selected:inconsistent,
.radio row:selected:focus:inconsistent {
-gtk-icon-source: url("assets/radio-mixed.svg"); -gtk-icon-source: url("assets/radio-mixed.svg");
} }
.radio:inconsistent:insensitive, .radio:inconsistent:insensitive {
.radio row:selected:inconsistent:insensitive,
.radio row:selected:focus:inconsistent:insensitive {
-gtk-icon-source: url("assets/radio-mixed-insensitive.svg"); -gtk-icon-source: url("assets/radio-mixed-insensitive.svg");
} }