css/menu: Fix alignment of items w/o icons and the search input

refs #5543
This commit is contained in:
Eric Lippmann 2015-10-29 09:27:35 +01:00
parent 20c1cc7693
commit 569e92021e

View File

@ -36,7 +36,7 @@
border-left: 5px solid @icinga-blue; border-left: 5px solid @icinga-blue;
} }
&.no-icon { &.no-icon > a {
margin-left: @icon-width; margin-left: @icon-width;
} }
} }
@ -74,12 +74,12 @@
} }
#menu input.search { #menu input.search {
background: transparent url('../img/icons/search.png') no-repeat @vertical-padding + 0.2em center; background: transparent url('../img/icons/search.png') no-repeat @horizontal-padding + 0.2em center;
background-size: @font-size auto; background-size: @font-size auto;
border: none; border: none;
line-height: 2.8em; line-height: 2.8em;
outline: none; outline: none;
padding-left: @icon-width + @vertical-padding; padding-left: @icon-width + @horizontal-padding;
width: 100%; width: 100%;
&.active { &.active {