/* CatOS v9.0 (Whiskers Edition) Styles 🐱‍💻 */ :root { /* Cat-themed Color Palette - Dark Mode */ --cat-primary: #8b5cf6; --cat-secondary: #fbbf24; --cat-accent: #f472b6; --cat-success: #34d399; --cat-warning: #fbbf24; --cat-error: #f87171; /* Dark Desktop Colors */ --desktop-bg: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(30, 30, 30, 0.7) 50%, rgba(25, 25, 25, 0.8) 100%); --desktop-pattern: url('data:image/svg+xml,🐾'); /* Dark Window Colors */ --window-bg: #1e1e2e; --window-border: #45475a; --window-titlebar: #313244; --window-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); /* Dark Taskbar Colors */ --taskbar-bg: rgba(17, 17, 27, 0.95); --taskbar-height: 48px; /* Dark Text Colors */ --text-primary: #cdd6f4; --text-secondary: #a6adc8; --text-white: #ffffff; --text-muted: #6c7086; /* Fonts */ --font-system: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --font-mono: 'JetBrains Mono', 'Consolas', monospace; /* Spacing */ --spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 1.5rem; --spacing-xl: 2rem; /* Border Radius */ --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; /* Animations */ --transition-fast: 0.15s ease; --transition-normal: 0.3s ease; --transition-slow: 0.5s ease; } /* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; font-family: var(--font-system); overflow: hidden; background: #000; } /* Desktop Container */ .desktop-container { position: relative; width: 100vw; height: 100vh; display: flex; flex-direction: column; } /* Desktop Background */ .desktop { flex: 1; background: var(--desktop-bg); background-image: var(--desktop-pattern); background-size: cover, 100px 100px; background-position: center, 0 0; background-repeat: no-repeat, repeat; position: relative; overflow: hidden; animation: desktopFloat 20s linear infinite; } @keyframes desktopFloat { 0% { background-position: center 0, 0 0; } 100% { background-position: center 0, 0 -100px; } } /* Desktop Icons */ .desktop-icons { padding: var(--spacing-lg); display: grid; grid-template-columns: repeat(auto-fill, 80px); grid-gap: var(--spacing-lg); align-content: start; } .desktop-icon { display: flex; flex-direction: column; align-items: center; padding: var(--spacing-md); border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-normal); user-select: none; } .desktop-icon:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); backdrop-filter: blur(10px); } .desktop-icon:active { transform: translateY(0); background: rgba(255, 255, 255, 0.2); } .desktop-icon.selected { background: rgba(99, 102, 241, 0.3); border: 1px solid rgba(99, 102, 241, 0.5); } .icon-image { font-size: 2.5rem; margin-bottom: var(--spacing-sm); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); } .icon-label { font-size: 0.75rem; font-weight: 500; color: var(--text-white); text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); line-height: 1.2; max-width: 80px; word-wrap: break-word; } /* Windows Container */ .windows-container { position: absolute; top: 0; left: 0; right: 0; bottom: var(--taskbar-height); pointer-events: none; z-index: 100; } /* Window Styles */ .window { position: absolute; background: var(--window-bg); border: 1px solid var(--window-border); border-radius: var(--radius-lg); box-shadow: var(--window-shadow); pointer-events: auto; min-width: 400px; min-height: 300px; overflow: hidden; transition: all var(--transition-normal); contain: layout style paint; } .window.focused { z-index: 1000; box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2); } .window.minimized { transform: scale(0.8); opacity: 0; pointer-events: none; } .window.maximized { top: 0 !important; left: 0 !important; width: 100vw !important; height: calc(100vh - var(--taskbar-height)) !important; border-radius: 0; } /* Window Titlebar */ .window-titlebar { background: var(--window-titlebar); border-bottom: 1px solid var(--window-border); padding: var(--spacing-md); display: flex; justify-content: space-between; align-items: center; cursor: move; user-select: none; } .window-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: var(--spacing-sm); } .window-icon { font-size: 1rem; } .window-controls { display: flex; gap: var(--spacing-xs); } .window-control { width: 24px; height: 24px; border: none; border-radius: 50%; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all var(--transition-fast); } .window-control:hover { transform: scale(1.1); } .window-control.minimize { background: #fbbf24; color: #92400e; } .window-control.maximize { background: #34d399; color: #065f46; } .window-control.close { background: #f87171; color: #991b1b; } /* Window Content */ .window-content { padding: var(--spacing-lg); height: calc(100% - 60px); overflow: auto; } /* Window Resize Handles */ .window-resize-handle { position: absolute; background: transparent; z-index: 10; } .window-resize-handle:hover { background: rgba(139, 92, 246, 0.2); } .resize-handle-n { top: 0; left: 8px; right: 8px; height: 8px; cursor: n-resize; } .resize-handle-s { bottom: 0; left: 8px; right: 8px; height: 8px; cursor: s-resize; } .resize-handle-e { top: 8px; bottom: 8px; right: 0; width: 8px; cursor: e-resize; } .resize-handle-w { top: 8px; bottom: 8px; left: 0; width: 8px; cursor: w-resize; } .resize-handle-ne { top: 0; right: 0; width: 12px; height: 12px; cursor: ne-resize; } .resize-handle-nw { top: 0; left: 0; width: 12px; height: 12px; cursor: nw-resize; } .resize-handle-se { bottom: 0; right: 0; width: 12px; height: 12px; cursor: se-resize; } .resize-handle-sw { bottom: 0; left: 0; width: 12px; height: 12px; cursor: sw-resize; } /* Window States */ .window.resizing { user-select: none; transition: none; } /* Taskbar */ .taskbar { height: var(--taskbar-height); background: var(--taskbar-bg); backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; padding: 0 var(--spacing-md); z-index: 200; } .taskbar-left { display: flex; align-items: center; gap: var(--spacing-md); } .start-button { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-md); padding: var(--spacing-sm) var(--spacing-md); color: var(--text-white); cursor: pointer; display: flex; align-items: center; gap: var(--spacing-sm); font-size: 0.875rem; font-weight: 500; transition: all var(--transition-normal); } .start-button:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); } .start-button.active { background: var(--cat-primary); } .start-icon { font-size: 1.25rem; } .taskbar-apps { display: flex; gap: var(--spacing-sm); } .taskbar-app { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-sm); padding: var(--spacing-sm); color: var(--text-white); cursor: pointer; display: flex; align-items: center; gap: var(--spacing-xs); font-size: 0.75rem; transition: all var(--transition-fast); max-width: 150px; } .taskbar-app:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); transition: all var(--transition-fast); } .taskbar-app.focused { background: var(--cat-primary); box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3); } .taskbar-app.focused:hover { background: rgba(139, 92, 246, 0.9); transform: translateY(-1px); } .taskbar-app-icon { font-size: 1rem; } .taskbar-app-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .taskbar-right { display: flex; align-items: center; } .system-tray { display: flex; gap: var(--spacing-md); } .tray-item { color: var(--text-white); font-size: 0.75rem; display: flex; align-items: center; gap: var(--spacing-xs); } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cat-success); animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .time { font-family: var(--font-mono); font-weight: 500; } /* Start Menu */ .start-menu { position: absolute; bottom: var(--taskbar-height); left: var(--spacing-md); width: 280px; background: rgba(30, 30, 46, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--window-border); border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); transform: translateY(100%) scale(0.95); opacity: 0; transition: all var(--transition-normal); z-index: 300; } .start-menu.show { transform: translateY(0) scale(1); opacity: 1; } .start-menu-header { background: var(--desktop-bg); padding: var(--spacing-lg); border-radius: var(--radius-lg) var(--radius-lg) 0 0; } .user-info { display: flex; align-items: center; gap: var(--spacing-md); } .user-avatar { width: 48px; height: 48px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; } .user-name { font-size: 1.125rem; font-weight: 600; color: var(--text-white); } .user-title { font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); } .start-menu-apps { padding: var(--spacing-md); } .menu-app { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md); border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-fast); } .menu-app:hover { background: rgba(139, 92, 246, 0.15); } .menu-app-icon { font-size: 1.25rem; } .menu-app-name { font-size: 0.875rem; font-weight: 500; color: var(--text-primary); } .start-menu-footer { padding: var(--spacing-md); border-top: 1px solid var(--window-border); display: flex; justify-content: flex-end; gap: var(--spacing-sm); } .power-button, .settings-button { width: 32px; height: 32px; border: none; background: rgba(139, 92, 246, 0.15); border-radius: var(--radius-sm); font-size: 1rem; cursor: pointer; transition: all var(--transition-fast); color: var(--text-primary); } .power-button:hover, .settings-button:hover { background: rgba(139, 92, 246, 0.25); transform: scale(1.05); } /* Context Menu */ .context-menu { position: absolute; background: var(--window-bg); border: 1px solid var(--window-border); border-radius: var(--radius-md); box-shadow: var(--window-shadow); padding: var(--spacing-xs); min-width: 180px; z-index: 400; opacity: 0; transform: scale(0.95); transition: all var(--transition-fast); pointer-events: none; } .context-menu.show { opacity: 1; transform: scale(1); pointer-events: auto; } .context-item { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.875rem; color: var(--text-primary); transition: all var(--transition-fast); } .context-item:hover { background: var(--cat-primary); color: var(--text-white); } .context-item i { width: 16px; text-align: center; } /* Loading Screen */ .loading-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity var(--transition-slow); } .loading-screen.hidden { opacity: 0; pointer-events: none; } .loading-content { text-align: center; color: var(--text-white); } .loading-logo { font-size: 4rem; margin-bottom: var(--spacing-lg); animation: bounce 2s infinite; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-10px); } } .loading-text { font-size: 2rem; font-weight: 600; margin-bottom: var(--spacing-sm); } .loading-subtitle { font-size: 1rem; color: var(--text-muted); margin-bottom: var(--spacing-xl); } .loading-bar { width: 300px; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; margin: 0 auto var(--spacing-lg); overflow: hidden; } .loading-progress { height: 100%; background: var(--cat-primary); border-radius: 2px; width: 0; animation: loadProgress 3s ease-in-out; } @keyframes loadProgress { 0% { width: 0; } 50% { width: 60%; } 100% { width: 100%; } } .loading-message { font-size: 0.875rem; color: var(--text-muted); font-family: var(--font-mono); } /* Responsive Design */ @media (max-width: 768px) { .desktop-icons { grid-template-columns: repeat(auto-fill, 70px); padding: var(--spacing-md); } .desktop-icon { padding: var(--spacing-sm); } .icon-image { font-size: 2rem; } .icon-label { font-size: 0.7rem; } .window { min-width: 300px; min-height: 250px; } .start-menu { width: 260px; } .taskbar-app-name { display: none; } } @media (max-width: 480px) { :root { --taskbar-height: 56px; } .taskbar { padding: 0 var(--spacing-sm); } .start-text { display: none; } .desktop-icons { grid-template-columns: repeat(auto-fill, 60px); grid-gap: var(--spacing-md); } } /* Terminal Styles */ .terminal-app { height: 100%; background: #11111b; border-radius: var(--radius-md); overflow: hidden; font-family: var(--font-mono); } .terminal-header { background: #181825; border-bottom: 1px solid var(--window-border); padding: var(--spacing-sm) var(--spacing-md); display: flex; justify-content: space-between; align-items: center; } .terminal-title { color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; } .terminal-controls { display: flex; gap: var(--spacing-xs); } .terminal-dot { width: 12px; height: 12px; border-radius: 50%; opacity: 0.8; } .terminal-dot.red { background: #f38ba8; } .terminal-dot.yellow { background: #f9e2af; } .terminal-dot.green { background: #a6e3a1; } .terminal-content { height: calc(100% - 60px); padding: var(--spacing-md); overflow-y: auto; background: #11111b; } .terminal-line { margin-bottom: var(--spacing-xs); line-height: 1.4; word-wrap: break-word; } .terminal-prompt { color: var(--cat-primary); font-weight: 600; margin-right: var(--spacing-sm); } .terminal-text { color: var(--text-primary); } .terminal-output { color: var(--text-secondary); white-space: pre-wrap; } .terminal-category { color: var(--cat-secondary); font-weight: 600; } .terminal-success { color: var(--cat-success); } .terminal-directory { color: var(--cat-primary); font-weight: 600; } .terminal-file { color: var(--text-secondary); } .terminal-input-line { background: #181825; border-top: 1px solid var(--window-border); padding: var(--spacing-md); display: flex; align-items: center; gap: var(--spacing-sm); } .terminal-input { flex: 1; background: transparent; border: none; color: var(--text-primary); font-family: var(--font-mono); font-size: 0.875rem; outline: none; } .terminal-input::placeholder { color: var(--text-muted); } /* Terminal scrollbar styling */ .terminal-content::-webkit-scrollbar { width: 8px; } .terminal-content::-webkit-scrollbar-track { background: #181825; } .terminal-content::-webkit-scrollbar-thumb { background: var(--window-border); border-radius: 4px; } .terminal-content::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } /* Utility Classes */ .hidden { display: none !important; } .invisible { opacity: 0; pointer-events: none; } .no-select { user-select: none; } .dragging { cursor: move !important; } .window.being-dragged { transition: none !important; } .resizing { cursor: nw-resize !important; } .window.resizing { transition: none !important; } /* App-specific styles */ .project-viewer { padding: var(--spacing-lg); max-height: 100%; overflow-y: auto; } .project-header { display: flex; align-items: flex-start; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); padding-bottom: var(--spacing-lg); border-bottom: 1px solid var(--window-border); } .project-icon { font-size: 3rem; line-height: 1; } .project-info { flex: 1; } .project-title { font-size: 1.5rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-sm); } .project-description { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; } .detail-section { margin-bottom: var(--spacing-xl); } .detail-section h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-md); } .tech-stack { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); } .tech-badge { background: var(--cat-primary); color: var(--text-white); padding: var(--spacing-xs) var(--spacing-sm); border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; } .feature-list { list-style: none; padding: 0; } .feature-list li { padding: var(--spacing-xs) 0; color: var(--text-secondary); line-height: 1.5; } .project-links { display: flex; gap: var(--spacing-md); flex-wrap: wrap; } .project-link { display: flex; align-items: center; gap: var(--spacing-sm); padding: var(--spacing-sm) var(--spacing-md); background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: var(--radius-md); color: var(--text-primary); text-decoration: none; transition: all var(--transition-fast); } .project-link:hover { background: rgba(139, 92, 246, 0.2); transform: translateY(-1px); } .link-icon { font-size: 1.125rem; } /* About App Styles */ .about-content { padding: var(--spacing-lg); max-height: 100%; overflow-y: auto; } .about-header { display: flex; align-items: center; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); padding-bottom: var(--spacing-lg); border-bottom: 1px solid var(--window-border); } .about-avatar { font-size: 4rem; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: rgba(139, 92, 246, 0.1); border-radius: 50%; } .about-info h1 { font-size: 1.75rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-sm); } .about-subtitle { font-size: 1rem; color: var(--text-secondary); font-style: italic; } .about-section { margin-bottom: var(--spacing-xl); } .about-section h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-md); } .about-section p { color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--spacing-md); } .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--spacing-sm); } .skill-item { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-md); text-align: center; color: var(--text-primary); font-weight: 500; } .cat-wisdom { background: rgba(251, 191, 36, 0.1); border-left: 4px solid var(--cat-secondary); padding: var(--spacing-lg); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; color: var(--text-primary); position: relative; } .cat-wisdom cite { display: block; margin-top: var(--spacing-md); font-size: 0.875rem; color: var(--text-secondary); text-align: right; } /* Contact App Styles */ .contact-content { padding: var(--spacing-lg); max-height: 100%; overflow-y: auto; } .contact-header { text-align: center; margin-bottom: var(--spacing-xl); padding-bottom: var(--spacing-lg); border-bottom: 1px solid var(--window-border); } .contact-icon { font-size: 3rem; margin-bottom: var(--spacing-md); } .contact-header h1 { font-size: 1.75rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-sm); } .contact-header p { color: var(--text-secondary); font-size: 1rem; } .contact-methods { margin-bottom: var(--spacing-xl); } .contact-method { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md); margin-bottom: var(--spacing-md); background: rgba(139, 92, 246, 0.05); border-radius: var(--radius-md); transition: all var(--transition-fast); } .contact-method:hover { background: rgba(139, 92, 246, 0.1); } .method-icon { font-size: 1.5rem; width: 40px; text-align: center; } .method-info h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-xs); } .method-info p { font-size: 0.875rem; color: var(--text-secondary); } .contact-form { background: rgba(139, 92, 246, 0.05); padding: var(--spacing-lg); border-radius: var(--radius-md); } .contact-form h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-lg); } .form-group { margin-bottom: var(--spacing-md); } .form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-primary); margin-bottom: var(--spacing-xs); } .form-group input, .form-group textarea { width: 100%; padding: var(--spacing-sm) var(--spacing-md); border: 1px solid var(--window-border); border-radius: var(--radius-sm); background: var(--window-bg); color: var(--text-primary); font-size: 0.875rem; transition: all var(--transition-fast); } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cat-primary); box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2); } .submit-button { background: var(--cat-primary); color: var(--text-white); border: none; padding: var(--spacing-sm) var(--spacing-lg); border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all var(--transition-fast); } .submit-button:hover { background: #7c3aed; transform: translateY(-1px); } /* File Explorer Styles */ .file-explorer { display: flex; flex-direction: column; height: 100%; } .explorer-toolbar { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-sm) var(--spacing-md); background: rgba(139, 92, 246, 0.05); border-bottom: 1px solid var(--window-border); } .toolbar-section { display: flex; gap: var(--spacing-xs); } .toolbar-btn { background: transparent; border: 1px solid var(--window-border); border-radius: var(--radius-sm); padding: var(--spacing-xs) var(--spacing-sm); cursor: pointer; color: var(--text-primary); transition: all var(--transition-fast); } .toolbar-btn:hover { background: rgba(139, 92, 246, 0.1); } .address-bar { flex: 1; display: flex; align-items: center; gap: var(--spacing-xs); padding: var(--spacing-xs) var(--spacing-sm); background: var(--window-bg); border: 1px solid var(--window-border); border-radius: var(--radius-sm); font-size: 0.875rem; } .path-segment { color: var(--text-primary); } .path-separator { color: var(--text-secondary); } .explorer-content { flex: 1; padding: var(--spacing-md); overflow-y: auto; } .file-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: var(--spacing-md); align-items: center; padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition-fast); } .file-item:hover { background: rgba(139, 92, 246, 0.1); } .file-item.directory .file-name { font-weight: 600; } .file-icon { font-size: 1.25rem; } .file-name { color: var(--text-primary); font-size: 0.875rem; } .file-size, .file-date { font-size: 0.75rem; color: var(--text-secondary); } /* Error content styles */ .error-content { text-align: center; padding: var(--spacing-xl); } .error-icon { font-size: 4rem; margin-bottom: var(--spacing-lg); } .error-title { font-size: 1.5rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-md); } .error-message { color: var(--text-secondary); font-size: 1rem; }