Clean up z-indexes

There have been some z-indexes that were removed and then reintroduced
through strange merges. This is an attempt to remove all z-indexes that
are unnecessary and to clearly state the purpose of the remaining
z-indexes in a comment to each index.

SPR-981
This commit is contained in:
Michael Große 2017-05-05 12:14:44 +02:00
commit 80aedcc551
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79
15 changed files with 11 additions and 23 deletions

View file

@ -119,7 +119,7 @@
&:focus,
&:active {
position: relative; // always show label, even with collapsed sidebar
z-index: 100;
z-index: 100; // show label/link above content on hover etc.
width: 100%;
background-color: @ini_nav_menu_hover_bg;
border-color: @ini_nav_menu_hover_color;
@ -316,7 +316,7 @@
display: block !important;
position: absolute;
left: 1.25rem; // left margin of content container
z-index: 200; // above all
z-index: 200; // mobile sidebar above all
box-shadow: @box-shadow-right-bottom;
min-width: 45%;
max-width: 90%;
@ -325,7 +325,6 @@
> nav {
position: relative;
z-index: 2;
&:first-child {
margin-top: 1.2rem;