Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
350 B

7 years ago
  1. /**
  2. *
  3. *
  4. *
  5. *
  6. * @author Björn Hase
  7. *
  8. */
  9. $z-indexes: (
  10. 'site-header': 100,
  11. 'modal': 1000
  12. ) !default;
  13. @function z-index($name) {
  14. @if index($z-indexes, $name) {
  15. @return map($z-indexes, $name);
  16. } @else {
  17. @warn 'There is no item "#{$name}" in this list; choose one of: #{$z-indexes}';
  18. @return null;
  19. }
  20. }