vendor/assets/stylesheets/settings/mixins/_overlay.css.sass in oulu-rails-0.5.16 vs vendor/assets/stylesheets/settings/mixins/_overlay.css.sass in oulu-rails-0.5.17
- old
+ new
@@ -1,5 +1,5 @@
-=overlay($overlay-color: rgba(0, 0, 0, .4), $overlay-z-index: 10)
- +absolute(left 0, top 0, $overlay-z-index)
- width: 100%
- height: 100%
- +rgba-background($overlay-color)
+=overlay($overlay-color: null, $overlay-z-index: null)
+ @if $overlay-color
+ +fixed(left 0, top 0, $overlay-z-index)
+ +size(100%)
+ +rgba-background($overlay-color)