secubox-openwrt/luci-theme-secubox/htdocs/luci-static/resources/secubox-theme/components/alerts.css
CyberMind-FR a0c8d65472 feat: Implement luci-theme-secubox global CyberMood design system
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>
2025-12-28 17:08:07 +01:00

34 lines
719 B
CSS

.cyber-alert {
display: flex;
gap: 0.75rem;
padding: 0.9rem 1rem;
border-radius: var(--cyber-radius-sm);
border: 1px solid transparent;
align-items: center;
font-size: 0.9rem;
}
.cyber-alert--info {
background: var(--cyber-info-soft);
color: var(--cyber-info);
border-color: rgba(6, 182, 212, 0.4);
}
.cyber-alert--success {
background: var(--cyber-success-soft);
color: var(--cyber-success);
border-color: rgba(16, 185, 129, 0.4);
}
.cyber-alert--warning {
background: var(--cyber-warning-soft);
color: var(--cyber-warning);
border-color: rgba(245, 158, 11, 0.4);
}
.cyber-alert--danger {
background: var(--cyber-danger-soft);
color: var(--cyber-danger);
border-color: rgba(239, 68, 68, 0.4);
}