97 lines
3.0 KiB
CSS
97 lines
3.0 KiB
CSS
|
|
/* public/theme.css */
|
||
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
|
||
|
|
|
||
|
|
:root {
|
||
|
|
--bg-app: #191A1A; /* Sfondo principale */
|
||
|
|
--bg-paper: #222222; /* Sfondo menu/sidebar */
|
||
|
|
--bg-input: #2D2D2D; /* Sfondo input */
|
||
|
|
--primary: #3b82f6; /* Blu Perplexity */
|
||
|
|
--text-white: #FFFFFF;
|
||
|
|
--text-gray: #A3A3A3;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* --- 1. RESET GENERALE --- */
|
||
|
|
body {
|
||
|
|
background-color: var(--bg-app) !important;
|
||
|
|
font-family: 'Inter', sans-serif !important;
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* --- 2. SIDEBAR E MODALI --- */
|
||
|
|
/* Sidebar a sinistra e TUTTI i menu a tendina/popup */
|
||
|
|
.MuiDrawer-paper, .MuiPaper-root, .MuiMenu-paper, .MuiPopover-paper, .MuiDialog-paper {
|
||
|
|
background-color: var(--bg-paper) !important;
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
background-image: none !important;
|
||
|
|
border: 1px solid #333 !important; /* Bordo sottile per definire i contorni */
|
||
|
|
}
|
||
|
|
|
||
|
|
/* --- 3. FIX MENU PROFILO (Icone invisibili) --- */
|
||
|
|
/* Questo risolve il problema delle icone Luna e Logout scure */
|
||
|
|
.MuiListItemIcon-root {
|
||
|
|
color: var(--text-white) !important; /* Forza icona bianca */
|
||
|
|
min-width: 36px !important;
|
||
|
|
}
|
||
|
|
.MuiTypography-root {
|
||
|
|
color: var(--text-white) !important; /* Forza testo bianco */
|
||
|
|
}
|
||
|
|
/* Effetto passaggio mouse sui menu */
|
||
|
|
.MuiMenuItem-root:hover {
|
||
|
|
background-color: rgba(255, 255, 255, 0.1) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* --- 4. FIX BOTTONI IMPOSTAZIONI (Blocchi blu) --- */
|
||
|
|
/* Forza il testo dentro i bottoni a ereditare il colore bianco */
|
||
|
|
.MuiButton-root {
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
text-transform: none !important; /* Rimuove il TUTTO MAIUSCOLO */
|
||
|
|
font-weight: 600 !important;
|
||
|
|
border: 1px solid rgba(255,255,255,0.2) !important; /* Bordo di sicurezza */
|
||
|
|
}
|
||
|
|
/* Assicura che qualsiasi cosa dentro il bottone (icone o testo) sia bianca */
|
||
|
|
.MuiButton-root * {
|
||
|
|
color: white !important;
|
||
|
|
}
|
||
|
|
/* Stile per i bottoni "Conferma" (solidi) */
|
||
|
|
.MuiButton-contained {
|
||
|
|
background-color: var(--primary) !important;
|
||
|
|
border: none !important;
|
||
|
|
}
|
||
|
|
/* Stile per i bottoni "Annulla" (testo) */
|
||
|
|
.MuiButton-text {
|
||
|
|
background-color: transparent !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* --- 5. INPUT E FORM --- */
|
||
|
|
/* La barra dove scrivi */
|
||
|
|
#chat-input {
|
||
|
|
background-color: var(--bg-input) !important;
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
border-radius: 12px !important;
|
||
|
|
}
|
||
|
|
/* Icone dentro la barra di input (es. allegati) */
|
||
|
|
.MuiInputAdornment-root .MuiSvgIcon-root {
|
||
|
|
color: var(--text-gray) !important;
|
||
|
|
}
|
||
|
|
.MuiInputAdornment-root .MuiSvgIcon-root:hover {
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Etichette e Input nei Settings */
|
||
|
|
.MuiFormLabel-root, .MuiInputLabel-root {
|
||
|
|
color: var(--text-gray) !important;
|
||
|
|
}
|
||
|
|
.MuiInputBase-input, .MuiSelect-select {
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
}
|
||
|
|
/* Le freccette dei menu a tendina */
|
||
|
|
.MuiSelect-icon {
|
||
|
|
color: var(--text-white) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* --- 6. LOGO --- */
|
||
|
|
img[alt="Logo"] {
|
||
|
|
max-height: 40px !important;
|
||
|
|
width: auto !important;
|
||
|
|
}
|
||
|
|
.watermark { display: none !important; }
|