arimelody-web/admin/static/release-list-item.css

71 lines
1.1 KiB
CSS
Raw Normal View History

2024-08-31 19:29:57 +01:00
.release {
margin-bottom: 1em;
padding: 1em;
display: flex;
flex-direction: row;
gap: 1em;
2025-10-19 05:01:55 +01:00
border-radius: 16px;
background: var(--bg-2);
box-shadow: var(--shadow-md);
2024-08-31 19:29:57 +01:00
}
.release h3,
.release p {
margin: 0;
}
.release-artwork {
2025-10-19 05:01:55 +01:00
margin: auto 0;
2024-08-31 19:29:57 +01:00
width: 96px;
display: flex;
justify-content: center;
align-items: center;
2025-10-19 05:01:55 +01:00
border-radius: 4px;
overflow: hidden;
box-shadow: var(--shadow-sm);
2024-08-31 19:29:57 +01:00
}
.release-artwork img {
width: 100%;
aspect-ratio: 1;
}
.release-title small {
opacity: .75;
}
.release-links {
margin: .5em 0;
padding: 0;
display: flex;
flex-direction: row;
list-style: none;
flex-wrap: wrap;
gap: .5em;
}
.release-actions {
margin-top: .5em;
2025-10-19 05:01:55 +01:00
user-select: none;
2024-08-31 19:29:57 +01:00
}
.release-actions a {
margin-right: .3em;
padding: .3em .5em;
display: inline-block;
border-radius: 4px;
2025-10-19 05:01:55 +01:00
background: var(--bg-3);
box-shadow: var(--shadow-sm);
2024-08-31 19:29:57 +01:00
2025-10-19 05:01:55 +01:00
transition: color .1s ease-out, background .1s ease-out;
2024-08-31 19:29:57 +01:00
}
.release-actions a:hover {
2025-10-19 05:01:55 +01:00
background: var(--bg-0);
color: var(--fg-3);
2024-08-31 19:29:57 +01:00
text-decoration: none;
}