[gtk+/gtk-3-16] HC: tone down backdrop for gtk switches
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] HC: tone down backdrop for gtk switches
- Date: Mon, 11 May 2015 18:23:31 +0000 (UTC)
commit 32e7d5ae59323495814da63591790eea87e3bca7
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Apr 27 17:33:40 2015 +0200
HC: tone down backdrop for gtk switches
https://bugzilla.gnome.org/show_bug.cgi?id=746925
gtk/theme/HighContrast/_common.scss | 8 ++++----
gtk/theme/HighContrast/gtk.css | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 2b786f8..e15048a 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1447,9 +1447,9 @@ GtkSwitch {
box-shadow: none;
text-shadow: none;
&:active {
- color: $backdrop_bg_color;
- border-color: $selected_bg_color;
- background-color: $selected_bg_color;
+ color: $selected_fg_color;
+ border-color: $backdrop_borders_color;
+ background-color: $backdrop_borders_color;
box-shadow: none;
}
&:insensitive, &:insensitive:active {
@@ -1474,7 +1474,7 @@ GtkSwitch {
&:active { border-color: $selected_borders_color; }
&:insensitive { @include button(insensitive, $edge: none); }
&:backdrop { @include button(backdrop);
- &:active{ border-color: $selected_bg_color; }
+ &:active{ border-color: $backdrop_borders_color; }
&:insensitive {
@include button(backdrop-insensitive);
}
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 7a909d1..d4bda5c 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -1648,8 +1648,8 @@ GtkSwitch {
text-shadow: none; }
GtkSwitch.trough:backdrop:active {
color: #fff;
- border-color: #000;
- background-color: #000;
+ border-color: #8b8b8b;
+ background-color: #8b8b8b;
box-shadow: none; }
GtkSwitch.trough:backdrop:insensitive, GtkSwitch.trough:backdrop:insensitive:active {
background-color: white;
@@ -1693,7 +1693,7 @@ GtkSwitch {
text-shadow: none;
icon-shadow: none; }
GtkSwitch.slider:backdrop:active {
- border-color: #000; }
+ border-color: #8b8b8b; }
GtkSwitch.slider:backdrop:insensitive {
border-width: 2px;
border-style: solid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]