From 849e3c8b4b57288750b1e6da15e3643f956b60dc Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Fri, 8 Jan 2021 21:56:14 +0100 Subject: [PATCH] Adwaita: flat scales, progressbars and level bars --- gtk/theme/Adwaita/_common.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 3c2f312924..6cedf755f4 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2540,7 +2540,7 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work * GtkScale * ************/ %scale_trough { - border: 1px solid $borders_color; + border: 1px solid $dark_fill; border-radius: 3px; background-color: $dark_fill; @@ -2569,7 +2569,7 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work } %scale_highlight { - border: 1px solid $selected_borders_color; + border: 1px solid $selected_bg_color; border-radius: 3px; background-color: $selected_bg_color; @@ -2653,7 +2653,6 @@ scale { > trough > fill { @extend %scale_trough; - &:backdrop, & { background-color: $borders_color; } &:disabled { border-color: transparent; @@ -3117,24 +3116,24 @@ levelbar { border: 1px solid; &.low { - border-color: if($variant == 'light', darken($warning_color, 10%), $borders_color); + border-color: $warning_color; background-color: $warning_color; } &.high, &:not(.empty) { - border-color: if($variant == 'light', darken($selected_bg_color, 10%), $borders_color); + border-color: $selected_bg_color; background-color: $selected_bg_color; } &.full { - border-color: if($variant == 'light', darken($success_color, 10%), $borders_color); + border-color: $success_color; background-color: $success_color; } &.empty { background-color: darken($bg_color, 5%); - border-color: $borders_color; + border-color: darken($bg_color, 5%); } } }