Sha256: 7ab3b016fab40c83efa2a69388bdc0b0a5402cce274c969549c74da5058f46af

Contents?: true

Size: 1.66 KB

Versions: 19

Compression:

Stored size: 1.66 KB

Contents

z-layer()
  $map = $layers
  for layer in arguments
    $map = $map[layer]
  z-index $map

extend-font(family = sans-serif, size = 1em, weight = 400)
  +cache('f' + family)
    font-family family
  +cache('s' + size)
    font-size size
  +cache('w' + size)
    font-weight weight

my-position($position = 'absolute', $top = 'none', $right = 'none', $bottom = 'none', $left = 'none')
  position unquote($position)
  unless $top is 'none'
    top $top
  unless $right is 'none'
    right $right
  unless $bottom is 'none'
    bottom $bottom
  unless $left is 'none'
    left $left

absolute($top = 'none', $right = 'none', $bottom = 'none', $left = 'none')
  my-position 'absolute', $top, $right, $bottom, $left

fixed($top = 'none', $right = 'none', $bottom = 'none', $left = 'none')
  my-position 'fixed', $top, $right, $bottom, $left

relative($top = 'none', $right = 'none', $bottom = 'none', $left = 'none')
  my-position 'relative', $top, $right, $bottom, $left

center($position)
  position $position
  top 50%
  left 50%
  transform translateY(-50%) translateX(-50%)

horizontal-center($position = absolute)
  position $position
  left 50%
  transform translateX(-50%)

vertical-center($position = absolute)
  position $position
  top 50%
  transform translateY(-50%)

padding-vertical($padding)
  padding-top $padding
  padding-bottom $padding

padding-horizontal($padding)
  padding-left $padding
  padding-right $padding

holo-input-border($color = #000000, $width = 1px, $height = 4px)
  $bg = linear-gradient($color, $color)
  background bottom left $bg no-repeat, bottom center $bg repeat-x, bottom right $bg no-repeat
  background-size $width $height, $width $width, $width $height

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ela-4.1.6 node_modules/poised/lib/poised/mixins.styl
ela-4.1.5 node_modules/poised/lib/poised/mixins.styl
ela-4.1.4 node_modules/poised/lib/poised/mixins.styl
ela-4.1.3 node_modules/poised/lib/poised/mixins.styl
ela-4.1.2 node_modules/poised/lib/poised/mixins.styl
ela-4.1.1 node_modules/poised/lib/poised/mixins.styl
ela-4.1.0 node_modules/poised/lib/poised/mixins.styl
ela-4.0.0 node_modules/poised/lib/poised/mixins.styl
ela-3.4.3 node_modules/poised/lib/poised/mixins.styl
ela-3.4.2 node_modules/poised/lib/poised/mixins.styl
ela-3.4.0 node_modules/poised/lib/poised/mixins.styl
ela-3.3.1 node_modules/poised/lib/poised/mixins.styl
ela-3.3.0 node_modules/poised.old/lib/poised/mixins.styl
ela-3.2.0 node_modules/poised/lib/poised/mixins.styl
ela-3.1.1 node_modules/poised/lib/poised/mixins.styl
ela-3.1.0 node_modules/poised/lib/poised/mixins.styl
ela-3.0.0 node_modules/poised/lib/poised/mixins.styl
ela-2.0.0 node_modules/poised/lib/poised/mixins.styl
ela-1.1.0 node_modules/poised/lib/poised/mixins.styl