forms.less: Ensure that spinners are properly aligned..
..no matter how big the font size is
This commit is contained in:
parent
212606de78
commit
eaeda473e5
|
@ -219,11 +219,13 @@ form.inline select {
|
||||||
.icinga-controls {
|
.icinga-controls {
|
||||||
input ~ .spinner,
|
input ~ .spinner,
|
||||||
button ~ .spinner,
|
button ~ .spinner,
|
||||||
|
select ~ .spinner,
|
||||||
textarea ~ .spinner {
|
textarea ~ .spinner {
|
||||||
margin-top: 0.5em*0.666666667;
|
line-height: normal;
|
||||||
margin-bottom: 0.5em*0.666666667;
|
padding: .5em 0;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
|
vertical-align: middle;
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
@ -231,12 +233,12 @@ form.inline select {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* selects get their spinner specifically placed */
|
/* selects get their spinner specifically placed */
|
||||||
.icinga-controls select + .spinner {
|
.icinga-controls select:not([multiple]) + .spinner {
|
||||||
margin: 0.5em*0.666666667 0;
|
height: 2.25em;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
margin-left: -3.75em;
|
margin-left: -3.75em;
|
||||||
opacity: 0.4;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue