Sha256: eade6e1d25ee18c61c3b65f0d810d0760f83b1379596aa7ff3d085366642ae42
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
Contents
@function background_color($value) @if color($value) @return true @else @return null @function background_position($value) @if list($value) @if str-slice(nth($value, 1), 1, 1) != '/' @if position(nth($value, 1)) or position(nth($value, 2)) @return true @else if number(nth($value, 1)) or number(nth($value, 2)) @return true @else @return null @else @return null @else @return null @function background_size($value) @if string($value) @if $value == 'auto' or $value == 'contain' or $value == 'cover' @return true @else if str-slice($value, 2) == 'auto' or $value == 'contain' or $value == 'cover' @return true @else @return null @else if list($value) @if str-slice(nth($value, 1), 1, 1) == '/' @if number(nth($value, 1)) or number(nth($value, 2)) @return true @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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oulu-rails-0.5.9 | vendor/assets/stylesheets/settings/functions/_background.css.sass |
oulu-rails-0.5.8 | vendor/assets/stylesheets/settings/functions/_background.css.sass |