[libadwaita/wip/exalm/radii: 6/7] stylesheet: Merge flowbox and gridview styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/radii: 6/7] stylesheet: Merge flowbox and gridview styles
- Date: Fri, 15 Oct 2021 14:27:18 +0000 (UTC)
commit 6d4785b8015b20620717a2e555d497f765bb402a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Oct 15 04:22:48 2021 +0500
stylesheet: Merge flowbox and gridview styles
They are exactly same.
src/stylesheet/widgets/_views.scss | 28 +++++++---------------------
1 file changed, 7 insertions(+), 21 deletions(-)
---
diff --git a/src/stylesheet/widgets/_views.scss b/src/stylesheet/widgets/_views.scss
index 8ed19162..d9d8d103 100644
--- a/src/stylesheet/widgets/_views.scss
+++ b/src/stylesheet/widgets/_views.scss
@@ -54,28 +54,14 @@ rubberband {
background-color: gtkalpha($accent_bg_color, 0.2);
}
-flowbox {
- > flowboxchild {
- padding: 3px;
- transition: $focus_transition;
+flowbox > flowboxchild,
+gridview > child {
+ padding: 3px;
+ transition: $focus_transition;
- @include focus-ring();
-
- &:selected {
- background-color: $view_selected_color;
- }
- }
-}
-
-gridview {
- > child {
- padding: 3px;
- transition: $focus_transition;
-
- @include focus-ring();
+ @include focus-ring();
- &:selected {
- background-color: $view_selected_color;
- }
+ &:selected {
+ background-color: $view_selected_color;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]