[libadwaita/wip/exalm/radii: 2/3] stylesheet: Merge flowbox and gridview styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/radii: 2/3] stylesheet: Merge flowbox and gridview styles
- Date: Thu, 14 Oct 2021 23:41:32 +0000 (UTC)
commit 4e68424602ba149fe9da06a8c9c972fc39658a31
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]