3816 lines
68 KiB
CSS
3816 lines
68 KiB
CSS
/* Modern CSS for 4DSTAR Bundle Manager - v2 */
|
|
|
|
/* Global Resets and Variables */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
--primary-color: #3b82f6;
|
|
--secondary-color: #1e40af;
|
|
--background-color: #ffffff;
|
|
--text-color: #1f2937;
|
|
--text-light: #6b7280;
|
|
--border-color: #e5e7eb;
|
|
--hover-color: #f3f4f6;
|
|
--sidebar-bg: #2d3748;
|
|
--sidebar-width: 200px;
|
|
|
|
/* Responsive breakpoints */
|
|
--breakpoint-sm: 768px;
|
|
--breakpoint-md: 1024px;
|
|
--breakpoint-lg: 1280px;
|
|
--breakpoint-xl: 1440px;
|
|
|
|
/* Responsive sidebar widths */
|
|
--primary-sidebar-collapsed: 60px;
|
|
--primary-sidebar-expanded: 200px;
|
|
--secondary-sidebar-width: 200px;
|
|
--secondary-sidebar-width-lg: 240px;
|
|
--secondary-sidebar-width-xl: 280px;
|
|
}
|
|
|
|
body.dark-mode {
|
|
--bg-color: #2c3e50;
|
|
--sidebar-bg: #34495e;
|
|
--content-bg: #34495e;
|
|
--text-color: #ecf0f1;
|
|
--text-light: #95a5a6;
|
|
--border-color: #4a6278;
|
|
--primary-color: #3498db;
|
|
--primary-hover: #4aa3df;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
transition: background-color 0.2s, color 0.2s;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Main Layout */
|
|
.main-container {
|
|
display: flex;
|
|
height: 100vh;
|
|
min-width: 800px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
/* Two-Tiered Sidebar System */
|
|
|
|
/* Primary Sidebar (Tier 1) - Category Bar */
|
|
.primary-sidebar {
|
|
width: var(--primary-sidebar-collapsed);
|
|
min-width: var(--primary-sidebar-collapsed);
|
|
background-color: #f8f9fa;
|
|
border-right: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
transition: width 0.3s ease, background-color 0.2s;
|
|
overflow: hidden;
|
|
z-index: 100;
|
|
}
|
|
|
|
body.dark-mode .primary-sidebar {
|
|
background-color: #2d3748;
|
|
}
|
|
|
|
.primary-sidebar:hover {
|
|
width: var(--primary-sidebar-expanded);
|
|
}
|
|
|
|
/* Responsive primary sidebar adjustments */
|
|
@media (max-width: 1024px) {
|
|
.primary-sidebar:hover {
|
|
width: 180px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.primary-sidebar {
|
|
width: 50px;
|
|
min-width: 50px;
|
|
}
|
|
|
|
.primary-sidebar:hover {
|
|
width: 160px;
|
|
}
|
|
}
|
|
|
|
.primary-sidebar-header {
|
|
padding: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.02) 100%);
|
|
}
|
|
|
|
.brand-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
position: relative;
|
|
}
|
|
|
|
/* Ensure proper centering in collapsed state */
|
|
.primary-sidebar:not(:hover) .brand-icon {
|
|
justify-content: center;
|
|
}
|
|
|
|
.primary-sidebar:not(:hover) .app-title {
|
|
position: absolute;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.star-icon {
|
|
font-size: 18px;
|
|
color: #3b82f6;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
/* Dark mode star icon */
|
|
body.dark-mode .star-icon {
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.brand-text {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
color: #1f2937;
|
|
letter-spacing: 0.5px;
|
|
margin-left: 8px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
body.dark-mode .primary-sidebar-header .brand-text {
|
|
color: #f9fafb;
|
|
}
|
|
|
|
.app-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #1f2937;
|
|
letter-spacing: 1px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Dark mode app title */
|
|
body.dark-mode .app-title {
|
|
color: #f9fafb;
|
|
}
|
|
|
|
.primary-sidebar:hover .app-title {
|
|
opacity: 1;
|
|
}
|
|
|
|
.category-nav {
|
|
padding: 15px 0;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Keep version at bottom but reduce excessive empty space in collapsed mode */
|
|
.primary-sidebar:not(:hover) .category-nav {
|
|
flex-grow: 1;
|
|
padding: 15px 0 8px 0;
|
|
min-height: auto;
|
|
}
|
|
|
|
.category-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
|
|
/* Perfect symmetry for collapsed sidebar items */
|
|
.primary-sidebar:not(:hover) .category-item {
|
|
padding: 12px 12px 12px 12px;
|
|
}
|
|
|
|
/* Active item maintains perfect symmetry (accounting for 3px left border) */
|
|
.primary-sidebar:not(:hover) .category-item.active {
|
|
padding: 12px 15px 12px 9px;
|
|
}
|
|
|
|
.category-item:hover {
|
|
background-color: var(--hover-color);
|
|
}
|
|
|
|
.category-item.active {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
border-left: 3px solid var(--primary-color);
|
|
padding-left: 13px;
|
|
}
|
|
|
|
.category-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.category-label {
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.primary-sidebar:hover .category-label {
|
|
opacity: 1;
|
|
}
|
|
|
|
.primary-sidebar-footer {
|
|
padding: 12px 16px 16px 16px;
|
|
border-top: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 40px;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* When sidebar is collapsed, only show version centered with tighter spacing */
|
|
.primary-sidebar:not(:hover) .primary-sidebar-footer {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
padding: 8px 16px 8px 16px;
|
|
min-height: 32px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* When sidebar is expanded, show both version and info button */
|
|
.primary-sidebar:hover .primary-sidebar-footer {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.version-info {
|
|
font-size: 0.8rem;
|
|
color: var(--text-light);
|
|
opacity: 1;
|
|
transition: opacity 0.3s ease;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Hide version when collapsed, show when expanded */
|
|
.primary-sidebar:not(:hover) .version-info {
|
|
opacity: 1;
|
|
}
|
|
|
|
.primary-sidebar:hover .version-info {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Secondary Sidebar (Tier 2) - Content Sidebar */
|
|
.secondary-sidebar {
|
|
width: var(--secondary-sidebar-width);
|
|
min-width: var(--secondary-sidebar-width);
|
|
background-color: #fafbfc;
|
|
border-right: 1px solid #e5e7eb;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
transition: all 0.2s ease;
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.05);
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* Custom scrollbar for secondary sidebar */
|
|
.secondary-sidebar::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.secondary-sidebar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.secondary-sidebar::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border-radius: 3px;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.secondary-sidebar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Responsive sidebar content spacing */
|
|
.sidebar-content {
|
|
padding: 1rem;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0; /* Allow content to shrink */
|
|
}
|
|
|
|
/* Responsive button spacing based on available height */
|
|
@media (max-height: 700px) {
|
|
.sidebar-nav {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.nav-button {
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.sidebar-header {
|
|
margin-top: 1rem !important;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.sidebar-header h3 {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 600px) {
|
|
.sidebar-nav {
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.nav-button {
|
|
padding: 0.375rem 0.5rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.sidebar-header {
|
|
margin-top: 0.75rem !important;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.sidebar-header h3 {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
body.dark-mode .secondary-sidebar {
|
|
background-color: #374151;
|
|
border-right: 1px solid #4b5563;
|
|
box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Dark mode scrollbar */
|
|
body.dark-mode .secondary-sidebar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
body.dark-mode .secondary-sidebar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* Responsive secondary sidebar */
|
|
@media (min-width: 1280px) {
|
|
.secondary-sidebar {
|
|
width: var(--secondary-sidebar-width-lg);
|
|
min-width: var(--secondary-sidebar-width-lg);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1440px) {
|
|
.secondary-sidebar {
|
|
width: var(--secondary-sidebar-width-xl);
|
|
min-width: var(--secondary-sidebar-width-xl);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.secondary-sidebar {
|
|
width: 180px;
|
|
min-width: 180px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.secondary-sidebar {
|
|
width: 160px;
|
|
min-width: 160px;
|
|
}
|
|
}
|
|
|
|
.sidebar-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.sidebar-content.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-header {
|
|
padding: 24px 24px 20px 24px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
text-align: center;
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(147, 197, 253, 0.01) 100%);
|
|
}
|
|
|
|
/* Dark mode sidebar header */
|
|
body.dark-mode .sidebar-header {
|
|
border-bottom: 1px solid #4b5563;
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.02) 100%);
|
|
}
|
|
|
|
.sidebar-header h3 {
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
color: #1f2937;
|
|
margin: 0;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
/* Dark mode sidebar header text */
|
|
body.dark-mode .sidebar-header h3 {
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
padding: 24px 20px;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.nav-button {
|
|
width: 100%;
|
|
padding: 14px 20px;
|
|
margin-bottom: 8px;
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 10px;
|
|
color: #374151;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
text-align: left;
|
|
}
|
|
|
|
.nav-button:hover {
|
|
background: #f9fafb;
|
|
border-color: #d1d5db;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.nav-button.active {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
|
|
color: white;
|
|
border-color: #2563eb;
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
body.dark-mode .nav-button {
|
|
background: #4b5563;
|
|
border: 1px solid #6b7280;
|
|
color: #f3f4f6;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
body.dark-mode .nav-button:hover {
|
|
background: #5b6572;
|
|
border-color: #9ca3af;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
body.dark-mode .nav-button.active {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
|
|
color: white;
|
|
border-color: #2563eb;
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
.nav-button.active:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 60px 24px;
|
|
text-align: center;
|
|
color: #9ca3af;
|
|
font-style: italic;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
/* Info Button Updates */
|
|
.info-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background: rgba(107, 114, 128, 0.15);
|
|
color: #4b5563;
|
|
border: 1px solid rgba(107, 114, 128, 0.25);
|
|
border-radius: 6px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
width: fit-content;
|
|
opacity: 0;
|
|
}
|
|
|
|
.info-button:hover {
|
|
background: rgba(107, 114, 128, 0.2);
|
|
border-color: rgba(107, 114, 128, 0.35);
|
|
}
|
|
|
|
/* Show info button only when sidebar is expanded */
|
|
.primary-sidebar:hover .info-button {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Completely hide info button in collapsed mode */
|
|
.primary-sidebar:not(:hover) .info-button {
|
|
display: none;
|
|
}
|
|
|
|
/* Dark mode info button */
|
|
body.dark-mode .info-button {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
body.dark-mode .info-button:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.info-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.info-label {
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.primary-sidebar:hover .info-label {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Content Area */
|
|
.content-area {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#welcome-screen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
|
|
}
|
|
|
|
.welcome-hero {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 300px;
|
|
background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
|
|
color: white;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.welcome-logo {
|
|
text-align: center;
|
|
}
|
|
|
|
.star-icon-large {
|
|
font-size: 4rem;
|
|
color: #fbbf24;
|
|
margin-bottom: 1rem;
|
|
text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
|
|
}
|
|
|
|
.welcome-title {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
letter-spacing: 0.1em;
|
|
background: linear-gradient(45deg, #fbbf24, #f59e0b);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.welcome-subtitle {
|
|
font-size: 1.2rem;
|
|
margin: 0.5rem 0 0 0;
|
|
color: #cbd5e1;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.welcome-content {
|
|
flex: 1;
|
|
padding: 0 3rem 3rem 3rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.welcome-section h2 {
|
|
color: #1e293b;
|
|
font-size: 2rem;
|
|
margin-bottom: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.welcome-section p {
|
|
color: #64748b;
|
|
font-size: 1.1rem;
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.feature-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.feature-card {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
padding: 1.5rem;
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.feature-info h3 {
|
|
color: #1e293b;
|
|
font-size: 1.2rem;
|
|
margin: 0 0 0.5rem 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.feature-info p {
|
|
color: #64748b;
|
|
font-size: 0.95rem;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
}
|
|
|
|
.welcome-tips {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.welcome-tips h3 {
|
|
color: #1e293b;
|
|
font-size: 1.4rem;
|
|
margin: 0 0 1rem 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.welcome-tips ul {
|
|
color: #64748b;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.welcome-tips li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Category-specific home screens */
|
|
.home-screen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.category-hero {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 250px;
|
|
background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
|
|
color: white;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.category-hero-content {
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.category-icon-large {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 2.5rem;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.category-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
color: white;
|
|
}
|
|
|
|
.category-subtitle {
|
|
font-size: 1.1rem;
|
|
margin: 0;
|
|
color: #cbd5e1;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.category-content {
|
|
flex: 1;
|
|
padding: 0 3rem 3rem 3rem;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.feature-section h2 {
|
|
color: #1e293b;
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.action-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.action-card {
|
|
padding: 2rem;
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
border: 1px solid #e2e8f0;
|
|
text-align: center;
|
|
}
|
|
|
|
.action-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.action-card h3 {
|
|
color: #1e293b;
|
|
font-size: 1.3rem;
|
|
margin: 0 0 1rem 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.action-card p {
|
|
color: #64748b;
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-section {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.info-section h3 {
|
|
color: #1e293b;
|
|
font-size: 1.4rem;
|
|
margin: 0 0 1rem 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-section p {
|
|
color: #64748b;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Dark mode support for home screens */
|
|
body.dark-mode .home-screen {
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
|
}
|
|
|
|
body.dark-mode .category-hero {
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
|
}
|
|
|
|
body.dark-mode .feature-section h2,
|
|
body.dark-mode .category-title {
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .category-subtitle {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
body.dark-mode .action-card,
|
|
body.dark-mode .info-section,
|
|
body.dark-mode .feature-card,
|
|
body.dark-mode .welcome-tips {
|
|
background: #1e293b;
|
|
border-color: #334155;
|
|
}
|
|
|
|
body.dark-mode .action-card h3,
|
|
body.dark-mode .info-section h3,
|
|
body.dark-mode .feature-info h3,
|
|
body.dark-mode .welcome-tips h3 {
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .action-card p,
|
|
body.dark-mode .info-section p,
|
|
body.dark-mode .feature-info p,
|
|
body.dark-mode .welcome-tips ul {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
body.dark-mode .welcome-section h2 {
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .welcome-section p {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Custom scrollbar styling for all views */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f5f9;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8;
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
/* Dark mode scrollbar styling */
|
|
body.dark-mode ::-webkit-scrollbar-track {
|
|
background: #1e293b;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-thumb {
|
|
background: #475569;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-thumb:hover {
|
|
background: #64748b;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-corner {
|
|
background: #1e293b;
|
|
}
|
|
|
|
/* Specific scrollbar styling for table containers */
|
|
.opat-table-container ::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.opat-table-container ::-webkit-scrollbar-track {
|
|
background: #f8fafc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.opat-table-container ::-webkit-scrollbar-thumb {
|
|
background: #e2e8f0;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.opat-table-container ::-webkit-scrollbar-thumb:hover {
|
|
background: #cbd5e1;
|
|
}
|
|
|
|
body.dark-mode .opat-table-container ::-webkit-scrollbar-track {
|
|
background: #0f172a;
|
|
}
|
|
|
|
body.dark-mode .opat-table-container ::-webkit-scrollbar-thumb {
|
|
background: #334155;
|
|
}
|
|
|
|
body.dark-mode .opat-table-container ::-webkit-scrollbar-thumb:hover {
|
|
background: #475569;
|
|
}
|
|
|
|
/* ===== KEY MANAGEMENT STYLING ===== */
|
|
|
|
/* Key Management Views Container */
|
|
#keys-view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--background-color);
|
|
}
|
|
|
|
/* Main Content Area */
|
|
.main-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 2rem;
|
|
background: var(--background-color);
|
|
max-height: calc(100vh - 60px); /* Fix scrolling by setting max height */
|
|
}
|
|
|
|
/* Individual Key Management Styles */
|
|
.key-management-view {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 2rem;
|
|
background: var(--background-color);
|
|
}
|
|
|
|
/* Plugin Management Styles */
|
|
.plugin-management-view {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
background: var(--background-color);
|
|
max-height: calc(100vh - 120px); /* Fix scrolling by setting max height */
|
|
}
|
|
|
|
|
|
|
|
/* File Input Group Styling */
|
|
.file-input-group {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: white;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.file-input-group:focus-within {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.file-input-group input {
|
|
flex: 1;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
margin: 0;
|
|
box-shadow: none !important;
|
|
background: transparent;
|
|
}
|
|
|
|
.file-input-group input:focus {
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
/* Modern Browse Button Styling */
|
|
.browse-button {
|
|
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem 1.25rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border-radius: 0;
|
|
white-space: nowrap;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.browse-button::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.browse-button:hover {
|
|
background: linear-gradient(135deg, var(--secondary-color) 0%, #1d4ed8 100%);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.browse-button:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.browse-button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Filename Display Styling */
|
|
.filename-display {
|
|
color: var(--text-light);
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
margin-left: 0.5rem;
|
|
padding: 0.75rem 0;
|
|
}
|
|
|
|
/* Key Management Headers */
|
|
.keys-header,
|
|
.generate-key-header,
|
|
.add-key-header,
|
|
.remotes-header {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Plugin Management Headers */
|
|
.plugin-header {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.keys-header .keys-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.keys-header h3,
|
|
.generate-key-header h3,
|
|
.add-key-header h3,
|
|
.remotes-header h3 {
|
|
color: var(--text-color);
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
.keys-header p,
|
|
.generate-key-header p,
|
|
.add-key-header p,
|
|
.remotes-header p {
|
|
color: var(--text-light);
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Form Styling */
|
|
.generate-key-form,
|
|
.add-key-form,
|
|
.plugin-form {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 2rem;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid var(--border-color);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
background: white;
|
|
color: var(--text-color);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.form-group small {
|
|
display: block;
|
|
color: var(--text-light);
|
|
font-size: 0.85rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.form-actions {
|
|
margin-top: 2rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr auto;
|
|
gap: 1rem;
|
|
align-items: end;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.action-button {
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.action-button.primary {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.action-button.primary:hover {
|
|
background: var(--secondary-color);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.action-button.secondary {
|
|
background: white;
|
|
color: var(--primary-color);
|
|
border: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.action-button.secondary:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.action-button.danger {
|
|
background: #ef4444;
|
|
color: white;
|
|
}
|
|
|
|
.action-button.danger:hover {
|
|
background: #dc2626;
|
|
}
|
|
|
|
/* Notice Banners */
|
|
.security-notice,
|
|
.info-notice {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.warning-banner,
|
|
.info-banner {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
padding: 1rem 1.25rem;
|
|
border-radius: 8px;
|
|
border-left: 4px solid;
|
|
}
|
|
|
|
.warning-banner {
|
|
background: #fef3c7;
|
|
border-left-color: #f59e0b;
|
|
}
|
|
|
|
.info-banner {
|
|
background: #dbeafe;
|
|
border-left-color: var(--primary-color);
|
|
}
|
|
|
|
.warning-icon,
|
|
.info-icon {
|
|
font-size: 1.2rem;
|
|
flex-shrink: 0;
|
|
margin-top: 0.1rem;
|
|
}
|
|
|
|
.warning-text,
|
|
.info-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.warning-text strong,
|
|
.info-text strong {
|
|
color: #92400e;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-text strong {
|
|
color: #1e40af;
|
|
}
|
|
|
|
/* Keys List Container */
|
|
#keys-list-container {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid var(--border-color);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Key Source Sections */
|
|
.key-source-section {
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.key-source-section:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.source-header {
|
|
background: #f8fafc;
|
|
padding: 1rem 1.5rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.source-header h4 {
|
|
margin: 0;
|
|
color: var(--text-color);
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.key-count {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.keys-table-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.keys-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.keys-table table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.keys-table th,
|
|
.keys-table td {
|
|
padding: 1rem 1.5rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.keys-table th {
|
|
background: #f8fafc;
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.keys-table td {
|
|
color: var(--text-color);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.keys-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.keys-table tr:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.key-fingerprint {
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
|
|
font-size: 0.85rem;
|
|
color: var(--text-light);
|
|
background: #f1f5f9;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.key-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-small {
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: #ef4444;
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background: #dc2626;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--secondary-color);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Remote Sources Styling */
|
|
.add-remote-form {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 2rem;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid var(--border-color);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.add-remote-form h4 {
|
|
color: var(--text-color);
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin: 0 0 1.5rem 0;
|
|
}
|
|
|
|
#remotes-list-container {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid var(--border-color);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.remotes-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.remotes-table th,
|
|
.remotes-table td {
|
|
padding: 1rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.remotes-table th {
|
|
background: #f8fafc;
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.remotes-table tr:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
/* Empty States */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem 2rem;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-state h3 {
|
|
color: var(--text-color);
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
.empty-state p {
|
|
color: var(--text-light);
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Dark Mode Support */
|
|
body.dark-mode .key-management-view {
|
|
background: var(--bg-color);
|
|
}
|
|
|
|
body.dark-mode .generate-key-form,
|
|
body.dark-mode .add-key-form,
|
|
body.dark-mode .add-remote-form,
|
|
body.dark-mode #keys-list-container,
|
|
body.dark-mode #remotes-list-container {
|
|
background: #1e293b;
|
|
border-color: #334155;
|
|
}
|
|
|
|
body.dark-mode .source-header {
|
|
background: #0f172a;
|
|
}
|
|
|
|
body.dark-mode .keys-table th,
|
|
body.dark-mode .remotes-table th {
|
|
background: #0f172a;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .keys-table tr:hover,
|
|
body.dark-mode .remotes-table tr:hover {
|
|
background: #0f172a;
|
|
}
|
|
|
|
body.dark-mode .form-group input,
|
|
body.dark-mode .form-group select {
|
|
background: #0f172a;
|
|
border-color: #334155;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .form-group input:focus,
|
|
body.dark-mode .form-group select:focus {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
body.dark-mode .key-fingerprint {
|
|
background: #0f172a;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
body.dark-mode .warning-banner {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
border-left-color: #f59e0b;
|
|
}
|
|
|
|
body.dark-mode .info-banner {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border-left-color: var(--primary-color);
|
|
}
|
|
|
|
body.dark-mode .warning-text strong {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
body.dark-mode .info-text strong {
|
|
color: #60a5fa;
|
|
}
|
|
|
|
/* Modern Key Add Success Modal */
|
|
.key-add-success-modern {
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.success-header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.success-icon {
|
|
margin: 0 auto 1rem auto;
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.success-header h3 {
|
|
color: var(--text-color);
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
.success-subtitle {
|
|
color: var(--text-light);
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.key-details-card {
|
|
background: #f8fafc;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
padding: 1.5rem;
|
|
margin: 1.5rem 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.detail-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.detail-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--text-light);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
min-width: 100px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.detail-label svg {
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.detail-value {
|
|
flex: 1;
|
|
color: var(--text-color);
|
|
font-size: 0.95rem;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.fingerprint-value {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fingerprint-value code {
|
|
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
|
|
font-size: 0.8rem;
|
|
background: #e2e8f0;
|
|
color: #475569;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.copy-btn {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.copy-btn:hover {
|
|
background: var(--secondary-color);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.success-footer {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.info-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
background: #dbeafe;
|
|
border: 1px solid #93c5fd;
|
|
border-radius: 8px;
|
|
padding: 0.75rem 1rem;
|
|
color: #1e40af;
|
|
font-size: 0.9rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.info-banner svg {
|
|
color: #3b82f6;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Dark Mode Support for Modern Modal */
|
|
body.dark-mode .key-details-card {
|
|
background: #1e293b;
|
|
border-color: #334155;
|
|
}
|
|
|
|
body.dark-mode .fingerprint-value code {
|
|
background: #0f172a;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
body.dark-mode .info-banner {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
color: #60a5fa;
|
|
}
|
|
|
|
body.dark-mode .info-banner svg {
|
|
color: #60a5fa;
|
|
}
|
|
|
|
/* Dark Mode Support for File Input Groups and Browse Buttons */
|
|
body.dark-mode .file-input-group {
|
|
background: #1e293b;
|
|
border-color: #334155;
|
|
}
|
|
|
|
body.dark-mode .file-input-group input {
|
|
background: transparent;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
body.dark-mode .browse-button {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
|
|
}
|
|
|
|
body.dark-mode .browse-button:hover {
|
|
background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
|
|
}
|
|
|
|
body.dark-mode .filename-display {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 1024px) {
|
|
.key-management-view {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.form-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.key-management-view {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.generate-key-form,
|
|
.add-key-form,
|
|
.add-remote-form {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.keys-table,
|
|
.remotes-table {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.keys-table th,
|
|
.keys-table td,
|
|
.remotes-table th,
|
|
.remotes-table td {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.key-actions {
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.key-add-success-modern {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.fingerprint-value {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.detail-row {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.detail-label {
|
|
min-width: auto;
|
|
}
|
|
}
|
|
|
|
#welcome-screen h1 {
|
|
font-size: 2rem;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
#welcome-screen p {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Responsive content area */
|
|
@media (max-width: 1024px) {
|
|
#welcome-screen h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
#welcome-screen p {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#welcome-screen {
|
|
padding: 15px;
|
|
}
|
|
|
|
#welcome-screen h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#welcome-screen p {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
.content-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 25px;
|
|
min-height: 80px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
background-color: var(--content-bg);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.content-header h2 {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.action-buttons button {
|
|
margin-left: 10px;
|
|
padding: 8px 16px;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--primary-color);
|
|
background-color: transparent;
|
|
color: var(--primary-color);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.action-buttons button:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
/* Bundle View */
|
|
#bundle-view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Tabs */
|
|
.tab-nav {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--border-color);
|
|
background-color: var(--background-color);
|
|
overflow-x: auto;
|
|
flex-shrink: 0;
|
|
padding: 0 25px;
|
|
}
|
|
|
|
.tab-link {
|
|
padding: 15px 20px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
color: var(--text-light);
|
|
border-bottom: 3px solid transparent;
|
|
transition: all 0.2s;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tab-link.active {
|
|
color: var(--text-color);
|
|
border-bottom-color: var(--primary-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tab-link:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Dark mode tab styling */
|
|
body.dark-mode .tab-nav {
|
|
background-color: #374151;
|
|
border-bottom: 1px solid #4b5563;
|
|
}
|
|
|
|
body.dark-mode .tab-link {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
body.dark-mode .tab-link.active {
|
|
color: #f3f4f6;
|
|
border-bottom-color: var(--primary-color);
|
|
}
|
|
|
|
body.dark-mode .tab-link:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Responsive tabs */
|
|
@media (max-width: 1024px) {
|
|
.tab-link {
|
|
padding: 12px 16px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.tab-link {
|
|
padding: 10px 12px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.tab-nav {
|
|
padding: 0 15px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
|
|
#tab-content {
|
|
padding: 25px;
|
|
overflow-y: auto;
|
|
flex-grow: 1;
|
|
background-color: var(--bg-color);
|
|
}
|
|
|
|
.tab-pane {
|
|
display: none;
|
|
}
|
|
|
|
.tab-pane.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Card-based info display */
|
|
.card {
|
|
background-color: var(--content-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin-bottom: 15px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: 150px 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.info-grid .label {
|
|
font-weight: 600;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.info-grid .value.signature {
|
|
word-break: break-all;
|
|
font-family: monospace;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Trust Indicator */
|
|
.trust-indicator-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.trust-indicator {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.trust-indicator.trusted {
|
|
background-color: #10b981; /* Green for trusted */
|
|
}
|
|
.trust-indicator.untrusted {
|
|
background-color: #ef4444; /* Red for untrusted */
|
|
}
|
|
.trust-indicator.unsigned {
|
|
background-color: #f59e0b; /* Amber for unsigned */
|
|
}
|
|
.trust-indicator.warning {
|
|
background-color: #f59e0b; /* Amber for warning */
|
|
}
|
|
|
|
/* Dark mode trust indicators */
|
|
body.dark-mode .trust-indicator.trusted {
|
|
background-color: #34d399; /* Lighter green for dark mode */
|
|
}
|
|
body.dark-mode .trust-indicator.untrusted {
|
|
background-color: #f87171; /* Lighter red for dark mode */
|
|
}
|
|
body.dark-mode .trust-indicator.unsigned {
|
|
background-color: #fbbf24; /* Lighter amber for dark mode */
|
|
}
|
|
body.dark-mode .trust-indicator.warning {
|
|
background-color: #fbbf24; /* Lighter amber for dark mode */
|
|
}
|
|
|
|
/* Plugins List */
|
|
#plugins-list .plugin-item {
|
|
background-color: var(--content-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#plugins-list h4 {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Validation Results */
|
|
#validation-results {
|
|
background-color: var(--content-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* Modal Styles */
|
|
.modal-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
max-width: 500px;
|
|
width: 90%;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
color: #1f2937;
|
|
}
|
|
|
|
/* Dark mode modal content */
|
|
body.dark-mode .modal-content {
|
|
background-color: #374151;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
/* Responsive modal adjustments */
|
|
@media (max-width: 1024px) {
|
|
.modal-content {
|
|
max-width: 450px;
|
|
width: 95%;
|
|
padding: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.modal-container {
|
|
padding: 15px;
|
|
}
|
|
|
|
.modal-content {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
max-height: 85vh;
|
|
padding: 16px;
|
|
border-radius: 6px;
|
|
}
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
color: #6b7280;
|
|
background: transparent;
|
|
border: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: #374151;
|
|
background: rgba(107, 114, 128, 0.1);
|
|
}
|
|
|
|
/* Dark mode close button */
|
|
body.dark-mode .modal-close {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
body.dark-mode .modal-close:hover {
|
|
color: #f3f4f6;
|
|
background: rgba(156, 163, 175, 0.1);
|
|
}
|
|
|
|
#modal-title {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Utility */
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Fill Modal Specifics */
|
|
#fill-targets-list,
|
|
#fill-progress-list {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
padding: 10px;
|
|
margin-top: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.fill-target-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.fill-target-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.fill-target-item label {
|
|
flex-grow: 1;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.progress-indicator {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 10px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Inline Editing Styles */
|
|
.editable-field {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.edit-icon {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.edit-icon:hover {
|
|
background-color: var(--border-color);
|
|
opacity: 1;
|
|
}
|
|
|
|
.field-input {
|
|
padding: 4px 8px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-family: var(--font-family);
|
|
background-color: white;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.field-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
|
|
}
|
|
|
|
.field-display {
|
|
flex: 1;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Fill Tab Styles */
|
|
#fill-tab {
|
|
max-height: calc(100vh - 200px);
|
|
overflow-y: auto;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.fill-header {
|
|
margin-bottom: 20px;
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: var(--main-bg);
|
|
z-index: 10;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.fill-header h3 {
|
|
margin-bottom: 8px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.fill-header p {
|
|
color: var(--text-light);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.fill-header-actions {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#fill-targets-container {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#fill-plugins-tables {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.fill-plugin-table {
|
|
margin-bottom: 24px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fill-plugin-header {
|
|
background-color: var(--bg-color);
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.fill-targets-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.fill-targets-table th,
|
|
.fill-targets-table td {
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.fill-targets-table th {
|
|
background-color: #f8f9fa;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
}
|
|
|
|
/* Dark mode table headers */
|
|
body.dark-mode .fill-targets-table th {
|
|
background-color: #374151;
|
|
color: #f3f4f6;
|
|
border-bottom: 2px solid #4b5563;
|
|
}
|
|
|
|
.fill-targets-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.fill-targets-table tr:hover {
|
|
background-color: rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
/* Dark mode table row hover */
|
|
body.dark-mode .fill-targets-table tr:hover {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
/* Dark mode table cells */
|
|
body.dark-mode .fill-targets-table td {
|
|
color: #f3f4f6;
|
|
border-bottom: 1px solid #4b5563;
|
|
}
|
|
|
|
.fill-target-checkbox {
|
|
margin-right: 8px;
|
|
border-color: var(--primary-hover);
|
|
}
|
|
|
|
/* Modern Action Button Base Styling */
|
|
.action-button {
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: none;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.action-button:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.action-button.primary {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
|
|
color: white;
|
|
border: 1px solid #2563eb;
|
|
}
|
|
|
|
.action-button.primary:hover {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.action-button.secondary {
|
|
background: white;
|
|
color: #374151;
|
|
border: 1px solid #d1d5db;
|
|
}
|
|
|
|
.action-button.secondary:hover {
|
|
background: #f9fafb;
|
|
border-color: #9ca3af;
|
|
}
|
|
|
|
/* Dark mode action buttons */
|
|
body.dark-mode .action-button.secondary {
|
|
background: #4b5563;
|
|
color: #f3f4f6;
|
|
border: 1px solid #6b7280;
|
|
}
|
|
|
|
body.dark-mode .action-button.secondary:hover {
|
|
background: #5b6572;
|
|
border-color: #9ca3af;
|
|
}
|
|
|
|
.fill-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 16px 0;
|
|
border-top: 1px solid var(--border-color);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Fill tab header with sticky blurred background */
|
|
.fill-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid rgba(229, 231, 235, 0.5);
|
|
padding: 20px 25px;
|
|
margin: -25px -25px 20px -25px;
|
|
}
|
|
|
|
/* Dark mode sticky header */
|
|
body.dark-mode .fill-header {
|
|
background: rgba(55, 65, 81, 0.9);
|
|
border-bottom: 1px solid rgba(75, 85, 99, 0.5);
|
|
}
|
|
|
|
.fill-header h3 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
}
|
|
|
|
body.dark-mode .fill-header h3 {
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.fill-header p {
|
|
margin: 0 0 16px 0;
|
|
color: #6b7280;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
body.dark-mode .fill-header p {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.fill-header-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
#fill-progress-container {
|
|
margin-bottom: 20px;
|
|
padding: 20px 30px;
|
|
background-color: #f8f9fa;
|
|
border-radius: 8px;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
#fill-progress-content {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.progress-item {
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.progress-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.progress-status {
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.progress-status.building {
|
|
background-color: #fef3c7;
|
|
color: #92400e;
|
|
}
|
|
|
|
.progress-status.success {
|
|
background-color: #d1fae5;
|
|
color: #065f46;
|
|
}
|
|
|
|
.progress-status.failure {
|
|
background-color: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
|
|
/* Signature Warning Modal */
|
|
#signature-warning-modal .modal-content {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.signature-warning-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.warning-message {
|
|
margin: 20px 0;
|
|
padding: 20px;
|
|
background-color: #fef3c7;
|
|
border: 1px solid #f59e0b;
|
|
border-radius: 8px;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Dark mode warning message */
|
|
body.dark-mode .warning-message {
|
|
background-color: rgba(245, 158, 11, 0.15);
|
|
border: 1px solid rgba(245, 158, 11, 0.4);
|
|
}
|
|
|
|
.warning-text {
|
|
line-height: 1.5;
|
|
color: #92400e;
|
|
}
|
|
|
|
/* Dark mode warning text */
|
|
body.dark-mode .warning-text {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.warning-text strong {
|
|
color: #78350f;
|
|
}
|
|
|
|
/* Dark mode warning text strong */
|
|
body.dark-mode .warning-text strong {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
/* Save Options Modal */
|
|
.save-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.save-option-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 16px;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 8px;
|
|
background: white;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-align: left;
|
|
}
|
|
|
|
/* Dark mode save option buttons */
|
|
body.dark-mode .save-option-btn {
|
|
background: #4b5563;
|
|
border-color: #6b7280;
|
|
}
|
|
|
|
.save-option-btn:hover {
|
|
border-color: var(--primary-color);
|
|
background-color: rgba(52, 152, 219, 0.05);
|
|
}
|
|
|
|
/* Dark mode save option buttons hover */
|
|
body.dark-mode .save-option-btn:hover {
|
|
border-color: var(--primary-color);
|
|
background-color: rgba(59, 130, 246, 0.15);
|
|
}
|
|
|
|
.save-option-btn.primary {
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
body.dark-mode .save-option-btn.primary {
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.save-option-btn.secondary {
|
|
border-color: var(--text-light);
|
|
}
|
|
|
|
body.dark-mode .save-option-btn.secondary {
|
|
border-color: #9ca3af;
|
|
}
|
|
|
|
.save-option-btn strong {
|
|
font-size: 16px;
|
|
margin-bottom: 4px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
body.dark-mode .save-option-btn strong {
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.save-option-btn small {
|
|
font-size: 14px;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
body.dark-mode .save-option-btn small {
|
|
color: #d1d5db;
|
|
}
|
|
|
|
.progress-indicator.spinner-icon {
|
|
border: 2px solid var(--text-color-light);
|
|
border-top: 2px solid var(--primary-color);
|
|
border-radius: 50%;
|
|
width: 16px;
|
|
height: 16px;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
.progress-indicator.success-icon::before {
|
|
content: '✔';
|
|
color: var(--success-color);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.progress-indicator.failure-icon::before {
|
|
content: '✖';
|
|
color: var(--error-color);
|
|
font-size: 20px;
|
|
}
|
|
|
|
#start-fill-button {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1em;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
#start-fill-button:hover {
|
|
background-color: var(--primary-color-dark);
|
|
}
|
|
|
|
/* Old spinner - now unused, keeping for compatibility */
|
|
.spinner-old {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
border: 4px solid rgba(0, 0, 0, 0.1);
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
border-left-color: var(--primary-color);
|
|
animation: spin 1s ease infinite;
|
|
z-index: 2000;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Info Modal */
|
|
.info-modal-content {
|
|
max-width: 600px;
|
|
max-height: 80vh;
|
|
padding-top: 50px;
|
|
padding-right: 50px;
|
|
}
|
|
|
|
.info-modal-body {
|
|
padding: 0;
|
|
}
|
|
|
|
.info-tab-nav {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--border-color);
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* Dark mode info tab nav */
|
|
body.dark-mode .info-tab-nav {
|
|
background-color: #374151;
|
|
border-bottom: 1px solid #4b5563;
|
|
}
|
|
|
|
.info-tab-link {
|
|
flex: 1;
|
|
padding: 12px 16px;
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: #6b7280;
|
|
transition: all 0.2s ease;
|
|
border-bottom: 2px solid transparent;
|
|
}
|
|
|
|
/* Dark mode info tab links */
|
|
body.dark-mode .info-tab-link {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.info-tab-link:hover {
|
|
background-color: #e5e7eb;
|
|
color: #374151;
|
|
}
|
|
|
|
body.dark-mode .info-tab-link:hover {
|
|
background-color: #4b5563;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.info-tab-link.active {
|
|
color: #3b82f6;
|
|
border-bottom-color: #3b82f6;
|
|
background-color: white;
|
|
}
|
|
|
|
body.dark-mode .info-tab-link.active {
|
|
color: #3b82f6;
|
|
border-bottom-color: #3b82f6;
|
|
background-color: #4b5563;
|
|
}
|
|
|
|
.info-tab-content {
|
|
padding: 24px 60px 24px 24px;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
background-color: white;
|
|
color: #1f2937;
|
|
}
|
|
|
|
/* Dark mode info tab content */
|
|
body.dark-mode .info-tab-content {
|
|
background-color: #374151;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.info-tab-pane {
|
|
display: none;
|
|
}
|
|
|
|
.info-tab-pane.active {
|
|
display: block;
|
|
}
|
|
|
|
.info-tab-pane h4 {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
color: #1f2937;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
body.dark-mode .info-tab-pane h4 {
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.info-tab-pane h5 {
|
|
margin-top: 20px;
|
|
margin-bottom: 12px;
|
|
color: #374151;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
body.dark-mode .info-tab-pane h5 {
|
|
color: #d1d5db;
|
|
}
|
|
|
|
.info-tab-pane p {
|
|
color: #6b7280;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
body.dark-mode .info-tab-pane p {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.info-tab-pane a {
|
|
color: #3b82f6;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.info-tab-pane a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
body.dark-mode .info-tab-pane a {
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.info-tab-pane p {
|
|
margin-bottom: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* OPAT File Inspector Styling */
|
|
#opat-tab-content {
|
|
padding: 20px;
|
|
height: calc(100vh - 200px);
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#opat-tab-content .tab-pane {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* OPAT Plotting Tab Styling */
|
|
.plot-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.plot-control-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.plot-control-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
.plot-control-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.opat-input {
|
|
padding: 8px 12px;
|
|
background: white;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
color: #374151;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.opat-input:focus {
|
|
outline: none;
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
body.dark-mode .opat-input {
|
|
background: #4b5563;
|
|
border: 1px solid #6b7280;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
body.dark-mode .opat-input:focus {
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.plot-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #e5e7eb;
|
|
}
|
|
|
|
body.dark-mode .plot-actions {
|
|
border-top: 1px solid #4b5563;
|
|
}
|
|
|
|
.plot-container {
|
|
min-height: 500px;
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
body.dark-mode .plot-container {
|
|
background: #374151;
|
|
border: 1px solid #4b5563;
|
|
}
|
|
|
|
.plot-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 500px;
|
|
color: #9ca3af;
|
|
font-style: italic;
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
body.dark-mode .plot-placeholder {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.plot-display {
|
|
width: 100%;
|
|
height: 500px;
|
|
}
|
|
|
|
/* Plotly.js theme integration */
|
|
.plot-display .plotly {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
body.dark-mode .plot-display .plotly {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
/* Custom plotly toolbar styling */
|
|
.plot-display .modebar {
|
|
background: rgba(255, 255, 255, 0.9) !important;
|
|
border-radius: 6px !important;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
|
|
border: 1px solid #e5e7eb !important;
|
|
}
|
|
|
|
body.dark-mode .plot-display .modebar {
|
|
background: rgba(55, 65, 81, 0.9) !important;
|
|
border: 1px solid #4b5563 !important;
|
|
}
|
|
|
|
.plot-display .modebar-btn {
|
|
color: #374151 !important;
|
|
}
|
|
|
|
body.dark-mode .plot-display .modebar-btn {
|
|
color: #f3f4f6 !important;
|
|
}
|
|
|
|
.plot-display .modebar-btn:hover {
|
|
background: rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
body.dark-mode .plot-display .modebar-btn:hover {
|
|
background: rgba(59, 130, 246, 0.2) !important;
|
|
}
|
|
|
|
.opat-table-container {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
height: calc(100vh - 450px);
|
|
}
|
|
|
|
.table-scroll-wrapper {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 300px;
|
|
overflow: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
#opat-tab-content .tab-pane {
|
|
padding: 0;
|
|
}
|
|
|
|
/* Fill Progress Enhancements */
|
|
.progress-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-weight: 500;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.progress-status.building {
|
|
color: #f59e0b;
|
|
background: rgba(245, 158, 11, 0.1);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.progress-status.success {
|
|
color: #10b981;
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.progress-status.failed {
|
|
color: #ef4444;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
/* Spinner Animation */
|
|
.spinner {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 1.5px solid rgba(245, 158, 11, 0.2);
|
|
border-top: 1.5px solid #f59e0b;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Progress Logs */
|
|
.progress-logs {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.toggle-logs-btn {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 4px 8px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
color: var(--text-light);
|
|
transition: all 0.2s ease;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.toggle-logs-btn:hover {
|
|
color: var(--text-color);
|
|
background: var(--hover-color);
|
|
}
|
|
|
|
.logs-content {
|
|
margin-top: 6px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background: #1a1a1a;
|
|
max-height: 150px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.logs-content.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.terminal-output {
|
|
background: #1a1a1a;
|
|
color: #e5e7eb;
|
|
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
|
|
font-size: 10px;
|
|
line-height: 1.3;
|
|
padding: 8px 10px;
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Fill progress item layout improvements */
|
|
.fill-progress-item {
|
|
background: var(--background-color);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.progress-target {
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.progress-bar {
|
|
background: var(--hover-color);
|
|
border-radius: 4px;
|
|
height: 6px;
|
|
margin: 8px 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
background: var(--primary-color);
|
|
height: 100%;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* Dark mode adjustments */
|
|
body.dark-mode .toggle-logs-btn {
|
|
background: #374151;
|
|
border-color: #4b5563;
|
|
color: #e5e7eb;
|
|
}
|
|
|
|
body.dark-mode .toggle-logs-btn:hover {
|
|
background: #4b5563;
|
|
}
|
|
|
|
body.dark-mode .logs-content {
|
|
border-color: #4b5563;
|
|
}
|
|
.opat-section {
|
|
margin-bottom: 20px;
|
|
padding: 16px;
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
body.dark-mode .opat-section {
|
|
background: #4b5563;
|
|
border: 1px solid #6b7280;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.opat-label {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: #374151;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
body.dark-mode .opat-label {
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.opat-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.opat-content-wrapper {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.opat-info-section {
|
|
margin: 0 20px 24px 20px;
|
|
padding: 20px 30px;
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
body.dark-mode .opat-info-section {
|
|
background: #4b5563;
|
|
border: 1px solid #6b7280;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.opat-section-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
margin: 0 0 12px 0;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
body.dark-mode .opat-section-title {
|
|
color: #f3f4f6;
|
|
border-bottom: 1px solid #6b7280;
|
|
}
|
|
|
|
.opat-info-content {
|
|
font-size: 0.85rem;
|
|
color: #6b7280;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
body.dark-mode .opat-info-content {
|
|
color: #d1d5db;
|
|
}
|
|
|
|
.opat-tags-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.opat-tags-list li {
|
|
padding: 6px 12px;
|
|
margin: 4px 0;
|
|
background: #f9fafb;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-family: monospace;
|
|
color: #059669;
|
|
}
|
|
|
|
body.dark-mode .opat-tags-list li {
|
|
background: #374151;
|
|
border: 1px solid #4b5563;
|
|
color: #10b981;
|
|
}
|
|
|
|
.opat-selector-group {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.opat-select {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: white;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
color: #374151;
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.dark-mode .opat-select {
|
|
background: #374151;
|
|
border: 1px solid #4b5563;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.opat-tables-display {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.opat-table-info {
|
|
padding: 12px;
|
|
margin: 8px 0;
|
|
background: #f8f9fa;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.opat-table-info:hover {
|
|
background: #e5e7eb;
|
|
border-color: #3b82f6;
|
|
}
|
|
|
|
body.dark-mode .opat-table-info {
|
|
background: #374151;
|
|
border: 1px solid #4b5563;
|
|
}
|
|
|
|
body.dark-mode .opat-table-info:hover {
|
|
background: #4b5563;
|
|
border-color: #3b82f6;
|
|
}
|
|
|
|
.opat-table-tag {
|
|
font-weight: 600;
|
|
color: #059669;
|
|
font-family: monospace;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
body.dark-mode .opat-table-tag {
|
|
color: #10b981;
|
|
}
|
|
|
|
.opat-table-details {
|
|
font-size: 0.8rem;
|
|
color: #6b7280;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
body.dark-mode .opat-table-details {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.opat-table-viewer {
|
|
max-height: 400px;
|
|
overflow: auto;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 6px;
|
|
background: white;
|
|
}
|
|
|
|
body.dark-mode .opat-table-viewer {
|
|
border: 1px solid #4b5563;
|
|
background: #374151;
|
|
}
|
|
|
|
.opat-placeholder {
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: #9ca3af;
|
|
font-style: italic;
|
|
margin: 0;
|
|
}
|
|
|
|
body.dark-mode .opat-placeholder {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.opat-data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.8rem;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.opat-data-table th,
|
|
.opat-data-table td {
|
|
padding: 6px 8px;
|
|
border: 1px solid #e5e7eb;
|
|
text-align: center;
|
|
}
|
|
|
|
body.dark-mode .opat-data-table th,
|
|
body.dark-mode .opat-data-table td {
|
|
border: 1px solid #4b5563;
|
|
}
|
|
|
|
.opat-data-table th {
|
|
background: #f8f9fa;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
body.dark-mode .opat-data-table th {
|
|
background: #4b5563;
|
|
color: #f3f4f6;
|
|
}
|
|
|
|
.opat-data-table th.row-header {
|
|
background-color: #f8fafc;
|
|
font-weight: 600;
|
|
text-align: right;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
body.dark-mode .opat-data-table th.row-header {
|
|
background: #4b5563;
|
|
}
|
|
|
|
.table-controls {
|
|
margin: 1rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.show-all-btn, .show-less-btn {
|
|
background-color: #3b82f6;
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.show-all-btn:hover, .show-less-btn:hover {
|
|
background-color: #2563eb;
|
|
}
|
|
|
|
.show-less-btn {
|
|
background-color: #6b7280;
|
|
}
|
|
|
|
.show-less-btn:hover {
|
|
background-color: #4b5563;
|
|
}
|
|
|
|
.opat-data-table .corner-cell {
|
|
position: sticky;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
background: #e5e7eb;
|
|
}
|
|
|
|
body.dark-mode .opat-data-table .corner-cell {
|
|
background: #6b7280;
|
|
}
|
|
|
|
.opat-table-title {
|
|
padding: 12px 16px;
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
background: #f8f9fa;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
body.dark-mode .opat-table-title {
|
|
color: #f3f4f6;
|
|
background: #4b5563;
|
|
border-bottom: 1px solid #6b7280;
|
|
}
|
|
|
|
.opat-table-tag-highlight {
|
|
color: #059669;
|
|
font-family: monospace;
|
|
}
|
|
|
|
body.dark-mode .opat-table-tag-highlight {
|
|
color: #10b981;
|
|
}
|
|
|
|
.info-tab-pane ul {
|
|
margin: 12px 0;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.info-tab-pane li {
|
|
margin-bottom: 8px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.info-links {
|
|
margin-top: 20px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.info-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #3b82f6;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.info-link:hover {
|
|
background-color: #eff6ff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.link-icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.license-content {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.license-text {
|
|
width: 100%;
|
|
height: 400px;
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
resize: vertical;
|
|
background-color: #f8f9fa;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.funding-content,
|
|
.help-content {
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ===== DOCUMENTATION VIEWER STYLES ===== */
|
|
|
|
/* Documentation sidebar styles */
|
|
.docs-search-container {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.docs-search-input {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.docs-search-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.docs-categories {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.docs-category-select {
|
|
width: 100%;
|
|
padding: 6px 10px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.docs-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.docs-item {
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
.docs-item:hover {
|
|
border-color: var(--primary-color);
|
|
background-color: var(--hover-color);
|
|
}
|
|
|
|
.docs-item-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--text-color);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.docs-item-desc {
|
|
font-size: 12px;
|
|
color: var(--text-light);
|
|
line-height: 1.3;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.docs-item-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.docs-item-category {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
/* Documentation home screen styles */
|
|
.docs-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.docs-card {
|
|
background: var(--background-color);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.docs-card:hover {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.docs-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.docs-card-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: var(--primary-color);
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.docs-card-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
margin: 0;
|
|
}
|
|
|
|
.docs-card-desc {
|
|
color: var(--text-light);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.docs-card-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.docs-card-version {
|
|
background-color: var(--hover-color);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.docs-card-category {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.docs-features {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.docs-features h4 {
|
|
color: var(--text-color);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.docs-features ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.docs-features li {
|
|
padding: 4px 0;
|
|
color: var(--text-light);
|
|
position: relative;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.docs-features li::before {
|
|
content: "✓";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--primary-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Documentation viewer styles */
|
|
.docs-viewer-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: calc(100vh - 80px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.docs-info-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 10px 20px;
|
|
background-color: var(--hover-color);
|
|
border-bottom: 1px solid var(--border-color);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.docs-current-lib {
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.docs-current-version {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.docs-iframe-container {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#docs-iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
background-color: white;
|
|
}
|
|
|
|
.action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.action-btn:hover {
|
|
border-color: var(--primary-color);
|
|
background-color: var(--hover-color);
|
|
}
|
|
|
|
.action-btn span {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Responsive documentation styles */
|
|
@media (max-width: 768px) {
|
|
.docs-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.docs-card {
|
|
padding: 15px;
|
|
}
|
|
|
|
.docs-card-header {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.docs-card-icon {
|
|
width: 35px;
|
|
height: 35px;
|
|
font-size: 16px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.docs-card-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.docs-info-bar {
|
|
padding: 8px 15px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.action-btn {
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
}
|
|
}
|