CSS: Optimize filter editor layout

This commit is contained in:
Florian Strohmaier 2019-07-08 17:50:08 +02:00 committed by Johannes Meyer
parent 812e174c1e
commit b21c9d6ebd

View File

@ -207,22 +207,19 @@ table.multiselect tr[href] td {
} }
} }
ul.tree select { /* ?? */ ul.tree select:first-of-type { /* ?? */
margin-bottom: 0.3em; margin-bottom: 0.3em;
margin-left: 1em; margin-left: 2em;
} }
ul.tree { ul.tree {
padding: 0; padding: 0;
margin: 0; margin: 0;
} padding-top: .5em;
ul.tree, ul.tree ul {
padding-left: 1.5em;
} }
ul.tree ul { ul.tree ul {
padding-left: 1.5em; padding-left: 1em;
} }
ul.tree li { ul.tree li {
@ -237,10 +234,10 @@ ul.tree li .handle {
background-repeat: no-repeat; background-repeat: no-repeat;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
width: 1em; width: 1.5em;
height: 2em; height: 2em;
left: -0.6em; left: 0em;
background-position: -3px 3px; background-position: center center;
z-index: 1; z-index: 1;
cursor: pointer; cursor: pointer;
} }
@ -266,9 +263,9 @@ ul.tree li::before, ul.tree li::after {
/* This is the left vertical line */ /* This is the left vertical line */
ul.tree li::before { ul.tree li::before {
border-left-width: 1px; border-left-width: 1px;
top: 0; top: -.5em;
width: 1em; width: 1em;
height: 100%; height: 2.5em;
bottom: 1em; bottom: 1em;
} }
@ -276,7 +273,7 @@ ul.tree li::before {
ul.tree li::after { ul.tree li::after {
border-top-width: 1px; border-top-width: 1px;
top: 1em; top: 1em;
width: 1em; width: 2em;
height: 1em; height: 1em;
} }