mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
f0d22267c3
- react-resizable-panels was causing an issue with browser navigation
87 lines
1.8 KiB
CSS
87 lines
1.8 KiB
CSS
.play-queue-section {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.lyrics-section {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
padding: var(--theme-spacing-md);
|
|
overflow: hidden;
|
|
background: var(--theme-colors-background);
|
|
background-color: var(--theme-colors-background-alternate);
|
|
}
|
|
|
|
.lyrics-section :global(.synchronized-lyrics) {
|
|
padding: 2rem 0 4rem !important;
|
|
transform: translateY(0) !important;
|
|
}
|
|
|
|
.lyrics-section :global(.synchronized-lyrics .lyric-line) {
|
|
padding: 0.25rem 0;
|
|
}
|
|
|
|
.visualizer-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.visualizer-section {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
max-height: 100%;
|
|
overflow: hidden;
|
|
background: var(--theme-colors-background);
|
|
background-color: var(--theme-colors-background-alternate);
|
|
}
|
|
|
|
.resize-handle {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
height: 4px;
|
|
cursor: row-resize;
|
|
|
|
&:before {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background: var(--theme-colors-border);
|
|
content: '';
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
}
|
|
|
|
.panel-reorder-controls {
|
|
position: absolute;
|
|
top: var(--theme-spacing-md);
|
|
left: var(--theme-spacing-md);
|
|
z-index: 100;
|
|
pointer-events: auto;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.lyrics-section:hover .panel-reorder-controls,
|
|
.visualizer-section:hover .panel-reorder-controls {
|
|
opacity: 1;
|
|
}
|