mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 21:34:28 +02:00
Merge pull request #4166 from Icinga/bugfix/modal-button-styles
modal.less: Optimize close button styles
This commit is contained in:
commit
14b276ff06
@ -61,18 +61,18 @@
|
|||||||
|
|
||||||
> button {
|
> button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1em;
|
top: .75em;
|
||||||
left: .5em;
|
right: .75em;
|
||||||
|
|
||||||
background-color: @gray;
|
background-color: @gray;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
color: @text-color-inverted;
|
color: @text-color-inverted;
|
||||||
height: 1em;
|
height: 1.5em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 1em;
|
width: 1.5em;
|
||||||
|
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
@ -80,16 +80,12 @@
|
|||||||
appearance: none;
|
appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
> button > i {
|
> button:hover {
|
||||||
position: absolute;
|
opacity: .8;
|
||||||
left: 0.25em;
|
|
||||||
top: 0;
|
|
||||||
|
|
||||||
font-size: .7em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> button > .icon:before {
|
> button > .icon-cancel:before {
|
||||||
margin: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user