mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
refactor: use nesting instead
This commit is contained in:
parent
cb449cfd2b
commit
70197b7780
|
@ -118,26 +118,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
#top.focus #menu {
|
||||
color: transparent !important;
|
||||
.notificationBubble {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#top.focus #menu .textButton,
|
||||
#top.focus #menu button {
|
||||
color: transparent !important;
|
||||
}
|
||||
|
||||
#top.focus #menu .textButton.account .avatar {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
#top.focus #menu .levelAndBar {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
#top {
|
||||
grid-template-areas: "logo menu";
|
||||
line-height: 2.3rem;
|
||||
|
@ -299,5 +279,18 @@
|
|||
.config {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
#menu {
|
||||
color: transparent;
|
||||
|
||||
.textButton,
|
||||
button {
|
||||
color: transparent;
|
||||
}
|
||||
.avatar,
|
||||
.levelAndBar {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue