Files
feishin/src/renderer/features/albums/components/album-detail-content.module.css
T
Damien Erambert 22dd20884d Light mode fixes (#1379)
* Fix color of text in text buttons in light mode

* fix border color of search input in light mode

* fix carousel text colors in light mode

* fix scroll shadows colors in light mode
2025-12-12 19:30:30 -08:00

82 lines
1.8 KiB
CSS

.content-container {
position: relative;
z-index: 0;
container-type: inline-size;
}
.detail-container {
display: flex;
flex-direction: column;
gap: var(--theme-spacing-lg);
padding: 1rem 2rem 5rem;
}
.content-layout {
display: grid;
grid-template-areas:
'metadata'
'songs';
grid-template-rows: auto auto;
grid-template-columns: 1fr;
gap: var(--theme-spacing-lg);
align-items: start;
width: 100%;
min-width: 0;
}
.metadata-column {
display: flex;
flex-direction: column;
grid-area: metadata;
}
.songs-column {
display: flex;
flex-direction: column;
grid-area: songs;
min-width: 0;
overflow-x: hidden;
}
.search-text-input {
background: transparent;
border-color: rgb(255 255 255 / 5%);
border-style: solid;
border-width: 1px;
@mixin light {
border-color: rgb(0 0 0 / 5%);
}
@mixin dark {
border-color: rgb(255 255 255 / 5%);
}
}
@container (min-width: $mantine-breakpoint-lg) {
.content-layout {
grid-template-areas: 'songs metadata';
grid-template-rows: 1fr;
grid-template-columns: minmax(0, 1fr) 300px;
gap: var(--theme-spacing-xl);
width: 100%;
max-width: 100%;
}
/* Prevent sticky headers from extending into the right margins */
.songs-column :global(.fs-item-table-list-module-sticky-header),
.songs-column :global(.fs-item-table-list-module-sticky-group-row) {
padding-right: 0;
margin-right: 0;
}
.metadata-column {
position: sticky;
top: calc(var(--theme-spacing-lg) + 4rem);
align-self: start;
width: 300px;
max-height: calc(100vh - 90px - var(--theme-spacing-lg) - 4rem);
overflow-y: auto;
}
}