[gnome-themes-standard] csd: fix hover for dark theme
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] csd: fix hover for dark theme
- Date: Thu, 22 Aug 2013 15:50:17 +0000 (UTC)
commit 35831d6aa44c3a9d2fdeba95e021d2947112db27
Author: Jakub Steiner <jimmac gmail com>
Date: Thu Aug 22 17:47:26 2013 +0200
csd: fix hover for dark theme
- use the existing style separation too - borders
are defined separately from fills.
https://bugzilla.gnome.org/show_bug.cgi?id=706571
.../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css | 4 +++-
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 4 +++-
themes/Adwaita/gtk-3.0/gtk-widgets.css | 1 -
3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
index f1a21fe..14bc5c3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -15,7 +15,9 @@ GtkComboBox.combobox-entry .button,
.trough,
.trough.highlight,
GtkSwitch.trough,
-GtkSwitch.trough:active:insensitive {
+GtkSwitch.trough:active:insensitive,
+.titlebar .titlebutton:hover,
+.titlebar .titlebutton:active {
border-image: -gtk-scaled(url("borders/generic-border-dark.png"),url("borders/generic-border-dark 2
png")) 3 3 4 3 / 3px 3px 4px 3px stretch;
border-radius: 3px;
border-width: 1px 1px 2px 1px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 0138b85..c5a16b5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -15,7 +15,9 @@ GtkComboBox.combobox-entry .button,
.trough,
.trough.highlight,
GtkSwitch.trough,
-GtkSwitch.trough:active:insensitive {
+GtkSwitch.trough:active:insensitive,
+.titlebar .titlebutton:hover,
+.titlebar .titlebutton:active {
border-image: -gtk-scaled(url("borders/generic-border.png"),url("borders/generic-border 2 png")) 3 3 4 3
/ 3px 3px 4px 3px stretch;
border-radius: 3px;
border-width: 1px 1px 2px 1px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index ea404c6..a811d49 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -4097,7 +4097,6 @@ GtkBubbleWindow .toolbar {
background-image: linear-gradient(to bottom,
@button_hover_gradient_color_a,
@button_hover_gradient_color_b);
- border-image: -gtk-scaled(url("borders/generic-border.png"),url("borders/generic-border 2 png")) 3 3 4 3
/ 3px 3px 4px 3px stretch;
}
.titlebar .titlebutton:active {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]