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
1 changed files with 10 additions and 13 deletions

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-left: 1em;
margin-left: 2em;
}
ul.tree {
padding: 0;
margin: 0;
}
ul.tree, ul.tree ul {
padding-left: 1.5em;
padding-top: .5em;
}
ul.tree ul {
padding-left: 1.5em;
padding-left: 1em;
}
ul.tree li {
@ -237,10 +234,10 @@ ul.tree li .handle {
background-repeat: no-repeat;
display: inline-block;
position: absolute;
width: 1em;
width: 1.5em;
height: 2em;
left: -0.6em;
background-position: -3px 3px;
left: 0em;
background-position: center center;
z-index: 1;
cursor: pointer;
}
@ -266,9 +263,9 @@ ul.tree li::before, ul.tree li::after {
/* This is the left vertical line */
ul.tree li::before {
border-left-width: 1px;
top: 0;
top: -.5em;
width: 1em;
height: 100%;
height: 2.5em;
bottom: 1em;
}
@ -276,7 +273,7 @@ ul.tree li::before {
ul.tree li::after {
border-top-width: 1px;
top: 1em;
width: 1em;
width: 2em;
height: 1em;
}