CSS: Compensate select line height inconsistencies
This commit is contained in:
parent
0083a193b1
commit
fa4d39f7c6
|
@ -102,12 +102,18 @@ input.search {
|
|||
float: left;
|
||||
|
||||
li {
|
||||
line-height: 1;
|
||||
|
||||
&.active {
|
||||
border-bottom: 2px solid @icinga-blue;
|
||||
|
||||
> a,
|
||||
> a:hover {
|
||||
border-bottom: 2px solid @icinga-blue;
|
||||
color: @icinga-blue
|
||||
color: @icinga-blue;
|
||||
/* Compensate border-bottom: 2px */
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
|
||||
> a:hover {
|
||||
background: none;
|
||||
cursor: default;
|
||||
|
@ -122,7 +128,7 @@ input.search {
|
|||
|
||||
> a,
|
||||
> span {
|
||||
padding: 0 0.5em 0.25em 0.5em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
> a:hover {
|
||||
background-color: @gray-lighter;
|
||||
|
|
|
@ -164,6 +164,9 @@ form input {
|
|||
|
||||
form select {
|
||||
padding-right: 1.5625em;
|
||||
/* compensate inconsistent select height calculations */
|
||||
line-height: 1em;
|
||||
height: 2.25em;
|
||||
}
|
||||
|
||||
/* Remove native dropdown arrow in IE10+ */
|
||||
|
|
Loading…
Reference in New Issue