mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
refactor: remove unused source URL tooltip from RecipeModal component
This commit is contained in:
@@ -375,40 +375,6 @@
|
|||||||
background: color-mix(in oklch, var(--lora-accent), black 10%);
|
background: color-mix(in oklch, var(--lora-accent), black 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Info tooltip icon for source URL */
|
|
||||||
.source-url-info {
|
|
||||||
margin-left: 8px;
|
|
||||||
opacity: 0.7;
|
|
||||||
cursor: help;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.source-url-info:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.source-url-tooltip {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 100%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
background: var(--card-bg);
|
|
||||||
color: var(--text-color);
|
|
||||||
padding: 8px 12px;
|
|
||||||
border-radius: var(--border-radius-xs);
|
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
||||||
white-space: nowrap;
|
|
||||||
font-size: 0.85em;
|
|
||||||
font-weight: normal;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
z-index: 10;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.source-url-info:hover .source-url-tooltip {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generation Parameters */
|
/* Generation Parameters */
|
||||||
.recipe-gen-params {
|
.recipe-gen-params {
|
||||||
height: 360px;
|
height: 360px;
|
||||||
|
|||||||
@@ -259,10 +259,6 @@ class RecipeModal {
|
|||||||
<span class="source-url-text" title="${isValidUrl ? 'Click to open source URL' : 'No valid URL'}">${
|
<span class="source-url-text" title="${isValidUrl ? 'Click to open source URL' : 'No valid URL'}">${
|
||||||
hasSourceUrl ? sourceUrl : 'No source URL'
|
hasSourceUrl ? sourceUrl : 'No source URL'
|
||||||
}</span>
|
}</span>
|
||||||
<span class="source-url-info">
|
|
||||||
<i class="fas fa-info-circle"></i>
|
|
||||||
<span class="source-url-tooltip">Source of the original image (e.g., Civitai post)</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<button class="source-url-edit-btn" title="Edit source URL">
|
<button class="source-url-edit-btn" title="Edit source URL">
|
||||||
<i class="fas fa-pencil-alt"></i>
|
<i class="fas fa-pencil-alt"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user