mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-06 14:46:47 +08:00
fix(theme): inconsistent/unreadable styling on settings page when using phantom theme (@fehmer) (#6446)
1. Some buttons have the color animation set like funboxes on the settings page while others have not:  2. On the active theme button the effects overlap making it unreadable:  3. On the footer color effect was applied to the `textButton` (like github, discord links) but not `button` (like contract and support). This applies to all animated themes.
This commit is contained in:
parent
fd75dd8ac8
commit
644c59cd9b
7 changed files with 15 additions and 7 deletions
|
@ -66,6 +66,8 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover {
|
||||
animation: aurora 5s linear infinite;
|
||||
}
|
||||
|
|
|
@ -66,6 +66,8 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover {
|
||||
animation: fire 5s linear infinite;
|
||||
}
|
||||
|
|
|
@ -66,6 +66,8 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover {
|
||||
animation: pastel 5s linear infinite;
|
||||
}
|
||||
|
|
|
@ -104,10 +104,7 @@ input[type="submit"]:hover {
|
|||
color: var(--bg-color);
|
||||
}
|
||||
|
||||
#caret,
|
||||
.pageSettings .section .buttons .button.active,
|
||||
.pageSettings .section.languages .buttons .language.active,
|
||||
.pageAccount .group.filterButtons .buttons .button.active {
|
||||
#caret {
|
||||
animation: tokyo-bg 3s linear infinite;
|
||||
}
|
||||
|
||||
|
@ -117,13 +114,12 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover {
|
||||
animation: tokyo-glow 3s linear infinite;
|
||||
}
|
||||
|
||||
.textButton.active {
|
||||
animation: tokyo-glow 3s linear infinite;
|
||||
}
|
||||
.afk,
|
||||
.timeToday,
|
||||
#words .word letter.correct,
|
||||
|
|
|
@ -96,6 +96,8 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover,
|
||||
#words.flipped .word {
|
||||
animation: rgb 5s linear infinite;
|
||||
|
|
|
@ -44,6 +44,8 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover {
|
||||
animation: shadow-repeat 3s linear infinite forwards;
|
||||
}
|
||||
|
|
|
@ -54,6 +54,8 @@ header .config .group .buttons .textButton.active,
|
|||
nav .textButton:hover,
|
||||
nav button.text:hover,
|
||||
header .config .group .buttons .textButton:hover,
|
||||
footer .textButton:hover,
|
||||
footer button.text:hover,
|
||||
a:not(.button):hover {
|
||||
animation: trance 5s linear infinite;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue