[gnome-themes-standard/gnome-3-8] gtk3: simplify CSS a bit
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/gnome-3-8] gtk3: simplify CSS a bit
- Date: Mon, 15 Apr 2013 22:09:47 +0000 (UTC)
commit bb75e923b045a6edba07c4c93399c957156601f6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 9 14:09:36 2013 -0400
gtk3: simplify CSS a bit
themes/Adwaita/gtk-3.0/gtk-main-dark.css | 2 +-
themes/Adwaita/gtk-3.0/gtk-widgets.css | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index 08b343a..33c1301 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -54,7 +54,7 @@
@define-color insensitive_fg_color #535555;
@define-color insensitive_bg_color mix(@theme_bg_color, @theme_base_color, 0.6);
@define-color insensitive_borders @borders;
- define-color insensitive_scale_borders #535555;
+ define-color insensitive_scale_borders @insensitive_fg_color;
@define-color trough_bg_color_a #30312f;
@define-color trough_bg_color_b #41433f;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index ceaf739..6c39933 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3461,15 +3461,11 @@ GtkSwitch.slider {
GtkSwitch.slider:insensitive {
background-image: none;
- border-color: @insensitive_border_color;
+ border-color: mix(@insensitive_bg_color, @insensitive_fg_color, 0.5);
box-shadow: none;
}
-GtkSwitch.slider:insensitive {
- border-color: mix(@insensitive_bg_color, @insensitive_fg_color, 0.5);
-}
-
GtkSwitch.slider:backdrop {
background-color: @theme_unfocused_base_color;
background-image: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]