mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-17 19:33:10 +10:00
Remove unused separated-lyrics.css and debug console logs
This commit is contained in:
@@ -34,7 +34,6 @@ export const Settings = () => {
|
||||
desc="Enable glowing effect for lyrics & Font Stytling Changes"
|
||||
checked={lyricsGlowEnabled}
|
||||
onChange={(_, checked: boolean) => {
|
||||
console.log("Lyrics Glow Effect:", checked ? "enabled" : "disabled");
|
||||
setLyricsGlowEnabled((settings.lyricsGlowEnabled = checked));
|
||||
// Update styles immediately when setting changes
|
||||
if ((window as any).updateRadiantLyricsStyles) {
|
||||
@@ -47,7 +46,6 @@ export const Settings = () => {
|
||||
desc="Enable hide/unhide UI functionality with toggle buttons"
|
||||
checked={hideUIEnabled}
|
||||
onChange={(_, checked: boolean) => {
|
||||
console.log("Hide UI Feature:", checked ? "enabled" : "disabled");
|
||||
setHideUIEnabled((settings.hideUIEnabled = checked));
|
||||
}}
|
||||
/>
|
||||
@@ -101,7 +99,6 @@ export const Settings = () => {
|
||||
step={1}
|
||||
value={backgroundContrast}
|
||||
onNumber={(value: number) => {
|
||||
console.log("Background Contrast:", value);
|
||||
setBackgroundContrast((settings.backgroundContrast = value));
|
||||
if ((window as any).updateRadiantLyricsGlobalBackground) {
|
||||
(window as any).updateRadiantLyricsGlobalBackground();
|
||||
|
||||
@@ -4,7 +4,6 @@ import { settings, Settings } from "./Settings";
|
||||
|
||||
// Import CSS files directly using Luna's file:// syntax - Took me a while to figure out <3
|
||||
import baseStyles from "file://styles.css?minify";
|
||||
import separatedLyrics from "file://separated-lyrics.css?minify";
|
||||
import playerBarHidden from "file://player-bar-hidden.css?minify";
|
||||
import lyricsGlow from "file://lyrics-glow.css?minify";
|
||||
import coverEverywhereCss from "file://cover-everywhere.css?minify";
|
||||
|
||||
@@ -1,133 +0,0 @@
|
||||
/* Font imports for lyrics */
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 400;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsRegular.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 500;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsMedium.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 600;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsSemibold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 700;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsBold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
/* Tab and container visibility - only when UI is hidden */
|
||||
.radiant-lyrics-ui-hidden [class*="tabItems"] {
|
||||
opacity: 0 !important;
|
||||
transition: opacity 0.4s ease-in-out;
|
||||
}
|
||||
|
||||
/* Remove image container positioning - let it stay where it is */
|
||||
|
||||
.radiant-lyrics-ui-hidden [class*="_tabItems"]:hover {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.radiant-lyrics-ui-hidden [data-test="header-container"] {
|
||||
opacity: 0 !important;
|
||||
transition: opacity 0.4s ease-in-out;
|
||||
}
|
||||
|
||||
/* Keep bottom gradient visible - may be needed for lyrics scrolling */
|
||||
|
||||
/* Remove credits button repositioning - let it stay where it is */
|
||||
|
||||
/* Keep lyrics provider visible - don't hide with UI */
|
||||
|
||||
/* Sync button margin */
|
||||
[class^="_syncButton"] {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Smooth scrolling for lyrics */
|
||||
[class^="_lyricsContainer"] {
|
||||
scroll-behavior: smooth;
|
||||
padding-left: 20px !important;
|
||||
padding-right: 20px !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
/* Clean view specific styles */
|
||||
[class*="_lyricsText"] > div {
|
||||
padding: 0 !important;
|
||||
background-color: transparent !important;
|
||||
transition: none !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
[class*="_lyricsText"] > div:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Ensure lyrics don't get cut off */
|
||||
[class^="_lyricsContainer"] {
|
||||
padding-bottom: 200px !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Remove any hover effects on lyrics container */
|
||||
[class^="_lyricsContainer"] > div > div {
|
||||
background-color: transparent !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
[class^="_lyricsContainer"] > div > div:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Ensure lyrics text has proper spacing */
|
||||
[class*="_lyricsText"] {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
/* Lyrics text styling */
|
||||
[class^="_lyricsText"] {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
[class^="_lyricsText"] > div > span {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
[class^="_lyricsText"] > div > span[data-current="true"] {
|
||||
font-weight: 600;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* Enhanced lyrics visibility */
|
||||
[class^="_lyricsText"] > div {
|
||||
padding: 8px 0;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
[class^="_lyricsText"] > div:hover {
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
Reference in New Issue
Block a user