Manual changes saved
Browse files- index.html +131 -102
index.html
CHANGED
|
@@ -3,40 +3,41 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>DAC Private
|
| 7 |
<style>
|
| 8 |
:root {
|
| 9 |
-
/* Palette Ultra-
|
| 10 |
-
--bg-dark: #
|
| 11 |
-
--bg-sidebar: rgba(
|
| 12 |
-
--
|
| 13 |
-
--
|
| 14 |
-
--text-
|
| 15 |
-
--
|
| 16 |
-
--glass: rgba(255, 255, 255, 0.
|
| 17 |
-
--
|
| 18 |
-
--transition: all 0.
|
| 19 |
}
|
| 20 |
|
| 21 |
[data-theme="light"] {
|
| 22 |
-
--bg-dark: #
|
| 23 |
-
--bg-sidebar: rgba(255, 255, 255, 0.
|
| 24 |
-
--
|
| 25 |
-
--text-
|
| 26 |
-
--
|
| 27 |
-
--border: rgba(0, 0, 0, 0.1);
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 31 |
|
| 32 |
body {
|
| 33 |
-
font-family:
|
| 34 |
background-color: var(--bg-dark);
|
| 35 |
color: var(--text-main);
|
| 36 |
height: 100vh;
|
| 37 |
display: flex;
|
| 38 |
overflow: hidden;
|
| 39 |
-
transition: background
|
| 40 |
}
|
| 41 |
|
| 42 |
/* --- HEADER & HAMBURGER --- */
|
|
@@ -56,13 +57,14 @@
|
|
| 56 |
justify-content: center; align-items: center;
|
| 57 |
cursor: pointer;
|
| 58 |
z-index: 1100;
|
| 59 |
-
background: var(--glass);
|
| 60 |
border-radius: 12px;
|
| 61 |
-
border: 1px solid var(--border);
|
| 62 |
transition: var(--transition);
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
-
.menu-btn:hover { background: rgba(255,255,255,0.
|
| 66 |
|
| 67 |
.menu-btn-line {
|
| 68 |
width: 22px; height: 2px;
|
|
@@ -70,6 +72,7 @@
|
|
| 70 |
margin: 3px 0;
|
| 71 |
transition: var(--transition);
|
| 72 |
transform-origin: center;
|
|
|
|
| 73 |
}
|
| 74 |
|
| 75 |
/* Animazione Hamburger a X */
|
|
@@ -81,7 +84,7 @@
|
|
| 81 |
.sidebar {
|
| 82 |
width: 300px;
|
| 83 |
background: var(--bg-sidebar);
|
| 84 |
-
backdrop-filter: blur(
|
| 85 |
height: 100vh;
|
| 86 |
position: fixed;
|
| 87 |
left: -300px;
|
|
@@ -91,64 +94,54 @@
|
|
| 91 |
display: flex;
|
| 92 |
flex-direction: column;
|
| 93 |
padding: 80px 20px 20px;
|
| 94 |
-
border-right: 1px solid var(--border);
|
| 95 |
-
box-shadow: 20px 0 50px rgba(0,0,0,0.
|
| 96 |
}
|
| 97 |
|
| 98 |
.sidebar.open { transform: translateX(300px); }
|
| 99 |
|
| 100 |
.history-title {
|
| 101 |
-
font-size:
|
| 102 |
text-transform: uppercase;
|
| 103 |
color: var(--text-muted);
|
| 104 |
-
letter-spacing:
|
| 105 |
-
margin-bottom:
|
|
|
|
| 106 |
}
|
| 107 |
|
| 108 |
.chat-list {
|
| 109 |
flex: 1;
|
| 110 |
overflow-y: auto;
|
| 111 |
-
}
|
| 112 |
-
|
| 113 |
-
.chat-item {
|
| 114 |
-
padding: 12px;
|
| 115 |
-
border-radius: 10px;
|
| 116 |
-
margin-bottom: 8px;
|
| 117 |
-
cursor: pointer;
|
| 118 |
-
font-size: 14px;
|
| 119 |
color: var(--text-muted);
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
overflow: hidden;
|
| 123 |
-
text-overflow: ellipsis;
|
| 124 |
-
}
|
| 125 |
-
|
| 126 |
-
.chat-item:hover {
|
| 127 |
-
background: var(--glass);
|
| 128 |
-
color: var(--text-main);
|
| 129 |
}
|
| 130 |
|
| 131 |
/* Profilo Utente in fondo alla Sidebar */
|
| 132 |
.profile-section {
|
| 133 |
-
padding: 15px;
|
| 134 |
-
background: var(--glass);
|
| 135 |
-
border-radius:
|
| 136 |
display: flex;
|
| 137 |
align-items: center;
|
| 138 |
-
gap:
|
| 139 |
cursor: pointer;
|
| 140 |
-
transition:
|
| 141 |
-
border: 1px solid var(--border);
|
|
|
|
| 142 |
}
|
| 143 |
|
| 144 |
-
.profile-section:hover { background: rgba(255,255,255,0.08); }
|
| 145 |
|
| 146 |
.avatar {
|
| 147 |
-
width:
|
| 148 |
border-radius: 50%;
|
| 149 |
-
background: var(--
|
| 150 |
-
|
| 151 |
-
|
|
|
|
|
|
|
|
|
|
| 152 |
}
|
| 153 |
|
| 154 |
/* --- LOGO CENTRALE & RAINBOW --- */
|
|
@@ -171,49 +164,65 @@
|
|
| 171 |
position: absolute;
|
| 172 |
top: 50%; left: 50%;
|
| 173 |
transform: translate(-50%, -50%);
|
| 174 |
-
width:
|
| 175 |
background: var(--primary-rainbow);
|
| 176 |
background-size: 400%;
|
| 177 |
-
filter: blur(
|
| 178 |
-
opacity: 0.
|
| 179 |
border-radius: 50%;
|
| 180 |
-
animation: rainbow-
|
| 181 |
}
|
| 182 |
|
| 183 |
.logo-text {
|
| 184 |
-
font-
|
| 185 |
-
font-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
}
|
| 193 |
|
| 194 |
-
@keyframes rainbow-
|
| 195 |
-
0% { background-position: 0% 50%; }
|
| 196 |
-
100% { background-position:
|
| 197 |
}
|
| 198 |
|
| 199 |
/* --- INPUT AREA --- */
|
| 200 |
.input-container {
|
| 201 |
position: fixed;
|
| 202 |
-
bottom:
|
| 203 |
width: 100%;
|
| 204 |
-
max-width:
|
| 205 |
padding: 0 20px;
|
| 206 |
}
|
| 207 |
|
| 208 |
.input-box {
|
| 209 |
background: var(--bg-sidebar);
|
| 210 |
-
border: 1px solid var(--border);
|
| 211 |
-
border-radius:
|
| 212 |
-
padding: 10px
|
| 213 |
display: flex;
|
| 214 |
align-items: center;
|
| 215 |
-
backdrop-filter: blur(
|
| 216 |
-
box-shadow:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
}
|
| 218 |
|
| 219 |
textarea {
|
|
@@ -226,44 +235,67 @@
|
|
| 226 |
padding: 12px 0;
|
| 227 |
resize: none;
|
| 228 |
max-height: 150px;
|
|
|
|
| 229 |
}
|
|
|
|
|
|
|
| 230 |
|
| 231 |
.send-btn {
|
| 232 |
-
width:
|
| 233 |
background: var(--text-main);
|
| 234 |
border-radius: 50%;
|
| 235 |
border: none;
|
| 236 |
cursor: pointer;
|
| 237 |
margin-left: 15px;
|
| 238 |
display: flex; align-items: center; justify-content: center;
|
| 239 |
-
transition:
|
|
|
|
| 240 |
}
|
| 241 |
|
| 242 |
-
.send-btn:hover { transform: scale(1.
|
|
|
|
| 243 |
|
| 244 |
/* MODALE SETTINGS */
|
| 245 |
.modal-overlay {
|
| 246 |
position: fixed; inset: 0;
|
| 247 |
-
background: rgba(0,0,0,0.
|
| 248 |
-
backdrop-filter: blur(
|
| 249 |
display: flex; align-items: center; justify-content: center;
|
| 250 |
opacity: 0; visibility: hidden; z-index: 2000;
|
| 251 |
-
transition:
|
| 252 |
}
|
| 253 |
.modal-overlay.active { opacity: 1; visibility: visible; }
|
| 254 |
|
| 255 |
.modal {
|
| 256 |
background: var(--bg-sidebar);
|
| 257 |
-
width: 90%; max-width:
|
| 258 |
-
padding:
|
| 259 |
-
border: 1px solid var(--border);
|
| 260 |
text-align: center;
|
|
|
|
| 261 |
}
|
| 262 |
|
| 263 |
.toggle-row {
|
| 264 |
display: flex; justify-content: space-between;
|
| 265 |
-
align-items: center; margin-top:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 266 |
}
|
|
|
|
|
|
|
| 267 |
|
| 268 |
</style>
|
| 269 |
</head>
|
|
@@ -280,19 +312,16 @@
|
|
| 280 |
<aside class="sidebar" id="sidebar">
|
| 281 |
<div class="history-title">Cronologia Chat</div>
|
| 282 |
<div class="chat-list">
|
| 283 |
-
<div
|
| 284 |
-
<div class="chat-item">Generazione Codice CSS</div>
|
| 285 |
-
<div class="chat-item">Brainstorming DAC AI</div>
|
| 286 |
-
<div class="chat-item">Nuova conversazione...</div>
|
| 287 |
</div>
|
| 288 |
|
| 289 |
<div class="profile-section" id="profileBtn">
|
| 290 |
-
<div class="avatar"
|
| 291 |
<div style="flex: 1;">
|
| 292 |
-
<div style="font-size:
|
| 293 |
-
<div style="font-size:
|
| 294 |
</div>
|
| 295 |
-
<span style="font-size: 18px;">⚙️</span>
|
| 296 |
</div>
|
| 297 |
</aside>
|
| 298 |
|
|
@@ -300,14 +329,14 @@
|
|
| 300 |
<div class="logo-container">
|
| 301 |
<div class="logo-aura"></div>
|
| 302 |
<h1 class="logo-text">DAC</h1>
|
| 303 |
-
<p
|
| 304 |
</div>
|
| 305 |
|
| 306 |
<div class="input-container">
|
| 307 |
<div class="input-box">
|
| 308 |
<textarea id="chatInput" placeholder="Chiedi a DAC..." rows="1"></textarea>
|
| 309 |
<button class="send-btn">
|
| 310 |
-
<svg width="
|
| 311 |
</button>
|
| 312 |
</div>
|
| 313 |
</div>
|
|
@@ -315,15 +344,15 @@
|
|
| 315 |
|
| 316 |
<div class="modal-overlay" id="modal">
|
| 317 |
<div class="modal">
|
| 318 |
-
<h2 style="margin-bottom:
|
| 319 |
<p style="color: var(--text-muted); font-size: 14px;">Personalizza la tua esperienza locale.</p>
|
| 320 |
|
| 321 |
<div class="toggle-row">
|
| 322 |
-
<span>Tema Scuro</span>
|
| 323 |
-
<input type="checkbox" checked id="themeToggle"
|
| 324 |
</div>
|
| 325 |
|
| 326 |
-
<button id="closeModal" style="margin-top:
|
| 327 |
</div>
|
| 328 |
</div>
|
| 329 |
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>DAC Private Intelligence</title>
|
| 7 |
<style>
|
| 8 |
:root {
|
| 9 |
+
/* Palette Ultra-Premium */
|
| 10 |
+
--bg-dark: #000000; /* Nero profondo */
|
| 11 |
+
--bg-sidebar: rgba(20, 20, 20, 0.9);
|
| 12 |
+
--bg-glass: rgba(255, 255, 255, 0.04);
|
| 13 |
+
--primary-rainbow: linear-gradient(135deg, #ff0000, #ff9900, #ffff00, #33ff00, #00ffff, #0000ff, #9900ff, #ff0000);
|
| 14 |
+
--text-main: #f0f0f0;
|
| 15 |
+
--text-muted: #808080;
|
| 16 |
+
--border-glass: rgba(255, 255, 255, 0.08);
|
| 17 |
+
--shadow-premium: 0 20px 40px rgba(0,0,0,0.6);
|
| 18 |
+
--transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Transizione "Apple" */
|
| 19 |
}
|
| 20 |
|
| 21 |
[data-theme="light"] {
|
| 22 |
+
--bg-dark: #f5f7fa;
|
| 23 |
+
--bg-sidebar: rgba(255, 255, 255, 0.9);
|
| 24 |
+
--bg-glass: rgba(0, 0, 0, 0.03);
|
| 25 |
+
--text-main: #222222;
|
| 26 |
+
--text-muted: #666666;
|
| 27 |
+
--border-glass: rgba(0, 0, 0, 0.1);
|
| 28 |
+
--shadow-premium: 0 20px 40px rgba(0,0,0,0.1);
|
| 29 |
}
|
| 30 |
|
| 31 |
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 32 |
|
| 33 |
body {
|
| 34 |
+
font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
|
| 35 |
background-color: var(--bg-dark);
|
| 36 |
color: var(--text-main);
|
| 37 |
height: 100vh;
|
| 38 |
display: flex;
|
| 39 |
overflow: hidden;
|
| 40 |
+
transition: background var(--transition);
|
| 41 |
}
|
| 42 |
|
| 43 |
/* --- HEADER & HAMBURGER --- */
|
|
|
|
| 57 |
justify-content: center; align-items: center;
|
| 58 |
cursor: pointer;
|
| 59 |
z-index: 1100;
|
| 60 |
+
background: var(--bg-glass);
|
| 61 |
border-radius: 12px;
|
| 62 |
+
border: 1px solid var(--border-glass);
|
| 63 |
transition: var(--transition);
|
| 64 |
+
backdrop-filter: blur(5px);
|
| 65 |
}
|
| 66 |
|
| 67 |
+
.menu-btn:hover { background: rgba(255,255,255,0.08); }
|
| 68 |
|
| 69 |
.menu-btn-line {
|
| 70 |
width: 22px; height: 2px;
|
|
|
|
| 72 |
margin: 3px 0;
|
| 73 |
transition: var(--transition);
|
| 74 |
transform-origin: center;
|
| 75 |
+
border-radius: 1px;
|
| 76 |
}
|
| 77 |
|
| 78 |
/* Animazione Hamburger a X */
|
|
|
|
| 84 |
.sidebar {
|
| 85 |
width: 300px;
|
| 86 |
background: var(--bg-sidebar);
|
| 87 |
+
backdrop-filter: blur(30px); /* Effetto vetro più forte */
|
| 88 |
height: 100vh;
|
| 89 |
position: fixed;
|
| 90 |
left: -300px;
|
|
|
|
| 94 |
display: flex;
|
| 95 |
flex-direction: column;
|
| 96 |
padding: 80px 20px 20px;
|
| 97 |
+
border-right: 1px solid var(--border-glass);
|
| 98 |
+
box-shadow: 20px 0 50px rgba(0,0,0,0.5);
|
| 99 |
}
|
| 100 |
|
| 101 |
.sidebar.open { transform: translateX(300px); }
|
| 102 |
|
| 103 |
.history-title {
|
| 104 |
+
font-size: 11px;
|
| 105 |
text-transform: uppercase;
|
| 106 |
color: var(--text-muted);
|
| 107 |
+
letter-spacing: 2px;
|
| 108 |
+
margin-bottom: 25px;
|
| 109 |
+
font-weight: 600;
|
| 110 |
}
|
| 111 |
|
| 112 |
.chat-list {
|
| 113 |
flex: 1;
|
| 114 |
overflow-y: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
color: var(--text-muted);
|
| 116 |
+
font-size: 14px;
|
| 117 |
+
font-style: italic;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
}
|
| 119 |
|
| 120 |
/* Profilo Utente in fondo alla Sidebar */
|
| 121 |
.profile-section {
|
| 122 |
+
padding: 12px 15px;
|
| 123 |
+
background: var(--bg-glass);
|
| 124 |
+
border-radius: 18px;
|
| 125 |
display: flex;
|
| 126 |
align-items: center;
|
| 127 |
+
gap: 15px;
|
| 128 |
cursor: pointer;
|
| 129 |
+
transition: var(--transition);
|
| 130 |
+
border: 1px solid var(--border-glass);
|
| 131 |
+
backdrop-filter: blur(10px);
|
| 132 |
}
|
| 133 |
|
| 134 |
+
.profile-section:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
|
| 135 |
|
| 136 |
.avatar {
|
| 137 |
+
width: 38px; height: 38px;
|
| 138 |
border-radius: 50%;
|
| 139 |
+
background: var(--text-main);
|
| 140 |
+
color: var(--bg-dark);
|
| 141 |
+
font-family: 'Georgia', serif; /* Font elegante per la 'M' */
|
| 142 |
+
font-size: 20px;
|
| 143 |
+
font-weight: bold;
|
| 144 |
+
display: flex; align-items: center; justify-content: center;
|
| 145 |
}
|
| 146 |
|
| 147 |
/* --- LOGO CENTRALE & RAINBOW --- */
|
|
|
|
| 164 |
position: absolute;
|
| 165 |
top: 50%; left: 50%;
|
| 166 |
transform: translate(-50%, -50%);
|
| 167 |
+
width: 300px; height: 300px; /* Aura più grande */
|
| 168 |
background: var(--primary-rainbow);
|
| 169 |
background-size: 400%;
|
| 170 |
+
filter: blur(90px); /* Blur più intenso per l'effetto "sbiadito" */
|
| 171 |
+
opacity: 0.35;
|
| 172 |
border-radius: 50%;
|
| 173 |
+
animation: rainbow-pulse 5s infinite alternate; /* Animazione più complessa */
|
| 174 |
}
|
| 175 |
|
| 176 |
.logo-text {
|
| 177 |
+
font-family: 'Times New Roman', serif; /* Font elegante simile all'immagine */
|
| 178 |
+
font-size: 5.5rem;
|
| 179 |
+
font-weight: 700;
|
| 180 |
+
letter-spacing: 1px;
|
| 181 |
+
/* Effetto testo in rilievo/scolpito */
|
| 182 |
+
color: #e0e0e0;
|
| 183 |
+
text-shadow: 2px 2px 4px rgba(0,0,0,0.5), -1px -1px 2px rgba(255,255,255,0.1);
|
| 184 |
+
position: relative;
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
.sub-text {
|
| 188 |
+
color: var(--text-muted);
|
| 189 |
+
font-size: 13px;
|
| 190 |
+
letter-spacing: 4px;
|
| 191 |
+
margin-top: 20px;
|
| 192 |
+
font-weight: 500;
|
| 193 |
+
text-transform: uppercase;
|
| 194 |
+
opacity: 0.7;
|
| 195 |
}
|
| 196 |
|
| 197 |
+
@keyframes rainbow-pulse {
|
| 198 |
+
0% { background-position: 0% 50%; transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
|
| 199 |
+
100% { background-position: 100% 50%; transform: translate(-50%, -50%) scale(1.1); opacity: 0.45; }
|
| 200 |
}
|
| 201 |
|
| 202 |
/* --- INPUT AREA --- */
|
| 203 |
.input-container {
|
| 204 |
position: fixed;
|
| 205 |
+
bottom: 35px;
|
| 206 |
width: 100%;
|
| 207 |
+
max-width: 780px;
|
| 208 |
padding: 0 20px;
|
| 209 |
}
|
| 210 |
|
| 211 |
.input-box {
|
| 212 |
background: var(--bg-sidebar);
|
| 213 |
+
border: 1px solid var(--border-glass);
|
| 214 |
+
border-radius: 28px;
|
| 215 |
+
padding: 10px 10px 10px 25px;
|
| 216 |
display: flex;
|
| 217 |
align-items: center;
|
| 218 |
+
backdrop-filter: blur(20px);
|
| 219 |
+
box-shadow: var(--shadow-premium);
|
| 220 |
+
transition: var(--transition);
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
.input-box:focus-within {
|
| 224 |
+
border-color: rgba(255, 255, 255, 0.2);
|
| 225 |
+
box-shadow: 0 25px 50px rgba(0,0,0,0.7);
|
| 226 |
}
|
| 227 |
|
| 228 |
textarea {
|
|
|
|
| 235 |
padding: 12px 0;
|
| 236 |
resize: none;
|
| 237 |
max-height: 150px;
|
| 238 |
+
font-family: inherit;
|
| 239 |
}
|
| 240 |
+
|
| 241 |
+
textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
|
| 242 |
|
| 243 |
.send-btn {
|
| 244 |
+
width: 46px; height: 46px;
|
| 245 |
background: var(--text-main);
|
| 246 |
border-radius: 50%;
|
| 247 |
border: none;
|
| 248 |
cursor: pointer;
|
| 249 |
margin-left: 15px;
|
| 250 |
display: flex; align-items: center; justify-content: center;
|
| 251 |
+
transition: var(--transition);
|
| 252 |
+
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
| 253 |
}
|
| 254 |
|
| 255 |
+
.send-btn:hover { transform: scale(1.08); background: #ffffff; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
|
| 256 |
+
.send-btn svg { stroke: var(--bg-dark); transition: var(--transition); }
|
| 257 |
|
| 258 |
/* MODALE SETTINGS */
|
| 259 |
.modal-overlay {
|
| 260 |
position: fixed; inset: 0;
|
| 261 |
+
background: rgba(0,0,0,0.8);
|
| 262 |
+
backdrop-filter: blur(15px);
|
| 263 |
display: flex; align-items: center; justify-content: center;
|
| 264 |
opacity: 0; visibility: hidden; z-index: 2000;
|
| 265 |
+
transition: var(--transition);
|
| 266 |
}
|
| 267 |
.modal-overlay.active { opacity: 1; visibility: visible; }
|
| 268 |
|
| 269 |
.modal {
|
| 270 |
background: var(--bg-sidebar);
|
| 271 |
+
width: 90%; max-width: 420px;
|
| 272 |
+
padding: 35px; border-radius: 30px;
|
| 273 |
+
border: 1px solid var(--border-glass);
|
| 274 |
text-align: center;
|
| 275 |
+
box-shadow: var(--shadow-premium);
|
| 276 |
}
|
| 277 |
|
| 278 |
.toggle-row {
|
| 279 |
display: flex; justify-content: space-between;
|
| 280 |
+
align-items: center; margin-top: 30px;
|
| 281 |
+
padding: 15px;
|
| 282 |
+
background: var(--bg-glass);
|
| 283 |
+
border-radius: 15px;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
/* Stile Toggle Personalizzato */
|
| 287 |
+
input[type="checkbox"] {
|
| 288 |
+
appearance: none; width: 50px; height: 28px;
|
| 289 |
+
background: var(--border-glass); border-radius: 14px;
|
| 290 |
+
position: relative; cursor: pointer; transition: var(--transition);
|
| 291 |
+
}
|
| 292 |
+
input[type="checkbox"]::before {
|
| 293 |
+
content: ''; position: absolute; top: 3px; left: 3px;
|
| 294 |
+
width: 22px; height: 22px; background: var(--text-main);
|
| 295 |
+
border-radius: 50%; transition: var(--transition);
|
| 296 |
}
|
| 297 |
+
input[type="checkbox"]:checked { background: #4CD964; }
|
| 298 |
+
input[type="checkbox"]:checked::before { transform: translateX(22px); background: #fff; }
|
| 299 |
|
| 300 |
</style>
|
| 301 |
</head>
|
|
|
|
| 312 |
<aside class="sidebar" id="sidebar">
|
| 313 |
<div class="history-title">Cronologia Chat</div>
|
| 314 |
<div class="chat-list">
|
| 315 |
+
<div style="padding: 15px 0; text-align: center; opacity: 0.6;">Nessuna conversazione recente</div>
|
|
|
|
|
|
|
|
|
|
| 316 |
</div>
|
| 317 |
|
| 318 |
<div class="profile-section" id="profileBtn">
|
| 319 |
+
<div class="avatar">M</div>
|
| 320 |
<div style="flex: 1;">
|
| 321 |
+
<div style="font-size: 15px; font-weight: 600;">Utente Locale</div>
|
| 322 |
+
<div style="font-size: 12px; color: var(--text-muted);">Impostazioni DAC</div>
|
| 323 |
</div>
|
| 324 |
+
<span style="font-size: 18px; opacity: 0.7;">⚙️</span>
|
| 325 |
</div>
|
| 326 |
</aside>
|
| 327 |
|
|
|
|
| 329 |
<div class="logo-container">
|
| 330 |
<div class="logo-aura"></div>
|
| 331 |
<h1 class="logo-text">DAC</h1>
|
| 332 |
+
<p class="sub-text">PRIVATE INTELLIGENCE</p>
|
| 333 |
</div>
|
| 334 |
|
| 335 |
<div class="input-container">
|
| 336 |
<div class="input-box">
|
| 337 |
<textarea id="chatInput" placeholder="Chiedi a DAC..." rows="1"></textarea>
|
| 338 |
<button class="send-btn">
|
| 339 |
+
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>
|
| 340 |
</button>
|
| 341 |
</div>
|
| 342 |
</div>
|
|
|
|
| 344 |
|
| 345 |
<div class="modal-overlay" id="modal">
|
| 346 |
<div class="modal">
|
| 347 |
+
<h2 style="margin-bottom: 15px; font-size: 22px;">Impostazioni</h2>
|
| 348 |
<p style="color: var(--text-muted); font-size: 14px;">Personalizza la tua esperienza locale.</p>
|
| 349 |
|
| 350 |
<div class="toggle-row">
|
| 351 |
+
<span style="font-weight: 500;">Tema Scuro</span>
|
| 352 |
+
<input type="checkbox" checked id="themeToggle">
|
| 353 |
</div>
|
| 354 |
|
| 355 |
+
<button id="closeModal" style="margin-top: 35px; background: var(--text-main); color: var(--bg-dark); border: none; padding: 14px 30px; border-radius: 16px; cursor: pointer; font-weight: 700; width: 100%; transition: var(--transition);">Salva e Chiudi</button>
|
| 356 |
</div>
|
| 357 |
</div>
|
| 358 |
|