vendor/assets/stylesheets/settings/functions/_animation.css.sass in oulu-rails-0.5.19 vs vendor/assets/stylesheets/settings/functions/_animation.css.sass in oulu-rails-0.5.22

- old
+ new

@@ -1,15 +1,15 @@ @function time($value) @if unit_number($value) and unit($value) == 's' - @return ture + @return true @else @return null @function timing_function($value) @if string($value) @if $value == 'ease' or $value == 'linear' or $value == 'ease-in' or $value == 'ease-out' or $value == 'ease-in-out' or str-slice($value, 1, 12) == 'cubic-bezier' - @return ture + @return true @else @return null @else @return null @@ -33,15 +33,15 @@ @return delay($value) @function transition-property($value) @if string($value) @if not transition_timing_function($value) or not transition_duration($value) or not transition_delay($value) - @return ture + @return true @else @return null @else if list($value) - @return ture + @return true @else @return null ////////////////// // animation @@ -56,35 +56,35 @@ @function animation_delay($value) @return delay($value) @function animation_iteration_count($value) @if unitless_number($value) or (string($value) and $value == 'infinite') - @return ture + @return true @else @return null @function animation_direction($value) @if string($value) and ($value == 'normal' or $value == 'alternate') - @return ture + @return true @else @return null @function animation_fill_mode($value) @if string($value) and ($value == 'nonel' or $value == 'forwards' or $value == 'backwards' or $value == 'both') - @return ture + @return true @else @return null @function animation_play_state($value) @if string($value) and ($value == 'running' or $value == 'paused') - @return ture + @return true @else @return null @function animation_name($value) @if string($value) - @if not animation_timing_function($value) or not animation_duration($value) or not animation_iteration_count($value) or not animation_direction($value) or not animation_fill_mode($value) or not animation_play_state($value) - @return ture - @else + @if animation_timing_function($value) or animation_duration($value) or animation_delay($value) or animation_iteration_count($value) or animation_direction($value) or animation_fill_mode($value) or animation_play_state($value) @return null + @else + @return true @else @return null