https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
379 B
24 lines
379 B
7 years ago
|
// Padding API
|
||
|
// ===========
|
||
|
|
||
|
// Padding Output
|
||
|
// --------------
|
||
|
// - $before : <length>
|
||
|
// - $after : <length>
|
||
|
// - [$flow] : ltr | rtl
|
||
|
@mixin padding-output(
|
||
|
$before,
|
||
|
$after,
|
||
|
$flow: map-get($susy-defaults, flow)
|
||
|
) {
|
||
|
$to: to($flow);
|
||
|
$from: from($flow);
|
||
|
|
||
|
$output: (
|
||
|
padding-#{$from}: $before,
|
||
|
padding-#{$to}: $after,
|
||
|
);
|
||
|
|
||
|
@include output($output);
|
||
|
}
|