Revert "Adwaita: make insensitive slightly less sensitive"

This reverts commit bf3ccaa1bf.
This commit is contained in:
Jakub Steiner 2020-03-26 17:19:19 +01:00
parent bf3ccaa1bf
commit 8d8990ccd7
2 changed files with 3 additions and 9 deletions

View File

@ -50,7 +50,7 @@ $drop_target_color: #4e9a06;
//insensitive state derived colors //insensitive state derived colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%); $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%); $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. //colors for the backdrop state, derived from the main colors.
$backdrop_base_color: if($variant == 'light', darken($base_color, 1%), lighten($base_color, 1%)); $backdrop_base_color: if($variant == 'light', darken($base_color, 1%), lighten($base_color, 1%));

View File

@ -2520,20 +2520,14 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
border-radius: 3px; border-radius: 3px;
background-color: $dark_fill; background-color: $dark_fill;
&:disabled { &:disabled { background-color: $insensitive_bg_color; }
background-color: $insensitive_bg_color;
borders-color: $insensitive_borders_color;
}
&:backdrop { &:backdrop {
background-color: $backdrop_dark_fill; background-color: $backdrop_dark_fill;
border-color: $backdrop_borders_color; border-color: $backdrop_borders_color;
transition: $backdrop_transition; transition: $backdrop_transition;
&:disabled { &:disabled { background-color: $insensitive_bg_color; }
background-color: $insensitive_bg_color;
borders-color: $insensitive_borders_color;
}
} }
// ...on selected list rows // ...on selected list rows