[gtk/wip/jimmac/adjust-for-contemporary-trends] Adwaita: flat scales, progressbars and level bars
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/adjust-for-contemporary-trends] Adwaita: flat scales, progressbars and level bars
- Date: Fri, 8 Jan 2021 20:56:55 +0000 (UTC)
commit 075677fff4f86aa6a7e9ec5aca5f793cc5f6ca59
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Jan 8 21:56:14 2021 +0100
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%);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]