You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skins/elastic/styles/widgets/lists.less
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -618,6 +618,40 @@ ul.treelist {
618
618
&.menua:before {
619
619
margin-left: .5em;
620
620
}
621
+
622
+
// Styles for the sortable list of folders in the settings.
623
+
&.ui-sortable {
624
+
// Using an ID here to overwrite the styles from other rules, which also use this ID as selector.
625
+
&#subscription-tableul {
626
+
// Make the sub-list overlay its parent element so an item that is visually hovering over the parent element is actually hovering over the sub-list and thus gets sorted into it.
627
+
margin-top: -2rem;
628
+
padding-top: 2rem;
629
+
padding-bottom: 0;
630
+
}
631
+
632
+
// Give the list items a little bit more space at top to counter the increased space required by the sub-lists at the bottom.
633
+
li {
634
+
padding-top: 0.5rem;
635
+
}
636
+
637
+
lidiv.treetoggle {
638
+
top: 0.5rem;
639
+
}
640
+
641
+
.custom-control-label {
642
+
top: 0.5rem;
643
+
}
644
+
645
+
liulli:first-child {
646
+
margin-top: 0.5rem;
647
+
}
648
+
649
+
// To counter the counter, give the first sub-list layer a small padding at the bottom to even out the increased margins/paddings at the top of the elements.
0 commit comments