Browse Source

Fix popover icon size

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v13.0.0beta1
John Molakvoæ (skjnldsv) 6 years ago
parent
commit
22458465da
No account linked to committer's email address
1 changed files with 9 additions and 6 deletions
  1. 9
    6
      core/css/apps.scss

+ 9
- 6
core/css/apps.scss 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;

Loading…
Cancel
Save