Files
feishin/src/renderer/components/item-list/item-table-list/album-group-header.module.css
T
jeffvli 8fc30e6936 add links, favorite, rating to album group column (#2139)
- additionally fix drop and drop interactions
2026-07-10 00:59:07 -07:00

69 lines
1.2 KiB
CSS

.container {
display: flex;
gap: var(--theme-spacing-sm);
width: 100%;
height: 100%;
padding: 0 var(--theme-spacing-xs);
}
.image-container {
position: relative;
box-sizing: border-box;
flex-shrink: 0;
height: 100%;
aspect-ratio: 1;
padding-top: calc(var(--theme-spacing-xs) * 0.5);
overflow: hidden;
border-radius: var(--theme-radius-md);
&::before {
position: absolute;
top: 0;
left: 0;
z-index: 5;
width: 100%;
height: 100%;
pointer-events: none;
content: '';
background-color: rgb(0 0 0);
opacity: 0;
transition: all 0.2s ease-in-out;
}
&:hover::before {
@mixin dark {
opacity: 0.7;
}
@mixin light {
opacity: 0.5;
}
}
}
.info {
display: flex;
flex-direction: column;
min-width: 0;
padding: 0;
overflow: hidden;
}
.album-name {
font-size: var(--theme-font-size-sm);
}
.album-name a {
color: inherit;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.artist-name {
font-size: var(--theme-font-size-xs);
opacity: 0.7;
}