Sha256: 39fcd7b1da5c4b2c2f7ec8660cce3c76764404f61a94ce2362ee2d68eef883cc
Contents?: true
Size: 1.54 KB
Versions: 2
Compression:
Stored size: 1.54 KB
Contents
@function background_color($value) @if color($value) @return true @else @return null @function background_position($value) @if list($value) @if string(nth($value, 1)) and not str-index(nth($value, 1), '/') @return true @else if number(nth($value, 1)) @return true @else @return null @else @return null @function background_size($value) @if string($value) @if $value == 'auto' or $value == 'contain' or $value == 'cover' @return unquote('/') $value @else @return null @else if list($value) @if string(nth($value, 1)) and str-index(nth($value, 1), '/') @return $value @else @return null @else @return null @function background_repeat($value) @if $value == 'no-repeat' or $value == 'repeat' or $value == 'repeat-x' or $value == 'repeat-y' @return true @else @return null @function background_attachment($value) @if $value == 'fixed' or $value == 'scroll' @return true @else @return null @function background_image($value) @if image($value) @return true @else @return null @function background_gradient($value) @if string($value) @if str-index($value, linear-gradient) or str-index($value, radial-gradient) or str-index($value, repeating-) @return true @else @return null @else @return null @function background_clip($value) @if string($value) @if $value == 'border' or $value == 'padding' or $value == 'content' or $value == 'text' @return true @else @return null @else @return null
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oulu-0.12.2 | app/assets/stylesheets/settings/functions/_background.sass |
oulu-0.12.1 | app/assets/stylesheets/settings/functions/_background.sass |