Add click animation to Genres, Modal, Playlists

This commit is contained in:
Denevola 2022-09-24 03:10:08 +09:00
parent 437e3ebd2f
commit f207b2f4dc
3 changed files with 12 additions and 0 deletions

View file

@ -126,10 +126,14 @@ onMounted(get);
letter-spacing: 0.125rem;
background-color: var(--color-background-mute);
color: var(--btn-color);
transition: background-color 0.1s ease;
}
.btn:hover {
background-color: var(--color-background-soft);
}
.btn:active {
background-color: var(--color-border);
}
.head {
margin-top: 1.75rem;
text-align: center;

View file

@ -91,6 +91,7 @@ watch(show, n => {
font-size: 1rem;
font-weight: bold;
border-right: 1px solid var(--color-shadow);
transition: background-color 0.1s ease;
}
.modal-buttons button:first-child {
color: indianred;
@ -103,6 +104,9 @@ watch(show, n => {
.modal-buttons button:hover {
background-color: var(--color-background-mute);
}
.modal-buttons button:active {
background-color: var(--color-border);
}
@media (max-width: 530px) {
.modal-box {

View file

@ -62,10 +62,14 @@ defineEmits(['playthis']);
margin: 0.125rem;
border-radius: 0.25rem;
background: var(--color-background);
transition: background-color 0.1s ease;
}
.pl-item:hover {
background: var(--color-background-soft);
}
.pl-item:active {
background: var(--color-border);
}
.pl-main {
overflow: hidden;
white-space: nowrap;