mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 12:48:01 +02:00
Add click animation to Genres, Modal, Playlists
This commit is contained in:
parent
437e3ebd2f
commit
f207b2f4dc
3 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue