feat: improve visual feedback on patch containers

This commit is contained in:
oSumAtrIX 2023-06-21 03:52:16 +02:00
parent 304799d9b5
commit 8b7900d75c
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -66,7 +66,7 @@
{/if} {/if}
</div> </div>
<style> <style lang="scss">
h3 { h3 {
margin-right: 0.5rem; margin-right: 0.5rem;
margin-bottom: 0.2rem; margin-bottom: 0.2rem;
@ -106,14 +106,18 @@
} }
.patch-container { .patch-container {
transition: all 2s var(--bezier-one); transition: all 0.1s var(--bezier-one);
background-color: var(--grey-six); background-color: var(--grey-six);
padding: 1.25rem; padding: 1.25rem;
border-radius: 12px; border-radius: 12px;
&:active {
filter: brightness(1.15);
} }
.patch-container:active { &:hover {
filter: brightness(1.75); background-color: var(--grey-one);
}
} }
.title { .title {