mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
Some more cleanup to prepare for 2.1.0 release (#395)
* Make syntax highlighting green match the brand color * Fix version filter control wrapping and not obeying snapshot filter * Fix checkbox hover state Closes #390 * Update components/ui/VersionFilterControl.vue Co-authored-by: Emma Pointer-Null <emmaffle@modrinth.com> * Fix missing hover and active states for various buttons Co-authored-by: Emma Pointer-Null <emmaffle@modrinth.com>
This commit is contained in:
co-authored by
Emma Pointer-Null
parent
8b5db12e1d
commit
a50e109043
@@ -84,6 +84,30 @@ export default {
|
||||
padding: 0.2rem 0rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&:focus-visible,
|
||||
&:hover {
|
||||
color: var(--color-heading);
|
||||
|
||||
button {
|
||||
background-color: var(--color-button-bg-hover);
|
||||
|
||||
&.checked {
|
||||
background-color: var(--color-brand-hover);
|
||||
}
|
||||
}
|
||||
}
|
||||
&:active {
|
||||
color: var(--color-text-dark);
|
||||
|
||||
button {
|
||||
background-color: var(--color-button-bg-active);
|
||||
|
||||
&.checked {
|
||||
background-color: var(--color-brand-active);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
|
||||
Reference in New Issue
Block a user