fix(frontend): ノート投稿ボタンにホバー時のスタイルが適用されていない (#305)

(cherry picked from commit 711ab846a967feeddbe0c908bee4b91646cec321)
This commit is contained in:
taiy 2024-11-05 09:50:27 +09:00 committed by kakkokari-gtyih
parent 6718a54f6f
commit 54de2435c8
1 changed files with 3 additions and 3 deletions

View File

@ -1108,7 +1108,7 @@ defineExpose({
&:focus-visible { &:focus-visible {
outline: none; outline: none;
.submitInner { > .submitInner {
outline: 2px solid var(--MI_THEME-fgOnAccent); outline: 2px solid var(--MI_THEME-fgOnAccent);
outline-offset: -4px; outline-offset: -4px;
} }
@ -1123,13 +1123,13 @@ defineExpose({
} }
&:not(:disabled):hover { &:not(:disabled):hover {
> .inner { > .submitInner {
background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5))); background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5)));
} }
} }
&:not(:disabled):active { &:not(:disabled):active {
> .inner { > .submitInner {
background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5))); background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5)));
} }
} }