mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-07-14 12:48:03 +00:00
Add AI edit command box to gallery editor
This commit is contained in:
@@ -26002,6 +26002,126 @@ details.hwfit-serve-advanced > .hwfit-serve-checks:last-of-type {
|
||||
background: color-mix(in srgb, var(--bg) 30%, transparent);
|
||||
pointer-events: none;
|
||||
}
|
||||
.ge-ai-command {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 12px;
|
||||
z-index: 18;
|
||||
width: min(430px, calc(100% - 28px));
|
||||
transform: translateX(-50%);
|
||||
padding: 7px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid color-mix(in srgb, var(--accent, var(--red)) 42%, var(--border));
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--panel, var(--bg)) 94%, transparent);
|
||||
box-shadow: 0 8px 22px color-mix(in srgb, #000 26%, transparent);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.ge-ai-command-toggle {
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--accent, var(--red));
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ge-ai-command-collapsed {
|
||||
width: auto;
|
||||
min-width: 112px;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
.ge-ai-command-collapsed .ge-ai-command-toggle {
|
||||
display: inline-flex;
|
||||
}
|
||||
.ge-ai-command-collapsed .ge-ai-command-form,
|
||||
.ge-ai-command-collapsed .ge-ai-command-status {
|
||||
display: none;
|
||||
}
|
||||
.ge-ai-command-form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.ge-ai-command-input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
height: 32px;
|
||||
box-sizing: border-box;
|
||||
padding: 0 9px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--bg) 76%, #000 24%);
|
||||
color: var(--fg);
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
}
|
||||
.ge-ai-command-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent, var(--red));
|
||||
}
|
||||
.ge-ai-command-run {
|
||||
background: var(--send-btn-bg, var(--red));
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
min-width: 32px;
|
||||
width: 32px;
|
||||
height: 32px !important;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
transition: background 0.25s, opacity 0.12s;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ge-ai-command-run:hover {
|
||||
background: var(--send-btn-hover, color-mix(in srgb, var(--red) 80%, white));
|
||||
}
|
||||
.ge-ai-command-close {
|
||||
width: 28px;
|
||||
height: 32px;
|
||||
flex: 0 0 auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--fg);
|
||||
opacity: 0.52;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
.ge-ai-command-close:hover {
|
||||
opacity: 0.9;
|
||||
background: color-mix(in srgb, var(--fg) 10%, transparent);
|
||||
}
|
||||
.ge-ai-command-status {
|
||||
min-height: 13px;
|
||||
margin-top: 4px;
|
||||
font-size: 10px;
|
||||
line-height: 1.3;
|
||||
color: var(--fg-muted);
|
||||
}
|
||||
.ge-ai-command-status[data-kind="running"] {
|
||||
color: var(--accent, var(--red));
|
||||
}
|
||||
.ge-ai-command-status[data-kind="done"] {
|
||||
color: var(--green, #4caf50);
|
||||
}
|
||||
.ge-ai-command-status[data-kind="error"] {
|
||||
color: var(--red, #e5484d);
|
||||
}
|
||||
/* Loading overlay shown while a large image is decoding — centered
|
||||
whirlpool + "Loading" caption over a translucent dim. */
|
||||
.ge-loading-overlay {
|
||||
|
||||
Reference in New Issue
Block a user