[libadwaita/wip/exalm/backdrop: 2/24] stylesheet: Drop searchbar backdrop style
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/backdrop: 2/24] stylesheet: Drop searchbar backdrop style
- Date: Sun, 2 May 2021 10:23:35 +0000 (UTC)
commit 439c3425c70344d7a76448a73cda3d76e4f90803
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Apr 29 18:01:26 2021 +0500
stylesheet: Drop searchbar backdrop style
Simplify the style too.
src/stylesheet/_colors.scss | 1 -
src/stylesheet/widgets/_toolbars.scss | 20 ++++----------------
2 files changed, 4 insertions(+), 17 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 03e8124..caf7b5f 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -57,7 +57,6 @@ $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%),
lighten($backdrop_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%);
-$backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
//special cased widget colors
$suggested_bg_color: $selected_bg_color;
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 366fdb5..a4bc8c5 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -32,9 +32,11 @@ searchbar > revealer > box {
padding: 6px;
border-spacing: 6px;
- @extend %darkbar;
-
border-width: 0 0 1px;
+ border-style: solid;
+ border-color: $borders_color;
+
+ background-color: mix($bg_color, $borders_color, 70%);
.close {
min-width: 16px;
@@ -45,20 +47,6 @@ searchbar > revealer > box {
}
}
-%darkbar {
- border-style: solid;
- border-color: $borders_color;
- $_bg: mix($bg_color, $borders_color, 70%);
- background-color: $_bg;
-
- &:backdrop {
- border-color: $backdrop_borders_color;
- background-color: $backdrop_dark_fill;
- box-shadow: none;
- transition: $backdrop_transition;
- }
-}
-
/****************
* GtkActionBar *
****************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]