From 8c139035685db642030a33209f884f9db0c121d2 Mon Sep 17 00:00:00 2001 From: actionless Date: Tue, 23 Dec 2014 14:07:53 +0100 Subject: [PATCH] refactor(gtk3): cleaned-up assets' css --- gtk-3.0/gtk-widgets-assets.css | 51 ++++++++-------------------------- 1 file changed, 12 insertions(+), 39 deletions(-) diff --git a/gtk-3.0/gtk-widgets-assets.css b/gtk-3.0/gtk-widgets-assets.css index d7413ea..fac92c4 100644 --- a/gtk-3.0/gtk-widgets-assets.css +++ b/gtk-3.0/gtk-widgets-assets.css @@ -2,78 +2,51 @@ * check and radio * *******************/ /* draw regular check and radio items using our assets */ -.check, -.check:focus, -.check row:selected, -.check row:selected:focus { +.check { -gtk-icon-source: url("assets/checkbox-unchecked.svg"); } -.check:insensitive, -.check row:selected:insensitive, -.check row:selected:focus:insensitive { +.check:insensitive { -gtk-icon-source: url("assets/checkbox-unchecked-insensitive.svg"); } -.check:active, -.check:checked, -.check row:selected:active, -.check row:selected:focus:active { +.check:checked { -gtk-icon-source: url("assets/checkbox-checked.svg"); } -.check:active:insensitive, -.check row:selected:active:insensitive, -.check row:selected:focus:active:insensitive { +.check:checked:insensitive { -gtk-icon-source: url("assets/checkbox-checked-insensitive.svg"); } -.check:inconsistent, -.check row:selected:inconsistent, -.check row:selected:focus:inconsistent { +.check:inconsistent { -gtk-icon-source: url("assets/checkbox-mixed.svg"); } -.check:inconsistent:insensitive, -.check row:selected:inconsistent:insensitive, -.check row:selected:focus:inconsistent:insensitive { +.check:inconsistent:insensitive { -gtk-icon-source: url("assets/checkbox-mixed-insensitive.svg"); } -.radio, -.radio row:selected, -.radio row:selected:focus { +.radio { -gtk-icon-source: url("assets/radio-unselected.svg"); } -.radio:insensitive, -.radio row:selected:insensitive, -.radio row:selected:focus:insensitive { +.radio:insensitive { -gtk-icon-source: url("assets/radio-unselected-insensitive.svg"); } -.radio:active, -.radio:checked, -.radio row:selected:active, -.radio row:selected:focus:active { +.radio:checked { -gtk-icon-source: url("assets/radio-selected.svg"); } -.radio:active:insensitive, -.radio row:selected:active:insensitive, -.radio row:selected:focus:active:insensitive { +.radio:checked:insensitive { -gtk-icon-source: url("assets/radio-selected-insensitive.svg"); } -.radio:inconsistent, -.radio row:selected:inconsistent, -.radio row:selected:focus:inconsistent { +.radio:inconsistent { -gtk-icon-source: url("assets/radio-mixed.svg"); } -.radio:inconsistent:insensitive, -.radio row:selected:inconsistent:insensitive, -.radio row:selected:focus:inconsistent:insensitive { +.radio:inconsistent:insensitive { -gtk-icon-source: url("assets/radio-mixed-insensitive.svg"); }