Commit 3c7714a7 authored by Randall Leeds's avatar Randall Leeds

make it possible to override the font icon class

This is a little bit ugly, but it makes multiple font icon mixins
override one another, which is helpful for things like custom dropdown
icons.
parent bfecae44
......@@ -197,7 +197,7 @@ $em: 14 / 1em !default;
}
@if $iconside == left {
&:before {
content: $char + '\a0';
content: $char + '\a0' !important;
font-family: 'icomoon';
font-style: normal;
margin-right: $offset;
......@@ -205,20 +205,20 @@ $em: 14 / 1em !default;
font-weight: normal;
}
&:after {
content: "";
content: "" !important;
}
&:empty {
&:before {
content: $char;
content: $char !important;
}
}
}
@if $iconside == right {
&:before {
content: "";
content: "" !important;
}
&:after {
content: '\a0' + $char;
content: '\a0' + $char !important;
font-family: 'icomoon';
font-style: normal;
margin-left: $offset;
......@@ -227,7 +227,7 @@ $em: 14 / 1em !default;
}
&:empty {
&:after {
content: $char;
content: $char !important;
}
}
}
......
......@@ -305,10 +305,6 @@ blockquote {
@include fonticon("\002f", right, 0);
cursor: pointer;
.open > & {
@include fonticon("\e007", right, 0);
}
&:active {
outline: 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment