Skip to content

Commit

Permalink
Hamburger button always visible rather the menu is on or off.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-wu committed Jul 20, 2019
1 parent 809e447 commit 793945f
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/styles/dat-gui-swec.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,26 +148,32 @@
text-align: center;
text-shadow: 1px 0 0 white
}
.dg.main .close-button:hover {
outline-color: lightblue;
outline-style: solid;
outline-width: 1.5px;
background-color: #fff;
}
.dg.main .close-button.close-bottom {
position:relative;

.dg.main .close-button.close-bottom:hover {
background-color: lightblue;
}

.dg.main .closed + .close-button.close-bottom {
.dg.main .close-button.close-bottom {
position:absolute;
top: 0px;
background-image: url("images/hamburger.png")!important;
text-indent: -9999px;
background-size:40px;
width:40px!important;
height:40px!important;
background-color:#fff!important;
background-color:#fff;
border: none;
}

.dg.main > ul{
margin-top: 40px;
}

.folder .dg ul li:last-child {
border-radius: 0px 0px 10px;
}


.dg li:not(.folder) {
border-bottom:none;
}

0 comments on commit 793945f

Please sign in to comment.