Add restart and exit buttons, add restart shortcut, fix restarting on specific measures

This commit is contained in:
LoveEevee
2018-10-15 01:00:40 +03:00
parent d4f242a236
commit 925e6b44bd
5 changed files with 66 additions and 10 deletions

View File

@@ -2,8 +2,8 @@
position: absolute;
top: 0;
left: 0;
width: 250px;
height: 220px;
width: 260px;
height: 240px;
background: #fff;
border: 1px solid #333;
color: #000;
@@ -84,3 +84,30 @@
#debug input[type="checkbox"]{
margin-right: 1em;
}
#debug .bottom-btns{
display: flex;
width: 100%;
justify-content: flex-end;
}
#debug .bottom-btns div{
width: calc(50% - 3px);
height: 30px;
opacity: 0.8;
background: #666;
color: #fff;
text-align: center;
line-height: 2em;
cursor: pointer;
}
#debug .bottom-btns div:hover{
opacity: 1;
background: #333;
}
#debug .restart-btn{
display: none;
margin-right: 3px;
}
#debug .exit-btn{
margin-left: 3px;
}