970 lines
No EOL
20 KiB
CSS
970 lines
No EOL
20 KiB
CSS
/* Professional Clean Design for DocTags Tools */
|
|
|
|
:root {
|
|
/* Exact color palette */
|
|
--primary-bg: #f8f1ee;
|
|
--surface-white: #ffffff;
|
|
--surface-light: #f5f7fa;
|
|
--primary-dark: #195162;
|
|
--primary-medium: #618794;
|
|
--accent-mint: #b9e9da;
|
|
--accent-amber: #ffdb96;
|
|
--accent-rose: #ffc9c9;
|
|
--text-dark: #2c3e50;
|
|
--text-medium: #546e7a;
|
|
--text-light: #78909c;
|
|
--border-light: #e1e8ed;
|
|
--success: #27ae60;
|
|
--error: #e74c3c;
|
|
--warning: #f39c12;
|
|
|
|
/* Design system */
|
|
--shadow-sm: 0 1px 3px rgba(25, 81, 98, 0.08);
|
|
--shadow-md: 0 4px 12px rgba(25, 81, 98, 0.10);
|
|
--shadow-lg: 0 8px 24px rgba(25, 81, 98, 0.12);
|
|
--radius-sm: 6px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
--spacing-xs: 8px;
|
|
--spacing-sm: 12px;
|
|
--spacing-md: 16px;
|
|
--spacing-lg: 24px;
|
|
--spacing-xl: 32px;
|
|
}
|
|
/* Professional Enterprise Title Styles - Add this after the :root variables in styles.css */
|
|
|
|
/* Enterprise Style Title */
|
|
.title-enterprise {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
margin-bottom: 48px;
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.title-enterprise .brand-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
background: var(--surface-white);
|
|
border-radius: 16px;
|
|
box-shadow: var(--shadow-lg);
|
|
position: relative;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.title-enterprise .brand-icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: linear-gradient(45deg, var(--accent-mint) 0%, transparent 70%);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.title-enterprise .brand-icon svg {
|
|
width: 36px;
|
|
height: 36px;
|
|
fill: var(--primary-dark);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.title-enterprise .brand-text {
|
|
text-align: left;
|
|
}
|
|
|
|
.title-enterprise h1 {
|
|
font-size: 2.25rem;
|
|
font-weight: 600;
|
|
color: var(--primary-dark);
|
|
margin: 0 0 4px 0;
|
|
letter-spacing: -0.025em;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.title-enterprise .pro-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 12px;
|
|
background: var(--accent-amber);
|
|
color: var(--primary-dark);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.05em;
|
|
border-radius: 6px;
|
|
text-transform: uppercase;
|
|
line-height: 1;
|
|
}
|
|
|
|
.title-enterprise .tagline {
|
|
font-size: 1rem;
|
|
color: var(--text-medium);
|
|
font-weight: 400;
|
|
margin: 0;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
/* Update the old h1 styles to remove conflicts */
|
|
body > .container > h1 {
|
|
display: none; /* Hide if there's still an old h1 */
|
|
}
|
|
|
|
/* Responsive adjustments for the title */
|
|
@media (max-width: 768px) {
|
|
.title-enterprise {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: 16px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.title-enterprise .brand-text {
|
|
text-align: center;
|
|
}
|
|
|
|
.title-enterprise h1 {
|
|
font-size: 1.75rem;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.title-enterprise .brand-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
.title-enterprise .brand-icon svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.title-enterprise .tagline {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background: var(--primary-bg);
|
|
color: var(--text-dark);
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
padding: var(--spacing-lg);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Typography */
|
|
h1 {
|
|
color: var(--primary-dark);
|
|
text-align: center;
|
|
margin: 0 0 var(--spacing-xl) 0;
|
|
font-size: 2.25rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
h3 {
|
|
color: var(--primary-dark);
|
|
font-weight: 600;
|
|
font-size: 1.125rem;
|
|
margin: 0 0 var(--spacing-sm) 0;
|
|
}
|
|
|
|
h4 {
|
|
color: var(--primary-dark);
|
|
font-weight: 500;
|
|
font-size: 1rem;
|
|
margin: 0 0 var(--spacing-md) 0;
|
|
}
|
|
|
|
p {
|
|
color: var(--text-medium);
|
|
margin: 0 0 var(--spacing-lg) 0;
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Settings Panel */
|
|
.settings-panel {
|
|
background: var(--surface-white);
|
|
padding: var(--spacing-lg);
|
|
border-radius: var(--radius-lg);
|
|
margin-bottom: var(--spacing-xl);
|
|
box-shadow: var(--shadow-md);
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
.settings-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 160px 200px;
|
|
gap: var(--spacing-lg);
|
|
align-items: end;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-xs);
|
|
position: relative;
|
|
}
|
|
|
|
/* Specific styling for PDF form group */
|
|
.pdf-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-xs);
|
|
}
|
|
|
|
/* CSS for aligning PDF Document label and status on same line */
|
|
.pdf-group > div:first-child {
|
|
display: flex !important;
|
|
justify-content: space-between !important;
|
|
align-items: center !important;
|
|
margin-bottom: 8px !important;
|
|
}
|
|
|
|
.pdf-group > div:first-child label {
|
|
margin: 0 !important;
|
|
font-weight: 500 !important;
|
|
color: var(--primary-dark) !important;
|
|
font-size: 0.875rem !important;
|
|
text-transform: uppercase !important;
|
|
letter-spacing: 0.025em !important;
|
|
}
|
|
|
|
label {
|
|
font-weight: 500;
|
|
color: var(--primary-dark);
|
|
font-size: 0.875rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.025em;
|
|
}
|
|
|
|
select, input[type="number"] {
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--surface-white);
|
|
color: var(--text-dark);
|
|
font-size: 0.9rem;
|
|
transition: all 0.2s ease;
|
|
outline: none;
|
|
}
|
|
|
|
select:focus, input:focus {
|
|
border-color: var(--primary-medium);
|
|
box-shadow: 0 0 0 3px rgba(97, 135, 148, 0.1);
|
|
}
|
|
|
|
/* PDF Load Status - positioned below the select but within the form group */
|
|
#pdf-load-status {
|
|
margin: 0 !important;
|
|
font-size: 0.8rem !important;
|
|
font-weight: 500 !important;
|
|
color: #27ae60 !important;
|
|
}
|
|
|
|
/* Checkbox styling */
|
|
input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--primary-medium);
|
|
margin-right: var(--spacing-xs);
|
|
cursor: pointer;
|
|
}
|
|
|
|
label:has(input[type="checkbox"]) {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
text-transform: none;
|
|
font-weight: 400;
|
|
color: var(--text-medium);
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Progress Indicator */
|
|
.progress-indicator {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: var(--spacing-xl) 0;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.step-indicator {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: var(--surface-white);
|
|
color: var(--text-light);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
border: 2px solid var(--border-light);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.step-indicator.completed {
|
|
background: var(--primary-medium);
|
|
color: white;
|
|
border-color: var(--primary-medium);
|
|
}
|
|
|
|
.step-indicator.active {
|
|
background: var(--accent-amber);
|
|
color: var(--primary-dark);
|
|
border-color: var(--accent-amber);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.step-connector {
|
|
width: 60px;
|
|
height: 2px;
|
|
background: var(--border-light);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.step-connector.completed {
|
|
background: var(--primary-medium);
|
|
}
|
|
|
|
/* Tabs Container */
|
|
.tabs-container {
|
|
background: var(--surface-white);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-md);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
.tab-buttons {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
background: var(--surface-light);
|
|
border-bottom: 1px solid var(--border-light);
|
|
}
|
|
|
|
.tab-button {
|
|
padding: var(--spacing-md) var(--spacing-lg);
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: var(--text-medium);
|
|
transition: all 0.2s ease;
|
|
border-bottom: 3px solid transparent;
|
|
}
|
|
|
|
.tab-button:hover {
|
|
background: var(--surface-white);
|
|
color: var(--primary-medium);
|
|
}
|
|
|
|
.tab-button.active {
|
|
background: var(--surface-white);
|
|
color: var(--primary-dark);
|
|
border-bottom-color: var(--primary-medium);
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
padding: var(--spacing-xl);
|
|
background: var(--surface-white);
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Buttons */
|
|
button {
|
|
padding: var(--spacing-md) var(--spacing-lg);
|
|
background: var(--primary-medium);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
button:hover {
|
|
background: var(--primary-dark);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
button:disabled {
|
|
background: var(--border-light);
|
|
color: var(--text-light);
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Status indicators */
|
|
.status {
|
|
padding: var(--spacing-md);
|
|
border-radius: var(--radius-sm);
|
|
margin-top: var(--spacing-md);
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
border-left: 3px solid;
|
|
}
|
|
|
|
.success {
|
|
background: var(--accent-mint);
|
|
color: var(--primary-dark);
|
|
border-left-color: var(--success);
|
|
}
|
|
|
|
.error {
|
|
background: var(--accent-rose);
|
|
color: var(--error);
|
|
border-left-color: var(--error);
|
|
}
|
|
|
|
.working {
|
|
background: var(--accent-amber);
|
|
color: var(--primary-dark);
|
|
border-left-color: var(--warning);
|
|
}
|
|
|
|
/* Loader animation */
|
|
.loader {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid var(--border-light);
|
|
border-top: 2px solid var(--primary-medium);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
display: inline-block;
|
|
margin-right: var(--spacing-xs);
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Tab descriptions */
|
|
.tab-description {
|
|
margin-top: var(--spacing-lg);
|
|
padding: var(--spacing-lg);
|
|
background: var(--surface-light);
|
|
border-radius: var(--radius-md);
|
|
border-left: 3px solid var(--primary-medium);
|
|
}
|
|
|
|
.tab-description strong {
|
|
color: var(--primary-dark);
|
|
font-size: 0.9rem;
|
|
display: block;
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.tab-description ul {
|
|
margin: var(--spacing-sm) 0 0 0;
|
|
padding-left: var(--spacing-lg);
|
|
}
|
|
|
|
.tab-description li {
|
|
margin-bottom: var(--spacing-xs);
|
|
color: var(--text-medium);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.tab-description code {
|
|
background: var(--surface-white);
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
font-size: 0.8rem;
|
|
color: var(--primary-dark);
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
/* Output section */
|
|
.output {
|
|
margin-top: var(--spacing-lg);
|
|
padding: var(--spacing-lg);
|
|
background: var(--text-dark);
|
|
color: #e2e8f0;
|
|
border-radius: var(--radius-md);
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
font-size: 0.8rem;
|
|
line-height: 1.4;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
/* Image container (for visualizer) */
|
|
#image-container {
|
|
margin-top: var(--spacing-lg);
|
|
text-align: center;
|
|
padding: var(--spacing-lg);
|
|
background: var(--surface-light);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
#image-container h4 {
|
|
color: var(--primary-dark);
|
|
margin: 0 0 var(--spacing-md) 0;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#result-image {
|
|
max-width: 100%;
|
|
border-radius: var(--radius-sm);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
/* PDF Preview container */
|
|
#pdf-preview-container {
|
|
margin-top: var(--spacing-lg);
|
|
text-align: center;
|
|
padding: var(--spacing-lg);
|
|
background: var(--surface-light);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
#pdf-preview-container h4 {
|
|
color: var(--primary-dark);
|
|
margin: 0 0 var(--spacing-md) 0;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Preview Controls */
|
|
.preview-controls {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--spacing-md);
|
|
margin-bottom: var(--spacing-lg);
|
|
padding: var(--spacing-md);
|
|
background: var(--surface-white);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
.nav-btn {
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
background: var(--primary-medium);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xs);
|
|
}
|
|
|
|
.nav-btn:hover {
|
|
background: var(--primary-dark);
|
|
}
|
|
|
|
.page-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.page-selector label {
|
|
margin: 0;
|
|
font-weight: 500;
|
|
color: var(--text-medium);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.page-input {
|
|
width: 60px;
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-sm);
|
|
text-align: center;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.go-btn {
|
|
padding: var(--spacing-xs) var(--spacing-md);
|
|
background: var(--accent-mint);
|
|
color: var(--primary-dark);
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.go-btn:hover {
|
|
background: var(--primary-medium);
|
|
color: white;
|
|
}
|
|
|
|
#pdf-preview-image {
|
|
max-width: 100%;
|
|
max-height: 600px;
|
|
border-radius: var(--radius-sm);
|
|
box-shadow: var(--shadow-md);
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* Extracted Images Gallery */
|
|
#extracted-images-container {
|
|
margin-top: var(--spacing-lg);
|
|
padding: var(--spacing-lg);
|
|
background: var(--surface-light);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
#extracted-images-container h4 {
|
|
color: var(--primary-dark);
|
|
margin: 0 0 var(--spacing-lg) 0;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
.images-gallery {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: var(--spacing-lg);
|
|
margin-top: var(--spacing-md);
|
|
}
|
|
|
|
.extracted-image-card {
|
|
background: var(--surface-white);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-sm);
|
|
overflow: hidden;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
.extracted-image-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.image-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 200px;
|
|
overflow: hidden;
|
|
background: var(--surface-light);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.image-wrapper img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.image-wrapper:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.image-info {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.image-info h4 {
|
|
margin: 0 0 var(--spacing-xs) 0;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.image-caption {
|
|
margin: 0 0 var(--spacing-xs) 0;
|
|
font-size: 0.8rem;
|
|
color: var(--text-medium);
|
|
line-height: 1.4;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image-coords {
|
|
margin: 0;
|
|
font-size: 0.75rem;
|
|
color: var(--text-light);
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
}
|
|
|
|
.no-images {
|
|
text-align: center;
|
|
padding: var(--spacing-xl);
|
|
color: var(--text-light);
|
|
font-style: italic;
|
|
background: var(--surface-white);
|
|
border-radius: var(--radius-md);
|
|
border: 2px dashed var(--border-light);
|
|
}
|
|
|
|
/* Image Modal */
|
|
.image-modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.image-modal.active {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--spacing-lg);
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--surface-white);
|
|
border-radius: var(--radius-lg);
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
overflow: auto;
|
|
position: relative;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: var(--spacing-md);
|
|
right: var(--spacing-lg);
|
|
color: var(--text-light);
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
z-index: 1001;
|
|
background: var(--surface-white);
|
|
border-radius: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: var(--shadow-md);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--error);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
#modal-image {
|
|
max-width: 100%;
|
|
max-height: 70vh;
|
|
object-fit: contain;
|
|
border-radius: var(--radius-md) var(--radius-md) 0 0;
|
|
}
|
|
|
|
.modal-info {
|
|
padding: var(--spacing-lg);
|
|
border-top: 1px solid var(--border-light);
|
|
}
|
|
|
|
.modal-info p {
|
|
margin: 0 0 var(--spacing-sm) 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#modal-caption {
|
|
color: var(--text-dark);
|
|
font-weight: 500;
|
|
}
|
|
|
|
#modal-coords {
|
|
color: var(--text-light);
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Environment check */
|
|
#environment-check {
|
|
margin-top: var(--spacing-lg);
|
|
padding: var(--spacing-lg);
|
|
background: var(--accent-amber);
|
|
border: 1px solid var(--warning);
|
|
border-radius: var(--radius-md);
|
|
border-left: 3px solid var(--warning);
|
|
}
|
|
|
|
#environment-check h3 {
|
|
color: var(--primary-dark);
|
|
margin-top: 0;
|
|
}
|
|
|
|
.env-success {
|
|
color: var(--success);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.env-error {
|
|
color: var(--error);
|
|
font-weight: 500;
|
|
}
|
|
|
|
#env-details ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#env-details li {
|
|
padding: var(--spacing-xs) 0;
|
|
border-bottom: 1px solid rgba(25, 81, 98, 0.1);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
#env-details li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Debug section */
|
|
.debug-section {
|
|
margin-top: var(--spacing-xl);
|
|
padding-top: var(--spacing-lg);
|
|
border-top: 1px solid var(--border-light);
|
|
text-align: center;
|
|
}
|
|
|
|
.debug-section button {
|
|
background: var(--text-medium);
|
|
margin: 0 var(--spacing-xs);
|
|
font-size: 0.8rem;
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
}
|
|
|
|
.debug-section button:hover {
|
|
background: var(--text-dark);
|
|
}
|
|
|
|
/* Utility classes */
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 768px) {
|
|
body {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.settings-row {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.tab-buttons {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.tab-button {
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-light);
|
|
border-right: none;
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.tab-button.active {
|
|
border-bottom: 1px solid var(--primary-medium);
|
|
border-left: 3px solid var(--primary-medium);
|
|
}
|
|
|
|
.progress-indicator {
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.step-connector {
|
|
width: 40px;
|
|
}
|
|
|
|
.step-indicator {
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.tab-content {
|
|
padding: var(--spacing-lg);
|
|
}
|
|
|
|
.images-gallery {
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.image-wrapper {
|
|
height: 150px;
|
|
}
|
|
|
|
.modal-content {
|
|
margin: var(--spacing-md);
|
|
max-width: calc(100vw - 32px);
|
|
}
|
|
|
|
#modal-image {
|
|
max-height: 60vh;
|
|
}
|
|
|
|
/* Preview controls responsive */
|
|
.preview-controls {
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.nav-btn {
|
|
font-size: 0.8rem;
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
}
|
|
|
|
} |