Manual changes saved
Browse files- index.html +33 -80
index.html
CHANGED
|
@@ -6,12 +6,11 @@
|
|
| 6 |
<title>DAC Private Intelligence</title>
|
| 7 |
<style>
|
| 8 |
:root {
|
| 9 |
-
/* Palette Ultra-Premium */
|
| 10 |
--bg-dark: #000000;
|
| 11 |
-
--bg-sidebar: rgba(
|
| 12 |
--bg-glass: rgba(255, 255, 255, 0.04);
|
| 13 |
-
/* Gradiente
|
| 14 |
-
--primary-rainbow: linear-gradient(90deg, #4285f4, #9b72cb, #d96570, #4285f4);
|
| 15 |
--text-main: #f0f0f0;
|
| 16 |
--text-muted: #808080;
|
| 17 |
--border-glass: rgba(255, 255, 255, 0.08);
|
|
@@ -19,16 +18,6 @@
|
|
| 19 |
--transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
|
| 20 |
}
|
| 21 |
|
| 22 |
-
[data-theme="light"] {
|
| 23 |
-
--bg-dark: #f5f7fa;
|
| 24 |
-
--bg-sidebar: rgba(255, 255, 255, 0.9);
|
| 25 |
-
--bg-glass: rgba(0, 0, 0, 0.03);
|
| 26 |
-
--text-main: #222222;
|
| 27 |
-
--text-muted: #666666;
|
| 28 |
-
--border-glass: rgba(0, 0, 0, 0.1);
|
| 29 |
-
--shadow-premium: 0 20px 40px rgba(0,0,0,0.1);
|
| 30 |
-
}
|
| 31 |
-
|
| 32 |
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 33 |
|
| 34 |
body {
|
|
@@ -38,10 +27,9 @@
|
|
| 38 |
height: 100vh;
|
| 39 |
display: flex;
|
| 40 |
overflow: hidden;
|
| 41 |
-
transition: background var(--transition);
|
| 42 |
}
|
| 43 |
|
| 44 |
-
/* --- HEADER
|
| 45 |
.header {
|
| 46 |
position: fixed;
|
| 47 |
top: 0; left: 0; right: 0;
|
|
@@ -57,7 +45,6 @@
|
|
| 57 |
display: flex; flex-direction: column;
|
| 58 |
justify-content: center; align-items: center;
|
| 59 |
cursor: pointer;
|
| 60 |
-
z-index: 1100;
|
| 61 |
background: var(--bg-glass);
|
| 62 |
border-radius: 12px;
|
| 63 |
border: 1px solid var(--border-glass);
|
|
@@ -65,19 +52,15 @@
|
|
| 65 |
backdrop-filter: blur(5px);
|
| 66 |
}
|
| 67 |
|
| 68 |
-
.menu-btn:hover { background: rgba(255,255,255,0.08); }
|
| 69 |
-
|
| 70 |
.menu-btn-line {
|
| 71 |
width: 22px; height: 2px;
|
| 72 |
background-color: var(--text-main);
|
| 73 |
margin: 3px 0;
|
| 74 |
transition: var(--transition);
|
| 75 |
-
transform-origin: center;
|
| 76 |
-
border-radius: 1px;
|
| 77 |
}
|
| 78 |
|
| 79 |
.menu-btn.active .menu-btn-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
|
| 80 |
-
.menu-btn.active .menu-btn-line:nth-child(2) { opacity: 0;
|
| 81 |
.menu-btn.active .menu-btn-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
|
| 82 |
|
| 83 |
/* --- SIDEBAR --- */
|
|
@@ -95,7 +78,6 @@
|
|
| 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); }
|
|
@@ -126,15 +108,16 @@
|
|
| 126 |
.avatar {
|
| 127 |
width: 38px; height: 38px;
|
| 128 |
border-radius: 50%;
|
| 129 |
-
background:
|
| 130 |
-
color:
|
| 131 |
font-family: 'Georgia', serif;
|
| 132 |
font-size: 20px;
|
| 133 |
font-weight: bold;
|
| 134 |
display: flex; align-items: center; justify-content: center;
|
|
|
|
| 135 |
}
|
| 136 |
|
| 137 |
-
/* --- LOGO CENTRALE --- */
|
| 138 |
.main-content {
|
| 139 |
flex: 1;
|
| 140 |
display: flex;
|
|
@@ -154,41 +137,45 @@
|
|
| 154 |
position: absolute;
|
| 155 |
top: 50%; left: 50%;
|
| 156 |
transform: translate(-50%, -50%);
|
| 157 |
-
width:
|
| 158 |
background: var(--primary-rainbow);
|
| 159 |
-
background-size: 300%;
|
| 160 |
-
filter: blur(
|
| 161 |
-
opacity: 0.
|
| 162 |
border-radius: 50%;
|
| 163 |
-
|
| 164 |
-
animation: rainbow-pulse 4s infinite linear;
|
| 165 |
}
|
| 166 |
|
| 167 |
.logo-text {
|
| 168 |
font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
|
| 169 |
font-weight: 900;
|
| 170 |
-
font-size: 5rem;
|
| 171 |
letter-spacing: -3px;
|
| 172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
position: relative;
|
| 174 |
-
|
| 175 |
}
|
| 176 |
|
| 177 |
.sub-text {
|
| 178 |
color: var(--text-muted);
|
| 179 |
font-size: 13px;
|
| 180 |
letter-spacing: 5px;
|
| 181 |
-
margin-top:
|
| 182 |
font-weight: 700;
|
| 183 |
text-transform: uppercase;
|
| 184 |
}
|
| 185 |
|
| 186 |
-
@keyframes
|
| 187 |
0% { background-position: 0% 50%; }
|
| 188 |
-
|
|
|
|
| 189 |
}
|
| 190 |
|
| 191 |
-
/* ---
|
| 192 |
.input-container {
|
| 193 |
position: fixed;
|
| 194 |
bottom: 35px;
|
|
@@ -206,7 +193,6 @@
|
|
| 206 |
align-items: center;
|
| 207 |
backdrop-filter: blur(20px);
|
| 208 |
box-shadow: var(--shadow-premium);
|
| 209 |
-
transition: var(--transition);
|
| 210 |
}
|
| 211 |
|
| 212 |
textarea {
|
|
@@ -220,7 +206,6 @@
|
|
| 220 |
resize: none;
|
| 221 |
max-height: 150px;
|
| 222 |
font-family: Arial, sans-serif;
|
| 223 |
-
font-weight: 600;
|
| 224 |
}
|
| 225 |
|
| 226 |
.send-btn {
|
|
@@ -234,23 +219,8 @@
|
|
| 234 |
transition: var(--transition);
|
| 235 |
}
|
| 236 |
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
position: fixed; inset: 0;
|
| 240 |
-
background: rgba(0,0,0,0.85);
|
| 241 |
-
backdrop-filter: blur(15px);
|
| 242 |
-
display: flex; align-items: center; justify-content: center;
|
| 243 |
-
opacity: 0; visibility: hidden; z-index: 2000;
|
| 244 |
-
transition: var(--transition);
|
| 245 |
-
}
|
| 246 |
-
.modal-overlay.active { opacity: 1; visibility: visible; }
|
| 247 |
-
.modal {
|
| 248 |
-
background: var(--bg-sidebar);
|
| 249 |
-
width: 90%; max-width: 420px;
|
| 250 |
-
padding: 35px; border-radius: 30px;
|
| 251 |
-
border: 1px solid var(--border-glass);
|
| 252 |
-
text-align: center;
|
| 253 |
-
}
|
| 254 |
</style>
|
| 255 |
</head>
|
| 256 |
<body>
|
|
@@ -264,18 +234,18 @@
|
|
| 264 |
</div>
|
| 265 |
|
| 266 |
<aside class="sidebar" id="sidebar">
|
| 267 |
-
<div class="history-title">Cronologia
|
| 268 |
<div class="chat-list">
|
| 269 |
-
<div style="padding: 15px 0; text-align: center; opacity: 0.
|
| 270 |
</div>
|
| 271 |
|
| 272 |
<div class="profile-section" id="profileBtn">
|
| 273 |
<div class="avatar">M</div>
|
| 274 |
<div style="flex: 1;">
|
| 275 |
-
<div style="font-size:
|
| 276 |
-
<div style="font-size:
|
| 277 |
</div>
|
| 278 |
-
<span style="font-size:
|
| 279 |
</div>
|
| 280 |
</aside>
|
| 281 |
|
|
@@ -296,23 +266,9 @@
|
|
| 296 |
</div>
|
| 297 |
</main>
|
| 298 |
|
| 299 |
-
<div class="modal-overlay" id="modal">
|
| 300 |
-
<div class="modal">
|
| 301 |
-
<h2 style="margin-bottom: 15px;">Impostazioni</h2>
|
| 302 |
-
<div style="display: flex; justify-content: space-between; align-items: center; margin-top: 20px;">
|
| 303 |
-
<span>Tema Scuro</span>
|
| 304 |
-
<input type="checkbox" checked id="themeToggle" style="width: 40px; height: 20px;">
|
| 305 |
-
</div>
|
| 306 |
-
<button id="closeModal" style="margin-top: 30px; background: white; color: black; border: none; padding: 12px; border-radius: 12px; cursor: pointer; font-weight: bold; width: 100%;">Chiudi</button>
|
| 307 |
-
</div>
|
| 308 |
-
</div>
|
| 309 |
-
|
| 310 |
<script>
|
| 311 |
const hamburger = document.getElementById('hamburger');
|
| 312 |
const sidebar = document.getElementById('sidebar');
|
| 313 |
-
const profileBtn = document.getElementById('profileBtn');
|
| 314 |
-
const modal = document.getElementById('modal');
|
| 315 |
-
const closeModal = document.getElementById('closeModal');
|
| 316 |
const chatInput = document.getElementById('chatInput');
|
| 317 |
|
| 318 |
hamburger.addEventListener('click', () => {
|
|
@@ -325,9 +281,6 @@
|
|
| 325 |
hamburger.classList.remove('active');
|
| 326 |
});
|
| 327 |
|
| 328 |
-
profileBtn.addEventListener('click', () => modal.classList.add('active'));
|
| 329 |
-
closeModal.addEventListener('click', () => modal.classList.remove('active'));
|
| 330 |
-
|
| 331 |
chatInput.addEventListener('input', function() {
|
| 332 |
this.style.height = 'auto';
|
| 333 |
this.style.height = (this.scrollHeight) + 'px';
|
|
|
|
| 6 |
<title>DAC Private Intelligence</title>
|
| 7 |
<style>
|
| 8 |
:root {
|
|
|
|
| 9 |
--bg-dark: #000000;
|
| 10 |
+
--bg-sidebar: rgba(15, 15, 15, 0.95);
|
| 11 |
--bg-glass: rgba(255, 255, 255, 0.04);
|
| 12 |
+
/* Gradiente morbido e multicolore */
|
| 13 |
+
--primary-rainbow: linear-gradient(90deg, #4285f4, #9b72cb, #d96570, #f4b400, #4285f4);
|
| 14 |
--text-main: #f0f0f0;
|
| 15 |
--text-muted: #808080;
|
| 16 |
--border-glass: rgba(255, 255, 255, 0.08);
|
|
|
|
| 18 |
--transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
|
| 19 |
}
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 22 |
|
| 23 |
body {
|
|
|
|
| 27 |
height: 100vh;
|
| 28 |
display: flex;
|
| 29 |
overflow: hidden;
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
+
/* --- HEADER --- */
|
| 33 |
.header {
|
| 34 |
position: fixed;
|
| 35 |
top: 0; left: 0; right: 0;
|
|
|
|
| 45 |
display: flex; flex-direction: column;
|
| 46 |
justify-content: center; align-items: center;
|
| 47 |
cursor: pointer;
|
|
|
|
| 48 |
background: var(--bg-glass);
|
| 49 |
border-radius: 12px;
|
| 50 |
border: 1px solid var(--border-glass);
|
|
|
|
| 52 |
backdrop-filter: blur(5px);
|
| 53 |
}
|
| 54 |
|
|
|
|
|
|
|
| 55 |
.menu-btn-line {
|
| 56 |
width: 22px; height: 2px;
|
| 57 |
background-color: var(--text-main);
|
| 58 |
margin: 3px 0;
|
| 59 |
transition: var(--transition);
|
|
|
|
|
|
|
| 60 |
}
|
| 61 |
|
| 62 |
.menu-btn.active .menu-btn-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
|
| 63 |
+
.menu-btn.active .menu-btn-line:nth-child(2) { opacity: 0; }
|
| 64 |
.menu-btn.active .menu-btn-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
|
| 65 |
|
| 66 |
/* --- SIDEBAR --- */
|
|
|
|
| 78 |
flex-direction: column;
|
| 79 |
padding: 80px 20px 20px;
|
| 80 |
border-right: 1px solid var(--border-glass);
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
.sidebar.open { transform: translateX(300px); }
|
|
|
|
| 108 |
.avatar {
|
| 109 |
width: 38px; height: 38px;
|
| 110 |
border-radius: 50%;
|
| 111 |
+
background: #222;
|
| 112 |
+
color: #fff;
|
| 113 |
font-family: 'Georgia', serif;
|
| 114 |
font-size: 20px;
|
| 115 |
font-weight: bold;
|
| 116 |
display: flex; align-items: center; justify-content: center;
|
| 117 |
+
border: 1px solid rgba(255,255,255,0.1);
|
| 118 |
}
|
| 119 |
|
| 120 |
+
/* --- LOGO CENTRALE ANIMATO --- */
|
| 121 |
.main-content {
|
| 122 |
flex: 1;
|
| 123 |
display: flex;
|
|
|
|
| 137 |
position: absolute;
|
| 138 |
top: 50%; left: 50%;
|
| 139 |
transform: translate(-50%, -50%);
|
| 140 |
+
width: 200px; height: 200px;
|
| 141 |
background: var(--primary-rainbow);
|
| 142 |
+
background-size: 300% 300%;
|
| 143 |
+
filter: blur(70px);
|
| 144 |
+
opacity: 0.25;
|
| 145 |
border-radius: 50%;
|
| 146 |
+
animation: flowColors 8s infinite linear; /* Calma */
|
|
|
|
| 147 |
}
|
| 148 |
|
| 149 |
.logo-text {
|
| 150 |
font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
|
| 151 |
font-weight: 900;
|
| 152 |
+
font-size: 5rem;
|
| 153 |
letter-spacing: -3px;
|
| 154 |
+
/* Effetto gradiente nel testo */
|
| 155 |
+
background: var(--primary-rainbow);
|
| 156 |
+
background-size: 300% 300%;
|
| 157 |
+
-webkit-background-clip: text;
|
| 158 |
+
-webkit-text-fill-color: transparent;
|
| 159 |
position: relative;
|
| 160 |
+
animation: flowColors 8s infinite linear; /* Calma */
|
| 161 |
}
|
| 162 |
|
| 163 |
.sub-text {
|
| 164 |
color: var(--text-muted);
|
| 165 |
font-size: 13px;
|
| 166 |
letter-spacing: 5px;
|
| 167 |
+
margin-top: 5px;
|
| 168 |
font-weight: 700;
|
| 169 |
text-transform: uppercase;
|
| 170 |
}
|
| 171 |
|
| 172 |
+
@keyframes flowColors {
|
| 173 |
0% { background-position: 0% 50%; }
|
| 174 |
+
50% { background-position: 100% 50%; }
|
| 175 |
+
100% { background-position: 0% 50%; }
|
| 176 |
}
|
| 177 |
|
| 178 |
+
/* --- INPUT AREA --- */
|
| 179 |
.input-container {
|
| 180 |
position: fixed;
|
| 181 |
bottom: 35px;
|
|
|
|
| 193 |
align-items: center;
|
| 194 |
backdrop-filter: blur(20px);
|
| 195 |
box-shadow: var(--shadow-premium);
|
|
|
|
| 196 |
}
|
| 197 |
|
| 198 |
textarea {
|
|
|
|
| 206 |
resize: none;
|
| 207 |
max-height: 150px;
|
| 208 |
font-family: Arial, sans-serif;
|
|
|
|
| 209 |
}
|
| 210 |
|
| 211 |
.send-btn {
|
|
|
|
| 219 |
transition: var(--transition);
|
| 220 |
}
|
| 221 |
|
| 222 |
+
.send-btn:hover { transform: scale(1.05); background: #ffffff; }
|
| 223 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
</style>
|
| 225 |
</head>
|
| 226 |
<body>
|
|
|
|
| 234 |
</div>
|
| 235 |
|
| 236 |
<aside class="sidebar" id="sidebar">
|
| 237 |
+
<div class="history-title">Cronologia</div>
|
| 238 |
<div class="chat-list">
|
| 239 |
+
<div style="padding: 15px 0; text-align: center; opacity: 0.4; font-style: italic;">Nessuna attività recente</div>
|
| 240 |
</div>
|
| 241 |
|
| 242 |
<div class="profile-section" id="profileBtn">
|
| 243 |
<div class="avatar">M</div>
|
| 244 |
<div style="flex: 1;">
|
| 245 |
+
<div style="font-size: 14px; font-weight: 600;">Utente Locale</div>
|
| 246 |
+
<div style="font-size: 11px; color: var(--text-muted);">Settings</div>
|
| 247 |
</div>
|
| 248 |
+
<span style="font-size: 16px; opacity: 0.6;">⚙️</span>
|
| 249 |
</div>
|
| 250 |
</aside>
|
| 251 |
|
|
|
|
| 266 |
</div>
|
| 267 |
</main>
|
| 268 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
<script>
|
| 270 |
const hamburger = document.getElementById('hamburger');
|
| 271 |
const sidebar = document.getElementById('sidebar');
|
|
|
|
|
|
|
|
|
|
| 272 |
const chatInput = document.getElementById('chatInput');
|
| 273 |
|
| 274 |
hamburger.addEventListener('click', () => {
|
|
|
|
| 281 |
hamburger.classList.remove('active');
|
| 282 |
});
|
| 283 |
|
|
|
|
|
|
|
|
|
|
| 284 |
chatInput.addEventListener('input', function() {
|
| 285 |
this.style.height = 'auto';
|
| 286 |
this.style.height = (this.scrollHeight) + 'px';
|