Created comprehensive theme package with: Core System: - CSS variable system (100+ design tokens) - Core styles (reset, typography, animations, utilities) - Responsive grid and dashboard layouts Components: - Cards with hover effects and variants (glass, success, warning, danger, primary) - Buttons (primary, secondary, danger, ghost) - Forms, tables, modals, tooltips, badges, alerts, navigation Theme Variants: - Dark mode (default) with gradient background - Light mode with clean white surfaces - Cyberpunk mode for futuristic aesthetic Multi-Language Support: - English (en), French (fr), German (de), Spanish (es) - 40+ translation keys covering common UI, dashboard, modules, settings, errors - Theme.t() method for parameter substitution JavaScript Theme Controller: - Theme.init() for initialization - Theme.apply() for theme switching - Theme.setLanguage() for i18n - Theme.createCard(), createButton(), createBadge() helpers - Theme.createPage() for full page composition Files Created: - 22 CSS files (core, components, layouts, themes) - 1 JavaScript controller (theme.js) - 4 translation files (all validated JSON) - 2 documentation files (README, USAGE) - 1 main bundle (secubox-theme.css + minified) - 1 Makefile (LuCI package definition) Usage: 'require secubox-theme/theme as Theme' See USAGE.md for complete API documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
35 lines
772 B
CSS
35 lines
772 B
CSS
.cyber-input,
|
|
.cyber-select,
|
|
.cyber-textarea {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(14, 18, 45, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: var(--cyber-radius-sm);
|
|
color: var(--cyber-text-primary);
|
|
font-family: var(--cyber-font-body);
|
|
transition: border var(--cyber-transition), box-shadow var(--cyber-transition);
|
|
}
|
|
|
|
.cyber-input:focus,
|
|
.cyber-select:focus,
|
|
.cyber-textarea:focus {
|
|
outline: none;
|
|
border-color: var(--cyber-accent-secondary);
|
|
box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.25);
|
|
}
|
|
|
|
.cyber-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cyber-field label {
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--cyber-text-secondary);
|
|
}
|