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:
Prospector
2022-03-06 14:37:07 -08:00
committed by GitHub
parent 8b5db12e1d
commit a50e109043
8 changed files with 93 additions and 26 deletions

View File

@@ -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 {