summaryrefslogtreecommitdiff
path: root/desktop-themes/Shiny
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-09-12 22:45:25 +0200
committerraveit65 <[email protected]>2014-10-18 14:12:12 +0200
commite7b8057cfed90272c5df62f2f36a7951bb2fb025 (patch)
tree4c037a1a5fc857b9221c4917df6268598fd030a1 /desktop-themes/Shiny
parentec4706be7492d6ef7a8332318ea2f66668c23eeb (diff)
downloadmate-themes-e7b8057cfed90272c5df62f2f36a7951bb2fb025.tar.bz2
mate-themes-e7b8057cfed90272c5df62f2f36a7951bb2fb025.tar.xz
Shiny, 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/Shiny')
-rw-r--r--desktop-themes/Shiny/gtk-3.0/gtk-widgets-assets.css24
-rw-r--r--desktop-themes/Shiny/gtk-3.0/gtk-widgets.css92
2 files changed, 82 insertions, 34 deletions
diff --git a/desktop-themes/Shiny/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/Shiny/gtk-3.0/gtk-widgets-assets.css
index 8d852f55..2fcc79c3 100644
--- a/desktop-themes/Shiny/gtk-3.0/gtk-widgets-assets.css
+++ b/desktop-themes/Shiny/gtk-3.0/gtk-widgets-assets.css
@@ -38,7 +38,7 @@
}
.check:insensitive {
- background-image: url("assets/check-unselected.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-unselected.png"));
}
.check row:insensitive {
@@ -78,8 +78,9 @@
background-image: url("assets/check-unselected-disabled.png");
}
+.check:checked,
.check:active {
- background-image: url("assets/check-selected.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-selected.png"));
}
.check:active:hover {
@@ -99,7 +100,7 @@
}
.check:active:insensitive {
- background-image: url("assets/check-selected-disabled.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-selected-disabled.png"));
}
.check row:active:insensitive,
@@ -135,7 +136,7 @@
}
.check:inconsistent {
- background-image: url("assets/check-mixed.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-mixed.png"));
}
.check:inconsistent:hover {
@@ -155,7 +156,7 @@
}
.check:inconsistent:insensitive {
- background-image: url("assets/check-mixed-disabled.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/check-mixed-disabled.png"));
}
.check row:inconsistent:insensitive,
@@ -191,7 +192,7 @@
}
.radio {
- background-image: url("assets/radio-unselected.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected.png"));
}
.radio:hover {
@@ -211,7 +212,7 @@
}
.radio:insensitive {
- background-image: url("assets/radio-unselected-disabled.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-unselected-disabled.png"));
}
.radio row:insensitive {
@@ -250,8 +251,9 @@
background-image: url("assets/radio-unselected-disabled.png");
}
+.radio:checked,
.radio:active {
- background-image: url("assets/radio-selected.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.png"));
}
.radio:active:hover {
@@ -271,7 +273,7 @@
}
.radio:active:insensitive {
- background-image: url("assets/radio-selected-disabled.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected-disabled.png"));
}
.radio row:insensitive,
@@ -307,7 +309,7 @@
}
.radio:inconsistent {
- background-image: url("assets/radio-mixed.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed.png"));
}
.radio:inconsistent:hover {
@@ -327,7 +329,7 @@
}
.radio:inconsistent:insensitive {
- background-image: url("assets/radio-mixed-disabled.png");
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-disabled.png"));
}
.radio row:inconsistent:insensitive,
diff --git a/desktop-themes/Shiny/gtk-3.0/gtk-widgets.css b/desktop-themes/Shiny/gtk-3.0/gtk-widgets.css
index 97c86cf3..a0429da9 100644
--- a/desktop-themes/Shiny/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Shiny/gtk-3.0/gtk-widgets.css
@@ -664,29 +664,75 @@ row:selected:backdrop {
/*text-shadow: 0 -1px shade (@selected_bg_color, 0.7);*/
}
-/*******************
- * check and radio *
- *******************/
-.check,
-.radio,
-.check:insensitive,
-.radio:insensitive {
-
- background-color: transparent;
- border-style: none;
- margin: 1px 0;
-}
-
-GtkCheckButton:hover,
-GtkCheckButton:active:hover,
-GtkCheckButton:selected,
-GtkCheckButton:selected:focus {
- background-color: transparent;
-}
-
-.menu .radio * {
- box-shadow: none;
-}
+/*****************************************************************************************************
+ * 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-unselected.png")); }
+ .check:hover {
+ color: #7f7f7f; }
+ .check:checked, .check:active {
+ -gtk-icon-source: -gtk-scaled(url("assets/check-selected.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-selected-disabled.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.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-unselected.png")); }
+ .radio:hover {
+ color: #7f7f7f; }
+ .radio:checked, .radio:active {
+ -gtk-icon-source: -gtk-scaled(url("assets/radio-selected.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-selected-disabled.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.png")); }
+ .radio:backdrop {
+ color: rgba(0, 0, 0, 0.1); }
+ .radio:backdrop:selected {
+ color: rgba(255, 255, 255, 0.1); }
/*****************
* column-header *