summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-27 21:42:26 +0200
committerraveit65 <[email protected]>2016-04-27 21:42:26 +0200
commit33f7cba707b37c2801ae401ee56df977a93e81b8 (patch)
tree8e5ab9a1b3c9823be72d8198149edba57eff1c39
parent26e2ddefe1752b6d049731a80e243d7ad4ab29fc (diff)
downloadmate-themes-33f7cba707b37c2801ae401ee56df977a93e81b8.tar.bz2
mate-themes-33f7cba707b37c2801ae401ee56df977a93e81b8.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.css63
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"));
}