Sha256: 9175e7ae6be0b641486f84d9d80fbb915b826b73e0f28de0fd71b86658a8b586

Contents?: true

Size: 809 Bytes

Versions: 11

Compression:

Stored size: 809 Bytes

Contents

//----------------------------------------------------------------
//             Margin
//----------------------------------------------------------------

@include sizes('.margin', 'margin');
@include sizes('.margin-v', ('margin-top' 'margin-bottom'));
@include sizes('.margin-h', ('margin-left' 'margin-right'));
@each $direction in 'top' 'right' 'bottom' 'left' {
    @include sizes('.margin-#{$direction}', 'margin-#{$direction}');
    .margin-#{$direction}-nest{
        margin-#{$direction}: -1em;
    }
}
@include size-rules('.margin-nest'){
    margin: -1em;
}
@include size-rules('.margin-v-nest'){
    margin-top: -1em;
    margin-bottom: -1em;
}
@include size-rules('.margin-h-nest'){
    margin-left: -1em;
    margin-right: -1em;
}
@include size-rules('.margin-nest-half'){
    margin: -0.5em;
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
uniform-ui-2.4.1 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.4.0 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.8 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.7 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.6 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.5 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.4 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.3 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.3.2 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.2.2 lib/assets/stylesheets/uniform/helpers/margin.scss
uniform-ui-2.2.1 lib/assets/stylesheets/uniform/helpers/margin.scss