arimelody-web/admin/static/releases.css

81 lines
1.4 KiB
CSS
Raw Permalink 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);
transition: background .1s ease-out, color .1s ease-out;
2024-08-31 19:29:57 +01:00
}
.release h3,
.release p {
margin: 0;
2025-10-21 23:22:57 +01:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2024-08-31 19:29:57 +01:00
}
.release .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 .release-artwork img {
2024-08-31 19:29:57 +01:00
width: 100%;
aspect-ratio: 1;
}
2025-10-21 23:22:57 +01:00
.release .release-info {
max-width: calc(100% - 96px - 1em);
}
.release .release-title small {
2024-08-31 19:29:57 +01:00
opacity: .75;
}
.release .release-links {
2024-08-31 19:29:57 +01:00
margin: .5em 0;
padding: 0;
display: flex;
flex-direction: row;
list-style: none;
flex-wrap: wrap;
gap: .5em;
}
.release .release-actions {
2024-08-31 19:29:57 +01:00
margin-top: .5em;
2025-10-19 05:01:55 +01:00
user-select: none;
2025-10-21 15:57:12 +01:00
color: var(--fg-3);
2024-08-31 19:29:57 +01:00
}
.release .release-actions a {
2024-08-31 19:29:57 +01:00
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 .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;
}