fix for glyphicons
This commit is contained in:
parent
4f660f04c0
commit
12f5cfe668
@ -1,13 +1,14 @@
|
|||||||
.glyphicon {
|
.glyphicon {
|
||||||
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
|
||||||
}
|
}
|
||||||
.glyphicon::before {
|
.glyphicon::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 4px;
|
top: 50%;
|
||||||
margin: 0 13px;
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
font-family: 'Glyphicons Halflings';
|
font-family: 'Glyphicons Halflings';
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|||||||
@ -58,12 +58,6 @@
|
|||||||
background-color: white;
|
background-color: white;
|
||||||
color: var(--darkbase);
|
color: var(--darkbase);
|
||||||
|
|
||||||
.glyphicon {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 1;
|
|
||||||
top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(.asidenav__list-item--active):hover {
|
&:not(.asidenav__list-item--active):hover {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: var(--darkbase);
|
background-color: var(--darkbase);
|
||||||
|
|||||||
@ -25,14 +25,10 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.glyphicon::before {
|
.glyphicon::before {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 0;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user