Files
feishin/src/renderer/features/lyrics/lyrics.module.css
T
2025-12-25 01:29:31 -08:00

77 lines
1.3 KiB
CSS

.actions-container {
position: absolute;
bottom: 0;
left: 0;
z-index: 50;
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: center;
width: 100%;
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease-in-out;
&:hover {
opacity: 1 !important;
}
&:focus-within {
opacity: 1 !important;
}
:global(> *),
:global(> * > *),
:global(div) {
pointer-events: none;
}
:global(button),
:global(input),
:global([role='button']),
:global([role='combobox']),
:global([role='textbox']) {
pointer-events: auto;
}
}
.lyrics-container {
position: relative;
display: flex;
width: 100%;
min-width: 0;
height: 100%;
overflow: hidden;
&:hover {
.actions-container {
opacity: 0.6;
}
}
}
.scroll-container {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
text-align: center;
mask-image: linear-gradient(
180deg,
transparent 5%,
rgb(0 0 0 / 100%) 20%,
rgb(0 0 0 / 100%) 85%,
transparent 95%
);
}
.settings-icon {
z-index: 100;
opacity: 0;
transition: opacity 0.2s ease;
}
.lyrics-container:hover .settings-icon {
opacity: 1;
}