[libadwaita/wip/exalm/backdrop: 4/8] stylesheet: Remove treeview backdrop styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/backdrop: 4/8] stylesheet: Remove treeview backdrop styles
- Date: Thu, 29 Apr 2021 14:20:36 +0000 (UTC)
commit 16cce0396177562ba46117c6f61df71025b4be00
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Apr 29 18:13:04 2021 +0500
stylesheet: Remove treeview backdrop styles
src/stylesheet/_colors.scss | 2 --
src/stylesheet/widgets/_trees.scss | 13 -------------
2 files changed, 15 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index ce1633b..c0dfc0e 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -51,10 +51,8 @@ $insensitive_borders_color: mix($borders_color, $bg_color, 80%);
//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_text_color: mix($text_color, $backdrop_base_color, 80%);
$backdrop_fg_color: mix($fg_color, $bg_color, 50%);
$backdrop_insensitive_color: if($variant == 'light', darken($bg_color, 15%), lighten($bg_color, 15%));
-$backdrop_selected_fg_color: if($variant == 'light', $backdrop_base_color, $backdrop_text_color);
$backdrop_borders_color: mix($borders_color, $bg_color, 80%);
//special cased widget colors
diff --git a/src/stylesheet/widgets/_trees.scss b/src/stylesheet/widgets/_trees.scss
index 2178809..9f32456 100644
--- a/src/stylesheet/widgets/_trees.scss
+++ b/src/stylesheet/widgets/_trees.scss
@@ -19,7 +19,6 @@ treeview.view {
&:selected {
color: mix($selected_fg_color, $selected_bg_color, 40%);
- &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 30%); }
}
}
@@ -28,11 +27,6 @@ treeview.view {
color: $treeview_borders_color;
}
- &:backdrop {
- border-left-color: $treeview_backdrop_borders_color;
- border-top: $treeview_backdrop_borders_color;
- }
-
&:drop(active) {
box-shadow: none;
}
@@ -88,13 +82,6 @@ treeview.view {
}
background-image: image($base_color);
-
- &:backdrop {
- @if $variant == 'light' {
- color: $selected_bg_color;
- }
- background-color: $backdrop_base_color;
- }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]