[gnome-themes-standard] Fix level bar troughs
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Fix level bar troughs
- Date: Tue, 6 May 2014 22:23:22 +0000 (UTC)
commit 9b5a43ac06c9942f4d24eb888505fab1d6e9ecef
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue May 6 07:02:17 2014 -0400
Fix level bar troughs
themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css | 12 +--------
themes/Adwaita/gtk-3.0/gtk-widgets.css | 27 ++++++++++++++++++++
2 files changed, 28 insertions(+), 11 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index c6a8124..c82c687 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -130,8 +130,7 @@
GtkComboBox.combobox-entry .button,
GtkComboBox.combobox-entry .button:hover,
.primary-toolbar GtkComboBox.combobox-entry .button,
-.primary-toolbar GtkComboBox.combobox-entry .button:hover,
-.level-bar.trough {
+.primary-toolbar GtkComboBox.combobox-entry .button:hover {
background-image: linear-gradient(to bottom,
@entry_background_a,
@entry_background_b
@@ -159,19 +158,11 @@ column-header .button:active:hover {
inset 0 2px alpha(@entry_inset, 0.4);
}
-/* Insensitive entry background */
-.level-bar.trough:insensitive {
- background-color: @insensitive_bg_color;
- background-image: none;
- box-shadow: none;
-}
-
/* Unfocused windows entry background */
column-header.button:backdrop,
column-header .button:backdrop,
column-header.button:insensitive:backdrop,
column-header .button:insensitive:backdrop,
-.level-bar.trough:backdrop,
.spinbutton.vertical.entry:backdrop {
background-image: none;
background-color: @theme_unfocused_base_color;
@@ -179,7 +170,6 @@ column-header .button:insensitive:backdrop,
}
/* Unfocused windows insensitive entry background */
-.level-bar.trough:insensitive:backdrop,
.spinbutton.vertical.entry:insensitive:backdrop {
background-image: none;
background-color: @unfocused_insensitive_bg_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 728f963..688cdec 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -897,8 +897,35 @@ GtkLevelBar.vertical {
.level-bar.trough {
padding: 2px;
+ background-image: linear-gradient(to bottom,
+ @entry_background_a,
+ @entry_background_b
+ );
+ box-shadow: inset 0 2px 2px alpha(@borders, 0.3),
+ inset .5px .5px alpha(@borders, 0.9),
+ inset -.5px .5px alpha(@borders, 0.9),
+ inset .5px -.5px alpha(@borders, 0.9),
+ inset -.5px -.5px alpha(@borders, 0.9);
+}
+
+.level-bar.trough:insensitive {
+ background-color: @insensitive_bg_color;
+ background-image: none;
+}
+
+.level-bar.trough:backdrop {
+ background-image: none;
+ background-color: @theme_unfocused_base_color;
+ box-shadow: inset .5px .5px alpha(@borders, 0.9),
+ inset -.5px .5px alpha(@borders, 0.9),
+ inset .5px -.5px alpha(@borders, 0.9),
+ inset -.5px -.5px alpha(@borders, 0.9);
}
+.level-bar.trough:insensitive:backdrop {
+ background-image: none;
+ background-color: @unfocused_insensitive_bg_color;
+}
.level-bar.fill-block {
border-width: 1px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]