mirror of
https://github.com/plexguide/Huntarr.io.git
synced 2026-01-13 16:28:36 -05:00
1781 lines
35 KiB
CSS
1781 lines
35 KiB
CSS
:root {
|
|
/* Light Theme Colors */
|
|
--bg-primary: #f8f9fa;
|
|
--bg-secondary: #ffffff;
|
|
--bg-tertiary: #f1f3f5;
|
|
--text-primary: #212529;
|
|
--text-secondary: #495057;
|
|
--text-muted: #6c757d;
|
|
--border-color: #dee2e6;
|
|
--accent-color: #3498db;
|
|
--accent-hover: #2980b9;
|
|
--success-color: #27ae60;
|
|
--warning-color: #f39c12;
|
|
--error-color: #e74c3c;
|
|
--info-color: #2980b9;
|
|
--debug-color: #7f8c8d;
|
|
|
|
/* Component Colors */
|
|
--sidebar-bg: #2c3e50;
|
|
--sidebar-text: #ecf0f1;
|
|
--sidebar-item-hover: #34495e;
|
|
--sidebar-item-active: #3498db;
|
|
--topbar-bg: var(--bg-secondary);
|
|
--card-bg: var(--bg-secondary);
|
|
--switch-bg: #cbd2d9;
|
|
--switch-active: #3498db;
|
|
|
|
/* Button Colors */
|
|
--button-primary-bg: #3498db;
|
|
--button-primary-text: #ffffff;
|
|
--button-primary-hover: #2980b9;
|
|
--button-danger-bg: #e74c3c;
|
|
--button-danger-hover: #c0392b;
|
|
--button-success-bg: #27ae60;
|
|
--button-success-hover: #219955;
|
|
|
|
/* Status Colors */
|
|
--status-connected: #27ae60;
|
|
--status-not-connected: #e74c3c;
|
|
|
|
/* Logs Colors */
|
|
--log-bg: var(--bg-secondary);
|
|
--log-border: var(--border-color);
|
|
}
|
|
|
|
.dark-theme {
|
|
--bg-primary: #1a1d24;
|
|
--bg-secondary: #252a34;
|
|
--bg-tertiary: #2d3748;
|
|
--text-primary: #f8f9fa;
|
|
--text-secondary: #e9ecef;
|
|
--text-muted: #adb5bd;
|
|
--border-color: #4a5568;
|
|
--accent-color: #3498db;
|
|
--accent-hover: #2980b9;
|
|
|
|
/* Component Colors */
|
|
--sidebar-bg: #121212;
|
|
--sidebar-text: #ecf0f1;
|
|
--sidebar-item-hover: #2d3748;
|
|
--sidebar-item-active: #3498db;
|
|
--topbar-bg: #252a34;
|
|
--card-bg: #252a34;
|
|
--switch-bg: #4a5568;
|
|
|
|
/* Logs Colors */
|
|
--log-bg: #252a34;
|
|
--log-border: #4a5568;
|
|
}
|
|
|
|
/* Base Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
height: 100vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
}
|
|
|
|
/* Layout Structure */
|
|
.app-container {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 250px;
|
|
height: 100vh;
|
|
background: linear-gradient(180deg, rgba(22, 26, 34, 0.98), rgba(18, 22, 30, 0.95));
|
|
border-right: 1px solid rgba(90, 109, 137, 0.15);
|
|
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 100;
|
|
flex-shrink: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
min-width: 0; /* Important for flex child to respect parent constraints */
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Content Section styles */
|
|
.content-section {
|
|
display: none;
|
|
height: calc(100vh - 30px); /* Reduced from 60px to match the new top bar height */
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.content-section.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 20px 20px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.logo {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.sidebar h1 {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
color: var(--sidebar-text);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.nav-item i {
|
|
margin-right: 12px;
|
|
font-size: 18px;
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
background-color: var(--sidebar-item-hover);
|
|
}
|
|
|
|
.nav-item.active {
|
|
background-color: var(--sidebar-item-active);
|
|
font-weight: 600;
|
|
position: relative;
|
|
box-shadow: 0 0 8px 2px rgba(52, 152, 219, 0.5);
|
|
z-index: 1;
|
|
outline: none;
|
|
border-radius: 4px;
|
|
animation: glowPulse 1.5s infinite alternate;
|
|
}
|
|
|
|
@keyframes glowPulse {
|
|
from {
|
|
box-shadow: 0 0 8px 2px rgba(52, 152, 219, 0.5);
|
|
}
|
|
to {
|
|
box-shadow: 0 0 15px 4px rgba(52, 152, 219, 0.7);
|
|
}
|
|
}
|
|
|
|
/* Theme Switch */
|
|
.theme-switcher {
|
|
padding: 20px;
|
|
margin-top: 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.switch-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.light-icon, .dark-icon {
|
|
color: var(--sidebar-text);
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 26px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--switch-bg);
|
|
transition: .4s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .4s;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: var(--switch-active);
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
transform: translateX(calc(100% + 4px));
|
|
}
|
|
|
|
.slider.round {
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Top Bar */
|
|
.top-bar {
|
|
height: 60px;
|
|
background-color: var(--topbar-bg);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.user-info span {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.logout-btn {
|
|
color: var(--text-secondary);
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.logout-btn:hover {
|
|
color: var(--error-color);
|
|
}
|
|
|
|
/* Content Sections */
|
|
.content-section {
|
|
display: none;
|
|
height: calc(100vh - 30px); /* Reduced from 60px to match the new top bar height */
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.content-section.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Responsive adjustments for mobile view */
|
|
@media (max-width: 768px) {
|
|
.content-section {
|
|
height: calc(100vh - 50px); /* Account for taller topbar in mobile */
|
|
}
|
|
|
|
.logs {
|
|
height: calc(100vh - 150px); /* Adjust logs container for mobile topbar */
|
|
}
|
|
|
|
/* Title alignment with version info */
|
|
.page-title {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
}
|
|
|
|
/* Phone-specific height adjustments */
|
|
@media (max-width: 480px) {
|
|
.content-section {
|
|
height: calc(100vh - 80px); /* Account for the taller stacked header on phones */
|
|
}
|
|
|
|
.logs {
|
|
height: calc(100vh - 180px); /* Adjust logs container for taller phone header */
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 1.2rem; /* Slightly smaller font for phone */
|
|
}
|
|
}
|
|
|
|
/* Cards */
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.card {
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
padding: 20px;
|
|
}
|
|
|
|
.card h2, .card h3 {
|
|
margin-bottom: 15px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.card h2 i, .card h3 i {
|
|
margin-right: 10px;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.welcome-card {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
/* Status Card */
|
|
.status-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.status-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.status-badge {
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.status-badge i {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.status-badge.connected {
|
|
background-color: rgba(39, 174, 96, 0.2);
|
|
color: var(--status-connected);
|
|
}
|
|
|
|
.status-badge.not-connected {
|
|
background-color: rgba(231, 76, 60, 0.2);
|
|
color: var(--status-not-connected);
|
|
}
|
|
|
|
/* Stats Card */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
background-color: var(--bg-tertiary);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.8rem;
|
|
font-weight: bold;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 5px;
|
|
}
|
|
|
|
/* Action Card */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.action-button {
|
|
padding: 12px 20px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
transition: background-color 0.3s, transform 0.2s;
|
|
}
|
|
|
|
.action-button i {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.action-button.start {
|
|
background-color: var(--button-success-bg);
|
|
color: white;
|
|
}
|
|
|
|
.action-button.start:hover {
|
|
background-color: var(--button-success-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.action-button.stop {
|
|
background-color: var(--button-danger-bg);
|
|
color: white;
|
|
}
|
|
|
|
.action-button.stop:hover {
|
|
background-color: var(--button-danger-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Small action button */
|
|
.action-button-small {
|
|
padding: 8px 12px;
|
|
border-radius: 4px;
|
|
border: none;
|
|
font-weight: 600;
|
|
background-color: var(--button-danger-bg);
|
|
color: white;
|
|
font-size: 0.9em;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s, transform 0.2s;
|
|
}
|
|
|
|
.action-button-small:hover {
|
|
background-color: var(--button-danger-hover);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Danger action button */
|
|
.action-button.danger {
|
|
background-color: #e74c3c;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
transition: background-color 0.2s ease, transform 0.1s ease;
|
|
width: fit-content;
|
|
max-width: max-content;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.action-button.danger:hover {
|
|
background-color: #c0392b;
|
|
}
|
|
|
|
.action-button.danger:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.action-button.danger i {
|
|
font-size: 12px;
|
|
margin-right: 1px;
|
|
}
|
|
|
|
/* Logs Section */
|
|
.section-header {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.app-tabs, .log-controls {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.app-tab, .settings-tab {
|
|
padding: 8px 20px;
|
|
background-color: var(--bg-tertiary);
|
|
border: none;
|
|
border-radius: 20px;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.app-tab.active, .settings-tab.active {
|
|
background-color: var(--accent-color);
|
|
color: white;
|
|
}
|
|
|
|
.app-tab:hover, .settings-tab:hover {
|
|
background-color: var(--accent-hover);
|
|
color: white;
|
|
}
|
|
|
|
.log-options {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.auto-scroll {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.clear-button {
|
|
padding: 6px 12px;
|
|
background-color: var(--button-danger-bg);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.clear-button:hover {
|
|
background-color: var(--button-danger-hover);
|
|
}
|
|
|
|
.logs {
|
|
height: calc(100vh - 130px); /* Reduced from 160px to account for smaller header */
|
|
background-color: var(--log-bg);
|
|
border: 1px solid var(--log-border);
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
overflow-y: auto;
|
|
font-family: monospace;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
line-height: 1.5;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.log-entry {
|
|
margin-bottom: 5px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.log-info {
|
|
color: var(--info-color);
|
|
}
|
|
|
|
.log-warning {
|
|
color: var(--warning-color);
|
|
}
|
|
|
|
.log-error {
|
|
color: var(--error-color);
|
|
}
|
|
|
|
.log-debug {
|
|
color: var(--debug-color);
|
|
}
|
|
|
|
.status-connected {
|
|
color: var(--status-connected);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-disconnected {
|
|
color: var(--status-not-connected);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Settings Section */
|
|
.settings-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.save-button, .reset-button {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.save-button {
|
|
background-color: var(--button-success-bg);
|
|
color: white;
|
|
}
|
|
|
|
.save-button:hover {
|
|
background-color: var(--button-success-hover);
|
|
}
|
|
|
|
.reset-button {
|
|
background-color: var(--button-danger-bg);
|
|
color: white;
|
|
}
|
|
|
|
.reset-button:hover {
|
|
background-color: var(--button-danger-hover);
|
|
}
|
|
|
|
.settings-form {
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
height: calc(100vh - 150px);
|
|
}
|
|
|
|
.app-settings-panel {
|
|
display: none;
|
|
}
|
|
|
|
.app-settings-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.settings-group {
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
|
|
border: 2px solid rgba(90, 109, 137, 0.3);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin: 15px 0 25px 0;
|
|
box-shadow: 0 4px 12px rgba(90, 109, 137, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
}
|
|
|
|
.settings-group h3 {
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.setting-item {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.setting-item label {
|
|
width: 200px;
|
|
font-weight: 500;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.setting-item input[type="text"],
|
|
.setting-item input[type="number"],
|
|
.setting-item input[type="password"] {
|
|
width: 300px;
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background-color: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.setting-help {
|
|
width: 100%;
|
|
margin-top: 5px;
|
|
margin-left: 215px;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Toggle Switch for Settings */
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 40px; /* Changed to match login page toggle (40px) */
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toggle-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.toggle-slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--switch-bg);
|
|
transition: .4s;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.toggle-slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 12px; /* Changed to match login page toggle (12px) */
|
|
width: 12px; /* Changed to match login page toggle (12px) */
|
|
left: 4px; /* Changed to match login page toggle */
|
|
bottom: 4px; /* Changed to match login page toggle */
|
|
background-color: white;
|
|
transition: .4s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .toggle-slider {
|
|
background-color: var(--switch-active);
|
|
}
|
|
|
|
input:checked + .toggle-slider:before {
|
|
transform: translateX(20px); /* Changed to match login page toggle (20px) */
|
|
}
|
|
|
|
/* Stateful Management Styling */
|
|
.stateful-header-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
margin-bottom: 25px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #2d3748; /* Darker border matching the screenshot */
|
|
}
|
|
|
|
.stateful-header-wrapper h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.header-line {
|
|
display: none;
|
|
}
|
|
|
|
.stateful-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.stateful-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.stateful-reset-btn {
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
background-color: var(--button-danger-bg);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.stateful-reset-btn:hover {
|
|
background-color: var(--button-danger-hover);
|
|
}
|
|
|
|
.info-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
background-color: var(--bg-tertiary);
|
|
border-radius: 6px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.date-info-block {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 10px;
|
|
background-color: var(--bg-secondary);
|
|
border-radius: 4px;
|
|
border-left: 4px solid var(--accent-color);
|
|
}
|
|
|
|
.date-label {
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.date-value {
|
|
font-family: monospace;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--accent-color);
|
|
padding: 4px 8px;
|
|
background-color: rgba(52, 152, 219, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.reset-help {
|
|
margin-top: 8px;
|
|
font-style: italic;
|
|
color: var(--error-color);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Settings Stateful Management */
|
|
.setting-info-block {
|
|
background-color: var(--bg-tertiary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.setting-info-block .info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 5px 0;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.setting-info-block .info-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.danger-button {
|
|
background-color: var(--button-danger-bg);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px 15px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.danger-button:hover {
|
|
background-color: var(--button-danger-hover);
|
|
}
|
|
|
|
/* Custom reset button that matches the screenshot exactly */
|
|
.danger-reset-button {
|
|
background-color: #e74c3c; /* Solid red to match the image */
|
|
color: white;
|
|
border: none;
|
|
padding: 6px 12px;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: background-color 0.2s ease;
|
|
width: fit-content;
|
|
white-space: nowrap;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.danger-reset-button:hover {
|
|
background-color: #c0392b;
|
|
}
|
|
|
|
.danger-reset-button i {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Make sure settings-group has the right positioning for absolute elements */
|
|
.settings-group {
|
|
position: relative;
|
|
}
|
|
|
|
/* Responsive Adjustments */
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
width: 60px !important;
|
|
min-width: 60px !important;
|
|
max-width: 60px !important;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0 !important;
|
|
width: calc(100% - 60px) !important;
|
|
}
|
|
|
|
/* Navbar item adjustments */
|
|
.nav-item {
|
|
padding: 10px 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-item span {
|
|
display: none !important;
|
|
}
|
|
|
|
.nav-icon-wrapper {
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
/* Logo container */
|
|
.logo-container {
|
|
justify-content: center !important;
|
|
padding: 15px 0 !important;
|
|
}
|
|
|
|
.logo-container h1 {
|
|
display: none !important;
|
|
}
|
|
|
|
.logo {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
}
|
|
|
|
/* Fix active/hover state */
|
|
.nav-item:hover,
|
|
.nav-item.active {
|
|
background: rgba(65, 105, 225, 0.2) !important;
|
|
width: 50px !important;
|
|
margin: 0 auto !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
/* Topbar adjustments */
|
|
.topbar-section.center {
|
|
position: relative !important;
|
|
left: 0 !important;
|
|
transform: none !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
/* Version bar */
|
|
.version-bar {
|
|
flex-wrap: wrap !important;
|
|
gap: 8px !important;
|
|
}
|
|
|
|
.version-item, .developer-credit {
|
|
font-size: 12px !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.community-links {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.community-link-card {
|
|
width: 100%;
|
|
}
|
|
|
|
.app-stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sponsors-list {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.version-bar {
|
|
gap: 8px;
|
|
}
|
|
|
|
.version-divider {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
text-align: center;
|
|
padding: 20px;
|
|
margin-top: 20px;
|
|
background-color: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer p {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.footer a {
|
|
color: var(--accent-color);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
color: var(--accent-hover);
|
|
}
|
|
|
|
/* Notification styles for async operations */
|
|
.notification {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 15px 25px;
|
|
border-radius: 8px;
|
|
color: white;
|
|
font-weight: 500;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
z-index: 1000;
|
|
transform: translateY(-20px);
|
|
opacity: 0;
|
|
transition: transform 0.3s, opacity 0.3s;
|
|
}
|
|
|
|
.notification.show {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
.notification.success {
|
|
background-color: var(--success-color);
|
|
}
|
|
|
|
.notification.error {
|
|
background-color: var(--error-color);
|
|
}
|
|
|
|
.notification.info {
|
|
background-color: var(--info-color);
|
|
}
|
|
|
|
/* Login Page Styles */
|
|
.login-page {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
background-color: var(--bg-primary);
|
|
}
|
|
|
|
.login-container {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
background-color: var(--bg-secondary);
|
|
border-radius: 10px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-header {
|
|
background-color: var(--sidebar-bg);
|
|
color: var(--sidebar-text);
|
|
padding: 25px 20px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.login-logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.login-header h1 {
|
|
margin: 0;
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.login-form {
|
|
padding: 25px;
|
|
}
|
|
|
|
.login-form h2 {
|
|
margin: 0 0 20px;
|
|
font-size: 1.3rem;
|
|
text-align: center;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-group label i {
|
|
margin-right: 8px;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 12px 15px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background-color: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
font-size: 16px;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
|
|
}
|
|
|
|
.login-button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: var(--accent-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.login-button:hover {
|
|
background-color: var(--accent-hover);
|
|
}
|
|
|
|
.error-message {
|
|
color: var(--error-color);
|
|
margin: 15px 0;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
min-height: 20px;
|
|
}
|
|
|
|
.login-form .theme-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-top: 25px;
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.login-form .switch {
|
|
width: 40px;
|
|
height: 20px;
|
|
}
|
|
|
|
.login-form .slider:before {
|
|
height: 12px;
|
|
width: 12px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
}
|
|
|
|
.login-form input:checked + .slider:before {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.login-container {
|
|
max-width: 90%;
|
|
margin: 0 15px;
|
|
}
|
|
}
|
|
|
|
/* Section header with action button */
|
|
.section-header-with-action {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
position: relative;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.section-header-with-action h3 {
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.section-header-with-action .icon-button {
|
|
padding: 7px 12px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
background-color: var(--button-danger-bg);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-left: auto; /* Push to the right edge */
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.section-header-with-action .icon-button i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.section-header-with-action .icon-button:hover {
|
|
background-color: var(--button-danger-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.section-header-with-action .icon-button:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Information Icon Styling */
|
|
.info-icon {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
margin-right: 30px !important;
|
|
margin-left: 0 !important;
|
|
padding-right: 10px !important;
|
|
color: var(--accent-color) !important;
|
|
transition: all 0.2s ease !important;
|
|
text-decoration: none !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
.info-icon:hover {
|
|
color: var(--accent-hover) !important;
|
|
transform: scale(1.1) !important;
|
|
}
|
|
|
|
.info-icon i {
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
/* Add spacing on labels with info icons */
|
|
label .info-icon + span,
|
|
label .info-icon ~ text {
|
|
margin-left: 5px !important;
|
|
}
|
|
|
|
/* Fix for trash icon positioning */
|
|
.fa-trash-alt {
|
|
display: inline-block;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
/* Reset button in top right corner */
|
|
.top-right-button {
|
|
position: absolute !important;
|
|
top: 0;
|
|
right: 0;
|
|
margin: 0 !important;
|
|
padding: 6px 10px !important;
|
|
font-size: 12px !important;
|
|
border-radius: 3px !important;
|
|
}
|
|
|
|
.top-right-button i {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
/* Stateful management header row with reset button */
|
|
.stateful-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 12px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid #2d3748; /* Dark border line matching the screenshot */
|
|
width: 100%;
|
|
}
|
|
|
|
.stateful-header-row h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Reset button styling exactly matching the screenshot */
|
|
#reset_stateful_btn {
|
|
background-color: #e74c3c;
|
|
color: white;
|
|
border: none;
|
|
padding: 5px 12px;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
#reset_stateful_btn:hover {
|
|
background-color: #c0392b;
|
|
}
|
|
|
|
#reset_stateful_btn i {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Apps Section */
|
|
/* Use the existing log dropdown styles for app section. No custom CSS needed for the dropdown itself. */
|
|
|
|
/* App settings content styling */
|
|
.settings-content {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.app-apps-panel {
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.app-apps-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.app-apps-panel.section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px 0px;
|
|
margin-bottom: 20px;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.instance-panel, .instance-item {
|
|
background-color: var(--bg-secondary, #2c2c2c);
|
|
border: 1px solid var(--border-color, #3c3c3c);
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Tag input system for malicious file detection */
|
|
.tag-input-container {
|
|
background: #1f2937;
|
|
border: 1px solid rgba(90, 109, 137, 0.3);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
min-height: 100px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.tag-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
min-height: 32px;
|
|
}
|
|
|
|
.tag-item {
|
|
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
|
|
border: 1px solid rgba(90, 109, 137, 0.4);
|
|
border-radius: 6px;
|
|
padding: 6px 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #e5e7eb;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tag-item:hover {
|
|
background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
|
|
border-color: rgba(90, 109, 137, 0.6);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.tag-remove {
|
|
background: none;
|
|
border: none;
|
|
color: #ef4444;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tag-remove:hover {
|
|
background: rgba(239, 68, 68, 0.2);
|
|
color: #fca5a5;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.tag-input-wrapper {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.tag-input {
|
|
flex: 1;
|
|
background: #374151;
|
|
border: 1px solid rgba(90, 109, 137, 0.2);
|
|
border-radius: 6px;
|
|
padding: 8px 12px;
|
|
color: #e5e7eb;
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tag-input:focus {
|
|
border-color: rgba(90, 109, 137, 0.5);
|
|
background: #4b5563;
|
|
box-shadow: 0 0 0 3px rgba(90, 109, 137, 0.1);
|
|
}
|
|
|
|
.tag-input::placeholder {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.tag-add-btn {
|
|
background: linear-gradient(135deg, #065f46 0%, #059669 100%);
|
|
border: 1px solid rgba(90, 109, 137, 0.3);
|
|
border-radius: 6px;
|
|
padding: 8px 12px;
|
|
color: #d1fae5;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 40px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tag-add-btn:hover {
|
|
background: linear-gradient(135deg, #047857 0%, #10b981 100%);
|
|
border-color: rgba(90, 109, 137, 0.5);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.tag-add-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Empty state for tag lists */
|
|
.tag-list:empty::before {
|
|
content: "No items added yet";
|
|
color: #6b7280;
|
|
font-style: italic;
|
|
font-size: 13px;
|
|
padding: 8px 0;
|
|
display: block;
|
|
}
|
|
|
|
.instance-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
gap: 10px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color, #3c3c3c);
|
|
}
|
|
|
|
.instance-name {
|
|
flex: 1;
|
|
padding: 8px;
|
|
background-color: var(--bg-tertiary, #252525);
|
|
border: 1px solid var(--border-color, #3c3c3c);
|
|
border-radius: 4px;
|
|
color: var(--text-primary, white);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-field {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-field label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 400;
|
|
color: var(--text-primary, #f0f0f0);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-field input {
|
|
padding: 8px;
|
|
background-color: var(--bg-tertiary, #252525);
|
|
border: 1px solid var(--border-color, #3c3c3c);
|
|
border-radius: 4px;
|
|
color: var(--text-primary, white);
|
|
width: 100%;
|
|
max-width: 500px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Button styling */
|
|
.add-instance-btn {
|
|
background-color: var(--accent-color, #007bff);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 14px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.add-instance-btn:hover {
|
|
background-color: var(--accent-hover, #0069d9);
|
|
}
|
|
|
|
.remove-instance-btn {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
border: none;
|
|
padding: 6px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 13px;
|
|
margin-top: 5px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.remove-instance-btn:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
.test-connection-btn {
|
|
background-color: #28a745;
|
|
color: white;
|
|
border: none;
|
|
padding: 6px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 13px;
|
|
margin-top: 5px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.test-connection-btn:hover {
|
|
background-color: #218838;
|
|
}
|
|
|
|
.test-connection-btn.test-success {
|
|
background-color: #28a745;
|
|
}
|
|
|
|
.test-connection-btn.test-failed {
|
|
background-color: #dc3545;
|
|
}
|
|
|
|
.test-connection-btn:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Match styling with existing settings UI */
|
|
#appsSection .section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
background: none !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#appsSection .settings-group {
|
|
margin-top: 20px;
|
|
margin-bottom: 30px;
|
|
background: linear-gradient(135deg, rgba(30, 39, 56, 0.95) 0%, rgba(14, 20, 32, 0.95) 50%, rgba(16, 24, 36, 0.95) 100%);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
|
|
position: relative;
|
|
border: 1px solid rgba(90, 109, 137, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#appsSection .settings-group::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, rgba(52, 152, 219, 0.3), rgba(155, 89, 182, 0.3)); /* Sonarr blue to Whisparr purple */
|
|
opacity: 0.7;
|
|
}
|
|
|
|
#appsSection .settings-group-header {
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color, #363636);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: var(--text-primary, #f0f0f0);
|
|
}
|
|
|
|
.loading-panel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
color: var(--text-primary, #f0f0f0);
|
|
gap: 10px;
|
|
}
|
|
|
|
.error-panel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
color: #dc3545;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* App content panel styling - eliminate box effect */
|
|
.app-content-panel {
|
|
border: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Style the direct children of app panels that are creating nested boxes */
|
|
.app-apps-panel > .settings-group {
|
|
border: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Instance panel styling - keep these as boxes */
|
|
.instance-panel {
|
|
background-color: var(--bg-secondary, #2c2c2c);
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
border: 1px solid var(--border-color, #3c3c3c);
|
|
} |