summaryrefslogtreecommitdiff
path: root/desktop-themes/BlueMenta/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-09-12 22:40:45 +0200
committerraveit65 <[email protected]>2014-09-12 22:40:45 +0200
commita7f4ecb1a26ae864f28b75ed65e32261e07deefa (patch)
tree725fa5118ef374a58158847f39d8316f64b2e52f /desktop-themes/BlueMenta/gtk-3.0
parent97aba4e6e2e6b5ee173d7b8076733929db0db3e1 (diff)
downloadmate-themes-a7f4ecb1a26ae864f28b75ed65e32261e07deefa.tar.bz2
mate-themes-a7f4ecb1a26ae864f28b75ed65e32261e07deefa.tar.xz
BlueMenta, GTK3-3.14: adjust to GTK3-3.13 changes
https://git.gnome.org/browse/gtk+/commit/?id=4e077d4638b4ecfaf67afbab5082b9d47499af4f https://bugzilla.redhat.com/show_bug.cgi?id=1136994 - GtkCheckButton - GtkRadioButton
Diffstat (limited to 'desktop-themes/BlueMenta/gtk-3.0')
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css21
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css98
2 files changed, 90 insertions, 29 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css
index 76c2a67b..089e6397 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css
@@ -65,24 +65,26 @@ GtkModelButton.button.check:insensitive,
background-color: transparent;
}
+GtkModelButton.button.check:checked,
GtkModelButton.button.check:active,
GtkModelButton.button.check:active:hover,
+.check:checked,
.check:active,
.view.cell.check:active {
- background-image: url("assets/check-active.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-active.png"));
}
GtkModelButton.button.check:active:insensitive,
.check:active:insensitive {
- background-image: url("assets/check-active-ins.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-active-ins.png"));
}
.check:inconsistent {
- background-image: url("assets/check-mixed-active.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-mixed-active.png"));
}
.check:inconsistent:insensitive {
- background-image: url("assets/check-mixed-active-ins.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-mixed-active-ins.png"));
}
GtkModelButton.button.radio,
@@ -96,28 +98,29 @@ GtkModelButton.button.radio:hover,
GtkModelButton.button.radio:insensitive,
.radio:insensitive {
- background-image: url("assets/radio-normal-ins.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-normal-ins.png"));
}
.radio row:insensitive {
background-color: transparent;
}
+.radio:checked,
.radio:active,
.view.cell.radio:active {
- background-image: url("assets/radio-active.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-active.png"));
}
.radio:active:insensitive {
- background-image: url("assets/radio-active-ins.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-active-ins.png"));
}
.radio:inconsistent {
- background-image: url("assets/radio-mixed-active.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-active.png"));
}
.radio:inconsistent:insensitive {
- background-image: url("assets/radio-mixed-active-ins.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-active-ins.png"));
}
.sidebar .view.radio:active,
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
index a2b00f11..06a49a85 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
@@ -2220,24 +2220,75 @@ GtkMenuButton .menu {
text-shadow: none;
}
-/****************
- * Radiobuttons *
- ****************/
-
-.check,
-.radio,
-.check:insensitive,
-.radio:insensitive {
- background-color: transparent;
- border-style: none;
-}
-
-GtkCheckButton:hover,
-GtkCheckButton:active:hover,
-GtkCheckButton:selected,
-GtkCheckButton:selected:focus {
- background-color: transparent;
-}
+/*****************************************************************************************************
+ * Check and Radio items *
+ * Related to recent gtk3 development, to reveal checkboxes as part of the dialogue *
+ * of some of the applications whose notification icons appear in the system tray *
+ * the reference section of the HighContrast theme is used. *
+ * https://git.gnome.org/browse/gnome-themes-standard/tree/themes/HighContrast/gtk-3.0/gtk.css#n1398 *
+ *****************************************************************************************************/
+
+GtkCheckButton.text-button, GtkRadioButton.text-button {
+ padding: 1px;
+ outline-offset: 0; }
+
+.check {
+ color: rgba(0, 0, 0, 0.1);
+ background-image: none;
+ -gtk-icon-source: -gtk-scaled(url("assets/check-normal.png")); }
+ .check:hover {
+ color: #7f7f7f; }
+ .check:checked, .check:active {
+ -gtk-icon-source: -gtk-scaled(url("assets/check-active.png"));
+ color: #000; }
+ .check:checked:hover, .check:active:hover {
+ color: #7f7f7f; }
+ .check:checked:insensitive, .check:active:insensitive {
+ -gtk-icon-source: -gtk-scaled(url("assets/check-active-ins.png"));
+ color: #7f7f7f; }
+ .check:checked:insensitive:backdrop, .check:active:insensitive:backdrop {
+ color: #7f7f7f; }
+ .check:checked:backdrop, .check:active:backdrop {
+ color: #000; }
+ .check:insensitive {
+ color: rgba(127, 127, 127, 0.1); }
+ .check:insensitive:backdrop {
+ color: transparent; }
+ .check:inconsistent {
+ -gtk-icon-source: -gtk-scaled(url("assets/check-mixed-active.png")); }
+ .check:backdrop {
+ color: rgba(0, 0, 0, 0.1); }
+ .check:backdrop:selected {
+ color: rgba(255, 255, 255, 0.1); }
+
+.radio {
+ color: rgba(0, 0, 0, 0.1);
+ background-image: none;
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-normal.png")); }
+ .radio:hover {
+ color: #7f7f7f; }
+ .radio:checked, .radio:active {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-active.png"));
+ color: #000; }
+ .radio:checked:hover, .radio:active:hover {
+ color: #7f7f7f; }
+ .radio:checked:insensitive, .radio:active:insensitive {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-active-ins.png"));
+ color: #7f7f7f; }
+ .radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop {
+ color: #7f7f7f; }
+ .radio:checked:backdrop, .radio:active:backdrop {
+ color: #000; }
+ .radio:insensitive {
+ color: rgba(127, 127, 127, 0.1); }
+ .radio:insensitive:backdrop {
+ color: transparent; }
+ .radio:inconsistent {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-active-ins.png")); }
+ .radio:backdrop {
+ color: rgba(0, 0, 0, 0.1); }
+ .radio:backdrop:selected {
+ color: rgba(255, 255, 255, 0.1); }
/************
* Toolbars *
@@ -3671,13 +3722,19 @@ GtkModelButton.button:selected {
icon-shadow: none;
}
+/****************************************************************************************
+ * Give and take related to recent gtk3 development, *
+ * to achieve full size of the icon menu of some of the applications whose notification *
+ * icons appear in the system tray, the "shadow" is disabled. *
+ ****************************************************************************************/
+/*
.window-frame {
border-radius: 6px 6px 0 0;
- /* lamefun trick to get rounded borders regardless of CSD use */
+ * lamefun trick to get rounded borders regardless of CSD use
border-width: 0px;
box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;
- /* this is used for the resize cursor area */
+ * this is used for the resize cursor area
margin: 10px;
}
@@ -3689,4 +3746,5 @@ GtkModelButton.button:selected {
.window-frame:backdrop {
box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;
}
+*/