MANAGER - 1.0
by velo_ninja
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hero Animation Showcase</title>
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* =========================
CSS VARIABLES & RESET
========================= */
:root {
--primary: #6366f1;
--primary-light: #818cf8;
--accent: #ec4899;
--accent-light: #f472b6;
--success: #10b981;
--bg-dark: #13131a;
--bg-card: #1a1a24;
--text-main: #ffffff;
--text-secondary: #a0a0b0;
--text-muted: #6b6b7b;
--sidebar-width: 320px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
overflow: hidden; /* Prevent body scroll, handle inside containers */
height: 100vh;
width: 100vw;
}
/* =========================
MAIN LAYOUT
========================= */
#app-container {
position: relative;
width: 100%;
height: 100%;
margin-left: 0; /* Initial state */
transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
z-index: 10;
}
/* When sidebar is open, push content (optional, or overlay)
Here we keep overlay logic as per sidebar CSS, but ensure content is accessible */
#app-container.shifted {
...