fix for glyphicons

This commit is contained in:
Felix Hamann 2018-03-18 16:03:32 +01:00
parent 4f660f04c0
commit 12f5cfe668
3 changed files with 4 additions and 13 deletions

View File

@ -1,13 +1,14 @@
.glyphicon {
position: relative;
display: inline-block;
width: 40px;
height: 40px;
line-height: 40px;
}
.glyphicon::before {
position: absolute;
left: 4px;
margin: 0 13px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Glyphicons Halflings';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

View File

@ -58,12 +58,6 @@
background-color: white;
color: var(--darkbase);
.glyphicon {
position: absolute;
z-index: 1;
top: 5px;
}
&:not(.asidenav__list-item--active):hover {
color: white;
background-color: var(--darkbase);

View File

@ -25,14 +25,10 @@
position: relative;
width: 100%;
height: 20px;
line-height: 20px;
}
.glyphicon::before {
height: 20px;
margin: 0;
left: 50%;
transform: translateX(-50%);
}
}