Improve the hover/focus states for the PlayerSheet and tabs

This commit is contained in:
Oliver 2026-04-29 19:48:47 -06:00
parent f64dbcd42f
commit 6e6402445c
3 changed files with 29 additions and 8 deletions

View file

@ -54,6 +54,10 @@
text-align: center;
height: 24px;
min-height: unset;
&:focus {
outline: 1px solid var(--attribute-input-focus-colour);
}
}
}
@ -212,10 +216,6 @@
font-size: 1.1rem;
}
input {
width: 50px;
}
input, button {
border: none;
background: var(--attribute-input-background);
@ -224,15 +224,27 @@
height: 24px;
min-height: unset;
&:focus-visible {
outline: 1px solid var(--attribute-input-focus-colour);
}
&:disabled {
color: var(--attribute-disabled-input-colour);
}
}
input {
width: 50px;
&:focus {
outline: 1px solid var(--attribute-input-focus-colour);
}
}
button {
&:active {
background: var(--attribute-button-active-background);
}
&:focus-visible {
outline: 1px solid var(--attribute-input-focus-colour);
}
}
&:last-child:nth-child(odd) {
grid-column: 1 / -1;
border-radius: 0 0 6px 6px;