[gtk+/scrollable-indicator] Adwaita: increase scrollbar slider contrast
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/scrollable-indicator] Adwaita: increase scrollbar slider contrast
- Date: Wed, 12 Nov 2014 12:06:07 +0000 (UTC)
commit 856f1048f88817e10e87ce23fc1572ea5f33fef5
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sat Nov 8 17:35:52 2014 +0100
Adwaita: increase scrollbar slider contrast
gtk/resources/theme/Adwaita/_common.scss | 8 ++++----
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++---
gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 5621575..f13b02f 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1925,14 +1925,14 @@ column-header.button.dnd { // for treeview-like derive widgets
.slider {
border-color: transparent;
border-style: solid;
- background-color: mix($bg_color, $fg_color, 70%);
+ background-color: mix($fg_color, $bg_color, 40%);
background-clip: padding-box; // needed since we use the borders as margins
- &:hover { background-color: mix($bg_color, $fg_color, 50%); }
+ &:hover { background-color: mix($fg_color, $bg_color, 60%); }
- &:prelight:active { background-color: $selected_bg_color; }
+ &:prelight:active { background-color: if($variant=='light', darken($selected_bg_color, 10%),
lighten($selected_bg_color, 10%));}
- &:backdrop { background-color: mix($backdrop_bg_color, $backdrop_fg_color, 60%); }
+ &:backdrop { background-color: mix($backdrop_fg_color, $backdrop_bg_color, 40%); }
&:insensitive {
background-color: transparent;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 864d91d..02e78be 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -2445,14 +2445,14 @@ column-header .titlebar .button.titlebutton,
.scrollbar .slider {
border-color: transparent;
border-style: solid;
- background-color: #6f7372;
+ background-color: #818584;
background-clip: padding-box; }
.scrollbar.overlay-indicator.dragging.vertical .slider:hover,
.scrollbar.overlay-indicator.hovering.vertical .slider:hover,
.scrollbar.overlay-indicator.dragging.horizontal .slider:hover,
.scrollbar.overlay-indicator.hovering.horizontal .slider:hover,
.scrollbar .slider:hover {
- background-color: #939695; }
+ background-color: #a5a8a6; }
.scrollbar.overlay-indicator.dragging.vertical .slider:prelight:active,
.scrollbar.overlay-indicator.hovering.vertical .slider:prelight:active,
.scrollbar.overlay-indicator.dragging.horizontal .slider:prelight:active,
.scrollbar.overlay-indicator.hovering.horizontal .slider:prelight:active,
.scrollbar .slider:prelight:active {
- background-color: #215d9c; }
+ background-color: #2a76c6; }
.scrollbar.overlay-indicator.dragging.vertical .slider:backdrop,
.scrollbar.overlay-indicator.hovering.vertical .slider:backdrop,
.scrollbar.overlay-indicator.dragging.horizontal .slider:backdrop,
.scrollbar.overlay-indicator.hovering.horizontal .slider:backdrop,
.scrollbar .slider:backdrop {
background-color: #5d6161; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 1b11c5c..ef5b7e0 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -2442,14 +2442,14 @@ column-header .titlebar .button.titlebutton,
.scrollbar .slider {
border-color: transparent;
border-style: solid;
- background-color: #b3b5b6;
+ background-color: #a0a3a3;
background-clip: padding-box; }
.scrollbar.overlay-indicator.dragging.vertical .slider:hover,
.scrollbar.overlay-indicator.hovering.vertical .slider:hover,
.scrollbar.overlay-indicator.dragging.horizontal .slider:hover,
.scrollbar.overlay-indicator.hovering.horizontal .slider:hover,
.scrollbar .slider:hover {
- background-color: #8d9091; }
+ background-color: #7a7e7f; }
.scrollbar.overlay-indicator.dragging.vertical .slider:prelight:active,
.scrollbar.overlay-indicator.hovering.vertical .slider:prelight:active,
.scrollbar.overlay-indicator.dragging.horizontal .slider:prelight:active,
.scrollbar.overlay-indicator.hovering.horizontal .slider:prelight:active,
.scrollbar .slider:prelight:active {
- background-color: #4a90d9; }
+ background-color: #2a76c6; }
.scrollbar.overlay-indicator.dragging.vertical .slider:backdrop,
.scrollbar.overlay-indicator.hovering.vertical .slider:backdrop,
.scrollbar.overlay-indicator.dragging.horizontal .slider:backdrop,
.scrollbar.overlay-indicator.hovering.horizontal .slider:backdrop,
.scrollbar .slider:backdrop {
background-color: #c6c7c8; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]