|
|
@ -1,14 +1,14 @@ |
|
|
|
/** |
|
|
|
* function: z-index |
|
|
|
* |
|
|
|
* uses map $crispy__z-index to get value by key |
|
|
|
* uses map $crispy__z-index to get value by key |
|
|
|
* |
|
|
|
* @author Björn Hase |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
@function zIndex($name) { |
|
|
|
@if has-key($crispy__z-index, $name) { |
|
|
|
@if map-has-key($crispy__z-index, $name) { |
|
|
|
@return map-get($crispy__z-index, $name); |
|
|
|
} @else { |
|
|
|
@warn 'There is no item "#{$name}" in this list; choose one of: #{$crispy__z-index}'; |
|
|
|