added quick restart and crosspad grid

This commit is contained in:
Nathan DECHER
2020-04-05 20:58:35 +02:00
parent b12ac2fab9
commit 3a571a9c30
6 changed files with 103 additions and 13 deletions
+34
View File
@@ -0,0 +1,34 @@
#hud {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
& > * {
position: fixed;
pointer-events: auto;
}
.restart {
top: 0;
right: 0;
&::before {
content: '⟳';
font-size: 3rem;
opacity: .5;
color: @accentfg;
}
}
.crosspadOverlay {
pointer-events: none;
top: 50vh;
left: 50vw;
transform: translate(-50%, -50%);
opacity: .5;
}
}
+3 -1
View File
@@ -41,7 +41,7 @@ em {
header, footer {
background: @accentbg;
img {
border: 4px solid @accentfg;
border-radius: 2px;
@@ -105,3 +105,5 @@ p {
// setup the popups
@import 'popup';
// setup the hud
@import 'hud';