2012-11-27 23:30:26 +00:00
|
|
|
/**
|
|
|
|
* Generic mixins
|
|
|
|
*/
|
|
|
|
@mixin box-shadow($shadow) {
|
2012-11-24 09:57:22 +00:00
|
|
|
-webkit-box-shadow: $shadow;
|
|
|
|
-moz-box-shadow: $shadow;
|
|
|
|
-ms-box-shadow: $shadow;
|
|
|
|
-o-box-shadow: $shadow;
|
|
|
|
box-shadow: $shadow;
|
2012-11-23 16:51:38 +00:00
|
|
|
}
|
|
|
|
|
2012-11-23 16:26:26 +00:00
|
|
|
@mixin border-radius($radius) {
|
|
|
|
-webkit-border-radius: $radius;
|
2012-11-23 16:51:38 +00:00
|
|
|
-moz-border-radius: $radius;
|
|
|
|
-ms-border-radius: $radius;
|
|
|
|
-o-border-radius: $radius;
|
2012-11-23 16:26:26 +00:00
|
|
|
border-radius: $radius;
|
|
|
|
}
|
|
|
|
|
2012-11-24 09:57:22 +00:00
|
|
|
@mixin linear-gradient($from, $to) {
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($from), to($to));
|
|
|
|
background-image: -webkit-linear-gradient($from, $to);
|
|
|
|
background-image: -moz-linear-gradient($from, $to);
|
|
|
|
background-image: -o-linear-gradient($from, $to);
|
|
|
|
}
|
|
|
|
|
2013-02-22 16:50:17 +00:00
|
|
|
@mixin transition($transition) {
|
|
|
|
-webkit-transition: $transition;
|
|
|
|
-moz-transition: $transition;
|
|
|
|
-ms-transition: $transition;
|
|
|
|
-o-transition: $transition;
|
|
|
|
transition: $transition;
|
|
|
|
}
|
|
|
|
|
2012-11-27 23:30:26 +00:00
|
|
|
/**
|
|
|
|
* Prefilled mixins
|
|
|
|
* Mixins with fixed values
|
|
|
|
*/
|
2012-11-23 16:26:26 +00:00
|
|
|
@mixin bg-light-gray-gradient {
|
2012-11-23 16:51:38 +00:00
|
|
|
background: #f1f1f1;
|
2012-11-23 16:26:26 +00:00
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1));
|
|
|
|
background-image: -webkit-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
|
|
|
background-image: -moz-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
|
|
|
background-image: -o-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin bg-gray-gradient {
|
2012-11-23 16:51:38 +00:00
|
|
|
background: #eee;
|
2012-11-23 16:26:26 +00:00
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
|
|
|
|
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin bg-dark-gray-gradient {
|
2012-11-23 16:51:38 +00:00
|
|
|
background: #eee;
|
2012-11-23 16:26:26 +00:00
|
|
|
background-image: -webkit-linear-gradient(#e9e9e9, #d7d7d7);
|
|
|
|
background-image: -moz-linear-gradient(#e9e9e9, #d7d7d7);
|
|
|
|
background-image: -o-linear-gradient(#e9e9e9, #d7d7d7);
|
|
|
|
}
|
2012-11-27 23:30:26 +00:00
|
|
|
|
|
|
|
@mixin shade {
|
|
|
|
@include box-shadow(0 0 3px #ddd);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin solid-shade {
|
|
|
|
@include box-shadow(0 0 0 3px #f1f1f1);
|
2012-12-12 10:30:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin header-font {
|
|
|
|
color: $style_color;
|
|
|
|
text-shadow: 0 1px 1px #FFF;
|
2013-03-05 11:16:56 +00:00
|
|
|
font-size: 18px;
|
2013-03-10 10:16:57 +00:00
|
|
|
line-height: 40px;
|
2012-12-12 10:30:19 +00:00
|
|
|
font-weight: normal;
|
2013-03-05 15:28:13 +00:00
|
|
|
letter-spacing: -1px;
|
2012-12-12 10:30:19 +00:00
|
|
|
}
|
2013-03-04 19:34:26 +00:00
|
|
|
|
|
|
|
@mixin md-typography {
|
|
|
|
code { padding: 0 4px; }
|
|
|
|
p { font-size: 13px; }
|
2013-07-13 06:47:06 +00:00
|
|
|
h1 { margin-top: 30px;}
|
|
|
|
h2 { margin-top: 25px;}
|
|
|
|
h3 { margin-top: 20px;}
|
|
|
|
h4 { margin-top: 15px;}
|
2013-03-04 19:34:26 +00:00
|
|
|
}
|
2013-07-13 07:13:36 +00:00
|
|
|
|
|
|
|
@mixin page-title {
|
|
|
|
color: #456;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|