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.
 
 
 

31 lines
417 B

/**
* z-index
*
* handle z-index
*
*
* @author Björn Hase
*
*/
$z-indexes: (
'site-header': 100,
'modal': 1000
) !default;
/**
* z-index
*
*
*
* @return
*
*/
@function zIndex($name) {
@if index($z-indexes, $name) {
@return map($z-indexes, $name);
} @else {
@warn 'There is no item "#{$name}" in this list; choose one of: #{$z-indexes}';
@return null;
}
}