mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-24 23:04:00 +08:00
parent
97f6f95af3
commit
27fedd56c2
2 changed files with 6 additions and 0 deletions
|
@ -930,6 +930,10 @@
|
|||
display: none;
|
||||
height: max-content;
|
||||
margin-bottom: 1rem;
|
||||
transition: 0.125s;
|
||||
&.focus {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#testConfig {
|
||||
|
|
|
@ -13,6 +13,7 @@ export function set(foc: boolean, withCursor = false): void {
|
|||
if (!withCursor) $("body").css("cursor", "none");
|
||||
$("#middle").addClass("focus");
|
||||
$("#testConfig").addClass("focus");
|
||||
$("#mobileTestConfig").addClass("focus");
|
||||
$("#bannerCenter").addClass("focus");
|
||||
$("#capsWarning").addClass("focus");
|
||||
$("#ad-vertical-right-wrapper").addClass("focus");
|
||||
|
@ -27,6 +28,7 @@ export function set(foc: boolean, withCursor = false): void {
|
|||
$("body").css("cursor", "default");
|
||||
$("#middle").removeClass("focus");
|
||||
$("#testConfig").removeClass("focus");
|
||||
$("#mobileTestConfig").removeClass("focus");
|
||||
$("#bannerCenter").removeClass("focus");
|
||||
$("#capsWarning").removeClass("focus");
|
||||
$("#app").removeClass("focus");
|
||||
|
|
Loading…
Reference in a new issue