54 lines
1.1 KiB
CSS
54 lines
1.1 KiB
CSS
/* Small, unobtrusive button that matches ComfyUI style */
|
||
.lmt-btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
padding: 2px 8px;
|
||
border-radius: 8px;
|
||
font-size: 12px;
|
||
line-height: 16px;
|
||
cursor: pointer;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.lmt-btn:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
.lmt-icon {
|
||
font-weight: 700;
|
||
font-size: 14px;
|
||
line-height: 14px;
|
||
}
|
||
|
||
.lmt-badge {
|
||
font-weight: 700;
|
||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
||
}
|
||
|
||
/* When we can’t find the toolbar, dock to bottom-left without covering the canvas */
|
||
.lmt-floating {
|
||
position: fixed;
|
||
right: 12px; /* bottom-right so it never hides nodes */
|
||
bottom: 12px;
|
||
z-index: 99999; /* sit above overlays */
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.lmt-bottom-right {
|
||
right: 12px;
|
||
bottom: 12px;
|
||
}
|
||
|
||
|
||
/* When placed in toolbar, make it visually consistent */
|
||
.lmt-in-toolbar {
|
||
margin-left: 6px;
|
||
}
|
||
|
||
/* Fail state (should basically never show) */
|
||
.lmt-failed {
|
||
outline: 1px solid #e66;
|
||
box-shadow: 0 0 0 2px rgba(230,102,102,.2) inset;
|
||
}
|