Fix popover icon size

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-11-04 15:36:45 +01:00
parent c152f80b93
commit 22458465da
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8

View File

@ -841,20 +841,23 @@ kbd {
/* Override the app-navigation li opacity */
opacity: .7 !important;
[class^='icon-'],
[class*=' icon-'],
&[class^='icon-'],
&[class*=' icon-'] {
min-width: 0; /* Overwrite icons*/
min-height: 0;
background-position: 10px center;
background-size: 16px;
}
[class^='icon-'],
[class*=' icon-'] {
/* Keep padding to define the width to
assure correct position of a possible text */
padding: 18px 0 18px 36px;
min-width: 0; /* Overwrite icons*/
min-height: 0;
background-position: 10px center;
}
&[class^='icon-'],
&[class*=' icon-'] {
padding: 0 10px 0 36px !important;
min-width: 0; /* Overwrite icons*/
min-height: 0;
background-position: 10px center;
}
&:hover, &:focus, &.active {
opacity: 1 !important;