41 lines
1.0 KiB
SCSS
41 lines
1.0 KiB
SCSS
|
@mixin vendor-property($property, $value) {
|
||
|
@each $vendor in ('-moz-', '-webkit-', '-o-', '-ms-', '') {
|
||
|
#{$vendor}#{$property}: #{$value};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin vendor-value($property, $value) {
|
||
|
@each $vendor in ('-moz-', '-webkit-', '-o-', '-ms-', '') {
|
||
|
#{$property}: #{$vendor}#{$value};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin vendor($property, $value) {
|
||
|
@each $vendor in ('-moz-', '-webkit-', '-o-', '-ms-', '') {
|
||
|
#{$vendor}#{$property}: #{$vendor}#{$value};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin vendor-keyframes($name) {
|
||
|
@-moz-keyframes #{$name} { @content; }
|
||
|
@-webkit-keyframes #{$name} { @content; }
|
||
|
@-o-keyframes #{$name} { @content; }
|
||
|
@-ms-keyframes #{$name} { @content; }
|
||
|
@keyframes #{$name} { @content; }
|
||
|
}
|
||
|
|
||
|
@mixin icon($content: false) {
|
||
|
text-decoration: none;
|
||
|
|
||
|
&:before {
|
||
|
@if $content {
|
||
|
content: $content;
|
||
|
}
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
font-family: FontAwesome;
|
||
|
font-style: normal;
|
||
|
font-weight: normal;
|
||
|
text-transform: none !important;
|
||
|
}
|
||
|
}
|