Sha256: a7c7c9bed2e6d8b66ee496170c5eee288c73539070ecc6f94d27a555133d30ed

Contents?: true

Size: 1.49 KB

Versions: 130

Compression:

Stored size: 1.49 KB

Contents

@mixin mask($color, $opacity)
  position: relative
  &:before
    content: ''
    height: 100%
    width: 100%
    background: $color
    position: absolute
    left: 0
    top: 0
    opacity: $opacity

@mixin space($property, $lines: 1)
  #{$property}: $typecsset-magic-number * $lines
  #{$property}: $typecsset-magic-ratio * $lines + rem

@mixin hide-on($breakpoint)
  +media($breakpoint)
    display: none

@mixin span-wow($desktopSpan, $mobileSpan: false)
  +span-columns($desktopSpan)
  @if $mobileSpan != false
    +media($mobile)
      +span-columns($mobileSpan)

@mixin top-horizontal-rule($lines: 1, $size: 1px, $color: $border-color)
  &:before
    content: ''
    display: block
    +space(margin-top, $lines / 2)
    +space(padding-top, $lines / 2)
    box-shadow: 0px -#{$size} 0px 0px $color
    position: relative
    top: $size / 2

@mixin remove-top-horizontal-rule
  &:before
    display: none

@mixin bottom-horizontal-rule($lines: 1, $size: 1px, $color: $border-color)
  &:after
    content: ''
    display: block
    +space(margin-bottom, $lines / 2)
    +space(padding-bottom, $lines / 2)
    box-shadow: 0px $size 0px 0px $color
    position: relative
    top: -#{$size / 2}
    clear: both

@mixin border($size: 1px, $color: $border-color)
  box-shadow: inset 0 0 0 $size $color


@mixin hide-bottom-horizontal-rule
  &:after
    visibility: hidden

@mixin remove-bottom-horizontal-rule
  &:after
    display: none

@mixin padded-outer-container
  +outer-container
  padding: 0 $grid-padding-width

Version data entries

130 entries across 100 versions & 1 rubygems

Version Path
smock-0.1.110 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.109 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.108 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.107 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.106 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.105 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.104 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.102 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.101 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.100 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.99 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.98 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.97 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.96 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.94 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.93 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.92 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.91 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.90 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.89 app/assets/stylesheets/includes/_mixins.sass