2 lines
11 KiB
CSS
2 lines
11 KiB
CSS
.agent-chat__question-dock{z-index:1;min-width:0;position:relative}openclaw-chat-question-panel{display:block}.chat-question-panel{border:1px solid var(--chat-composer-hairline,var(--border));border-radius:calc(20px * var(--openclaw-corner-radius-scale));corner-shape:superellipse(1.5);background:var(--chat-composer-surface,var(--popover));max-height:min(58vh,36rem);box-shadow:none;color:var(--text);animation:fade-in .16s var(--ease-out);outline:none;gap:12px;padding:14px;display:grid;overflow-y:auto}:root[data-theme-mode=dark] .chat-question-panel{border-color:color-mix(in srgb, var(--text-strong) 9%, transparent)}:root[data-theme-mode=light] .chat-question-panel{border-color:#0000;box-shadow:0 0 0 1px #0000000f,0 1px 2px -1px #0000000f,0 2px 4px #0000000a}.chat-question-panel:focus-visible{border-color:var(--chat-composer-hairline,var(--border));outline:2px solid var(--ring);outline-offset:2px}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.chat-question-panel{-webkit-backdrop-filter:blur(18px)saturate(1.35)}}.chat-question-panel--collapsed{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0;overflow:hidden}.chat-question-panel__request-nav{color:var(--muted);font-family:var(--mono);font-size:var(--control-ui-text-sm);font-variant-numeric:tabular-nums;align-items:center;gap:2px;margin-left:auto;display:inline-flex}.chat-question-panel__request-nav button{border-radius:var(--radius-sm);width:26px;height:26px;color:inherit;cursor:var(--cursor-action);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.chat-question-panel__request-nav button:focus-visible{background:var(--panel-hover);color:var(--text);outline:none}@media (hover:hover){.chat-question-panel__request-nav button:hover{background:var(--panel-hover);color:var(--text);outline:none}}.chat-question-panel__request-nav svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:15px;height:15px}.chat-question-panel__topline,.chat-question-panel__footer{align-items:center;gap:8px;display:flex}.chat-question-panel__title{min-width:0;color:var(--text-strong);font-size:var(--control-ui-text-sm);text-overflow:ellipsis;white-space:nowrap;font-weight:650;line-height:1.3;overflow:hidden}.chat-question-panel__collapse{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--muted);cursor:var(--cursor-action);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.chat-question-panel__collapse:focus-visible{background:var(--panel-hover);color:var(--text);outline:none}@media (hover:hover){.chat-question-panel__collapse:hover{background:var(--panel-hover);color:var(--text);outline:none}}.chat-question-panel__collapse svg,.chat-question-panel__chevron svg{stroke:currentColor;fill:none;stroke-width:1.7px;width:16px;height:16px}.chat-question-panel__collapse svg{transform:rotate(180deg)}.chat-question-panel__heading{align-items:flex-start;gap:10px;display:flex}.chat-question-panel__progress{min-width:0;min-height:0;color:var(--muted);font-family:var(--mono);font-size:var(--control-ui-text-sm);font-variant-numeric:tabular-nums;background:0 0;justify-content:center;align-items:center;margin-left:auto;padding:0;display:inline-flex}.chat-question-panel__prompt{min-width:0;color:var(--text-strong);font-size:var(--control-ui-text-md);overflow-wrap:anywhere;font-weight:600;line-height:1.45}.chat-question-panel__options{gap:7px;display:grid}.chat-question-panel__option{border:1px solid var(--border);border-radius:calc(11px * var(--openclaw-corner-radius-scale));corner-shape:superellipse(1.5);background:color-mix(in srgb, var(--panel) 72%, transparent);width:100%;color:var(--text);font:inherit;text-align:left;cursor:var(--cursor-action);grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 11px;display:grid}@media (hover:hover){.chat-question-panel__option:hover:not(:disabled){border-color:var(--border);background:color-mix(in srgb, var(--text-strong) 7%, var(--panel));outline:none}}.chat-question-panel__option:focus-visible{border-color:var(--border);background:color-mix(in srgb, var(--text-strong) 7%, var(--panel));outline:2px solid var(--ring);outline-offset:-2px}@media (hover:hover){.chat-question-panel__option:hover:not(:disabled) .chat-question-panel__option-copy strong{color:var(--text-strong)}.chat-question-panel__option:hover:not(:disabled) .chat-question-panel__option-marker{background:color-mix(in srgb, var(--text-strong) 5%, transparent);outline:none}}.chat-question-panel__option--selected{border-color:color-mix(in srgb, var(--accent) 58%, var(--border));background:color-mix(in srgb, var(--accent-subtle) 55%, var(--panel))}.chat-question-panel__option:disabled{cursor:default;opacity:.7}.chat-question-panel__option-marker{border:1px solid var(--border);width:16px;height:16px;color:var(--accent);border-radius:4px;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:inline-flex}.chat-question-panel__option[role=radio] .chat-question-panel__option-marker{border-radius:var(--radius-full)}.chat-question-panel__option--selected .chat-question-panel__option-marker{border-color:var(--accent)}.chat-question-panel__option-copy{min-width:0;display:block}.chat-question-panel__option-copy strong{font-size:var(--control-ui-text-sm);font-weight:600;line-height:1.35;display:block}.chat-question-panel__option-copy small{color:var(--muted);font-size:calc(var(--control-ui-text-sm) - 1px);margin-top:2px;line-height:1.35;display:block}.chat-question-panel__option kbd{min-width:18px;color:var(--muted);font:12px/1 var(--mono);text-align:center}.chat-question-panel__store{border-left:2px solid color-mix(in srgb, var(--accent) 42%, var(--border));color:var(--muted);font-size:var(--control-ui-text-sm);overflow-wrap:anywhere;gap:6px;padding-left:10px;line-height:1.4;display:grid}.chat-question-panel__store-entry{color:var(--text);font-weight:600}.chat-question-panel__store-hosts{gap:5px;margin-top:2px;display:grid}.chat-question-panel__other{width:100%;min-width:0;min-height:24px;color:var(--text);font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:0}.chat-question-panel__hosts{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--panel);padding:5px 8px}.chat-question-panel__hosts:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.chat-question-panel__option--other:has(.chat-question-panel__other:focus-visible){background:color-mix(in srgb, var(--text-strong) 7%, var(--panel));outline:2px solid var(--ring);outline-offset:-2px}.chat-question-panel__other::placeholder{color:var(--muted)}.chat-question-panel__footer{justify-content:flex-end;min-height:30px}.chat-question-panel__error{color:var(--danger);font-size:var(--control-ui-text-sm);margin-right:auto}.chat-question-panel__error-dismiss{color:inherit;cursor:var(--cursor-action);background:0 0;border:0;margin-left:4px;padding:0 2px}.chat-question-panel__skip{color:var(--muted);background:0 0;border:0}.chat-question-panel__back{color:var(--muted);background:0 0;border-color:#0000;margin-right:auto}@media (hover:hover){.chat-question-panel__back:hover:not(:disabled),.chat-question-panel__skip:hover:not(:disabled){color:var(--text);background:var(--panel-hover)}}.chat-question-panel__collapsed-button{width:100%;min-height:42px;color:var(--text);font:inherit;font-size:var(--control-ui-text-sm);text-align:left;cursor:var(--cursor-action);background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:8px 10px 8px 12px;font-weight:600;display:grid}.chat-question-panel__collapsed-button>:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-question-panel__chevron{color:var(--muted);display:inline-flex}.chat-question-summary{border-left:2px solid color-mix(in srgb, var(--accent) 42%, var(--border));border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:color-mix(in srgb, var(--panel) 62%, transparent);width:min(620px,100%);color:var(--muted);font-size:var(--control-ui-text-sm);gap:3px;margin:4px 0;padding:7px 10px;line-height:1.4;display:grid}.chat-question-summary__line{gap:5px;min-width:0;display:flex}.chat-question-summary__line strong{color:var(--text);flex:none;font-weight:600}.chat-question-summary__line span{overflow-wrap:anywhere}@media (width<=768px),(width<=932px) and (height<=500px) and (orientation:landscape){.agent-chat__composer-shell--question-composer{--question-composer-radius:calc(20px * var(--openclaw-corner-radius-scale));box-sizing:border-box;border:1px solid var(--chat-composer-hairline);border-radius:var(--question-composer-radius);corner-shape:superellipse(1.5);background:var(--chat-composer-surface);gap:0;box-shadow:0 4px 16px #0000000d}.agent-chat__composer-shell--question-composer:has(.agent-chat__composer-combobox>:is(textarea,input):focus){border-color:color-mix(in srgb, var(--chat-composer-hairline) 94%, var(--text-strong))}.agent-chat__composer-shell--question-composer :is(.chat-question-panel--collapsed,.agent-chat__input){box-shadow:none;border:0}.agent-chat__composer-shell--question-composer .agent-chat__input:has(.agent-chat__composer-combobox>:is(textarea,input):focus){box-shadow:none;border-color:#0000}:root[data-theme-mode=light] .agent-chat__composer-shell--question-composer .agent-chat__input:has(.agent-chat__composer-combobox>:is(textarea,input):focus){box-shadow:none;border-color:#0000}:root[data-theme-mode=light] .agent-chat__composer-shell--question-composer .agent-chat__input--dictating,:root[data-theme-mode=light] .agent-chat__composer-shell--question-composer .agent-chat__input--dictating:focus-within{box-shadow:none;border-color:#0000}.agent-chat__composer-shell--question-composer .chat-question-panel--collapsed{border-radius:var(--question-composer-radius) var(--question-composer-radius) 0 0;box-shadow:inset 0 -1px 0 var(--chat-composer-hairline)}.agent-chat__composer-shell--question-composer .chat-question-panel__collapsed-button{min-height:48px}.agent-chat__composer-shell--question-composer .agent-chat__input{border-radius:0 0 var(--question-composer-radius) var(--question-composer-radius)}:root[data-theme-mode=light] .agent-chat__composer-shell--question-composer{border-color:#0000;box-shadow:0 0 0 1px #0000000f,0 1px 2px -1px #0000000f,0 2px 4px #0000000a}:root[data-theme-mode=light] .agent-chat__composer-shell--question-composer:has(.agent-chat__composer-combobox>:is(textarea,input):focus){box-shadow:0 0 0 1px #00000014,0 1px 2px -1px #00000014,0 2px 4px #0000000f}}@media (width<=640px){.chat-question-panel:not(.chat-question-panel--collapsed){max-height:min(62vh,32rem);padding:12px}.chat-question-panel__option{padding:10px 9px}}@media (prefers-reduced-motion:reduce){.chat-question-panel{animation:none}}
|