mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
- Added localPath retrieval for LoRA entries in RecipeScanner to enhance metadata handling. - Included shared.css in the main stylesheet for better component styling consistency. - Removed unused local-badge and local-path styles from download-modal.css and recipe-modal.css to streamline the CSS and improve maintainability.
43 lines
926 B
CSS
43 lines
926 B
CSS
/* Local Version Badge */
|
|
.local-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: var(--lora-accent);
|
|
color: var(--lora-text);
|
|
padding: 4px 8px;
|
|
border-radius: var(--border-radius-xs);
|
|
font-size: 0.8em;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.local-badge i {
|
|
margin-right: 4px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.local-path {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
background: var(--card-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--border-radius-xs);
|
|
padding: var(--space-1);
|
|
margin-top: 4px;
|
|
font-size: 0.9em;
|
|
color: var(--text-color);
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
z-index: 1;
|
|
min-width: 200px;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.local-badge:hover .local-path {
|
|
display: block;
|
|
} |