[gnome-shell-sass] Add pagination to the folder dialog



commit fa6df03844023bc61519d57ae4c717bbbea6759d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed May 20 19:20:15 2020 -0300

    Add pagination to the folder dialog
    
    Make the folder dialog's app grid horizontal, and add
    paginators to it as well. Add a new _createGrid() method
    to BaseAppView that created an IconGrid.IconGrid by
    default, and make FolderView override it to return the
    new FolderGrid class.
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2436
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

 widgets/_app-grid.scss | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/widgets/_app-grid.scss b/widgets/_app-grid.scss
index 8d3ae62..c183cfe 100644
--- a/widgets/_app-grid.scss
+++ b/widgets/_app-grid.scss
@@ -67,6 +67,19 @@ $app_grid_fg_color: #fff;
       & > StIcon { icon-size: 16px }
     }
   }
+
+  & .icon-grid {
+    row-spacing: $base_spacing * 2;
+    column-spacing: $base_spacing * 5;
+  }
+
+  & .page-indicators {
+    margin-bottom: 18px;
+
+    .page-indicator {
+      padding: 15px 12px;
+    }
+  }
 }
 .app-folder-dialog-container {
   padding: 12px;


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