mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-08 14:31:28 +02:00
CSS files converted to Sass. Some style fixes. Created file with sponsors.
This commit is contained in:
parent
1a5c529669
commit
a45174a1e4
851 changed files with 19814 additions and 5533 deletions
51
_sass/vendor/helpers/_mixins.scss
vendored
Normal file
51
_sass/vendor/helpers/_mixins.scss
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
///////////////////////////////////////////////////////////////////
|
||||
// Sass Mixins which will be used by the modules //
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
//===============================================================//
|
||||
// Automatically add vendor prefixes in one hit //
|
||||
//===============================================================//
|
||||
// .fadeIn { //
|
||||
// @include animate-prefixer(animation, fadeIn); //
|
||||
// } //
|
||||
//===============================================================//
|
||||
// //
|
||||
//===============================================================//
|
||||
@mixin animate-prefixer($property, $value...) {
|
||||
-webkit-#{$property}:$value;
|
||||
-moz-#{$property}:$value;
|
||||
-o-#{$property}:$value;
|
||||
#{$property}:$value;
|
||||
}
|
||||
|
||||
//===============================================================//
|
||||
// Generate keyframes animations with vendor prefixes in one hit //
|
||||
//===============================================================//
|
||||
// .fadeIn { //
|
||||
// @include animate-prefixer(animation, fadeIn); //
|
||||
// } //
|
||||
// @include animate-keyframe(fadeIn) { //
|
||||
// 0% {opacity: 0;} //
|
||||
// 100% {opacity: 1;} //
|
||||
// } //
|
||||
//===============================================================//
|
||||
// Courtesy of @integralist: (twitter.com) //
|
||||
//===============================================================//
|
||||
|
||||
@mixin animate-keyframe($animation-name) {
|
||||
@-webkit-keyframes #{$animation-name} {
|
||||
@content;
|
||||
}
|
||||
|
||||
@-moz-keyframes #{$animation-name} {
|
||||
@content;
|
||||
}
|
||||
|
||||
@-o-keyframes #{$animation-name} {
|
||||
@content;
|
||||
}
|
||||
|
||||
@keyframes #{$animation-name} {
|
||||
@content;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue