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