summaryrefslogtreecommitdiff
path: root/desktop-themes/Menta/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-27 16:26:25 +0200
committerraveit65 <[email protected]>2016-04-27 16:26:25 +0200
commit8bdfbdac9289885bb15e37a32d6560281b9747af (patch)
tree0534cacf4bf028df56d6203946f754800b9be6af /desktop-themes/Menta/gtk-3.0
parent42f6b57c10b561d59f65234b2388cc12fc26e45a (diff)
downloadmate-themes-8bdfbdac9289885bb15e37a32d6560281b9747af.tar.bz2
mate-themes-8bdfbdac9289885bb15e37a32d6560281b9747af.tar.xz
GTK+-3.20 Menta themes: fix for check and radio boxes in firefox
Diffstat (limited to 'desktop-themes/Menta/gtk-3.0')
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css15
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css64
2 files changed, 47 insertions, 32 deletions
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css
index fe71530b..6451b88d 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css
@@ -36,15 +36,18 @@ headerbar > box > separator.vertical {
*************************/
/* draw regular check and radio items using our SVG assets */
+/* old syntax is for broken firefox */
check,
+.check,
check .view.cell {
-gtk-icon-source: -gtk-scaled(url("assets/check-normal.png"));
background-repeat: no-repeat;
background-position: center;
}
-check:disabled {
+check:disabled,
+.check {
-gtk-icon-source: -gtk-scaled(url("assets/check-normal-ins.png"));
}
@@ -52,14 +55,11 @@ check row:disabled {
background-color: transparent;
}
-check:active,
check:checked,
-.view.cell check:active,
.view.cell check:checked {
-gtk-icon-source: -gtk-scaled(url("assets/check-active.png"));
}
-check:active:disabled,
check:checked:disabled {
-gtk-icon-source: -gtk-scaled(url("assets/check-active-ins.png"));
}
@@ -73,13 +73,15 @@ check:indeterminate:disabled {
}
radio,
+.radio,
.view.cell radio {
-gtk-icon-source: -gtk-scaled(url("assets/radio-normal.png"));
background-repeat: no-repeat;
background-position: center;
}
-radio:disabled {
+radio:disabled,
+.radio {
-gtk-icon-source: -gtk-scaled(url("assets/radio-normal-ins.png"));
}
@@ -87,14 +89,11 @@ radio row:disabled {
background-color: transparent;
}
-radio:active,
-.view.cell radio:active,
radio:checked,
.view.cell radio:checked {
-gtk-icon-source: -gtk-scaled(url("assets/radio-active.png"));
}
-radio:active:disabled,
radio:checked:disabled {
-gtk-icon-source: -gtk-scaled(url("assets/radio-active-ins.png"));
}
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
index 4a6d01a8..e7f69284 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
@@ -2950,12 +2950,22 @@ menuitem separator {
color: @menu_separator;
}
+/* mix of old and new syntax is for broken firefox */
menuitem check,
menuitem radio,
menuitem check:hover,
menuitem radio:hover,
+menuitem check: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;
@@ -2964,49 +2974,55 @@ menuitem radio:disabled {
}
menuitem check:checked,
-menuitem radio:checked {
- background-color: transparent;
-}
-
-menuitem check:checked {
+menu menuitem .check:checked {
-gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-checked.svg"));
}
-menuitem check:checked:hover {
+menuitem check:checked:hover,
+menu menuitem .check:checked:hover {
-gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-checked-selected.svg"));
}
-menuitem check:checked:disabled {
+menuitem check:checked:disabled,
+menu menuitem .check:checked:disabled {
-gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-checked-insensitive.svg"));
}
-menuitem check:indeterminate,
-menuitem radio:indeterminate {
- -gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-mixed.svg"));
+menuitem radio:checked,
+menu menuitem .radio:checked {
+ -gtk-icon-source: -gtk-scaled(url("assets/menuitem-radio-checked.svg"));
}
-menuitem check:indeterminate:disabled,
-menuitem radio:indeterminate:disabled {
- -gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-mixed-insensitive.svg"));
+menuitem radio:checked:hover,
+menu menuitem .radio:checked:hover {
+ -gtk-icon-source: -gtk-scaled(url("assets/menuitem-radio-checked-selected.svg"));
}
-menuitem check:indeterminate:hover,
-menuitem radio:indeterminate:hover {
- -gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-mixed-selected.svg"));
+menuitem radio:checked:disabled,
+menu menuitem .radio:checked:disabled {
+ -gtk-icon-source: -gtk-scaled(url("assets/menuitem-radio-checked-insensitive.svg"));
}
-menuitem radio:checked {
- -gtk-icon-source: -gtk-scaled(url("assets/menuitem-radio-checked.svg"));
+menuitem check:indeterminate,
+menuitem radio:indeterminate,
+menu menuitem .check:indeterminate,
+menu menuitem .radio:indeterminate {
+ -gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-mixed.svg"));
}
-menuitem radio:checked:hover {
- -gtk-icon-source: -gtk-scaled(url("assets/menuitem-radio-checked-selected.svg"));
+menuitem check:indeterminate:disabled,
+menuitem radio:indeterminate:disabled,
+menu menuitem .check:indeterminate:disabled,
+menu menuitem .radio:indeterminate:disabled {
+ -gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-mixed-insensitive.svg"));
}
-menuitem radio:checked:disabled {
- -gtk-icon-source: -gtk-scaled(url("assets/menuitem-radio-checked-insensitive.svg"));
+menuitem check:indeterminate:hover,
+menuitem radio:indeterminate:hover,
+menu menuitem .check:indeterminate:hover,
+menu menuitem .radio:indeterminate:hover {
+ -gtk-icon-source: -gtk-scaled(url("assets/menuitem-checkbox-mixed-selected.svg"));
}
-
/***************
* Menu Button *
***************/