mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-30 18:57:27 +08:00
hiding mobile command line button when test is active. closes #2346
This commit is contained in:
parent
4707541db4
commit
ddf875d72b
2 changed files with 22 additions and 18 deletions
|
|
@ -361,21 +361,3 @@ key {
|
|||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
#commandLineMobileButton {
|
||||
display: none;
|
||||
top: -4rem;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
font-size: 1rem;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
text-align: center;
|
||||
line-height: 3rem;
|
||||
background: var(--main-color);
|
||||
border-radius: 99rem;
|
||||
z-index: 99;
|
||||
cursor: pointer;
|
||||
color: var(--bg-color);
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,24 @@
|
|||
}
|
||||
}
|
||||
|
||||
#commandLineMobileButton {
|
||||
display: none;
|
||||
top: -4rem;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
font-size: 1rem;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
text-align: center;
|
||||
line-height: 3rem;
|
||||
background: var(--main-color);
|
||||
border-radius: 99rem;
|
||||
z-index: 99;
|
||||
cursor: pointer;
|
||||
color: var(--bg-color);
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.leftright {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
|
|
@ -73,4 +91,8 @@
|
|||
a {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
#commandLineMobileButton {
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue