diff options
author | raveit65 <[email protected]> | 2016-04-27 21:42:26 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-04-27 21:43:36 +0200 |
commit | 69fd74c442b14bcc6a7af8bbf05c490b0bf42018 (patch) | |
tree | 8e5ab9a1b3c9823be72d8198149edba57eff1c39 | |
parent | 2bf62336c3e75f600833071d8b98e90cf261eec2 (diff) | |
download | mate-themes-69fd74c442b14bcc6a7af8bbf05c490b0bf42018.tar.bz2 mate-themes-69fd74c442b14bcc6a7af8bbf05c490b0bf42018.tar.xz |
GTK+-3.20 GreenLaguna: fix check and radio boxes for firefox
-rw-r--r-- | desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css | 63 |
1 files changed, 51 insertions, 12 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css index 26fc8e21..39140a00 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css @@ -131,51 +131,90 @@ popover.scale-popup button.flat.image-button:hover { * Check and Radio items * *************************/ -menuitem radio:checked { +/* mix of old and new syntax is for broken firefox */ + +menuitem radio, +menuitem radio:hover, +menuitem radio:disabled, +menuitem check, +menuitem check:hover, +menuitem check:disabled, +menu menuitem .radio, +menu menuitem .radio:hover, +menu menuitem .radio:disabled, +menu menuitem .check, +menu menuitem .check:hover, +menu menuitem .check:disabled { + background-color: transparent; + background-image: none; + border-style: none; + border-image: none; + min-height: 12px; + min-width: 12px; +} + +menuitem radio:checked, +menu menuitem .radio:checked { -gtk-icon-source: -gtk-scaled(url("assets/radio-menuitem-checked.svg")); } -menuitem radio:hover:active { +menuitem radio:checked:hover, +menu menuitem .radio:checked:hover { -gtk-icon-source: -gtk-scaled(url("assets/radio-menuitem-checked-prelight.svg")); } -menuitem radio:checked:disabled { +menuitem radio:checked:disabled, +menu menuitem .radio:checked:disabled { -gtk-icon-source: -gtk-scaled(url("assets/radio-menuitem-checked-insensitive.svg")); } -menuitem radio:indeterminate { +menuitem radio:indeterminate, +menu menuitem .radio:indeterminate { -gtk-icon-source: -gtk-scaled(url("assets/radio-menuitem-mixed.svg")); } -menuitem radio:indeterminate:hover { +menuitem radio:indeterminate:hover, +menu menuitem .radio:indeterminate:hover { -gtk-icon-source: -gtk-scaled(url("assets/radio-menuitem-mixed-prelight.svg")); } -menuitem radio:indeterminate:disabled { +menuitem radio:indeterminate:disabled, +menu menuitem .radio:indeterminate:disabled { -gtk-icon-source: -gtk-scaled(url("assets/radio-menuitem-mixed-insensitive.svg")); } -.menuitem check:checked { +menuitem check, +menu menuitem .check { + -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.svg")); +} + +menuitem check:checked, +menu menuitem .check:checked { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-menuitem-checked.svg")); } -.menuitem check:hover:active { +menuitem check:checked:hover, +menu menuitem .check:checked:hover { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-menuitem-checked-prelight.svg")); } -.menuitem check:checked:disabled { +menuitem check:checked:disabled, +menu menuitem .check:checked:disabled { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-menuitem-checked-insensitive.svg")); } -.menuitem check:indeterminate { +menuitem check:indeterminate, +menu menuitem .check:indeterminate { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-menuitem-mixed.svg")); } -.menuitem check:indeterminate:hover { +menuitem check:indeterminate:hover, +menu menuitem .check:indeterminate:hover { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-menuitem-mixed-prelight.svg")); } -.menuitem check:indeterminate:disabled { +menuitem check:indeterminate:disabled, +menu menuitem .check:indeterminate:disabled { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-menuitem-mixed-insensitive.svg")); } |