Sha256: 256e4cb24f3d7b0b11b514b383ac742937c2c5827a00d1d90d1bf613176e9076

Contents?: true

Size: 1022 Bytes

Versions: 4

Compression:

Stored size: 1022 Bytes

Contents

=reset-margin($directions: all)
  @if $directions == 'all'
    margin: 0
  @else if $directions == 'horizontal'
    margin-left: 0
    margin-right: 0
  @else if $directions == 'vertical'
    margin-top: 0
    margin-bottom: 0
  @else
    @each $direction in $directions
      @if $direction == 'horizontal'
        margin-left: 0
        margin-right: 0
      @else if $direction == 'vertical'
        margin-top: 0
        margin-bottom: 0
      @else
        margin-#{$direction}: 0

=reset-padding($directions: all)
  @if $directions == 'all'
    padding: 0
  @else if $directions == 'horizontal'
    padding-left: 0
    padding-right: 0
  @else if $directions == 'vertical'
    padding-top: 0
    padding-bottom: 0
  @else
    @each $direction in $directions
      @if $direction == 'horizontal'
        padding-left: 0
        padding-right: 0
      @else if $direction == 'vertical'
        padding-top: 0
        padding-bottom: 0
      @else
        padding-#{$direction}: 0

=reset-text
  margin: 0
  padding: 0

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
middleman-oulu-0.5.12 assets/stylesheets/settings/mixins/_resets.css.sass
oulu-rails-0.5.12 vendor/assets/stylesheets/settings/mixins/_resets.css.sass
oulu-rails-0.5.11 vendor/assets/stylesheets/settings/mixins/_resets.css.sass
middleman-oulu-0.5.10 assets/stylesheets/settings/mixins/_resets.css.sass