Files
fourdst/electron/styles.css

1592 lines
29 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);
}
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);
}
/* 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;
justify-content: center;
align-items: center;
height: 100%;
text-align: center;
color: var(--text-light);
padding: 20px;
}
#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-top: 20px;
padding: 16px;
background-color: var(--sidebar-bg);
border-radius: 8px;
border: 1px solid var(--border-color);
}
#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);
}
.spinner {
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;
}
.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: 200px;
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;
}
.funding-content,
.help-content {
line-height: 1.6;
}