[gnome-themes-standard] Use selection color as basis for progressbar fill color
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Use selection color as basis for progressbar fill color
- Date: Wed, 7 May 2014 13:57:24 +0000 (UTC)
commit 1da3ab0496f00060431a9be0b2b272c9d436a543
Author: William Jon McCann <william jon mccann gmail com>
Date: Wed May 7 06:14:53 2014 -0400
Use selection color as basis for progressbar fill color
themes/Adwaita/gtk-3.0/gtk-main-dark.css | 1 -
themes/Adwaita/gtk-3.0/gtk-main.css | 7 +++----
themes/Adwaita/gtk-3.0/gtk-widgets.css | 25 ++-----------------------
3 files changed, 5 insertions(+), 28 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index 89af855..fff1ca7 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -77,7 +77,6 @@
@define-color progressbar_background_a shade(@theme_selected_bg_color, 1.15);
@define-color progressbar_background_b shade(@theme_selected_bg_color, 0.8);
- define-color progressbar_pattern @progressbar_background_b;
@define-color progressbar_border shade(@trough_active_bg_a, 0.60);
@define-color progressbar_unfocused_background @unfocused_borders;
@define-color progressbar_unfocused_border @theme_unfocused_fg_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index 36b43aa..1ea7553 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -75,10 +75,9 @@
@define-color switch_slider_color #eeeeec;
- define-color progressbar_background_a #76b0ec;
- define-color progressbar_background_b #1f72c6;
- define-color progressbar_pattern #2a79cb;
- define-color progressbar_border @progressbar_pattern;
+ define-color progressbar_background_a shade(@theme_selected_bg_color, 1.15);
+ define-color progressbar_background_b shade(@theme_selected_bg_color, 0.8);
+ define-color progressbar_border shade(@trough_active_bg_a, 0.60);
@define-color progressbar_unfocused_background @unfocused_dark_bg;
@define-color progressbar_unfocused_border @unfocused_borders;
@define-color progressbar_unfocused_trough @theme_unfocused_bg_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index cc7f1b7..f9825d6 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -947,36 +947,15 @@ GtkColorButton.button {
.progressbar row:hover,
.progressbar row:selected,
.progressbar row:selected:focus {
- background-image: linear-gradient(to left top,
- alpha (@progressbar_pattern, 0.25),
- alpha (@progressbar_pattern, 0.25) 25%,
- transparent 25%,
- transparent 50%,
- alpha (@progressbar_pattern, 0.25) 50%,
- alpha (@progressbar_pattern, 0.25) 75%,
- transparent 75%,
- transparent
- ),
- linear-gradient(to bottom,
+ background-image: linear-gradient(to bottom,
@progressbar_background_a,
@progressbar_background_b 75%,
shade(@progressbar_background_a, 0.85)
);
- background-size: 40px 40px, auto;
- box-shadow: inset 1px 1px alpha(white, 0.2), inset -1px -1px alpha(white, 0.1);
}
.progressbar.vertical {
- background-image: linear-gradient(to right top,
- alpha (@progressbar_pattern, 0.25),
- alpha (@progressbar_pattern, 0.25) 25%,
- transparent 25%,
- transparent 50%,
- alpha (@progressbar_pattern, 0.25) 50%,
- alpha (@progressbar_pattern, 0.25) 75%,
- transparent 75%,
- transparent),
- linear-gradient(to right,
+ background-image: linear-gradient(to right,
@progressbar_background_a,
@progressbar_background_b 75%,
shade(@progressbar_background_a, 0.85)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]