[gnome-software/wip/exalm/style-cleanups: 23/25] style: Update .list-page styles




commit 141cd499a25075e147a9e8acabdfe430c17dc0d8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 9 22:51:45 2021 +0500

    style: Update .list-page styles
    
    AdwPreferencesPage doesn't change margins like that anymore.

 src/gtk-style.css | 31 ++-----------------------------
 1 file changed, 2 insertions(+), 29 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index a6236d514..1ddf5689d 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -317,35 +317,8 @@ star-image {
  * set as a property. */
 
 scrolledwindow.list-page > viewport > clamp > box {
-  margin: 0 12px; transition: margin-bottom 200ms ease;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.section {
-  transition: margin-top 200ms ease;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.small {
-  margin-bottom: 18px;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.small .section {
-  margin-top: 18px;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.medium {
-  margin-bottom: 24px;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.medium .section {
-  margin-top: 24px;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.large {
-  margin-bottom: 30px;
-}
-
-scrolledwindow.list-page > viewport > clamp > box.large .section {
-  margin-top: 30px;
+  margin: 24px 12px;
+  border-spacing: 24px;
 }
 
 /* Increase the spacing in the Update Preferences window between the label and


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]