File size: 9,469 Bytes
a43c799 d71b6eb a43c799 c0ee447 a43c799 be5b46b b915513 be5b46b b915513 be5b46b c50e21e be5b46b c50e21e a0c9d4c be5b46b c50e21e b915513 c50e21e be5b46b c50e21e a43c799 c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b b915513 be5b46b a43c799 a0c9d4c be5b46b a0c9d4c be5b46b c50e21e be5b46b c50e21e be5b46b a0c9d4c be5b46b c50e21e be5b46b b915513 be5b46b b915513 be5b46b b915513 be5b46b c50e21e a43c799 c50e21e a0c9d4c d71b6eb be5b46b a0c9d4c be5b46b d71b6eb c50e21e b915513 be5b46b b915513 be5b46b b915513 a43c799 be5b46b 44b8524 be5b46b b915513 be5b46b b915513 be5b46b b915513 be5b46b c0ee447 84207ca be5b46b c0ee447 a0c9d4c b915513 be5b46b b915513 be5b46b b915513 a43c799 b915513 be5b46b d71b6eb be5b46b a43c799 c50e21e be5b46b a43c799 be5b46b 84207ca a0c9d4c c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b a43c799 be5b46b c50e21e be5b46b a43c799 b915513 a43c799 be5b46b a43c799 be5b46b a43c799 a0c9d4c b915513 be5b46b b915513 be5b46b b915513 be5b46b b915513 c50e21e be5b46b c50e21e c0ee447 c50e21e a43c799 be5b46b c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b c50e21e be5b46b a0c9d4c c50e21e be5b46b c50e21e be5b46b c50e21e a43c799 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DAC M.INC. Interface</title>
<style>
:root {
--bg-dark: #000000;
--bg-sidebar: rgba(15, 15, 15, 0.95);
--bg-glass: rgba(255, 255, 255, 0.04);
/* Gradiente morbido e multicolore */
--primary-rainbow: linear-gradient(90deg, #4285f4, #9b72cb, #d96570, #f4b400, #4285f4);
--text-main: #f0f0f0;
--text-muted: #808080;
--border-glass: rgba(255, 255, 255, 0.08);
--shadow-premium: 0 20px 40px rgba(0,0,0,0.6);
--transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Segoe UI', Roboto, sans-serif;
background-color: var(--bg-dark);
color: var(--text-main);
height: 100vh;
display: flex;
overflow: hidden;
}
/* --- HEADER --- */
.header {
position: fixed;
top: 0; left: 0; right: 0;
height: 60px;
padding: 0 20px;
display: flex;
align-items: center;
z-index: 1000;
}
.menu-btn {
width: 44px; height: 44px;
display: flex; flex-direction: column;
justify-content: center; align-items: center;
cursor: pointer;
background: var(--bg-glass);
border-radius: 12px;
border: 1px solid var(--border-glass);
transition: var(--transition);
backdrop-filter: blur(5px);
}
.menu-btn-line {
width: 22px; height: 2px;
background-color: var(--text-main);
margin: 3px 0;
transition: var(--transition);
}
.menu-btn.active .menu-btn-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.active .menu-btn-line:nth-child(2) { opacity: 0; }
.menu-btn.active .menu-btn-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* --- SIDEBAR --- */
.sidebar {
width: 300px;
background: var(--bg-sidebar);
backdrop-filter: blur(30px);
height: 100vh;
position: fixed;
left: -300px;
top: 0;
z-index: 900;
transition: var(--transition);
display: flex;
flex-direction: column;
padding: 80px 20px 20px;
border-right: 1px solid var(--border-glass);
}
.sidebar.open { transform: translateX(300px); }
.history-title {
font-size: 11px;
text-transform: uppercase;
color: var(--text-muted);
letter-spacing: 2px;
margin-bottom: 25px;
font-weight: 600;
}
.chat-list { flex: 1; overflow-y: auto; color: var(--text-muted); font-size: 14px; }
.profile-section {
padding: 12px 15px;
background: var(--bg-glass);
border-radius: 18px;
display: flex;
align-items: center;
gap: 15px;
cursor: pointer;
transition: var(--transition);
border: 1px solid var(--border-glass);
}
.avatar {
width: 38px; height: 38px;
border-radius: 50%;
background: #222;
color: #fff;
font-family: 'Georgia', serif;
font-size: 20px;
font-weight: bold;
display: flex; align-items: center; justify-content: center;
border: 1px solid rgba(255,255,255,0.1);
}
/* --- LOGO CENTRALE ANIMATO --- */
.main-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}
.logo-container {
position: relative;
text-align: center;
z-index: 10;
}
.logo-aura {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 200px; height: 200px;
background: var(--primary-rainbow);
background-size: 300% 300%;
filter: blur(70px);
opacity: 0.25;
border-radius: 50%;
animation: flowColors 8s infinite linear; /* Calma */
}
.logo-text {
font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
font-weight: 900;
font-size: 5rem;
letter-spacing: -3px;
/* Effetto gradiente nel testo */
background: var(--primary-rainbow);
background-size: 300% 300%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
animation: flowColors 8s infinite linear; /* Calma */
}
/* Stile per la nuova scritta M.INC. */
.sub-text {
color: var(--text-muted);
font-size: 13px; /* Mantiene la stessa grandezza */
letter-spacing: 5px;
margin-top: 5px;
font-weight: 700;
text-transform: uppercase;
}
@keyframes flowColors {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* --- INPUT AREA --- */
.input-container {
position: fixed;
bottom: 35px;
width: 100%;
max-width: 780px;
padding: 0 20px;
}
.input-box {
background: var(--bg-sidebar);
border: 1px solid var(--border-glass);
border-radius: 28px;
padding: 10px 10px 10px 25px;
display: flex;
align-items: center;
backdrop-filter: blur(20px);
box-shadow: var(--shadow-premium);
}
textarea {
flex: 1;
background: transparent;
border: none;
outline: none;
color: var(--text-main);
font-size: 16px;
padding: 12px 0;
resize: none;
max-height: 150px;
font-family: Arial, sans-serif;
}
.send-btn {
width: 46px; height: 46px;
background: var(--text-main);
border-radius: 50%;
border: none;
cursor: pointer;
margin-left: 15px;
display: flex; align-items: center; justify-content: center;
transition: var(--transition);
}
.send-btn:hover { transform: scale(1.05); background: #ffffff; }
</style>
</head>
<body>
<div class="header">
<div class="menu-btn" id="hamburger">
<div class="menu-btn-line"></div>
<div class="menu-btn-line"></div>
<div class="menu-btn-line"></div>
</div>
</div>
<aside class="sidebar" id="sidebar">
<div class="history-title">Cronologia</div>
<div class="chat-list">
<div style="padding: 15px 0; text-align: center; opacity: 0.4; font-style: italic;">Nessuna attività recente</div>
</div>
<div class="profile-section" id="profileBtn">
<div class="avatar">M</div>
<div style="flex: 1;">
<div style="font-size: 14px; font-weight: 600;">Utente Locale</div>
<div style="font-size: 11px; color: var(--text-muted);">Settings</div>
</div>
<span style="font-size: 16px; opacity: 0.6;">⚙️</span>
</div>
</aside>
<main class="main-content">
<div class="logo-container">
<div class="logo-aura"></div>
<h1 class="logo-text">DAC</h1>
<p class="sub-text">M.INC.</p>
</div>
<div class="input-container">
<div class="input-box">
<textarea id="chatInput" placeholder="Chiedi a DAC..." rows="1"></textarea>
<button class="send-btn">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="black" 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>
</button>
</div>
</div>
</main>
<script>
const hamburger = document.getElementById('hamburger');
const sidebar = document.getElementById('sidebar');
const chatInput = document.getElementById('chatInput');
hamburger.addEventListener('click', () => {
hamburger.classList.toggle('active');
sidebar.classList.toggle('open');
});
document.querySelector('.main-content').addEventListener('click', () => {
sidebar.classList.remove('open');
hamburger.classList.remove('active');
});
chatInput.addEventListener('input', function() {
this.style.height = 'auto';
this.style.height = (this.scrollHeight) + 'px';
});
</script>
</body>
</html> |