mirror of
https://github.com/selfhosters-cc/container-census.git
synced 2026-05-16 18:28:26 -05:00
8ac9ca8947
Plugin system infrastructure: - Plugin interface with lifecycle management (Init, Start, Stop) - Plugin manager for registration and route mounting - Scoped database access for plugin data/settings - Event bus for plugin communication - Badge providers and container enrichers NPM plugin (Nginx Proxy Manager): - API client with JWT authentication - Instance management (add/edit/delete/test/sync) - Proxy host fetching and container matching - Badge provider for exposed containers - Tab UI with external JS loading Container model updates: - Added NetworkDetails (IP, aliases) for plugin matching - Added StartedAt timestamp for uptime display - Added PluginData map for plugin enrichment Frontend plugin system: - Plugin manager JS for loading tabs and badges - Integrations dropdown in navigation - External script loading with init function callbacks - Container uptime display on cards Note: Plugin tab JS execution has issues - Next.js migration planned. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
7690 lines
140 KiB
CSS
7690 lines
140 KiB
CSS
/* ===== MODERN DESIGN SYSTEM ===== */
|
|
:root {
|
|
/* Typography */
|
|
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
--font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;
|
|
|
|
/* Colors - Vibrant Purple Gradient */
|
|
--primary-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c026d3 100%);
|
|
--primary: #7c3aed;
|
|
--primary-light: #a855f7;
|
|
--primary-dark: #6d28d9;
|
|
|
|
/* Semantic Colors */
|
|
--success: #10b981;
|
|
--success-light: #34d399;
|
|
--info: #3b82f6;
|
|
--info-light: #60a5fa;
|
|
--warning: #f59e0b;
|
|
--warning-light: #fbbf24;
|
|
--danger: #ef4444;
|
|
--danger-light: #f87171;
|
|
|
|
/* Neutral Colors */
|
|
--bg-primary: #f8f9fa;
|
|
--bg-secondary: #ffffff;
|
|
--bg-tertiary: #f1f5f9;
|
|
--border: #e2e8f0;
|
|
--border-light: #f1f5f9;
|
|
|
|
/* Text Colors */
|
|
--text-primary: #1e293b;
|
|
--text-secondary: #475569;
|
|
--text-tertiary: #94a3b8;
|
|
--text-inverse: #ffffff;
|
|
|
|
/* Shadows */
|
|
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
|
|
/* Spacing */
|
|
--space-1: 0.25rem;
|
|
--space-2: 0.5rem;
|
|
--space-3: 0.75rem;
|
|
--space-4: 1rem;
|
|
--space-5: 1.25rem;
|
|
--space-6: 1.5rem;
|
|
--space-8: 2rem;
|
|
--space-10: 2.5rem;
|
|
--space-12: 3rem;
|
|
|
|
/* Border Radius */
|
|
--radius-sm: 0.375rem;
|
|
--radius: 0.5rem;
|
|
--radius-md: 0.75rem;
|
|
--radius-lg: 1rem;
|
|
--radius-xl: 1.5rem;
|
|
--radius-full: 9999px;
|
|
|
|
/* Transitions */
|
|
--transition-fast: 150ms ease;
|
|
--transition: 200ms ease;
|
|
--transition-slow: 300ms ease;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-primary);
|
|
background-color: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
font-size: 15px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 30px;
|
|
border-radius: 10px;
|
|
margin-bottom: 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.header-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.version-badge {
|
|
background-color: #4a90e2;
|
|
color: white;
|
|
padding: 5px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.version-badge:hover {
|
|
background-color: #357abd;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.telemetry-schedule {
|
|
margin-top: 8px;
|
|
text-align: center;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* ===== MODERN BUTTON STYLES ===== */
|
|
.btn {
|
|
padding: 0.625rem 1.25rem;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
font-family: var(--font-primary);
|
|
transition: all var(--transition);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
box-shadow: var(--shadow-sm);
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-gradient);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
filter: brightness(1.1);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--info);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: var(--info-light);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: var(--success);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background-color: var(--success-light);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: var(--warning);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: var(--warning-light);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: var(--danger);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: var(--danger-light);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-info {
|
|
background-color: var(--info);
|
|
color: var(--text-inverse);
|
|
}
|
|
|
|
.btn-info:hover {
|
|
background-color: var(--info-light);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Button Sizes */
|
|
.btn-sm {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 0.875rem 1.75rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.auto-refresh {
|
|
color: white;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.auto-refresh input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Tabs */
|
|
.tabs {
|
|
display: flex;
|
|
gap: 5px;
|
|
margin-bottom: 30px;
|
|
background: white;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.tab-btn {
|
|
flex: 1;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #666;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
.stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* ===== MODERN CARD STYLES ===== */
|
|
.stat-card {
|
|
background: var(--bg-secondary);
|
|
padding: var(--space-6);
|
|
border-radius: var(--radius-lg);
|
|
text-align: center;
|
|
box-shadow: var(--shadow);
|
|
transition: all var(--transition);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
border-color: var(--primary-light);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
background: var(--primary-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
margin-bottom: var(--space-2);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 30px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* ===== MODERN INPUT STYLES ===== */
|
|
.search-input {
|
|
flex: 1;
|
|
min-width: 250px;
|
|
padding: 0.75rem 1rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.875rem;
|
|
font-family: var(--font-primary);
|
|
background-color: var(--bg-secondary);
|
|
transition: all var(--transition);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.filter-select {
|
|
padding: 0.75rem 2.5rem 0.75rem 1rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.875rem;
|
|
font-family: var(--font-primary);
|
|
background-color: var(--bg-secondary);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
color: var(--text-primary);
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.75rem center;
|
|
}
|
|
|
|
.filter-select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
|
|
}
|
|
|
|
.form-input,
|
|
input[type="text"],
|
|
input[type="url"],
|
|
input[type="email"],
|
|
input[type="password"],
|
|
input[type="number"],
|
|
input[type="datetime-local"],
|
|
textarea {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.875rem;
|
|
font-family: var(--font-primary);
|
|
background-color: var(--bg-secondary);
|
|
transition: all var(--transition);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.form-input:focus,
|
|
input[type="text"]:focus,
|
|
input[type="url"]:focus,
|
|
input[type="email"]:focus,
|
|
input[type="password"]:focus,
|
|
input[type="number"]:focus,
|
|
input[type="datetime-local"]:focus,
|
|
textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
|
|
}
|
|
|
|
.containers-section,
|
|
.scan-results-section,
|
|
.images-section {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.containers-section h2,
|
|
.scan-results-section h2,
|
|
.images-section h2 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.prune-buttons {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.table-container {
|
|
overflow-x: auto;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
thead {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
}
|
|
|
|
th {
|
|
text-align: left;
|
|
padding: 15px;
|
|
font-weight: 600;
|
|
color: white;
|
|
border-bottom: none;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
th:first-child {
|
|
border-top-left-radius: 12px;
|
|
}
|
|
|
|
th:last-child {
|
|
border-top-right-radius: 12px;
|
|
}
|
|
|
|
td {
|
|
padding: 12px 15px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
background: white;
|
|
}
|
|
|
|
/* Containers table column widths */
|
|
#containersTable th:nth-child(1),
|
|
#containersTable td:nth-child(1) {
|
|
width: 10%;
|
|
min-width: 80px;
|
|
}
|
|
|
|
#containersTable th:nth-child(2),
|
|
#containersTable td:nth-child(2) {
|
|
width: 15%;
|
|
min-width: 120px;
|
|
}
|
|
|
|
#containersTable th:nth-child(3),
|
|
#containersTable td:nth-child(3) {
|
|
width: 20%;
|
|
min-width: 150px;
|
|
}
|
|
|
|
#containersTable th:nth-child(4),
|
|
#containersTable td:nth-child(4) {
|
|
width: 8%;
|
|
min-width: 70px;
|
|
}
|
|
|
|
#containersTable th:nth-child(5),
|
|
#containersTable td:nth-child(5) {
|
|
width: 15%;
|
|
min-width: 100px;
|
|
}
|
|
|
|
#containersTable th:nth-child(6),
|
|
#containersTable td:nth-child(6) {
|
|
width: 10%;
|
|
min-width: 80px;
|
|
}
|
|
|
|
#containersTable th:nth-child(7),
|
|
#containersTable td:nth-child(7) {
|
|
width: 10%;
|
|
min-width: 80px;
|
|
}
|
|
|
|
#containersTable th:nth-child(8),
|
|
#containersTable td:nth-child(8) {
|
|
width: 12%;
|
|
min-width: 140px;
|
|
white-space: normal;
|
|
}
|
|
|
|
/* Actions column (column 10) */
|
|
#containersTable th:nth-child(10),
|
|
#containersTable td:nth-child(10) {
|
|
width: 250px;
|
|
min-width: 250px;
|
|
white-space: normal;
|
|
}
|
|
|
|
/* Modern table row styling for containers */
|
|
#containersTable tbody tr {
|
|
transition: all 0.3s ease;
|
|
border-left: 4px solid transparent;
|
|
}
|
|
|
|
#containersTable tbody tr:hover {
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
|
|
transform: translateY(-1px);
|
|
border-left-color: #667eea;
|
|
}
|
|
|
|
/* Color-coded left borders based on container state */
|
|
#containersTable tbody tr.state-running {
|
|
border-left-color: #28a745;
|
|
}
|
|
|
|
#containersTable tbody tr.state-exited,
|
|
#containersTable tbody tr.state-stopped {
|
|
border-left-color: #6c757d;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
#containersTable tbody tr.state-paused {
|
|
border-left-color: #ffc107;
|
|
}
|
|
|
|
#containersTable tbody tr.state-restarting {
|
|
border-left-color: #17a2b8;
|
|
}
|
|
|
|
#containersTable tbody tr.state-dead {
|
|
border-left-color: #dc3545;
|
|
}
|
|
|
|
/* Hosts table column widths */
|
|
#hostsTable th:nth-child(1),
|
|
#hostsTable td:nth-child(1) {
|
|
width: 12%;
|
|
min-width: 100px;
|
|
}
|
|
|
|
#hostsTable th:nth-child(2),
|
|
#hostsTable td:nth-child(2) {
|
|
width: 10%;
|
|
min-width: 80px;
|
|
}
|
|
|
|
#hostsTable th:nth-child(3),
|
|
#hostsTable td:nth-child(3) {
|
|
width: 20%;
|
|
min-width: 150px;
|
|
}
|
|
|
|
#hostsTable th:nth-child(4),
|
|
#hostsTable td:nth-child(4) {
|
|
width: 10%;
|
|
min-width: 80px;
|
|
}
|
|
|
|
#hostsTable th:nth-child(5),
|
|
#hostsTable td:nth-child(5) {
|
|
width: 20%;
|
|
min-width: 120px;
|
|
}
|
|
|
|
#hostsTable th:nth-child(6),
|
|
#hostsTable td:nth-child(6) {
|
|
width: 12%;
|
|
min-width: 90px;
|
|
}
|
|
|
|
#hostsTable th:nth-child(7),
|
|
#hostsTable td:nth-child(7) {
|
|
width: 16%;
|
|
min-width: 140px;
|
|
white-space: normal;
|
|
}
|
|
|
|
/* Images table column widths */
|
|
#imagesTable th:nth-child(1),
|
|
#imagesTable td:nth-child(1) {
|
|
width: 12%;
|
|
min-width: 90px;
|
|
}
|
|
|
|
#imagesTable th:nth-child(2),
|
|
#imagesTable td:nth-child(2) {
|
|
width: 25%;
|
|
min-width: 150px;
|
|
}
|
|
|
|
#imagesTable th:nth-child(3),
|
|
#imagesTable td:nth-child(3) {
|
|
width: 12%;
|
|
min-width: 80px;
|
|
}
|
|
|
|
#imagesTable th:nth-child(4),
|
|
#imagesTable td:nth-child(4) {
|
|
width: 15%;
|
|
min-width: 100px;
|
|
}
|
|
|
|
#imagesTable th:nth-child(5),
|
|
#imagesTable td:nth-child(5) {
|
|
width: 10%;
|
|
min-width: 70px;
|
|
}
|
|
|
|
#imagesTable th:nth-child(6),
|
|
#imagesTable td:nth-child(6) {
|
|
width: 12%;
|
|
min-width: 90px;
|
|
}
|
|
|
|
#imagesTable th:nth-child(7),
|
|
#imagesTable td:nth-child(7) {
|
|
width: 14%;
|
|
min-width: 120px;
|
|
white-space: normal;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.state-badge {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.state-running {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.state-exited {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.state-paused {
|
|
background-color: #fff3cd;
|
|
color: #856404;
|
|
}
|
|
|
|
.state-created {
|
|
background-color: #d1ecf1;
|
|
color: #0c5460;
|
|
}
|
|
|
|
.port-list {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 30px;
|
|
color: #999;
|
|
}
|
|
|
|
.error {
|
|
text-align: center;
|
|
padding: 30px;
|
|
color: #d9534f;
|
|
}
|
|
|
|
.scan-success {
|
|
color: #28a745;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.scan-failed {
|
|
color: #dc3545;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Activity Log Styles */
|
|
.activity-log-section {
|
|
background: white;
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.activity-scan {
|
|
background-color: rgba(46, 204, 113, 0.05);
|
|
}
|
|
|
|
.activity-telemetry {
|
|
background-color: rgba(52, 152, 219, 0.05);
|
|
}
|
|
|
|
.activity-scan:hover {
|
|
background-color: rgba(46, 204, 113, 0.1);
|
|
}
|
|
|
|
.activity-telemetry:hover {
|
|
background-color: rgba(52, 152, 219, 0.1);
|
|
}
|
|
|
|
.time-ago {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-icon {
|
|
padding: 8px 12px;
|
|
min-width: 38px;
|
|
min-height: 38px;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: all 0.2s ease;
|
|
background: #f8f9fa;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.btn-icon:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-start {
|
|
color: #28a745;
|
|
background: #d4edda;
|
|
border-color: #c3e6cb;
|
|
}
|
|
|
|
.btn-start:hover {
|
|
background: #c3e6cb;
|
|
border-color: #28a745;
|
|
color: #1e7e34;
|
|
}
|
|
|
|
.btn-stop {
|
|
color: #dc3545;
|
|
background: #f8d7da;
|
|
border-color: #f5c6cb;
|
|
}
|
|
|
|
.btn-stop:hover {
|
|
background: #f5c6cb;
|
|
border-color: #dc3545;
|
|
color: #bd2130;
|
|
}
|
|
|
|
.btn-restart {
|
|
color: #ffc107;
|
|
background: #fff3cd;
|
|
border-color: #ffeaa7;
|
|
}
|
|
|
|
.btn-restart:hover {
|
|
background: #ffeaa7;
|
|
border-color: #ffc107;
|
|
color: #d39e00;
|
|
}
|
|
|
|
.btn-logs {
|
|
color: #17a2b8;
|
|
background: #d1ecf1;
|
|
border-color: #bee5eb;
|
|
}
|
|
|
|
.btn-logs:hover {
|
|
background: #bee5eb;
|
|
border-color: #17a2b8;
|
|
color: #117a8b;
|
|
}
|
|
|
|
.btn-delete {
|
|
color: #dc3545;
|
|
background: #f8d7da;
|
|
border-color: #f5c6cb;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: #f5c6cb;
|
|
border-color: #dc3545;
|
|
color: #bd2130;
|
|
}
|
|
|
|
.btn-stats {
|
|
color: #667eea;
|
|
background: #e3e8ff;
|
|
border-color: #d1d9ff;
|
|
}
|
|
|
|
.btn-stats:hover {
|
|
background: #d1d9ff;
|
|
border-color: #667eea;
|
|
color: #5568d3;
|
|
}
|
|
|
|
.btn-timeline {
|
|
color: #6f42c1;
|
|
background: #e2d9f3;
|
|
border-color: #d4bfed;
|
|
}
|
|
|
|
.btn-timeline:hover {
|
|
background: #d4bfed;
|
|
border-color: #6f42c1;
|
|
color: #59339d;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: #ffc107;
|
|
color: #333;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: #e0a800;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Modals */
|
|
.modal {
|
|
display: none !important;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal.show {
|
|
display: flex !important;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background: white;
|
|
border-radius: 10px;
|
|
width: 90%;
|
|
max-width: 800px;
|
|
max-height: 90vh;
|
|
overflow: hidden;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.modal-content.modal-small {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 20px 25px;
|
|
border-bottom: 1px solid #dee2e6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-header h2,
|
|
.modal-header h3 {
|
|
margin: 0;
|
|
color: #333;
|
|
max-width: calc(100% - 50px);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.close-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 28px;
|
|
color: #999;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
width: 30px;
|
|
height: 30px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.close-btn:hover {
|
|
background: #f8f9fa;
|
|
color: #333;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 25px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 15px 25px;
|
|
border-top: 1px solid #dee2e6;
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.log-content {
|
|
background: #1e1e1e;
|
|
color: #d4d4d4;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
overflow-x: auto;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
max-height: 60vh;
|
|
}
|
|
|
|
/* Notifications */
|
|
.notification {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: -400px;
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
padding: 15px 20px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
z-index: 2000;
|
|
transition: right 0.3s ease;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.notification.show {
|
|
right: 20px;
|
|
}
|
|
|
|
.notification-success {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.notification-error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
border-left: 4px solid #dc3545;
|
|
}
|
|
|
|
.notification-info {
|
|
background: #d1ecf1;
|
|
color: #0c5460;
|
|
border-left: 4px solid #17a2b8;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
header {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.header-actions {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.filters {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.search-input,
|
|
.filter-select {
|
|
width: 100%;
|
|
}
|
|
|
|
.stats {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
/* Form Styles */
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group select:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.form-group small {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.alert {
|
|
padding: 12px;
|
|
border-radius: 5px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.alert-success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.alert-error {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background-color: #218838;
|
|
}
|
|
|
|
/* Badge Styles */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge-success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.badge-warning {
|
|
background-color: #ffc107;
|
|
color: #333;
|
|
}
|
|
|
|
.badge-secondary {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: #ffc107;
|
|
color: #333;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: #e0a800;
|
|
}
|
|
|
|
/* Settings Page */
|
|
.settings-section {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.settings-section h2 {
|
|
margin-bottom: 25px;
|
|
color: #333;
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.settings-card {
|
|
background: #f8f9fa;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.settings-card h3 {
|
|
margin-bottom: 15px;
|
|
color: #667eea;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.settings-description {
|
|
color: #666;
|
|
line-height: 1.6;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Settings Page - Telemetry Section */
|
|
.telemetry-controls {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.checkbox-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.checkbox-input {
|
|
width: 20px;
|
|
height: 20px;
|
|
cursor: pointer;
|
|
accent-color: #667eea;
|
|
}
|
|
|
|
.checkbox-text {
|
|
font-size: 1rem;
|
|
user-select: none;
|
|
}
|
|
|
|
.save-status-inline {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
padding: 4px 12px;
|
|
border-radius: 4px;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.save-status-inline.success {
|
|
color: #155724;
|
|
background: #d4edda;
|
|
}
|
|
|
|
.save-status-inline.error {
|
|
color: #721c24;
|
|
background: #f8d7da;
|
|
}
|
|
|
|
.save-status-inline.saving {
|
|
color: #856404;
|
|
background: #fff3cd;
|
|
}
|
|
|
|
.telemetry-options {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.frequency-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background: white;
|
|
border-radius: 6px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.frequency-label {
|
|
font-weight: 500;
|
|
color: #555;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.frequency-select {
|
|
flex: 1;
|
|
max-width: 250px;
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
background-color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.frequency-select:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.telemetry-info {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background: #f8f9fa;
|
|
border-radius: 6px;
|
|
border: 1px solid #dee2e6;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.info-column h4 {
|
|
color: #333;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-column ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-column li {
|
|
padding: 6px 0;
|
|
color: #555;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.telemetry-endpoint {
|
|
margin-top: 0;
|
|
padding: 12px;
|
|
background: white;
|
|
border-radius: 6px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.telemetry-endpoint code {
|
|
background: #f8f9fa;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
color: #667eea;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.telemetry-info {
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.checkbox-group {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.frequency-group {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.frequency-select {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.hosts-section {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hosts-section h2 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
/* Settings Page - Updated Telemetry Section */
|
|
.telemetry-controls {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.checkbox-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.checkbox-input {
|
|
width: 20px;
|
|
height: 20px;
|
|
cursor: pointer;
|
|
accent-color: #667eea;
|
|
}
|
|
|
|
.checkbox-text {
|
|
font-size: 1rem;
|
|
user-select: none;
|
|
}
|
|
|
|
.save-status-inline {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
padding: 4px 12px;
|
|
border-radius: 4px;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.save-status-inline.success {
|
|
color: #155724;
|
|
background: #d4edda;
|
|
}
|
|
|
|
.save-status-inline.error {
|
|
color: #721c24;
|
|
background: #f8d7da;
|
|
}
|
|
|
|
.save-status-inline.saving {
|
|
color: #856404;
|
|
background: #fff3cd;
|
|
}
|
|
|
|
.frequency-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background: white;
|
|
border-radius: 6px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.frequency-label {
|
|
font-weight: 500;
|
|
color: #555;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.frequency-select {
|
|
flex: 1;
|
|
max-width: 250px;
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
background-color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.frequency-select:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.telemetry-info {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background: #f8f9fa;
|
|
border-radius: 6px;
|
|
border: 1px solid #dee2e6;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.info-column h4 {
|
|
color: #333;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-column ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-column li {
|
|
padding: 6px 0;
|
|
color: #555;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.telemetry-info {
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.checkbox-group {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.frequency-group {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.frequency-select {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Custom Collectors Styles */
|
|
.custom-collectors {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.add-collector-form {
|
|
padding: 20px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.add-collector-form h4 {
|
|
margin-top: 0;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-group label {
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
color: #495057;
|
|
}
|
|
|
|
.form-input {
|
|
padding: 8px 12px;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
|
|
}
|
|
|
|
.collector-item {
|
|
padding: 15px;
|
|
background: white;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 6px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.collector-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.collector-name {
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
color: #333;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.collector-url {
|
|
font-size: 14px;
|
|
color: #666;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.collector-status {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.collector-status.enabled {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.collector-status.disabled {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.collector-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.collector-actions button {
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.form-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.collector-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.collector-actions {
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.collector-actions button {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
/* Telemetry Status */
|
|
.telemetry-status {
|
|
font-size: 13px;
|
|
margin-top: 8px;
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.telemetry-status.status-success {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.telemetry-status.status-error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.telemetry-status.status-unknown {
|
|
background: #e2e3e5;
|
|
color: #383d41;
|
|
}
|
|
|
|
.telemetry-error {
|
|
font-size: 12px;
|
|
margin-top: 5px;
|
|
padding: 6px 10px;
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
border-radius: 4px;
|
|
border-left: 3px solid #ffc107;
|
|
cursor: help;
|
|
}
|
|
|
|
.community-collector {
|
|
border-color: #667eea;
|
|
border-width: 2px;
|
|
background: linear-gradient(to right, #f8f9ff, white);
|
|
}
|
|
|
|
/* Submitting animation */
|
|
.collector-item.submitting {
|
|
position: relative;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.collector-item.submitting::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.1) 50%, transparent 100%);
|
|
animation: shimmer 1.5s infinite;
|
|
pointer-events: none;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
/* Graph Visualization Styles */
|
|
.graph-section {
|
|
background: white;
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.graph-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.graph-header h2 {
|
|
margin: 0;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.graph-toolbar {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.graph-search {
|
|
flex: 0 1 300px;
|
|
}
|
|
|
|
.graph-search .search-input {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.graph-selectors {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
flex: 1;
|
|
}
|
|
|
|
.graph-selectors .filter-select {
|
|
min-width: 180px;
|
|
}
|
|
|
|
.graph-controls-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding: 12px;
|
|
background: #f8f9fa;
|
|
border-radius: 6px;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.graph-filters {
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.graph-display-options {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.graph-zoom-controls {
|
|
display: flex;
|
|
gap: 5px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.graph-zoom-controls .btn {
|
|
min-width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
padding: 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.edge-count {
|
|
font-size: 11px;
|
|
color: #7f8c8d;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.filter-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
user-select: none;
|
|
}
|
|
|
|
.filter-checkbox input[type="checkbox"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.legend-color {
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 3px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.legend-arrow {
|
|
height: auto;
|
|
line-height: 1;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.graph-container {
|
|
width: 100%;
|
|
height: 600px;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
background: #fafafa;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.graph-loading,
|
|
.graph-error,
|
|
.graph-empty {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
color: #7f8c8d;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.graph-error {
|
|
color: #e74c3c;
|
|
}
|
|
|
|
.graph-info {
|
|
margin-top: 15px;
|
|
padding: 15px;
|
|
background: #f8f9fa;
|
|
border-radius: 6px;
|
|
border-left: 4px solid #667eea;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.graph-info strong {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #2c3e50;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.graph-info p {
|
|
margin: 0;
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
/* Cytoscape canvas */
|
|
#graphContainer canvas {
|
|
outline: none;
|
|
}
|
|
|
|
/* Container History Styles */
|
|
|
|
.history-section {
|
|
padding: 20px;
|
|
}
|
|
|
|
.history-stats {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.activity-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
margin: 2px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
background: #e3f2fd;
|
|
color: #1976d2;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.activity-badge:hover {
|
|
background: #bbdefb;
|
|
}
|
|
|
|
/* History cards layout */
|
|
.history-cards-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.history-card {
|
|
background: white;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.history-card:hover {
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.history-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
|
|
.history-card-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.history-card-title strong {
|
|
font-size: 16px;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.history-card-host {
|
|
font-size: 13px;
|
|
color: #6c757d;
|
|
background: #f8f9fa;
|
|
padding: 3px 10px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.history-card-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.history-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.history-card-row {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 8px 16px;
|
|
align-items: start;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.history-card-row:has(.history-card-label:nth-child(3)) {
|
|
grid-template-columns: auto 1fr auto 1fr;
|
|
}
|
|
|
|
.history-card-row:has(.history-card-label:nth-child(5)) {
|
|
grid-template-columns: auto 1fr auto 1fr auto 1fr;
|
|
}
|
|
|
|
.history-card-label {
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.history-card-value {
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.history-card-value code {
|
|
font-size: 12px;
|
|
background: #f8f9fa;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* Timeline Modal */
|
|
|
|
.modal-large {
|
|
max-width: 900px;
|
|
width: 90%;
|
|
}
|
|
|
|
.timeline-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.timeline {
|
|
position: relative;
|
|
padding-left: 40px;
|
|
}
|
|
|
|
.timeline::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.timeline-event {
|
|
position: relative;
|
|
margin-bottom: 30px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.timeline-marker {
|
|
position: absolute;
|
|
left: -25px;
|
|
top: 0;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
border: 3px solid #e0e0e0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.timeline-content-box {
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
border-left: 4px solid #e0e0e0;
|
|
}
|
|
|
|
.timeline-time {
|
|
font-size: 12px;
|
|
color: #7f8c8d;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.timeline-description {
|
|
color: #2c3e50;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.timeline-description strong {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.timeline-details {
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid #dee2e6;
|
|
}
|
|
|
|
/* Event-specific colors */
|
|
|
|
.event-success .timeline-marker {
|
|
background: #d4edda;
|
|
border-color: #28a745;
|
|
}
|
|
|
|
.event-success .timeline-content-box {
|
|
border-left-color: #28a745;
|
|
}
|
|
|
|
.event-warning .timeline-marker {
|
|
background: #fff3cd;
|
|
border-color: #ffc107;
|
|
}
|
|
|
|
.event-warning .timeline-content-box {
|
|
border-left-color: #ffc107;
|
|
}
|
|
|
|
.event-error .timeline-marker {
|
|
background: #f8d7da;
|
|
border-color: #dc3545;
|
|
}
|
|
|
|
.event-error .timeline-content-box {
|
|
border-left-color: #dc3545;
|
|
}
|
|
|
|
.event-info .timeline-marker {
|
|
background: #d1ecf1;
|
|
border-color: #17a2b8;
|
|
}
|
|
|
|
.event-info .timeline-content-box {
|
|
border-left-color: #17a2b8;
|
|
}
|
|
|
|
.event-default .timeline-marker {
|
|
background: #e2e3e5;
|
|
border-color: #6c757d;
|
|
}
|
|
|
|
.event-default .timeline-content-box {
|
|
border-left-color: #6c757d;
|
|
}
|
|
|
|
/* Stats Modal Styles */
|
|
.stats-time-range {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.stats-range-btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid #ddd;
|
|
background: white;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.stats-range-btn:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
.stats-range-btn.active {
|
|
background: #007bff;
|
|
color: white;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
.stats-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.stats-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 15px;
|
|
}
|
|
|
|
.stat-box {
|
|
background: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.stat-box .stat-label {
|
|
font-size: 0.85rem;
|
|
color: #6c757d;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.stat-box .stat-value {
|
|
font-size: 1.4rem;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.stats-charts {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.chart-container {
|
|
background: white;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
border: 1px solid #dee2e6;
|
|
height: 300px;
|
|
}
|
|
|
|
.chart-container canvas {
|
|
max-height: 100%;
|
|
}
|
|
|
|
/* Monitoring Tab Styles */
|
|
.monitoring-section {
|
|
padding: 20px;
|
|
}
|
|
|
|
.monitoring-filters {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.monitoring-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.monitoring-card {
|
|
background: white;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.monitoring-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.monitoring-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.monitoring-card-title {
|
|
font-weight: bold;
|
|
font-size: 1.1rem;
|
|
color: #333;
|
|
}
|
|
|
|
.monitoring-card-host {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
}
|
|
|
|
.monitoring-card-stats {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.monitoring-stat {
|
|
background: #f8f9fa;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.monitoring-stat-label {
|
|
font-size: 0.75rem;
|
|
color: #6c757d;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.monitoring-stat-value {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.monitoring-chart {
|
|
height: 180px;
|
|
margin: 10px 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
.monitoring-chart canvas {
|
|
max-height: 100%;
|
|
}
|
|
|
|
/* Stats Cell in Table */
|
|
.stats-cell {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.9rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Button Icons */
|
|
.btn-stats {
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 1.2rem;
|
|
padding: 5px;
|
|
}
|
|
|
|
.btn-stats:hover {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 1200px) {
|
|
.stats-summary {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.monitoring-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.stats-summary {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.monitoring-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stats-time-range {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
NEW SIDEBAR LAYOUT STYLES
|
|
============================================ */
|
|
|
|
/* Top Navigation Bar */
|
|
.top-navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 60px;
|
|
background: white;
|
|
border-bottom: 1px solid #dee2e6;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
z-index: 1000;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.top-navbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.top-navbar-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.top-navbar-logo h1 {
|
|
font-size: 1.5rem;
|
|
margin: 0;
|
|
color: #333;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.top-navbar-logo h1 a {
|
|
cursor: pointer;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.top-navbar-logo h1 a:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.sidebar-toggle-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
transition: background 0.2s;
|
|
color: #666;
|
|
}
|
|
|
|
.sidebar-toggle-btn:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
.top-navbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.top-navbar-icon-btn {
|
|
background: #f5f5f5;
|
|
border: 1px solid #e0e0e0;
|
|
color: #666;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.3rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.top-navbar-icon-btn:hover {
|
|
background: #e8e8e8;
|
|
border-color: #d0d0d0;
|
|
}
|
|
|
|
.top-navbar-icon-btn.submitting {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* App Layout - Sidebar + Main Content */
|
|
.app-layout {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
padding-top: 60px; /* Account for fixed top navbar */
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
width: 280px;
|
|
background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
overflow-y: auto;
|
|
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s ease, width 0.3s ease;
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
/* Sidebar Header */
|
|
.sidebar-header {
|
|
padding: 20px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
text-align: center;
|
|
}
|
|
|
|
.sidebar-logo {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.sidebar-logo .version-badge {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
padding: 4px 10px;
|
|
border-radius: 15px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
backdrop-filter: blur(10px);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sidebar-logo .version-badge:hover {
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: none;
|
|
color: white;
|
|
width: 35px;
|
|
height: 35px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sidebar-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* Sidebar Stats */
|
|
.sidebar-stats {
|
|
padding: 15px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.sidebar-stat-item {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
backdrop-filter: blur(10px);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sidebar-stat-item:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.sidebar-stat-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.sidebar-stat-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-stat-value {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sidebar-stat-label {
|
|
font-size: 0.65rem;
|
|
opacity: 0.9;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Sidebar Navigation */
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
padding: 15px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.nav-item {
|
|
background: transparent;
|
|
border: none;
|
|
color: white;
|
|
padding: 12px 15px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 0.95rem;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
text-align: left;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
transform: translateX(3px);
|
|
}
|
|
|
|
.nav-item.active {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.nav-item.pulse {
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
50% {
|
|
box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
|
|
}
|
|
}
|
|
|
|
.nav-icon {
|
|
font-size: 1.2rem;
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-label {
|
|
flex: 1;
|
|
}
|
|
|
|
.nav-badge {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
min-width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-badge:empty {
|
|
display: none;
|
|
}
|
|
|
|
.nav-shortcut {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* Integrations Dropdown */
|
|
.nav-dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.nav-dropdown-toggle {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-dropdown-arrow {
|
|
margin-left: auto;
|
|
font-size: 0.7rem;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.nav-dropdown.open .nav-dropdown-arrow {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.nav-dropdown-content {
|
|
display: none;
|
|
padding-left: 20px;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.nav-dropdown.open .nav-dropdown-content {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-dropdown-item {
|
|
background: transparent;
|
|
border: none;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 0.9rem;
|
|
transition: all 0.2s ease;
|
|
text-align: left;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.nav-dropdown-item:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-dropdown-item.active {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
opacity: 1;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Plugin Badges */
|
|
.plugin-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
background: var(--bg-tertiary);
|
|
color: var(--text-secondary);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.plugin-badge:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.plugin-badge .badge-icon {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.plugin-badge.badge-info {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: var(--info);
|
|
}
|
|
|
|
.plugin-badge.badge-success {
|
|
background: rgba(16, 185, 129, 0.15);
|
|
color: var(--success);
|
|
}
|
|
|
|
.plugin-badge.badge-warning {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.plugin-badge.badge-danger {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.plugin-badge.badge-purple {
|
|
background: rgba(124, 58, 237, 0.15);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Plugin Badges Container */
|
|
.plugin-badges-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Container Uptime Display */
|
|
.container-uptime {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 0.8rem;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.container-uptime .uptime-icon {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.container-uptime.running {
|
|
color: var(--success);
|
|
}
|
|
|
|
/* Sidebar Actions */
|
|
.sidebar-actions {
|
|
padding: 15px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.auto-refresh-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.auto-refresh-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.auto-refresh-toggle input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.telemetry-schedule {
|
|
font-size: 0.75rem;
|
|
text-align: center;
|
|
opacity: 0.9;
|
|
padding: 6px;
|
|
}
|
|
|
|
.last-updated {
|
|
font-size: 0.75rem;
|
|
text-align: center;
|
|
opacity: 0.7;
|
|
padding: 4px;
|
|
}
|
|
|
|
.last-updated.refreshing {
|
|
opacity: 1;
|
|
animation: blink 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 0.7; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
/* Main Content Area */
|
|
.main-content {
|
|
flex: 1;
|
|
margin-left: 280px;
|
|
padding: 20px;
|
|
transition: margin-left 0.3s ease;
|
|
max-width: calc(100vw - 280px);
|
|
}
|
|
|
|
/* Filters - Now Sticky */
|
|
.filters {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
background: white;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filters.has-active-filters::before {
|
|
content: '🔍 ' attr(data-count) ' filters active';
|
|
position: absolute;
|
|
top: -10px;
|
|
left: 15px;
|
|
background: #667eea;
|
|
color: white;
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Remove old container and header styles since they're replaced by sidebar */
|
|
.container {
|
|
display: none;
|
|
}
|
|
|
|
header {
|
|
display: none;
|
|
}
|
|
|
|
.tabs {
|
|
display: none;
|
|
}
|
|
|
|
.stats {
|
|
display: none;
|
|
}
|
|
|
|
/* Toast Notifications */
|
|
.toast {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background: white;
|
|
padding: 15px 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
z-index: 2000;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
transform: translateY(100px);
|
|
opacity: 0;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.toast.show {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
.toast-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.toast-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.toast-title {
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.toast-message {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
}
|
|
|
|
.toast-close {
|
|
background: none;
|
|
border: none;
|
|
color: #999;
|
|
cursor: pointer;
|
|
font-size: 1.2rem;
|
|
padding: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.toast-close:hover {
|
|
background: #f5f5f5;
|
|
color: #333;
|
|
}
|
|
|
|
.toast.success {
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.toast.error {
|
|
border-left: 4px solid #dc3545;
|
|
}
|
|
|
|
.toast.info {
|
|
border-left: 4px solid #17a2b8;
|
|
}
|
|
|
|
.toast.warning {
|
|
border-left: 4px solid #ffc107;
|
|
}
|
|
|
|
/* Scan Progress Indicator */
|
|
#scanBtn.scanning {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#scanBtn.scanning::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
|
|
animation: scanning 1.5s infinite;
|
|
}
|
|
|
|
@keyframes scanning {
|
|
0% {
|
|
left: -100%;
|
|
}
|
|
100% {
|
|
left: 100%;
|
|
}
|
|
}
|
|
|
|
#scanBtnIcon.spinning {
|
|
display: inline-block;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Responsive - Tablet */
|
|
@media (max-width: 1024px) {
|
|
.sidebar {
|
|
width: 240px;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 240px;
|
|
max-width: calc(100vw - 240px);
|
|
}
|
|
|
|
.sidebar-stats {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Responsive - Mobile */
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
width: 280px;
|
|
}
|
|
|
|
.sidebar.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
max-width: 100vw;
|
|
}
|
|
|
|
.nav-shortcut {
|
|
display: none;
|
|
}
|
|
|
|
/* Mobile menu toggle button */
|
|
body::before {
|
|
content: '☰';
|
|
position: fixed;
|
|
top: 15px;
|
|
left: 15px;
|
|
z-index: 99;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
body.sidebar-open::before {
|
|
content: '✕';
|
|
}
|
|
|
|
/* Overlay when sidebar is open */
|
|
body.sidebar-open::after {
|
|
content: '';
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 99;
|
|
}
|
|
}
|
|
|
|
/* Dark Mode Support (Optional for future) */
|
|
@media (prefers-color-scheme: dark) {
|
|
/* Can be implemented later if desired */
|
|
}
|
|
|
|
/* ============================================
|
|
NOTIFICATION SYSTEM STYLES
|
|
============================================ */
|
|
|
|
/* Notification Bell in Header */
|
|
.sidebar-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.notification-bell-container {
|
|
position: relative;
|
|
}
|
|
|
|
.notification-bell {
|
|
background: #f5f5f5;
|
|
border: 1px solid #e0e0e0;
|
|
color: #666;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.3rem;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.notification-bell:hover {
|
|
background: #e8e8e8;
|
|
border-color: #d0d0d0;
|
|
}
|
|
|
|
.notification-count-badge {
|
|
position: absolute;
|
|
top: -5px;
|
|
right: -5px;
|
|
background: #dc3545;
|
|
color: white;
|
|
border-radius: 50%;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.7rem;
|
|
font-weight: bold;
|
|
padding: 2px;
|
|
}
|
|
|
|
.notification-count-badge:not(:empty) {
|
|
display: flex;
|
|
}
|
|
|
|
/* Notification Dropdown */
|
|
.notification-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 5px);
|
|
right: 0;
|
|
width: 380px;
|
|
max-height: 600px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
z-index: 10000;
|
|
display: none;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.notification-bell-container {
|
|
position: relative;
|
|
}
|
|
|
|
.notification-dropdown.show {
|
|
display: flex;
|
|
}
|
|
|
|
.notification-dropdown-header {
|
|
padding: 15px;
|
|
border-bottom: 1px solid #dee2e6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.notification-dropdown-header h4 {
|
|
margin: 0;
|
|
color: #333;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn-text {
|
|
background: none;
|
|
border: none;
|
|
color: #667eea;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-text:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
.notification-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 350px;
|
|
}
|
|
|
|
.notification-list::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.notification-list::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
}
|
|
|
|
.notification-list::-webkit-scrollbar-thumb {
|
|
background: #888;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.notification-empty {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
color: #999;
|
|
}
|
|
|
|
.notification-item {
|
|
padding: 12px 15px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
position: relative;
|
|
}
|
|
|
|
.notification-item:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.notification-item.unread {
|
|
background: #e3f2fd;
|
|
border-left: 4px solid #2196F3;
|
|
}
|
|
|
|
.notification-item.unread::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 8px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #2196F3;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.notification-item-content {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.notification-item-title {
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
color: #333;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.notification-item-message {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.notification-item-time {
|
|
font-size: 0.75rem;
|
|
color: #999;
|
|
}
|
|
|
|
.notification-dropdown-footer {
|
|
padding: 10px 15px;
|
|
border-top: 1px solid #dee2e6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* Notification Center Page */
|
|
.notifications-section {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.notifications-section h2 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
/* Notification Tabs */
|
|
.notification-tabs {
|
|
display: flex;
|
|
gap: 5px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.notification-tab-btn {
|
|
flex: 1;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #666;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -2px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.notification-tab-btn:hover {
|
|
color: #667eea;
|
|
}
|
|
|
|
.notification-tab-btn.active {
|
|
color: #667eea;
|
|
border-bottom-color: #667eea;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.notif-tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.notif-tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Inbox */
|
|
.notification-inbox-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.notification-filters {
|
|
display: flex;
|
|
gap: 5px;
|
|
}
|
|
|
|
.notif-filter-btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid #ddd;
|
|
background: white;
|
|
color: #666;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.notif-filter-btn:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.notif-filter-btn.active {
|
|
background: #667eea;
|
|
color: white;
|
|
border-color: #667eea;
|
|
}
|
|
|
|
.notification-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.notification-inbox-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.notification-inbox-item {
|
|
background: white;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.notification-inbox-item:hover {
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.notification-inbox-item.unread {
|
|
background: #e3f2fd;
|
|
border-left: 4px solid #2196F3;
|
|
}
|
|
|
|
.notification-inbox-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.notification-inbox-type {
|
|
font-size: 0.85rem;
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.notification-inbox-type.new_image {
|
|
background: #d1ecf1;
|
|
color: #0c5460;
|
|
}
|
|
|
|
.notification-inbox-type.state_change {
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
}
|
|
|
|
.notification-inbox-type.high_cpu,
|
|
.notification-inbox-type.high_memory {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.notification-inbox-type.anomalous_behavior {
|
|
background: #f5c6cb;
|
|
color: #bd2130;
|
|
}
|
|
|
|
.notification-inbox-time {
|
|
font-size: 0.85rem;
|
|
color: #999;
|
|
}
|
|
|
|
.notification-inbox-message {
|
|
color: #333;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.notification-inbox-details {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
}
|
|
|
|
.notification-inbox-detail {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* Channels List */
|
|
.channels-header,
|
|
.rules-header,
|
|
.silences-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.channels-list,
|
|
.rules-list,
|
|
.silences-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.channel-item,
|
|
.rule-item,
|
|
.silence-item {
|
|
background: white;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 15px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.channel-item:hover,
|
|
.rule-item:hover,
|
|
.silence-item:hover {
|
|
border-color: #667eea;
|
|
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.rule-item.enabled {
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.rule-item.disabled {
|
|
border-left: 4px solid #dc3545;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.channel-item-header,
|
|
.rule-item-header,
|
|
.silence-item-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
}
|
|
|
|
.channel-item-title,
|
|
.rule-item-title,
|
|
.silence-item-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.channel-type-badge,
|
|
.rule-status-badge {
|
|
font-size: 0.75rem;
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.channel-type-badge.webhook {
|
|
background: #d1ecf1;
|
|
color: #0c5460;
|
|
}
|
|
|
|
.channel-type-badge.ntfy {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.channel-type-badge.in_app {
|
|
background: #e2e3e5;
|
|
color: #383d41;
|
|
}
|
|
|
|
.status-badge {
|
|
font-size: 0.75rem;
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-badge.enabled {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.status-badge.disabled {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.channel-item-actions,
|
|
.rule-item-actions,
|
|
.silence-item-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.channel-item-body,
|
|
.rule-item-body,
|
|
.silence-item-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.channel-detail,
|
|
.rule-detail,
|
|
.silence-detail {
|
|
display: flex;
|
|
gap: 8px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.detail-label {
|
|
font-weight: 600;
|
|
color: #666;
|
|
}
|
|
|
|
.detail-value {
|
|
color: #333;
|
|
}
|
|
|
|
.event-types-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.event-type-tag {
|
|
background: #e3f2fd;
|
|
color: #1976d2;
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.rule-channels-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.rule-channel-badge {
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
border: 1px solid #ffeaa7;
|
|
}
|
|
|
|
.rule-channel-badge.webhook {
|
|
background: #d1ecf1;
|
|
color: #0c5460;
|
|
border-color: #bee5eb;
|
|
}
|
|
|
|
.rule-channel-badge.ntfy {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
border-color: #c3e6cb;
|
|
}
|
|
|
|
.rule-channel-badge.in_app {
|
|
background: #e2e3e5;
|
|
color: #383d41;
|
|
border-color: #d6d8db;
|
|
}
|
|
|
|
.checkbox-group-vertical {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
padding: 15px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.checkbox-group-vertical label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
padding: 8px 12px;
|
|
background: white;
|
|
border-radius: 6px;
|
|
border: 1px solid #dee2e6;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.checkbox-group-vertical label:hover {
|
|
background: #e3f2fd;
|
|
border-color: #667eea;
|
|
}
|
|
|
|
.checkbox-group-vertical input[type="checkbox"] {
|
|
cursor: pointer;
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: #667eea;
|
|
}
|
|
|
|
.checkbox-group-vertical input[type="checkbox"]:checked + span {
|
|
font-weight: 600;
|
|
color: #667eea;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.checkbox-group-vertical {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Modern Toggle Switch */
|
|
.toggle-switch-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 52px;
|
|
height: 28px;
|
|
}
|
|
|
|
.toggle-switch input[type="checkbox"] {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.toggle-slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: 0.3s;
|
|
border-radius: 28px;
|
|
}
|
|
|
|
.toggle-slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 20px;
|
|
width: 20px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: 0.3s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.toggle-switch input:checked + .toggle-slider {
|
|
background-color: #28a745;
|
|
}
|
|
|
|
.toggle-switch input:checked + .toggle-slider:before {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
.toggle-switch input:focus + .toggle-slider {
|
|
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
|
|
}
|
|
|
|
.toggle-label {
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.toggle-label.active {
|
|
color: #28a745;
|
|
}
|
|
|
|
/* Responsive Notifications */
|
|
@media (max-width: 768px) {
|
|
.notification-dropdown {
|
|
width: 300px;
|
|
right: -10px;
|
|
}
|
|
|
|
.notification-inbox-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.notification-filters {
|
|
justify-content: center;
|
|
}
|
|
|
|
.notification-actions {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
MODERN HISTORY TAB STYLES
|
|
============================================ */
|
|
|
|
.history-card-modern {
|
|
background: white;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.history-card-modern:hover {
|
|
border-color: #667eea;
|
|
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.history-card-modern.active {
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.history-card-modern.inactive {
|
|
border-left: 4px solid #6c757d;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.history-card-header-modern {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
}
|
|
|
|
.history-card-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
flex: 1;
|
|
}
|
|
|
|
.history-status-indicator {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.8rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.history-status-indicator.active {
|
|
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
|
|
}
|
|
|
|
.history-status-indicator.inactive {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
|
}
|
|
|
|
.history-card-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.history-card-name {
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
margin-bottom: 5px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.history-card-meta {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.meta-item {
|
|
font-size: 0.9rem;
|
|
color: #6c757d;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.btn-timeline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
|
|
}
|
|
|
|
.btn-timeline:hover {
|
|
box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.timeline-icon {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.timeline-text {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.history-card-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.history-detail-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.detail-label {
|
|
font-weight: 600;
|
|
color: #495057;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.detail-value {
|
|
flex: 1;
|
|
font-size: 0.9rem;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.image-value {
|
|
background: white;
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
border: 1px solid #dee2e6;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.history-metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.metric-box {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.metric-box:hover {
|
|
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
|
border-color: #667eea;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.metric-box.metric-warning {
|
|
border-left: 3px solid #ffc107;
|
|
background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
|
|
}
|
|
|
|
.metric-box.metric-info {
|
|
border-left: 3px solid #17a2b8;
|
|
background: linear-gradient(135deg, #d1ecf1 0%, #ffffff 100%);
|
|
}
|
|
|
|
.metric-box.metric-alert {
|
|
border-left: 3px solid #dc3545;
|
|
background: linear-gradient(135deg, #f8d7da 0%, #ffffff 100%);
|
|
}
|
|
|
|
.metric-icon {
|
|
font-size: 1.8rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.metric-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.75rem;
|
|
color: #6c757d;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
line-height: 1;
|
|
}
|
|
|
|
.metric-subtext {
|
|
font-size: 0.7rem;
|
|
color: #999;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Responsive adjustments for history tab */
|
|
@media (max-width: 992px) {
|
|
.history-card-header-modern {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
}
|
|
|
|
.btn-timeline {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.history-metrics-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.history-card-left {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.history-status-indicator {
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.history-metrics-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
CONTAINER CARDS STYLES (matching history)
|
|
============================================ */
|
|
|
|
.containers-cards-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.containers-cards-container {
|
|
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.containers-cards-container {
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
}
|
|
|
|
/* Reset base styles when theme is applied */
|
|
.container-card-modern[class*="theme-"] {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
margin-bottom: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.container-card-modern[class*="theme-"]:hover {
|
|
border-color: inherit;
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
.container-card-modern[class*="theme-"].running,
|
|
.container-card-modern[class*="theme-"].exited,
|
|
.container-card-modern[class*="theme-"].paused,
|
|
.container-card-modern[class*="theme-"].restarting,
|
|
.container-card-modern[class*="theme-"].dead {
|
|
border-left: none;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Default card styles (fallback when no theme) */
|
|
.container-card-modern {
|
|
background: white;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.container-card-modern:hover {
|
|
border-color: #667eea;
|
|
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.container-card-modern.running {
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.container-card-modern.exited {
|
|
border-left: 4px solid #6c757d;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.container-card-modern.paused {
|
|
border-left: 4px solid #ffc107;
|
|
}
|
|
|
|
.container-card-modern.restarting {
|
|
border-left: 4px solid #17a2b8;
|
|
}
|
|
|
|
.container-card-modern.dead {
|
|
border-left: 4px solid #dc3545;
|
|
}
|
|
|
|
.container-card-header-modern {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
}
|
|
|
|
.container-card-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
flex: 1;
|
|
}
|
|
|
|
.container-status-indicator {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.6rem;
|
|
flex-shrink: 0;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.container-status-indicator.running {
|
|
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
|
|
}
|
|
|
|
.container-status-indicator.exited {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
|
}
|
|
|
|
.container-status-indicator.paused {
|
|
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
|
|
}
|
|
|
|
.container-status-indicator.restarting {
|
|
background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
|
|
}
|
|
|
|
.container-status-indicator.dead {
|
|
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
|
|
}
|
|
|
|
.container-card-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.container-card-name {
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
margin-bottom: 8px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.container-card-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
}
|
|
|
|
.container-card-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.container-card-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.container-detail-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.detail-label {
|
|
font-weight: 600;
|
|
color: #495057;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.detail-value {
|
|
color: #212529;
|
|
word-break: break-word;
|
|
flex: 1;
|
|
}
|
|
|
|
.detail-value.image-value {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.9rem;
|
|
background: white;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.container-metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.container-actions-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background-color: #218838;
|
|
}
|
|
|
|
/* Responsive adjustments for container cards */
|
|
@media (max-width: 768px) {
|
|
.container-card-header-modern {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
}
|
|
|
|
.container-card-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.container-metrics-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Log Search Bar */
|
|
.log-search-bar {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 15px;
|
|
background: #f8f9fa;
|
|
border-bottom: 1px solid #dee2e6;
|
|
align-items: center;
|
|
}
|
|
|
|
.log-search-input {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.log-search-status {
|
|
font-size: 12px;
|
|
color: #666;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.log-content mark {
|
|
background-color: #ffeb3b;
|
|
color: #000;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.log-content mark.current-match {
|
|
background-color: #ff9800;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ==================== REPORTS TAB STYLES ==================== */
|
|
|
|
.reports-section {
|
|
padding: 20px;
|
|
}
|
|
|
|
.report-filters {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 25px;
|
|
margin-bottom: 25px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
align-items: end;
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-group label {
|
|
font-weight: 500;
|
|
color: #555;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.filter-input,
|
|
.filter-select {
|
|
padding: 10px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
background: white;
|
|
}
|
|
|
|
.filter-input:focus,
|
|
.filter-select:focus {
|
|
outline: none;
|
|
border-color: #4CAF50;
|
|
box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
|
|
}
|
|
|
|
.report-filters .btn {
|
|
height: 42px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.report-filters .btn-sm {
|
|
height: 38px;
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Report results area */
|
|
#reportResults {
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Summary cards */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.stat-icon {
|
|
font-size: 32px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #333;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 13px;
|
|
color: #777;
|
|
margin-top: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Collapsible cards */
|
|
.card.collapsible {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-header {
|
|
padding: 18px 22px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: linear-gradient(to right, #f8f9fa, white);
|
|
border-bottom: 1px solid #e9ecef;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.card-header:hover {
|
|
background: linear-gradient(to right, #f1f3f5, #f8f9fa);
|
|
}
|
|
|
|
.card-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.collapse-icon {
|
|
color: #666;
|
|
font-size: 14px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Report tables */
|
|
.report-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.report-table thead {
|
|
background: #f8f9fa;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.report-table th {
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: #555;
|
|
border-bottom: 2px solid #dee2e6;
|
|
}
|
|
|
|
.report-table td {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid #e9ecef;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.report-table tbody tr {
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.report-table tbody tr:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.report-table code {
|
|
background: #f1f3f5;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
|
|
color: #495057;
|
|
}
|
|
|
|
.report-table small {
|
|
color: #868e96;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Empty message */
|
|
.empty-message {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: #868e96;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 60px 40px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.empty-state p {
|
|
font-size: 16px;
|
|
color: #868e96;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Loading state */
|
|
#reportLoading {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 60px 40px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
font-size: 16px;
|
|
color: #666;
|
|
}
|
|
|
|
/* Export button */
|
|
#exportReportBtn {
|
|
min-width: 200px;
|
|
}
|
|
|
|
/* Timeline chart container */
|
|
.card canvas {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.report-filters {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 15px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-icon {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.report-table {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.report-table th,
|
|
.report-table td {
|
|
padding: 10px 12px;
|
|
}
|
|
}
|
|
|
|
/* Improve button groups in filter */
|
|
.filter-group > div {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Clickable container links in reports */
|
|
.container-link {
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
color: #2196F3;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.container-link:hover {
|
|
color: #1976D2;
|
|
background: #e3f2fd !important;
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.container-link:active {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
/* Icon buttons in reports */
|
|
.btn-icon {
|
|
background: none;
|
|
border: none;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
line-height: 1;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: #f5f5f5;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.btn-icon:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
/* Transient container badge */
|
|
.transient-badge {
|
|
display: inline-block;
|
|
margin-left: 8px;
|
|
padding: 2px 8px;
|
|
background: #FFF3E0;
|
|
color: #E65100;
|
|
border: 1px solid #FFB74D;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
vertical-align: middle;
|
|
cursor: help;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.transient-badge:hover {
|
|
background: #FFE0B2;
|
|
border-color: #FF9800;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Vulnerability Scanner Styles */
|
|
|
|
/* Vulnerability Badge on Container Cards */
|
|
.vulnerability-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: 2px solid transparent;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.vulnerability-badge:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.vulnerability-badge .vuln-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.vulnerability-badge .vuln-count {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.vulnerability-badge .vuln-severity {
|
|
font-size: 0.75rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Severity-based badge colors */
|
|
.vulnerability-badge.critical {
|
|
background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
|
|
color: white;
|
|
border-color: #b71c1c;
|
|
}
|
|
|
|
.vulnerability-badge.critical:hover {
|
|
box-shadow: 0 4px 12px rgba(255, 23, 68, 0.4);
|
|
}
|
|
|
|
.vulnerability-badge.high {
|
|
background: linear-gradient(135deg, #ff6d00 0%, #f57c00 100%);
|
|
color: white;
|
|
border-color: #e65100;
|
|
}
|
|
|
|
.vulnerability-badge.high:hover {
|
|
box-shadow: 0 4px 12px rgba(255, 109, 0, 0.4);
|
|
}
|
|
|
|
.vulnerability-badge.medium {
|
|
background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
|
|
color: #333;
|
|
border-color: #f57c00;
|
|
}
|
|
|
|
.vulnerability-badge.medium:hover {
|
|
box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
|
|
}
|
|
|
|
.vulnerability-badge.low {
|
|
background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
|
|
color: white;
|
|
border-color: #558b2f;
|
|
}
|
|
|
|
.vulnerability-badge.clean {
|
|
background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
|
|
color: white;
|
|
border-color: #2e7d32;
|
|
}
|
|
|
|
.vulnerability-badge.not-scanned {
|
|
background: #e0e0e0;
|
|
color: #666;
|
|
border-color: #bdbdbd;
|
|
}
|
|
|
|
.vulnerability-badge.remote {
|
|
background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
|
|
color: white;
|
|
border-color: #6a1b9a;
|
|
}
|
|
|
|
.vulnerability-badge.scanning {
|
|
background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
|
|
color: white;
|
|
border-color: #1565c0;
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
/* Security Tab Styles */
|
|
.security-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.security-summary-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.security-summary-card {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.security-summary-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.security-summary-icon {
|
|
font-size: 3.5rem;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.security-summary-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.security-summary-label {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.security-summary-value {
|
|
font-size: 2.8rem;
|
|
font-weight: 700;
|
|
color: #333;
|
|
line-height: 1;
|
|
}
|
|
|
|
.security-summary-card.critical .security-summary-value {
|
|
color: #d50000;
|
|
}
|
|
|
|
.security-summary-card.high .security-summary-value {
|
|
color: #ff6d00;
|
|
}
|
|
|
|
.security-summary-card.success .security-summary-value {
|
|
color: #4caf50;
|
|
}
|
|
|
|
.security-summary-card .card-label {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.security-summary-card .card-value {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
color: #333;
|
|
}
|
|
|
|
.security-summary-card.critical .card-value {
|
|
color: #d50000;
|
|
}
|
|
|
|
.security-summary-card.high .card-value {
|
|
color: #ff6d00;
|
|
}
|
|
|
|
.security-summary-card.success .card-value {
|
|
color: #4caf50;
|
|
}
|
|
|
|
/* Vulnerability Table */
|
|
.vulnerability-table-container {
|
|
background: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vulnerability-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.vulnerability-table thead {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
}
|
|
|
|
.vulnerability-table th {
|
|
padding: 15px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.vulnerability-table td {
|
|
padding: 15px;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.vulnerability-table td:last-child {
|
|
white-space: nowrap;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.vulnerability-table tbody tr:hover {
|
|
background-color: #f5f5f5;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vulnerability-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.severity-badge {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.severity-badge.critical {
|
|
background: #ffebee;
|
|
color: #c62828;
|
|
border: 1px solid #ef5350;
|
|
}
|
|
|
|
.severity-badge.high {
|
|
background: #fff3e0;
|
|
color: #e65100;
|
|
border: 1px solid #ff9800;
|
|
}
|
|
|
|
.severity-badge.medium {
|
|
background: #fff9c4;
|
|
color: #f57f17;
|
|
border: 1px solid #fbc02d;
|
|
}
|
|
|
|
.severity-badge.low {
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
border: 1px solid #66bb6a;
|
|
}
|
|
|
|
/* Vulnerability Details Modal Content */
|
|
.vulnerability-details {
|
|
padding: 20px;
|
|
}
|
|
|
|
.vulnerability-summary {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 25px;
|
|
padding: 15px;
|
|
background: #f5f5f5;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.vulnerability-summary .summary-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.vulnerability-summary .summary-label {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.vulnerability-summary .summary-value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.vulnerability-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.vulnerability-item {
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vulnerability-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px;
|
|
background: #fafafa;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.vulnerability-header:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
.vulnerability-header .vuln-title {
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.vulnerability-header .vuln-cve {
|
|
color: #2196f3;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.vulnerability-body {
|
|
padding: 15px;
|
|
border-top: 1px solid #e0e0e0;
|
|
display: none;
|
|
}
|
|
|
|
.vulnerability-body.active {
|
|
display: block;
|
|
}
|
|
|
|
.vulnerability-body .vuln-detail {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.vulnerability-body .vuln-detail-label {
|
|
font-weight: 600;
|
|
color: #666;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.vulnerability-body .vuln-detail-value {
|
|
color: #333;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.vulnerability-body .vuln-link {
|
|
color: #2196f3;
|
|
text-decoration: none;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.vulnerability-body .vuln-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Vulnerability Settings Modal */
|
|
.settings-section {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.settings-section h3 {
|
|
font-size: 1.1rem;
|
|
color: #333;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 2px solid #667eea;
|
|
}
|
|
|
|
.setting-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.setting-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.setting-label {
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.setting-description {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.setting-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.setting-control input[type="number"] {
|
|
width: 80px;
|
|
padding: 6px 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.setting-control input[type="range"] {
|
|
width: 150px;
|
|
}
|
|
|
|
.toggle-switch {
|
|
position: relative;
|
|
width: 50px;
|
|
height: 26px;
|
|
background-color: #ccc;
|
|
border-radius: 13px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.toggle-switch.active {
|
|
background-color: #4caf50;
|
|
}
|
|
|
|
/* Loading States */
|
|
.loading-spinner {
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 3px solid rgba(0, 0, 0, 0.1);
|
|
border-radius: 50%;
|
|
border-top-color: #667eea;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Empty States */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: #666;
|
|
}
|
|
|
|
.empty-state .empty-icon {
|
|
font-size: 4rem;
|
|
margin-bottom: 20px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-state .empty-message {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.empty-state .empty-description {
|
|
font-size: 0.9rem;
|
|
color: #999;
|
|
}
|
|
|
|
/* Vulnerability Details Modal Styles */
|
|
.vuln-details-summary {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 25px;
|
|
padding: 20px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.vuln-stat {
|
|
text-align: center;
|
|
}
|
|
|
|
.vuln-severity-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.vuln-severity-section h3 {
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.vuln-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.vuln-table thead {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.vuln-table th,
|
|
.vuln-table td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.vuln-table th {
|
|
font-weight: 600;
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.vuln-table td code {
|
|
background: #f5f5f5;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.vuln-title {
|
|
max-width: 300px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.vuln-table a {
|
|
color: #1976d2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.vuln-table a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.severity-critical {
|
|
background: #ffebee;
|
|
color: #c62828;
|
|
border: 1px solid #ef5350;
|
|
}
|
|
|
|
.severity-high {
|
|
background: #fff3e0;
|
|
color: #e65100;
|
|
border: 1px solid #ff9800;
|
|
}
|
|
|
|
.severity-medium {
|
|
background: #fff9c4;
|
|
color: #f57f17;
|
|
border: 1px solid #fbc02d;
|
|
}
|
|
|
|
.severity-low {
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
border: 1px solid #66bb6a;
|
|
}
|
|
|
|
.severity-unknown {
|
|
background: #f5f5f5;
|
|
color: #666;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
/* ============================================
|
|
Help Menu Styles
|
|
============================================ */
|
|
|
|
.help-menu-container {
|
|
position: relative;
|
|
}
|
|
|
|
.help-dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
margin-top: 8px;
|
|
background: white;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
min-width: 220px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.help-dropdown.show {
|
|
display: block;
|
|
}
|
|
|
|
.help-menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 16px;
|
|
border: none;
|
|
background: none;
|
|
width: 100%;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
color: #333;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.help-menu-item:first-child {
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
|
|
.help-menu-item:last-child {
|
|
border-radius: 0 0 8px 8px;
|
|
}
|
|
|
|
.help-menu-item:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.help-menu-item span:first-child {
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* ============================================
|
|
Changelog Modal Styles
|
|
============================================ */
|
|
|
|
.changelog-content {
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.changelog-content.loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #666;
|
|
}
|
|
|
|
.changelog-content.error {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #d32f2f;
|
|
}
|
|
|
|
.changelog-rendered {
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.changelog-rendered h1 {
|
|
font-size: 28px;
|
|
margin: 30px 0 20px 0;
|
|
color: #1976d2;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.changelog-rendered h1:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.changelog-rendered h2 {
|
|
font-size: 22px;
|
|
margin: 25px 0 15px 0;
|
|
color: #333;
|
|
}
|
|
|
|
.changelog-rendered h3 {
|
|
font-size: 18px;
|
|
margin: 20px 0 10px 0;
|
|
color: #555;
|
|
}
|
|
|
|
.changelog-rendered p {
|
|
margin: 10px 0;
|
|
color: #444;
|
|
}
|
|
|
|
.changelog-rendered ul {
|
|
margin: 10px 0;
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.changelog-rendered li {
|
|
margin: 5px 0;
|
|
color: #555;
|
|
}
|
|
|
|
.changelog-rendered code {
|
|
background: #f5f5f5;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 13px;
|
|
color: #d32f2f;
|
|
}
|
|
|
|
.changelog-rendered a {
|
|
color: #1976d2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.changelog-rendered a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.changelog-rendered strong {
|
|
color: #333;
|
|
}
|
|
|
|
/* ============================================
|
|
Shepherd.js Tour Customization
|
|
============================================ */
|
|
|
|
/* Custom theme for Shepherd tour */
|
|
.shepherd-theme-custom {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.shepherd-element {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.shepherd-header {
|
|
background: #1976d2;
|
|
color: white;
|
|
padding: 16px 20px;
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
|
|
.shepherd-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
.shepherd-cancel-icon {
|
|
color: white;
|
|
font-size: 24px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.shepherd-cancel-icon:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.shepherd-text {
|
|
padding: 20px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
color: #444;
|
|
}
|
|
|
|
.onboarding-content {
|
|
color: #444;
|
|
}
|
|
|
|
.onboarding-content p {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.onboarding-content ul {
|
|
margin: 10px 0;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.onboarding-content li {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.onboarding-content strong {
|
|
color: #1976d2;
|
|
}
|
|
|
|
.shepherd-footer {
|
|
padding: 16px 20px;
|
|
background: #f9f9f9;
|
|
border-radius: 0 0 8px 8px;
|
|
border-top: 1px solid #e0e0e0;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.shepherd-button {
|
|
background: #1976d2;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.shepherd-button:hover {
|
|
background: #1565c0;
|
|
}
|
|
|
|
.shepherd-button-secondary {
|
|
background: white;
|
|
color: #1976d2;
|
|
border: 1px solid #1976d2;
|
|
}
|
|
|
|
.shepherd-button-secondary:hover {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.shepherd-modal-overlay-container {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Highlight element being toured */
|
|
.shepherd-target {
|
|
box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.5);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Onboarding checkboxes in tour steps */
|
|
#vuln-enable-container label,
|
|
#telemetry-choice label {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
#vuln-enable-container input[type="checkbox"],
|
|
#telemetry-choice input[type="checkbox"] {
|
|
cursor: pointer;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
/* Mobile responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.help-dropdown {
|
|
right: -10px;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.shepherd-element {
|
|
max-width: 90vw;
|
|
}
|
|
|
|
.shepherd-text {
|
|
padding: 15px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.changelog-content {
|
|
max-height: 70vh;
|
|
padding: 15px;
|
|
}
|
|
}
|
|
|
|
/* ========== Modern Security Page Styles ========== */
|
|
|
|
.security-section-modern {
|
|
padding: 20px;
|
|
max-width: 1600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.security-header-modern {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 30px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.security-title-group h2 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 28px;
|
|
color: #333;
|
|
}
|
|
|
|
.security-subtitle {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
color: #666;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.security-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.security-summary-card-modern {
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.security-summary-card-modern:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.security-summary-card-modern .card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.security-summary-card-modern .card-icon {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.security-summary-card-modern .card-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.security-summary-card-modern .card-value {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
color: #333;
|
|
line-height: 1;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.security-summary-card-modern .card-footer {
|
|
font-size: 13px;
|
|
color: #999;
|
|
}
|
|
|
|
.security-summary-card-modern.critical-card .card-value {
|
|
color: #e53935;
|
|
}
|
|
|
|
.security-summary-card-modern.high-card .card-value {
|
|
color: #ff9800;
|
|
}
|
|
|
|
.security-charts-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.security-chart-card {
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.chart-card-header {
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.chart-card-header h3 {
|
|
margin: 0 0 5px 0;
|
|
font-size: 18px;
|
|
color: #333;
|
|
}
|
|
|
|
.chart-subtitle {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: #999;
|
|
}
|
|
|
|
.security-table-card {
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.security-table-header-modern {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.table-title-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.table-title-group h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
color: #333;
|
|
}
|
|
|
|
.scan-count {
|
|
background: #e0e0e0;
|
|
color: #666;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.security-filters-modern {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.security-table-modern {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.security-table-modern thead {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.security-table-modern thead th {
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.security-table-modern tbody tr {
|
|
border-bottom: 1px solid #f0f0f0;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.security-table-modern tbody tr:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.security-table-modern tbody td {
|
|
padding: 14px 16px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
.security-table-modern tbody td:first-child {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Fixed column widths for security table */
|
|
.security-table-modern th:nth-child(1),
|
|
.security-table-modern td:nth-child(1) { width: 30%; overflow: hidden; text-overflow: ellipsis; } /* Image Name */
|
|
|
|
.security-table-modern th:nth-child(2),
|
|
.security-table-modern td:nth-child(2) { width: 10%; text-align: center; } /* Status */
|
|
|
|
.security-table-modern th:nth-child(3),
|
|
.security-table-modern td:nth-child(3) { width: 6%; text-align: center; } /* Total */
|
|
|
|
.security-table-modern th:nth-child(4),
|
|
.security-table-modern td:nth-child(4) { width: 6%; text-align: center; } /* Critical */
|
|
|
|
.security-table-modern th:nth-child(5),
|
|
.security-table-modern td:nth-child(5) { width: 6%; text-align: center; } /* High */
|
|
|
|
.security-table-modern th:nth-child(6),
|
|
.security-table-modern td:nth-child(6) { width: 6%; text-align: center; } /* Medium */
|
|
|
|
.security-table-modern th:nth-child(7),
|
|
.security-table-modern td:nth-child(7) { width: 6%; text-align: center; } /* Low */
|
|
|
|
.security-table-modern th:nth-child(8),
|
|
.security-table-modern td:nth-child(8) { width: 12%; } /* Scanned */
|
|
|
|
.security-table-modern th:nth-child(9),
|
|
.security-table-modern td:nth-child(9) {
|
|
width: 200px;
|
|
min-width: 200px;
|
|
max-width: 200px;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
} /* Actions - FIXED WIDTH */
|
|
|
|
.security-table-modern tbody td:last-child .btn {
|
|
margin: 0 2px;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 1200px) {
|
|
.security-charts-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.security-header-modern {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.security-actions {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.security-summary-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.security-filters-modern {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.security-filters-modern .filter-select,
|
|
.security-filters-modern .search-input {
|
|
width: 100%;
|
|
}
|
|
}
|
|
/* ===== DASHBOARD STYLES ===== */
|
|
.dashboard-hero {
|
|
background: var(--primary-gradient);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-6);
|
|
color: var(--text-inverse);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: var(--space-4);
|
|
box-shadow: var(--shadow-xl);
|
|
flex-wrap: wrap;
|
|
gap: var(--space-6);
|
|
}
|
|
|
|
.dashboard-title {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
margin-bottom: var(--space-2);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.dashboard-emoji {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.dashboard-subtitle {
|
|
font-size: 0.95rem;
|
|
opacity: 0.95;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.dashboard-hero-actions {
|
|
display: flex;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.dashboard-section {
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
.dashboard-section-title {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--space-3);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.dashboard-metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: var(--space-3);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.dashboard-metric-card {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-4);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
box-shadow: var(--shadow);
|
|
border: 1px solid var(--border);
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.dashboard-metric-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.metric-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--radius-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.metric-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 2.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
line-height: 1;
|
|
margin-bottom: var(--space-1);
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.metric-change {
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
margin-top: var(--space-1);
|
|
}
|
|
|
|
.metric-change.positive {
|
|
color: var(--success);
|
|
}
|
|
|
|
.metric-change.negative {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: var(--space-6);
|
|
margin-bottom: var(--space-8);
|
|
}
|
|
|
|
.dashboard-card {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-6);
|
|
box-shadow: var(--shadow);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.dashboard-card-title {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--space-4);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.dashboard-card-title-inline {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--space-1);
|
|
}
|
|
|
|
.dashboard-card-content {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.dashboard-timeline {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.dashboard-telemetry-card {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
|
}
|
|
|
|
.telemetry-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: var(--space-6);
|
|
padding-bottom: var(--space-4);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.telemetry-description {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
margin-top: var(--space-2);
|
|
}
|
|
|
|
.telemetry-toggle-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-3);
|
|
background: var(--surface-elevated);
|
|
border-radius: var(--radius);
|
|
border: 2px solid var(--border);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.telemetry-toggle-container:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.toggle-label-inline {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.toggle-switch-modern {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 56px;
|
|
height: 32px;
|
|
}
|
|
|
|
.toggle-switch-large {
|
|
width: 68px;
|
|
height: 38px;
|
|
}
|
|
|
|
.toggle-switch-modern input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.toggle-slider-modern {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--border);
|
|
transition: var(--transition);
|
|
border-radius: var(--radius-full);
|
|
}
|
|
|
|
.toggle-slider-modern:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 24px;
|
|
width: 24px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: var(--transition);
|
|
border-radius: 50%;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.toggle-switch-modern input:checked + .toggle-slider-modern {
|
|
background: var(--primary-gradient);
|
|
}
|
|
|
|
.toggle-switch-modern input:checked + .toggle-slider-modern:before {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
.toggle-switch-large .toggle-slider-modern:before {
|
|
height: 30px;
|
|
width: 30px;
|
|
}
|
|
|
|
.toggle-switch-large input:checked + .toggle-slider-modern:before {
|
|
transform: translateX(30px);
|
|
}
|
|
|
|
.telemetry-content {
|
|
margin: var(--space-4) 0;
|
|
}
|
|
|
|
.telemetry-footer {
|
|
display: flex;
|
|
gap: var(--space-3);
|
|
margin-top: var(--space-6);
|
|
padding-top: var(--space-4);
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.dashboard-quick-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.dashboard-action-card {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
text-decoration: none;
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.dashboard-action-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--primary);
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
|
}
|
|
|
|
.action-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.action-label {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Quick Actions at Top */
|
|
.dashboard-quick-actions-top {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: var(--space-4);
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
|
|
.dashboard-action-card-large {
|
|
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-6);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
text-decoration: none;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.dashboard-action-card-large:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-lg);
|
|
border-color: var(--primary);
|
|
background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
|
|
}
|
|
|
|
.dashboard-action-card-large .action-icon {
|
|
font-size: 3rem;
|
|
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
|
|
}
|
|
|
|
.dashboard-action-card-large .action-label {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
/* Update Results Modal Styles */
|
|
.updates-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.updates-table th,
|
|
.updates-table td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.updates-table th {
|
|
background: var(--bg-tertiary);
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.updates-table tbody tr:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.updates-table tbody tr.selected {
|
|
background: rgba(124, 58, 237, 0.05);
|
|
}
|
|
|
|
.updates-table input[type="checkbox"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.digest-text {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
background: var(--bg-tertiary);
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Update Progress Modal Styles */
|
|
.update-container-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
padding: var(--space-3);
|
|
border-radius: var(--radius);
|
|
margin-bottom: var(--space-2);
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.update-container-item.pending {
|
|
border-left: 4px solid var(--text-tertiary);
|
|
}
|
|
|
|
.update-container-item.in-progress {
|
|
border-left: 4px solid var(--info);
|
|
background: rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
.update-container-item.pulling {
|
|
border-left: 4px solid var(--warning);
|
|
background: rgba(245, 158, 11, 0.05);
|
|
}
|
|
|
|
.update-container-item.recreating {
|
|
border-left: 4px solid var(--primary);
|
|
background: rgba(124, 58, 237, 0.05);
|
|
}
|
|
|
|
.update-container-item.complete {
|
|
border-left: 4px solid var(--success);
|
|
background: rgba(16, 185, 129, 0.05);
|
|
}
|
|
|
|
.update-container-item.failed {
|
|
border-left: 4px solid var(--danger);
|
|
background: rgba(239, 68, 68, 0.05);
|
|
}
|
|
|
|
.update-container-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.update-container-status .status-icon {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.update-container-name {
|
|
flex: 1;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.update-container-image {
|
|
font-size: 0.8125rem;
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* Spinner animation for in-progress items */
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.spinning {
|
|
display: inline-block;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
/* Loading spinner */
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin: 0 auto;
|
|
border: 4px solid var(--border);
|
|
border-top-color: var(--primary);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
/* Status indicators for dashboard */
|
|
.status-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-2) var(--space-3);
|
|
border-radius: var(--radius);
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-indicator.online {
|
|
background-color: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.status-indicator.offline {
|
|
background-color: rgba(239, 68, 68, 0.1);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.status-indicator.warning {
|
|
background-color: rgba(245, 158, 11, 0.1);
|
|
color: var(--warning);
|
|
}
|
|
|
|
/* ===== UTILITY CLASSES ===== */
|
|
.text-primary {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.text-secondary {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.text-tertiary {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.text-success {
|
|
color: var(--success);
|
|
}
|
|
|
|
.text-danger {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.text-warning {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.text-info {
|
|
color: var(--info);
|
|
}
|
|
|
|
/* ===== IMAGE UPDATE STYLES ===== */
|
|
|
|
/* Update badge on container cards */
|
|
.update-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
|
|
color: white;
|
|
border: 1px solid #1565c0;
|
|
margin-left: 8px;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse-update {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
opacity: 0.8;
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
/* Progress bar for image updates */
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: #e0e0e0;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #2196f3, #1976d2, #2196f3);
|
|
background-size: 200% 100%;
|
|
animation: progress-animation 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes progress-animation {
|
|
0% {
|
|
background-position: 0% 0%;
|
|
}
|
|
100% {
|
|
background-position: 200% 0%;
|
|
}
|
|
}
|
|
|
|
/* Button size extra small for update actions */
|
|
.btn-xs {
|
|
padding: 4px 8px;
|
|
font-size: 0.75rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Progress modal styles */
|
|
#progressModal .modal-content {
|
|
max-width: 400px;
|
|
text-align: center;
|
|
}
|
|
|
|
#progressModal h2 {
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
}
|
|
|
|
#progressModal p {
|
|
margin-bottom: 20px;
|
|
color: #666;
|
|
}
|
|
|
|
/* ============================================
|
|
CARD DESIGN THEMES
|
|
============================================ */
|
|
|
|
/* ============================================
|
|
DESIGN 1: COMPACT METRO THEME
|
|
============================================ */
|
|
|
|
.container-card-modern.theme-compact {
|
|
display: flex;
|
|
background: white;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.container-card-modern.theme-compact:hover {
|
|
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.theme-compact .metro-status-bar {
|
|
width: 5px;
|
|
min-height: 100%;
|
|
transition: width 0.25s ease;
|
|
}
|
|
|
|
.container-card-modern.theme-compact:hover .metro-status-bar {
|
|
width: 8px;
|
|
}
|
|
|
|
.container-card-modern.theme-compact.running .metro-status-bar {
|
|
background: linear-gradient(180deg, #28a745 0%, #20c997 100%);
|
|
}
|
|
|
|
.container-card-modern.theme-compact.exited .metro-status-bar {
|
|
background: linear-gradient(180deg, #6c757d 0%, #868e96 100%);
|
|
}
|
|
|
|
.container-card-modern.theme-compact.paused .metro-status-bar {
|
|
background: linear-gradient(180deg, #ffc107 0%, #ffb700 100%);
|
|
}
|
|
|
|
.theme-compact .metro-content {
|
|
flex: 1;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.theme-compact .metro-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
}
|
|
|
|
.theme-compact .metro-title-section {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.theme-compact .metro-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.container-card-modern.theme-compact.running .metro-icon {
|
|
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
|
|
}
|
|
|
|
.container-card-modern.theme-compact.exited .metro-icon {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
|
}
|
|
|
|
.container-card-modern.theme-compact.paused .metro-icon {
|
|
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
|
|
}
|
|
|
|
.theme-compact .metro-title-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.theme-compact .metro-name {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
margin-bottom: 6px;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.theme-compact .metro-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.theme-compact .chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
background: #f8f9fa;
|
|
color: #495057;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.theme-compact .chip-state {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.theme-compact .chip-state.running {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.theme-compact .chip-state.exited {
|
|
background: #e9ecef;
|
|
color: #495057;
|
|
}
|
|
|
|
.theme-compact .chip-state.paused {
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
}
|
|
|
|
.theme-compact .chip-image {
|
|
background: #e7f3ff;
|
|
color: #0066cc;
|
|
font-family: 'SF Mono', Monaco, 'Courier New', monospace;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.theme-compact .chip-uptime {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.theme-compact .metro-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-compact .btn-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: #f8f9fa;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.theme-compact .btn-icon:hover {
|
|
background: #667eea;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.theme-compact .metro-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.theme-compact .detail-inline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.theme-compact .detail-label {
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.theme-compact .detail-value {
|
|
color: #212529;
|
|
flex: 1;
|
|
}
|
|
|
|
.theme-compact .detail-value code {
|
|
background: white;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.theme-compact .badge-update {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 8px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
margin-left: 8px;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.theme-compact .metro-metrics {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.theme-compact .metric-inline {
|
|
display: grid;
|
|
grid-template-columns: auto auto 1fr auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
|
border-radius: 8px;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.theme-compact .metric-icon {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.theme-compact .metric-label {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.theme-compact .metric-value {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
text-align: right;
|
|
}
|
|
|
|
.theme-compact .metric-bar {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: #e9ecef;
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
grid-column: 1 / -1;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.theme-compact .metric-bar-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.theme-compact .metro-footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid #e9ecef;
|
|
}
|
|
|
|
.theme-compact .btn-metro {
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid #dee2e6;
|
|
background: white;
|
|
color: #495057;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.theme-compact .btn-metro:hover {
|
|
border-color: #667eea;
|
|
background: #f8f9ff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.theme-compact .btn-metro.success {
|
|
border-color: #28a745;
|
|
color: #28a745;
|
|
}
|
|
|
|
.theme-compact .btn-metro.success:hover {
|
|
background: #d4edda;
|
|
}
|
|
|
|
.theme-compact .btn-metro.warning {
|
|
border-color: #ffc107;
|
|
color: #856404;
|
|
}
|
|
|
|
.theme-compact .btn-metro.warning:hover {
|
|
background: #fff3cd;
|
|
}
|
|
|
|
.theme-compact .btn-metro.danger {
|
|
border-color: #dc3545;
|
|
color: #dc3545;
|
|
}
|
|
|
|
.theme-compact .btn-metro.danger:hover {
|
|
background: #f8d7da;
|
|
}
|
|
|
|
|
|
/* ============================================
|
|
DESIGN 2: SPACIOUS MATERIAL THEME
|
|
============================================ */
|
|
|
|
.container-card-modern.theme-material {
|
|
background: white;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.container-card-modern.theme-material:hover {
|
|
box-shadow: 0 12px 32px rgba(0,0,0,0.15);
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.theme-material .material-header {
|
|
padding: 24px 28px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 20px;
|
|
}
|
|
|
|
.theme-material .material-header.running {
|
|
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
|
|
border-bottom: 3px solid #28a745;
|
|
}
|
|
|
|
.theme-material .material-header.exited {
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
|
border-bottom: 3px solid #6c757d;
|
|
}
|
|
|
|
.theme-material .material-header.paused {
|
|
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
|
|
border-bottom: 3px solid #ffc107;
|
|
}
|
|
|
|
.theme-material .material-header-content {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.theme-material .material-status-icon {
|
|
font-size: 2.5rem;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-material .material-title-section {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.theme-material .material-name {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
margin-bottom: 8px;
|
|
line-height: 1.3;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.theme-material .material-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.95rem;
|
|
color: #495057;
|
|
}
|
|
|
|
.theme-material .material-meta-item {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.theme-material .material-meta-separator {
|
|
color: #adb5bd;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.theme-material .material-header-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-material .material-fab {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: white;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
cursor: pointer;
|
|
font-size: 1.2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.theme-material .material-fab:hover {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.theme-material .material-body {
|
|
padding: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.theme-material .material-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.theme-material .material-label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.theme-material .material-value {
|
|
font-size: 1.05rem;
|
|
color: #212529;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.theme-material .material-value code {
|
|
background: #f8f9fa;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.theme-material .port-badge {
|
|
display: inline-flex;
|
|
padding: 6px 12px;
|
|
background: #e3e8ff;
|
|
color: #667eea;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
font-family: 'SF Mono', monospace;
|
|
}
|
|
|
|
.theme-material .material-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 6px 14px;
|
|
border-radius: 16px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.theme-material .material-chip.update {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.theme-material .status-success {
|
|
color: #28a745;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.theme-material .material-metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.theme-material .material-metric-card {
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
border: 2px solid #e9ecef;
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.theme-material .material-metric-card:hover {
|
|
border-color: #667eea;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.theme-material .metric-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.theme-material .metric-icon-large {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.theme-material .metric-trend-indicator {
|
|
font-size: 1.5rem;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.theme-material .metric-label-text {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.theme-material .metric-value-large {
|
|
font-size: 2.2rem;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
line-height: 1;
|
|
}
|
|
|
|
.theme-material .metric-unit {
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
color: #6c757d;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.theme-material .metric-secondary {
|
|
font-size: 0.9rem;
|
|
color: #6c757d;
|
|
margin-top: 4px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.theme-material .metric-progress {
|
|
height: 8px;
|
|
background: #e9ecef;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.theme-material .metric-progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.theme-material .material-footer {
|
|
padding: 20px 28px;
|
|
border-top: 1px solid #e9ecef;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.theme-material .material-btn {
|
|
padding: 12px 24px;
|
|
border-radius: 10px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.theme-material .material-btn.outlined {
|
|
background: transparent;
|
|
border: 2px solid #dee2e6;
|
|
color: #495057;
|
|
}
|
|
|
|
.theme-material .material-btn.outlined:hover {
|
|
border-color: #667eea;
|
|
color: #667eea;
|
|
background: rgba(102, 126, 234, 0.05);
|
|
}
|
|
|
|
.theme-material .material-btn.filled {
|
|
border: none;
|
|
}
|
|
|
|
.theme-material .material-btn.filled.success {
|
|
background: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.theme-material .material-btn.filled.success:hover {
|
|
background: #218838;
|
|
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
|
|
}
|
|
|
|
.theme-material .material-btn.text {
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.theme-material .material-btn.outlined.warning {
|
|
border-color: #ffc107;
|
|
color: #856404;
|
|
}
|
|
|
|
.theme-material .material-btn.outlined.warning:hover {
|
|
background: #fff3cd;
|
|
}
|
|
|
|
.theme-material .material-btn.text.danger {
|
|
color: #dc3545;
|
|
}
|
|
|
|
.theme-material .material-btn.text.danger:hover {
|
|
background: #f8d7da;
|
|
}
|
|
|
|
|
|
/* ============================================
|
|
DESIGN 3: MODERN DASHBOARD THEME
|
|
============================================ */
|
|
|
|
.container-card-modern.theme-dashboard {
|
|
background: #ffffff;
|
|
border-radius: 12px;
|
|
border: 1px solid #e9ecef;
|
|
overflow: hidden;
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard:hover {
|
|
border-color: #667eea;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard.running {
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard.exited {
|
|
border-left: 4px solid #6c757d;
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard.paused {
|
|
border-left: 4px solid #ffc107;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-header {
|
|
padding: 18px 22px;
|
|
background: #f8f9fa;
|
|
border-bottom: 1px solid #e9ecef;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-status-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard.running .dashboard-status-dot {
|
|
background: #28a745;
|
|
box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
|
|
animation: blink 2s ease-in-out infinite;
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard.exited .dashboard-status-dot {
|
|
background: #6c757d;
|
|
}
|
|
|
|
.container-card-modern.theme-dashboard.paused .dashboard-status-dot {
|
|
background: #ffc107;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.4; }
|
|
}
|
|
|
|
.theme-dashboard .dashboard-name {
|
|
font-size: 1.15rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
margin: 0;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-tag {
|
|
display: inline-flex;
|
|
padding: 4px 10px;
|
|
background: white;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
color: #6c757d;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-tag.time {
|
|
font-family: 'SF Mono', monospace;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-tag.alert {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
font-weight: 600;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-actions-menu {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-icon-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
background: white;
|
|
color: #495057;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-icon-btn:hover {
|
|
background: #667eea;
|
|
color: white;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-body {
|
|
padding: 20px 22px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-info-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.theme-dashboard .info-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.theme-dashboard .info-icon {
|
|
font-size: 1rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.theme-dashboard .info-code {
|
|
background: #f8f9fa;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid #e9ecef;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.theme-dashboard .info-text {
|
|
color: #495057;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-metrics-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 16px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-metric {
|
|
padding: 14px;
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 10px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-metric:hover {
|
|
border-color: #667eea;
|
|
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.theme-dashboard .metric-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.theme-dashboard .metric-label-small {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.theme-dashboard .metric-value-small {
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.theme-dashboard .metric-sparkline {
|
|
height: 40px;
|
|
width: 100%;
|
|
}
|
|
|
|
.theme-dashboard .sparkline {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-footer {
|
|
padding: 16px 22px;
|
|
border-top: 1px solid #e9ecef;
|
|
background: #fafbfc;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-btn {
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid #dee2e6;
|
|
background: white;
|
|
color: #495057;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-btn:hover {
|
|
border-color: #667eea;
|
|
background: #f8f9ff;
|
|
color: #667eea;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-btn.primary {
|
|
background: #667eea;
|
|
border-color: #667eea;
|
|
color: white;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-btn.primary:hover {
|
|
background: #5568d3;
|
|
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.theme-dashboard .dashboard-btn.danger {
|
|
border-color: #dc3545;
|
|
color: #dc3545;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-btn.danger:hover {
|
|
background: #f8d7da;
|
|
}
|
|
|
|
|
|
/* ============================================
|
|
RESPONSIVE DESIGN FOR CARD THEMES
|
|
============================================ */
|
|
|
|
@media (max-width: 768px) {
|
|
/* Metro responsive */
|
|
.theme-compact .metro-content {
|
|
padding: 16px;
|
|
}
|
|
|
|
.theme-compact .metro-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.theme-compact .metro-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.theme-compact .metro-chips {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.theme-compact .metric-inline {
|
|
grid-template-columns: auto 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.theme-compact .metric-label,
|
|
.theme-compact .metric-value {
|
|
grid-column: 2;
|
|
}
|
|
|
|
/* Material responsive */
|
|
.theme-material .material-header {
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
}
|
|
|
|
.theme-material .material-header-actions {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.theme-material .material-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.theme-material .material-name {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.theme-material .material-metrics-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.theme-material .material-footer {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.theme-material .material-btn {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
}
|
|
|
|
/* Dashboard responsive */
|
|
.theme-dashboard .dashboard-title-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.theme-dashboard .dashboard-metrics-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.theme-compact .metro-name,
|
|
.theme-material .material-name,
|
|
.theme-dashboard .dashboard-name {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.theme-compact .metro-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.theme-material .material-status-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.theme-material .metric-value-large {
|
|
font-size: 1.8rem;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
DASHBOARD TOP ROW - SIDE BY SIDE LAYOUT
|
|
============================================ */
|
|
|
|
.dashboard-top-row {
|
|
display: flex;
|
|
gap: var(--space-6);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dashboard-top-left {
|
|
flex: 0 0 auto;
|
|
min-width: 280px;
|
|
}
|
|
|
|
.dashboard-top-right {
|
|
flex: 1;
|
|
min-width: 400px;
|
|
}
|
|
|
|
.dashboard-quick-actions-compact {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.dashboard-action-card-compact {
|
|
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-4);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
box-shadow: var(--shadow-sm);
|
|
text-align: left;
|
|
}
|
|
|
|
.dashboard-action-card-compact:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.dashboard-action-card-compact .action-icon {
|
|
font-size: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-action-card-compact .action-label {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
flex: 1;
|
|
}
|
|
|
|
/* Responsive: stack on mobile */
|
|
@media (max-width: 1024px) {
|
|
.dashboard-top-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dashboard-top-left,
|
|
.dashboard-top-right {
|
|
flex: 1;
|
|
min-width: 100%;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
UPDATE MODAL - CARD LAYOUT
|
|
============================================ */
|
|
|
|
.updates-table-card-layout tbody tr {
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.update-row-card {
|
|
background: white;
|
|
}
|
|
|
|
.update-row-card:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.update-row-card.selected {
|
|
background: rgba(124, 58, 237, 0.05);
|
|
}
|
|
|
|
.update-card-content {
|
|
padding: 12px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.update-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.update-container-name {
|
|
font-size: 1.1rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.update-host-badge {
|
|
background: linear-gradient(135deg, #667eea, #764ba2);
|
|
color: white;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.update-card-image {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.update-card-digests {
|
|
display: flex;
|
|
gap: 24px;
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.update-card-date {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.update-card-content .digest-text {
|
|
font-family: 'Courier New', monospace;
|
|
color: var(--text-primary);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.update-card-content strong {
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Toggle text inline with switch */
|
|
.toggle-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.toggle-text {
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
user-select: none;
|
|
}
|
|
|
|
.toggle-switch input:checked ~ .toggle-text {
|
|
color: #28a745;
|
|
}
|
|
|
|
.toggle-text-label {
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
user-select: none;
|
|
}
|