2014-07-16 23:51:48 +02:00
|
|
|
//
|
|
|
|
// Utility classes
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
2014-07-27 20:41:25 +02:00
|
|
|
//
|
2014-07-16 23:51:48 +02:00
|
|
|
// -------------------------
|
|
|
|
|
2014-10-13 18:44:38 +02:00
|
|
|
@mixin anti-alias() {
|
2014-07-16 23:51:48 +02:00
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
2014-10-13 18:44:38 +02:00
|
|
|
@mixin consul-gradient-bg() {
|
2014-07-16 23:51:48 +02:00
|
|
|
background: #694a9c; /* Old browsers */
|
|
|
|
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
|
|
|
|
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
|
|
|
|
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
|
|
|
|
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
|
|
|
|
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
|
|
|
|
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
|
2014-07-27 20:41:25 +02:00
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
|
2014-07-16 23:51:48 +02:00
|
|
|
|
2014-07-22 23:24:44 +02:00
|
|
|
}
|
|
|
|
|
2014-10-13 18:44:38 +02:00
|
|
|
@mixin lato-light() {
|
|
|
|
font-family: $font-family-lato;
|
2014-07-28 14:46:39 +02:00
|
|
|
font-weight: 300;
|
2014-07-23 00:31:43 +02:00
|
|
|
}
|
|
|
|
|
2014-10-13 18:44:38 +02:00
|
|
|
@mixin skewY($skew) {
|
|
|
|
-webkit-transform: skewY($skew);
|
|
|
|
-moz-transform: skewY($skew);
|
|
|
|
-ms-transform: skewY($skew);
|
|
|
|
-o-transform: skewY($skew);
|
|
|
|
transform: skewY($skew);
|
2014-07-23 00:37:22 +02:00
|
|
|
}
|