fixed gruntfile, fixed modal buttons, fixed .gitignore .sass-cache folder

This commit is contained in:
Bachir Soussi Chiadmi
2015-05-18 16:32:24 +02:00
parent 922a2da1e5
commit f28719a994
12 changed files with 3012 additions and 9965 deletions

View File

@@ -7,8 +7,8 @@
// =
// =
// =
// ===== TYPOGRAHIE ======================================================================================================
// ===== TYPOGRAHIE ======================================================================================================
@mixin fs8(){font-size:8px;}
@mixin fs9(){font-size:9px;}
@mixin fs10(){font-size:10px;}
@@ -44,10 +44,10 @@
@mixin hyphens($value: auto)
{
-webkit-hyphens:$value;
-moz-hyphens:$value;
-ms-hyphens:$value;
-o-hyphens:$value;
// -webkit-hyphens:$value;
// -moz-hyphens:$value;
// -ms-hyphens:$value;
// -o-hyphens:$value;
hyphens:$value;
}
@mixin font-size($value: 1em,$lineheight:1.3em)
@@ -64,7 +64,7 @@ $red:#E60000;
// =
// =
// =
// ===== SHORTCUTS =======================================================================================================
// ===== SHORTCUTS =======================================================================================================
// padding
// @mixin p($p){ padding:$arguments; }
@@ -121,7 +121,7 @@ $red:#E60000;
@mixin bgca($r, $g, $b, $a){
background-color: rgb($r, $g, $b); // ie8
background-color: rgba($r, $g, $b, $a);
*background-color: rgb($r, $g, $b); // ie7
*background-color: rgb($r, $g, $b); // ie7
};
// Selection
@@ -138,7 +138,7 @@ $red:#E60000;
&::-webkit-selection {
background:$bgcolor;
color:$color;
}
}
}
// Colors
@@ -151,9 +151,9 @@ $red:#E60000;
// Opacity
@mixin opacity($opacity: 0.5)
{
-webkit-opacity: $opacity;
-khtml-opacity: $opacity;
-moz-opacity: $opacity;
// -webkit-opacity: $opacity;
// -khtml-opacity: $opacity;
// -moz-opacity: $opacity;
opacity: $opacity;
}
@@ -166,7 +166,7 @@ $red:#E60000;
@include size($size, $size);
}
// center
// center
@mixin center-block() {
display: block;
margin-left: auto;
@@ -178,7 +178,7 @@ $red:#E60000;
// =
// =
// =
// ===== DISPLAY UTILS ===================================================================================================
// ===== DISPLAY UTILS ===================================================================================================
// Inline blocks
@mixin inlineblock()
{
@@ -226,7 +226,7 @@ $g:0;
//
// ___ @mixin align-child()
// |
// | Permet lalignement vertical dun objet par rapport à son premier parent (dans son conteneur direct)@mixin
// | Permet lalignement vertical dun objet par rapport à son premier parent (dans son conteneur direct)@mixin
// |
// | 1 param : $vertical-align
//
@@ -260,7 +260,7 @@ $g:0;
// =
// =
// =
// ===== CSS3 ============================================================================================================
// ===== CSS3 ============================================================================================================
// Gradients
@mixin gradient($color: #F5F5F5, $start: #EEE, $stop: #FFF)
@@ -302,7 +302,7 @@ $g:0;
// |
// | 1 param : $blur
// | 2+ params : $horizontal / $vertical / $blur / $color: #000 / $spread: 0px
//
//
// ___ .inset-shadow()
// |
// | Ombré intérieur.
@@ -312,73 +312,73 @@ $g:0;
//
@mixin box-shadow($blur: 9px)
{
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
-webkit-box-shadow: 0 0 $blur #000;
-moz-box-shadow: 0 0 $blur #000;
-ms-box-shadow: 0 0 $blur #000;
// filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
// -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
// -webkit-box-shadow: 0 0 $blur #000;
// -moz-box-shadow: 0 0 $blur #000;
// -ms-box-shadow: 0 0 $blur #000;
box-shadow: 0 0 $blur #000;
}
@mixin box-shadow($x, $y, $blur: 9px, $color: #000, $spread: 0px)
{
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=$x, OffY=$y, Color=~'${color}');
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=${x}, OffY=${y}, Color='${color}')";
-webkit-box-shadow: $x $y $blur $spread $color;
-moz-box-shadow: $x $y $blur $spread $color;
-ms-box-shadow: $x $y $blur $spread $color;
// filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=$x, OffY=$y, Color=~'${color}');
// -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=${x}, OffY=${y}, Color='${color}')";
// -webkit-box-shadow: $x $y $blur $spread $color;
// -moz-box-shadow: $x $y $blur $spread $color;
// -ms-box-shadow: $x $y $blur $spread $color;
box-shadow: $x $y $blur $spread $color;
}
@mixin inset-shadow($blur: 9px)
{
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
-webkit-box-shadow: 0 0 $blur #000 inset;
-moz-box-shadow: 0 0 $blur #000 inset;
-ms-box-shadow: 0 0 $blur #000 inset;
// filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
// -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
// -webkit-box-shadow: 0 0 $blur #000 inset;
// -moz-box-shadow: 0 0 $blur #000 inset;
// -ms-box-shadow: 0 0 $blur #000 inset;
box-shadow: 0 0 $blur #000 inset;
}
@mixin inset-shadow($x, $y, $blur: 9px, $color: #000, $spread: 0px)
{
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=$x, OffY=$y, Color=~'${color}');
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='${color}')";
-webkit-box-shadow: $x $y $blur $spread $color inset;
-moz-box-shadow: $x $y $blur $spread $color inset;
-ms-box-shadow: $x $y $blur $spread $color inset;
// filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=$x, OffY=$y, Color=~'${color}');
// -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='${color}')";
// -webkit-box-shadow: $x $y $blur $spread $color inset;
// -moz-box-shadow: $x $y $blur $spread $color inset;
// -ms-box-shadow: $x $y $blur $spread $color inset;
box-shadow: $x $y $blur $spread $color inset;
}
@mixin drop-shadow($x-axis: 0, $y-axis: 1px, $blur: 2px, $alpha: 0.1)
{
-webkit-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
-moz-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
// -webkit-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
// -moz-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
}
// Border radius
@mixin rounded($radius: 2px)
{
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
// -webkit-border-radius: $radius;
// -moz-border-radius: $radius;
border-radius: $radius;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
// -webkit-background-clip: padding-box;
// -moz-background-clip: padding;
background-clip: padding-box;
}
@mixin border-radius($topleft: 0, $topright: 0, $bottomright: 0, $bottomleft: 0)
{
-webkit-border-radius:$topleft $topright $bottomright $bottomleft;
-moz-border-radius:$topleft $topright $bottomright $bottomleft;
// -webkit-border-radius:$topleft $topright $bottomright $bottomleft;
// -moz-border-radius:$topleft $topright $bottomright $bottomleft;
border-radius:$topleft $topright $bottomright $bottomleft;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
// -webkit-background-clip: padding-box;
// -moz-background-clip: padding;
background-clip: padding-box;
}
// transitions
@mixin transition-simply-prefix($string) {
-webkit-transition: $string;
-moz-transition: $string;
-o-transition: $string;
// -webkit-transition: $string;
// -moz-transition: $string;
// -o-transition: $string;
transition: $string;
}
@@ -388,11 +388,11 @@ $g:0;
// | 1 param : $property
// | 2 params : $property / $duration
// | 3+ params : $property / $duration / $transitiondelay:0s , $timingfunction:ease-out
//
//
// ___ .transitions()
// |
// | Permet de fixer des paramètres spécifique par propriétés, exemple:
// |
// |
// | .transitions(
// | 'height , padding , margin , box-shadow',
// | '.5s , .2s , .2s , .2s',
@@ -406,41 +406,41 @@ $g:0;
// $timingfunction: "ease-out";
@mixin transition($property:all)
{
-webkit-transition: $property;
-moz-transition: $property;
-o-transition: $property;
// -webkit-transition: $property;
// -moz-transition: $property;
// -o-transition: $property;
transition: $property;
}
@mixin transition($property:all, $speed:1s)
{
-webkit-transition: $property, $speed;
-moz-transition: $property, $speed;
-o-transition: $property, $speed;
// -webkit-transition: $property, $speed;
// -moz-transition: $property, $speed;
// -o-transition: $property, $speed;
transition: $property, $speed;
}
@mixin transition($property:all, $speed:1s, $ease:ease-out)
{
-webkit-transition: $property, $speed, $ease;
-moz-transition: $property, $speed, $ease;
-o-transition: $property, $speed, $ease;
// -webkit-transition: $property, $speed, $ease;
// -moz-transition: $property, $speed, $ease;
// -o-transition: $property, $speed, $ease;
transition: $property, $speed, $ease;
}
@mixin transitions($property: all, $duration:0s, $transitiondelay:0s, $timingfunction:ease-out)
{
-webkit-transition-property :property;
-webkit-transition-duration :duration;
-webkit-transition-delay :transitiondelay;
-webkit-transition-timing-function:timingfunction;
-moz-transition-property :property;
-moz-transition-duration :duration;
-moz-transition-delay :transitiondelay;
-moz-transition-timing-function:timingfunction;
-o-transition-property :property;
-o-transition-duration :duration;
-o-transition-delay :transitiondelay;
-o-transition-timing-function:timingfunction;
// -webkit-transition-property :property;
// -webkit-transition-duration :duration;
// -webkit-transition-delay :transitiondelay;
// -webkit-transition-timing-function:timingfunction;
// -moz-transition-property :property;
// -moz-transition-duration :duration;
// -moz-transition-delay :transitiondelay;
// -moz-transition-timing-function:timingfunction;
// -o-transition-property :property;
// -o-transition-duration :duration;
// -o-transition-delay :transitiondelay;
// -o-transition-timing-function:timingfunction;
transition-property :property;
transition-duration :duration;
transition-delay :transitiondelay;
@@ -449,25 +449,25 @@ $g:0;
@mixin transitions-duration($duration: 0s)
{
-webkit-transition-duration: $duration;
-moz-transition-duration: $duration;
-o-transition-duration: $duration;
// -webkit-transition-duration: $duration;
// -moz-transition-duration: $duration;
// -o-transition-duration: $duration;
transition-duration: $duration;
}
@mixin transition-duration($duration: 0.2s)
{
-webkit-transition-duration: $duration;
-moz-transition-duration: $duration;
-o-transition-duration: $duration;
// -webkit-transition-duration: $duration;
// -moz-transition-duration: $duration;
// -o-transition-duration: $duration;
transition-duration: $duration;
}
@mixin transitions-delay($delay: 0s)
{
-webkit-transition-delay: delay;
-moz-transition-delay: delay;
-o-transition-delay: delay;
// -webkit-transition-delay: delay;
// -moz-transition-delay: delay;
// -o-transition-delay: delay;
transition-delay: delay;
}
@@ -476,68 +476,68 @@ $g:0;
// ___ .rotation()
// |
// | 1 param : $degree
//
//
// ___ .rotate()
// |
// |
// | Tentative de compatibilté étendue (fonctionne uniquement pour 0, 90, 180 ou 270 degrés).
// |
// |
// | 1 param : $degree
// | 3 params : $degree / $originX / $originY
//
@mixin rotation($deg:5deg)
{
-webkit-transform: rotate($deg);
-moz-transform: rotate($deg);
// -webkit-transform: rotate($deg);
// -moz-transform: rotate($deg);
transform: rotate($deg);
}
@mixin rotate($value, $originX:0%, $originY:0%, $unit:'deg')
{
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation = (360 / $value) + 1); //0, 1, 2, or 3 rotate 0, 90, 180 or 270
-webkit-transform: rotate($value $unit); // $value $unit rather than $value$unit remove the spaces between value and unit.
-moz-transform: rotate($value $unit);
-ms-transform: rotate($value $unit);
-o-transform: rotate($value $unit);
// filter: progid:DXImageTransform.Microsoft.BasicImage(rotation = (360 / $value) + 1); //0, 1, 2, or 3 rotate 0, 90, 180 or 270
// -webkit-transform: rotate($value $unit); // $value $unit rather than $value$unit remove the spaces between value and unit.
// -moz-transform: rotate($value $unit);
// -ms-transform: rotate($value $unit);
// -o-transform: rotate($value $unit);
transform: rotate($value $unit);
-webkit-transform-origin:$originX $originY;
-moz-transform-origin:$originX $originY;
-ms-transform-origin:$originX $originY;
-o-transform-origin:$originX $originY;
// -webkit-transform-origin:$originX $originY;
// -moz-transform-origin:$originX $originY;
// -ms-transform-origin:$originX $originY;
// -o-transform-origin:$originX $originY;
transform-origin:$originX $originY;
}
// Scale
@mixin scale($ratio:1.5)
{
-webkit-transform:scale($ratio);
-moz-transform:scale($ratio);
// -webkit-transform:scale($ratio);
// -moz-transform:scale($ratio);
transform:scale($ratio);
}
// Translate
@mixin translate($x:0, $y:0)
{
-webkit-transform: translate($x, $y);
-moz-transform: translate($x, $y);
-ms-transform: translate($x, $y);
-o-transform: translate($x, $y);
// -webkit-transform: translate($x, $y);
// -moz-transform: translate($x, $y);
// -ms-transform: translate($x, $y);
// -o-transform: translate($x, $y);
transform: translate($x, $y);
}
// Columns
@mixin columns($colwidth: 250px, $colcount: 0, $colgap: 50px, $columnRuleColor: #EEE, $columnRuleStyle: solid, $columnRuleWidth: 1px)
{
-webkit-column-width : $colwidth;
-webkit-column-count : $colcount;
-webkit-column-gap : $colgap;
-webkit-column-rule-color: $columnRuleColor;
-webkit-column-rule-style: $columnRuleStyle;
-webkit-column-rule-width: $columnRuleWidth;
-moz-column-width : $colwidth;
-moz-column-count : $colcount;
-moz-column-gap : $colgap;
-moz-column-rule-color: $columnRuleColor;
-moz-column-rule-style: $columnRuleStyle;
-moz-column-rule-width: $columnRuleWidth;
// -webkit-column-width : $colwidth;
// -webkit-column-count : $colcount;
// -webkit-column-gap : $colgap;
// -webkit-column-rule-color: $columnRuleColor;
// -webkit-column-rule-style: $columnRuleStyle;
// -webkit-column-rule-width: $columnRuleWidth;
// -moz-column-width : $colwidth;
// -moz-column-count : $colcount;
// -moz-column-gap : $colgap;
// -moz-column-rule-color: $columnRuleColor;
// -moz-column-rule-style: $columnRuleStyle;
// -moz-column-rule-width: $columnRuleWidth;
column-width : $colwidth;
column-count : $colcount;
column-gap : $colgap;
@@ -559,7 +559,7 @@ $g:0;
font-weight: normal;
padding: 0.25em 0.75em;
margin-top:.5em;
&:hover{background-color:darken($bc, 20%);}
&:active{
text-shadow: 0 1px 0 lighten($bc,5%);
@@ -583,7 +583,7 @@ $g:0;
// =
// =
// =
// ===== RETINA ==========================================================================================================
// ===== RETINA ==========================================================================================================
// retina.less
// A helper mixin for applying high-resolution background images (http://www.retinajs.com)