mirror of https://github.com/MISP/misp-website
35 lines
884 B
SCSS
35 lines
884 B
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-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;
|
||
|
}
|
||
|
}
|