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.

32 lines
421 B

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