[dconf-editor] Reorder CSS regarding bookmarks.



commit 53db600fd4661be9f99195074b18e58c9e0dbdec
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Dec 12 18:43:35 2017 +0100

    Reorder CSS regarding bookmarks.

 editor/dconf-editor.css |   31 ++++++++++++++++++-------------
 1 files changed, 18 insertions(+), 13 deletions(-)
---
diff --git a/editor/dconf-editor.css b/editor/dconf-editor.css
index f538c1b..c6a3b33 100644
--- a/editor/dconf-editor.css
+++ b/editor/dconf-editor.css
@@ -21,6 +21,23 @@
 */
 
 /*\
+* * bookmarks
+\*/
+
+/* no transition as it would start at popover's opening */
+
+                      .bookmarks list > row { min-height:2.6rem; }
+.small-bookmarks-rows .bookmarks list > row { min-height:1.3rem; }
+
+.small-bookmarks-rows .bookmarks list > row > grid > button.circular.flat {
+  min-height:0;
+  padding-bottom:1px;
+  padding-top:1px;
+  margin-top:-2px;
+  margin-bottom:-2px;
+}
+
+/*\
 * * lists rows height and icon
 \*/
 
@@ -30,7 +47,7 @@
                                                                                   padding-left 0.3s, 
padding-right 0.3s,
                                                                                /* margin 0.3s,
                                                                                   padding 0.3s, cause 
stuttering in the transition */
-                                                                                  border-radius 0.3s; } /* 
not for .bookmarks, as the transition will start at the popover opening */
+                                                                                  border-radius 0.3s; }
                                 /* .keys-list          > row:hover,
                                    .keys-list          > row:selected{ transition:min-height 0.3s,
                                                                                   margin 0.3s,
@@ -50,9 +67,6 @@
     .hc-theme                      .keys-list          > row         { padding-top:0.5em; 
padding-bottom:0.5em; }
     .hc-theme.small-keys-list-rows .keys-list          > row         { padding-top:0.4em; 
padding-bottom:0.4em; }
 
-                                   .bookmarks     list > row { min-height:2.6rem; }
-             .small-bookmarks-rows .bookmarks     list > row { min-height:1.3rem; }
-
 /* round borders for large windows */
 
 .large-window                      .keys-list          > row        { border-radius:0.5em;
@@ -60,15 +74,6 @@
 .large-window.small-keys-list-rows .keys-list          > row        { border-radius:0;
                                                                       -gtk-outline-radius:2px; /* gtk+ 
defaults */ }
 
-/* bookmarks */
-             .small-bookmarks-rows .bookmarks     list > row > grid > button.circular.flat {
-                            min-height:0;
-                            padding-bottom:1px;
-                            padding-top:1px;
-                            margin-top:-2px;
-                            margin-bottom:-2px;
-                          }
-
 /* folder icon */
                                    .keys-list          > row        > .folder > grid {
                                                   background-repeat:no-repeat;


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