Sha256: b6ec2019cc56a39f2d7b5b7e052e8ad080146509d4109b4f1ea6459df8a11f97

Contents?: true

Size: 1.78 KB

Versions: 7

Compression:

Stored size: 1.78 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 border-top($size: 1px, $color: $border-color)
  box-shadow: inset 0 $size 0 0 $color

@mixin border-bottom($size: 1px, $color: $border-color)
  box-shadow: inset 0 -#{$size} 0 0 $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

@mixin font-size($size)
  +typecsset-font-size($size)
  @if $size > $first-font-size
    font-weight: 300

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smock-0.1.189 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.188 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.187 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.186 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.185 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.184 app/assets/stylesheets/includes/_mixins.sass
smock-0.1.182 app/assets/stylesheets/includes/_mixins.sass