0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed 'extend' compile errors in SASS 3.3

closes #509
- Replaced @extend directive with a functionally equivalent mixin
This commit is contained in:
U-nico-laptop\nico 2013-09-16 01:24:18 +01:00 committed by John O'Nolan
parent 1ee0d51660
commit 957ca3c58b

View file

@ -38,21 +38,22 @@
* actually unreal. - bit.ly/TJwPPo
*/
%icon:before,
%icon:after {
font-family: "Icons";
font-weight: normal;
font-style: normal;
vertical-align: -7%;
text-transform:none;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
@mixin icon-base() {
&:before,
&:after {
font-family: "Icons";
font-weight: normal;
font-style: normal;
vertical-align: -7%;
text-transform:none;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
}
@mixin icon($char, $size: '', $color: '') {
@extend %icon;
@include icon-base;
&:before {
content: '#{$char}';
@ -76,7 +77,7 @@
*/
@mixin icon-after($char, $size: '', $color: '') {
@extend %icon;
@include icon-base;
&:after {
content: '#{$char}';