2016-01-07 13:27:57 +02:00
|
|
|
@mixin halfcolumn() {
|
|
|
|
@media (min-width: breakpoint-min(sm)) {
|
2016-09-26 10:20:48 +03:00
|
|
|
@include make-col(6);
|
2016-01-07 13:27:57 +02:00
|
|
|
}
|
|
|
|
@media (max-width: breakpoint-max(xs)) {
|
2016-09-26 10:20:48 +03:00
|
|
|
@include make-col(12);
|
2016-01-07 13:27:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@mixin col($sm-width, $xs-width) {
|
|
|
|
@media (min-width: breakpoint-min(sm)) {
|
2016-09-26 10:20:48 +03:00
|
|
|
@include make-col($sm-width);
|
2016-01-07 13:27:57 +02:00
|
|
|
}
|
|
|
|
@media (max-width: breakpoint-max(xs)) {
|
2016-09-26 10:20:48 +03:00
|
|
|
@include make-col($xs-width);
|
2016-01-07 13:27:57 +02:00
|
|
|
}
|
|
|
|
}
|
2016-09-26 11:40:54 +03:00
|
|
|
@mixin prefix($property, $value, $prefixes: ()) {
|
|
|
|
@each $prefix in $prefixes {
|
|
|
|
#{'-' + $prefix + '-' + $property}: $value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Output standard non-prefixed declaration
|
|
|
|
#{$property}: $value;
|
|
|
|
}
|