[gtk] Revert "Adwaita: make insensitive slightly less sensitive"
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Revert "Adwaita: make insensitive slightly less sensitive"
- Date: Thu, 26 Mar 2020 16:20:31 +0000 (UTC)
commit 8d8990ccd7bdb0cd67b2a2bf7b96e0694e965bac
Author: Jakub Steiner <jimmac gmail com>
Date: Thu Mar 26 17:19:19 2020 +0100
Revert "Adwaita: make insensitive slightly less sensitive"
This reverts commit bf3ccaa1bfb8d1bedb019a7057c01cf2d06eee89.
gtk/theme/Adwaita/_colors.scss | 2 +-
gtk/theme/Adwaita/_common.scss | 10 ++--------
2 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_colors.scss b/gtk/theme/Adwaita/_colors.scss
index 039c1e0515..c565f706b0 100644
--- a/gtk/theme/Adwaita/_colors.scss
+++ b/gtk/theme/Adwaita/_colors.scss
@@ -50,7 +50,7 @@ $drop_target_color: #4e9a06;
//insensitive state derived colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
-$insensitive_borders_color: mix($borders_color, $bg_color, 80%);
+$insensitive_borders_color: $borders_color;
//colors for the backdrop state, derived from the main colors.
$backdrop_base_color: if($variant == 'light', darken($base_color, 1%), lighten($base_color, 1%));
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 78d5c468cb..bbb9029ce7 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2520,20 +2520,14 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
border-radius: 3px;
background-color: $dark_fill;
- &:disabled {
- background-color: $insensitive_bg_color;
- borders-color: $insensitive_borders_color;
- }
+ &:disabled { background-color: $insensitive_bg_color; }
&:backdrop {
background-color: $backdrop_dark_fill;
border-color: $backdrop_borders_color;
transition: $backdrop_transition;
- &:disabled {
- background-color: $insensitive_bg_color;
- borders-color: $insensitive_borders_color;
- }
+ &:disabled { background-color: $insensitive_bg_color; }
}
// ...on selected list rows
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]