[gnome-shell/wip/snwh/sass-cleanup: 471/475] theme: improve some border drawing
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/sass-cleanup: 471/475] theme: improve some border drawing
- Date: Wed, 18 Dec 2019 16:03:58 +0000 (UTC)
commit 85ec8eba7e81bb68a02c0b3c8a5a111756b6e7e2
Author: Sam Hewitt <sam snwh org>
Date: Tue Dec 17 09:13:26 2019 -0500
theme: improve some border drawing
data/theme/gnome-shell-sass/widgets/_popovers.scss | 2 +-
data/theme/gnome-shell-sass/widgets/_slider.scss | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss
b/data/theme/gnome-shell-sass/widgets/_popovers.scss
index ad084596df..202d0eda35 100644
--- a/data/theme/gnome-shell-sass/widgets/_popovers.scss
+++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss
@@ -8,7 +8,7 @@ $popover_arrow_height: 12px;
-arrow-border-radius: $base_border_radius+4;
-arrow-background-color: $bg_color;
-arrow-border-width: 1px;
- -arrow-border-color: lighten($osd_outer_borders_color, 4%);
+ -arrow-border-color: $osd_borders_color;
-arrow-base: $popover_arrow_height * 2;
-arrow-rise: $popover_arrow_height;
-arrow-box-shadow: 0 1px 3px rgba(0,0,0,0.5); // dreaming bugzilla #689995
diff --git a/data/theme/gnome-shell-sass/widgets/_slider.scss
b/data/theme/gnome-shell-sass/widgets/_slider.scss
index f6e2eb7fc5..4b84ad60fa 100644
--- a/data/theme/gnome-shell-sass/widgets/_slider.scss
+++ b/data/theme/gnome-shell-sass/widgets/_slider.scss
@@ -17,9 +17,9 @@ $slider_size: 15px;
-barlevel-overdrive-border-color: if($variant == 'light', darken($destructive_color, 4%),
lighten($destructive_color, 2%)); //trough border when red;
-barlevel-overdrive-separator-width:1px;
// slider hander
- -slider-handle-radius: $slider_size * 0.5; // half the size of the
+ -slider-handle-radius: $slider_size * 0.5; // half the size of the size
-slider-handle-border-width: 1px;
- -slider-handle-border-color: if($variant == 'light', $borders_color, $fg_color); //active trough
border
+ -slider-handle-border-color: if($variant == 'light', $borders_color, $fg_color);
color: if($variant == 'light', lighten($bg_color, 10%), $fg_color);
&:hover { color: $hover_bg_color; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]