Files
obsidian-typst-pdf-export/styles.css
T
AlexKucera e6c6cca5b8 Adds export modal display utilities
Adds CSS classes to control the visibility of the export modal and styles the progress bar.

This allows for dynamically showing and hiding the modal and provides a visual cue for export progress.
2025-09-04 22:55:00 +02:00

127 lines
2.3 KiB
CSS

/*
* Typst PDF Export Plugin Styles
*/
/* Dependency status modal styles */
.dependency-overall-status {
margin-bottom: 1rem;
padding: 0.75rem;
border-radius: 6px;
font-weight: 500;
}
.dependency-success {
color: var(--text-success);
}
.dependency-error {
color: var(--text-error);
}
.dependency-warning {
color: var(--text-warning);
}
.dependency-section {
margin-bottom: 2rem;
padding: 1rem;
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
}
.dependency-section h3 {
margin-top: 0;
margin-bottom: 0.5rem;
color: var(--text-normal);
}
.dependency-status {
margin-bottom: 1rem;
}
.dependency-path {
margin-top: 0.25rem;
font-size: 0.9em;
color: var(--text-muted);
font-family: var(--font-monospace);
}
.dependency-error-detail {
margin-top: 0.25rem;
font-size: 0.9em;
color: var(--text-error);
font-style: italic;
}
.dependency-install-guide {
margin-top: 1rem;
padding: 1rem;
background-color: var(--background-secondary);
border-radius: 4px;
border-left: 3px solid var(--interactive-accent);
}
.dependency-install-guide h4 {
margin-top: 0;
margin-bottom: 0.75rem;
color: var(--text-normal);
}
.dependency-install-guide p {
margin-bottom: 1rem;
}
.dependency-install-guide ul {
margin-left: 1rem;
margin-bottom: 1rem;
}
.dependency-install-guide code {
background-color: var(--background-primary-alt);
padding: 0.125rem 0.25rem;
border-radius: 3px;
font-family: var(--font-monospace);
font-size: 0.9em;
}
.dependency-install-guide a {
color: var(--text-accent);
text-decoration: none;
}
.dependency-install-guide a:hover {
text-decoration: underline;
}
.dependency-button-container {
margin-top: 1.5rem;
text-align: center;
}
.dependency-button-container button {
padding: 0.5rem 1rem;
background-color: var(--interactive-accent);
color: var(--text-on-accent);
border: none;
border-radius: 4px;
cursor: pointer;
}
.dependency-button-container button:hover {
background-color: var(--interactive-accent-hover);
}
/* Export modal display utilities */
.export-hidden {
display: none !important;
}
.export-visible {
display: block !important;
}
/* Progress bar styling */
.export-progress-bar {
transition: width 0.3s ease;
}