39 lines
1.3 KiB
SCSS
39 lines
1.3 KiB
SCSS
$fs: 16px;
|
|
$fsMono: 85%;
|
|
$ff: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
|
|
$ffMono: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
|
|
|
|
$base-width: 900px;
|
|
$side-padding: 25px;
|
|
$base-padding: 18px;
|
|
$footer-height: 64px;
|
|
|
|
@mixin radius($radius) {
|
|
-o-border-radius: $radius;
|
|
-ms-border-radius: $radius;
|
|
-moz-border-radius: $radius;
|
|
-webkit-border-radius: $radius;
|
|
border-radius: $radius;
|
|
}
|
|
|
|
@mixin transition($property, $duration, $easing: linear) {
|
|
transition: $property $duration $easing;
|
|
-webkit-transition: $property $duration $easing;
|
|
-moz-transition: $property $duration $easing;
|
|
}
|
|
|
|
@mixin linearGradient($top, $bottom){
|
|
background: -moz-linear-gradient(top, $top 0%, $bottom 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom)); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, $top 0%,$bottom 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, $top 0%,$bottom 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, $top 0%,$bottom 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, $top 0%,$bottom 100%); /* W3C */
|
|
}
|
|
|
|
@mixin user-select($value) {
|
|
-moz-user-select: $value;
|
|
-webkit-user-select: $value;
|
|
user-select: $value;
|
|
}
|