[scss.menu] fixed z-index to show item labels + revert change for fixed menu

This commit is contained in:
xdrm-brackets 2018-03-05 17:38:51 +01:00
parent 3e611ba2f3
commit 07438b400a
2 changed files with 10 additions and 6 deletions

View File

@ -50,6 +50,10 @@ body{
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
button{
font-size: 1.3em;
}
span{ span{
display: block; display: block;
text-align: center; text-align: center;

View File

@ -14,10 +14,10 @@
---------------------------------------------------------*/ ---------------------------------------------------------*/
display: flex; display: flex;
position: fixed; position: fixed;
top: 0; top: $header-height;
left: 0; left: 0;
width: calc( #{$menu-width} - 1px ); width: calc( #{$menu-width} - 1px );
height: 100%; height: calc( 100% - #{$header-height} );
background-color: $menu-bg; background-color: $menu-bg;
border-right: 1px solid #e3e7eb; border-right: 1px solid #e3e7eb;
@ -27,7 +27,7 @@
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
z-index: 100; z-index: 101;
/* (2) Items /* (2) Items
---------------------------------------------------------*/ ---------------------------------------------------------*/
@ -84,10 +84,10 @@
padding: .3em .7em; padding: .3em .7em;
background-color: $menu-bg; background-color: #333;
border: 1px solid darken($menu-bg, 5%); border: 1px solid #222;
color: invert(#fff); color: #ccc;
border-radius: 3px / 3px; border-radius: 3px / 3px;