First Commit

This commit is contained in:
Lorenzo Iovino 2016-01-29 13:14:27 +01:00
commit feb864dc47
170 changed files with 4671 additions and 0 deletions

View file

@ -0,0 +1,45 @@
@mixin filter-gradient($start-color, $end-color, $orientation: vertical) {
$gradient-type: if($orientation == vertical, 0, 1);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=#{$gradient-type}, startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}');
}
@mixin headings($from: 1, $to: 6){
@for $i from $from through $to{
h#{$i}{
@content
}
}
}
@mixin transition($transitions...)
{
-webkit-transition: $transitions;
-moz-transition: $transitions;
-ms-transition: $transitions;
-o-transition: $transitions;
transition: $transitions;
}
// // Placeholder shadow DOM
@mixin _placeholder {
$placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input";
@each $placeholder in $placeholders {
&:#{$placeholder}-placeholder {
@content;
}
}
}
@mixin box-shadow($val)
{
-webkit-box-shadow: $val;
-moz-box-shadow: $val;
box-shadow: $val;
}
@mixin opacity($opacity)
{
opacity: $opacity;
$opacity-ie: $opacity * 100;
filter: alpha(opacity=$opacity-ie); //IE8
}