[gnome-themes-standard] Buttons - clearlooks seems broken though
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Buttons - clearlooks seems broken though
- Date: Tue, 14 Dec 2010 14:09:48 +0000 (UTC)
commit 8d6e88db7a616c4466a2a4ae558d9909bc945276
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Dec 14 14:23:54 2010 +0100
Buttons - clearlooks seems broken though
- normal state seems to be flipped with active?
themes/Adwaita/gtk-3.0/gtk.css | 40 +++++++++++++++++++++-------------------
1 files changed, 21 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 8a8ef1a..db020aa 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -170,11 +170,12 @@ GtkNotebook,
padding: 3;
border-style: solid;
border-radius: 0;
+ /* engine: clearlooks; currently breaks */
}
GtkNotebook tab {
padding: 0;
- border-radius: 2;
+ border-radius: 2;
}
GtkNotebook tab:active {
@@ -211,6 +212,7 @@ GtkScrollbar {
*/
.button {
+ engine: clearlooks; /* for focus rings */
padding: 3;
-clearlooks-focus-color: mix (@bg_color, @selected_bg_color, 0.5);
-clearlooks-focus-fill-color: alpha (@selected_bg_color, 0.05);
@@ -221,24 +223,24 @@ GtkScrollbar {
border-radius: 3;
}
-.button:prelight:active {
- background-image: -gtk-gradient (linear,
- left top, left bottom,
- from (shade (@bg_color, 0.86)),
- to (shade (@bg_color, 1.09)));
-}
-
-.button:prelight {
- background-image: -gtk-gradient (linear,
- left top, left bottom,
- from (shade (@bg_color, 1.12)),
- to (shade (@bg_color, 1.03)));
-}
-
-.button:insensitive {
- background-image: none;
- background-color: @bg_color;
-}
+ .button:prelight:active {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@bg_color, 0.86)),
+ to (shade (@bg_color, 1.09)));
+ }
+
+ .button:prelight {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@bg_color, 1.12)),
+ to (shade (@bg_color, 1.03)));
+ }
+
+ .button:insensitive {
+ background-image: none;
+ background-color: @bg_color;
+ }
GtkStatusbar {
padding: 5;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]