[libadwaita/wip/exalm/background-colors2: 2/18] stylesheet: Clean up assistant sidebar
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/background-colors2: 2/18] stylesheet: Clean up assistant sidebar
- Date: Fri, 1 Oct 2021 13:38:39 +0000 (UTC)
commit 2f03e25c11746f010935ef1adcb8121f2bb07de1
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Oct 1 12:22:45 2021 +0500
stylesheet: Clean up assistant sidebar
Use nesting, remove the non-csd override which probably only made things
worse.
src/stylesheet/widgets/_dialogs.scss | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_dialogs.scss b/src/stylesheet/widgets/_dialogs.scss
index d470da2d..7616f8f4 100644
--- a/src/stylesheet/widgets/_dialogs.scss
+++ b/src/stylesheet/widgets/_dialogs.scss
@@ -31,16 +31,15 @@ window.assistant {
.sidebar {
padding: $menu-margin;
background-clip: padding-box;
- border-top: 1px solid $borders_color;
- }
-
- &.csd .sidebar { border-top-style: none; }
- .sidebar > label { padding: 6px 12px; }
+ > label {
+ padding: 6px 12px;
+ border-radius: $menu-margin;
- .sidebar > label.highlight {
- background-color: $view_selected_color;
- border-radius: $menu-margin;
+ &.highlight {
+ background-color: $view_selected_color;
+ }
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]