[libadwaita/wip/exalm/background-colors2: 1/17] stylesheet: Clean up assistant sidebar
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/background-colors2: 1/17] stylesheet: Clean up assistant sidebar
- Date: Fri, 1 Oct 2021 13:23:57 +0000 (UTC)
commit 17f49a6a3e1efdb4e1d9db148368ca22d1458cda
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]