From 6815ccf411265bdcaae581ca228604c77f3443e7 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 27 Apr 2016 22:21:15 +0200 Subject: GTK+-3.20 TOK themes: fix check and radio buttons for firefox --- .../TraditionalGreen/gtk-3.0/gtk-widgets-img.css | 48 +++++++++++----------- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 18 +++++--- 2 files changed, 36 insertions(+), 30 deletions(-) (limited to 'desktop-themes/TraditionalGreen') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css index 7ddb171b..c6cc0978 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css @@ -84,126 +84,126 @@ scrollbar.horizontal slider:hover { *************************/ check, +.check, check row:selected, check row:selected:focus { -gtk-icon-source: url("img/checkbox-unchecked.png"); } check:hover, +.check:hover, check row:selected:hover, check row:selected:focus:hover { -gtk-icon-source: url("img/checkbox-unchecked-hover.png"); } check:disabled, +.check:disabled, check row:selected:disabled, check row:selected:focus:disabled { -gtk-icon-source: url("img/checkbox-unchecked-insensitive.png"); } check:checked, +.check:checked, check row:selected:checked, -check row:selected:focus:checked, -check:active, -check row:selected:active, -check row:selected:focus:active { +check row:selected:focus:checked { -gtk-icon-source: url("img/checkbox-checked.png"); } check:checked:hover, +.check:checked:hover, check row:selected:checked:hover, -check row:selected:focus:checked:hover, -check:active:hover, -check row:selected:active:hover, -check row:selected:focus:active:hover { +check row:selected:focus:checked:hover { -gtk-icon-source: url("img/checkbox-checked-hover.png"); } check:checked:disabled, +.check:checked:disabled, check row:selected:checked:disabled, -check row:selected:focus:checked:disabled, -check:active:disabled, -check row:selected:active:disabled, -check row:selected:focus:active:disabled { +check row:selected:focus:checked:disabled { -gtk-icon-source: url("img/checkbox-checked-insensitive.png"); } check:indeterminate, +.check:indeterminate, check row:selected:indeterminate, check row:selected:focus:indeterminate { -gtk-icon-source: url("img/checkbox-mixed.png"); } check:indeterminate:hover, +.check:indeterminate:hover, check row:selected:indeterminate:hover, check row:selected:focus:indeterminate:hover { -gtk-icon-source: url("img/checkbox-mixed-hover.png"); } check:indeterminate:disabled, +.check:indeterminate:disabled, check row:selected:indeterminate:disabled, check row:selected:focus:indeterminate:disabled { -gtk-icon-source: url("img/checkbox-mixed-insensitive.png"); } radio, +.radio, radio row:selected, radio row:selected:focus { -gtk-icon-source: url("img/radio-unchecked.png"); } radio:hover, +.radio:hover, radio row:selected:hover, radio row:selected:focus:hover { -gtk-icon-source: url("img/radio-unchecked-hover.png"); } radio:disabled, +.radio:disabled, radio row:selected:disabled, radio row:selected:focus:disabled { -gtk-icon-source: url("img/radio-unchecked-insensitive.png"); } radio:checked, +.radio:checked, radio row:selected:checked, -radio row:selected:focus:checked, -radio:active, -radio row:selected:active, -radio row:selected:focus:active { +radio row:selected:focus:checked { -gtk-icon-source: url("img/radio-checked.png"); } radio:checked:hover, +.radio:checked:hover, radio row:selected:checked:hover, -radio row:selected:focus:checked:hover, -radio:active:hover, -radio row:selected:active:hover, -radio row:selected:focus:active:hover { +radio row:selected:focus:checked:hover { -gtk-icon-source: url("img/radio-checked-hover.png"); } radio:checked:disabled, +.radio:checked:disabled, radio row:selected:checked:disabled, -radio row:selected:focus:checked:disabled, -radio:active:disabled, -radio row:selected:active:disabled, -radio row:selected:focus:active:disabled { +radio row:selected:focus:checked:disabled { -gtk-icon-source: url("img/radio-checked-insensitive.png"); } radio:indeterminate, +.radio:indeterminate, radio row:selected:indeterminate, radio row:selected:focus:indeterminate { -gtk-icon-source: url("img/radio-mixed.png"); } radio:indeterminate:hover, +.radio:indeterminate:hover, radio row:selected:indeterminate:hover, radio row:selected:focus:indeterminate:hover { -gtk-icon-source: url("img/radio-mixed-hover.png"); } radio:indeterminate:disabled, +.radio:indeterminate:disabled, radio row:selected:indeterminate:disabled, radio row:selected:focus:indeterminate:disabled { -gtk-icon-source: url("img/radio-mixed-insensitive.png"); diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 2f1e8c10..d69fc62b 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -2366,23 +2366,29 @@ menuitem separator { to (alpha (#000, 0.00))) 1; } +/* style classes are for firefox */ menuitem check, menuitem radio, menuitem check:hover, menuitem radio:hover, +menuitem check:checked, +menuitem radio:checked, menuitem check:disabled, -menuitem radio:disabled { +menuitem radio:disabled, +menu menuitem .check, +menu menuitem .radio, +menu menuitem .check:hover, +menu menuitem .radio:hover, +menu menuitem .check:checked, +menu menuitem .radio:checked, +menu menuitem .check:disabled, +menu menuitem .radio:disabled { background-image: none; background-color: transparent; min-height: 12px; min-width: 12px; } -menuitem check:active, -menuitem radio:active { - background-color: transparent; -} - /*************** * Menu Button * ***************/ -- cgit v1.2.1