airefactor #19
@ -50,11 +50,10 @@ const domainAgnosticSoftware = data['domain-agnostic-software'] || [];
|
|||||||
|
|
||||||
<!-- Input Layout -->
|
<!-- Input Layout -->
|
||||||
<div class="ai-input-layout">
|
<div class="ai-input-layout">
|
||||||
<div class="ai-textarea-section" style="height: 200px">
|
<div class="ai-textarea-section">
|
||||||
<textarea
|
<textarea
|
||||||
id="ai-query-input"
|
id="ai-query-input"
|
||||||
placeholder="Beschreiben Sie Ihr forensisches Szenario..."
|
placeholder="Beschreiben Sie Ihr forensisches Szenario..."
|
||||||
class="w-full"
|
|
||||||
maxlength="2000"
|
maxlength="2000"
|
||||||
></textarea>
|
></textarea>
|
||||||
<div id="ai-char-counter" class="text-xs text-secondary text-right mt-1">0/2000</div>
|
<div id="ai-char-counter" class="text-xs text-secondary text-right mt-1">0/2000</div>
|
||||||
|
@ -1807,11 +1807,44 @@ input[type="checkbox"] {
|
|||||||
.ai-textarea-section {
|
.ai-textarea-section {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ai-textarea-section textarea {
|
||||||
|
width: 100%;
|
||||||
|
height: 180px;
|
||||||
|
min-height: 180px;
|
||||||
|
max-height: 300px;
|
||||||
|
resize: vertical;
|
||||||
|
font-size: 0.9375rem;
|
||||||
|
line-height: 1.5;
|
||||||
|
padding: 0.75rem;
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 0.375rem;
|
||||||
|
background-color: var(--color-bg);
|
||||||
|
color: var(--color-text);
|
||||||
|
transition: var(--transition-fast);
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.confidence-tooltip {
|
||||||
|
background: var(--color-bg) !important;
|
||||||
|
border: 2px solid var(--color-border) !important;
|
||||||
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
|
||||||
|
z-index: 2000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ai-textarea-section textarea:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--color-primary);
|
||||||
|
box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ai-suggestions-section {
|
.ai-suggestions-section {
|
||||||
flex: 0 0 320px;
|
flex: 0 0 320px;
|
||||||
min-height: 120px;
|
min-height: 180px;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ai-input-container textarea {
|
.ai-input-container textarea {
|
||||||
@ -2187,12 +2220,20 @@ input[type="checkbox"] {
|
|||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool-rec-priority.high { background-color: var(--color-error); color: white; }
|
.tool-rec-priority.high { background-color: var(--color-error); color: white; }
|
||||||
.tool-rec-priority.medium { background-color: var(--color-warning); color: white; }
|
.tool-rec-priority.medium { background-color: var(--color-warning); color: white; }
|
||||||
.tool-rec-priority.low { background-color: var(--color-accent); color: white; }
|
.tool-rec-priority.low { background-color: var(--color-accent); color: white; }
|
||||||
|
|
||||||
|
[data-theme="dark"] .confidence-tooltip {
|
||||||
|
background: var(--color-bg-secondary) !important;
|
||||||
|
border-color: var(--color-border) !important;
|
||||||
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.tool-rec-justification {
|
.tool-rec-justification {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
@ -2611,7 +2652,8 @@ footer {
|
|||||||
================================================================= */
|
================================================================= */
|
||||||
|
|
||||||
.smart-prompting-container {
|
.smart-prompting-container {
|
||||||
height: 100%;
|
height: auto;
|
||||||
|
min-height: 180px;
|
||||||
animation: smartPromptSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
animation: smartPromptSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2620,8 +2662,10 @@ footer {
|
|||||||
border: 1px solid var(--color-border);
|
border: 1px solid var(--color-border);
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
height: 100%;
|
height: auto;
|
||||||
min-height: 120px;
|
min-height: 180px;
|
||||||
|
max-height: 400px;
|
||||||
|
overflow-y: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
@ -2661,8 +2705,8 @@ footer {
|
|||||||
|
|
||||||
/* Smart Prompting Hint */
|
/* Smart Prompting Hint */
|
||||||
.smart-prompting-hint {
|
.smart-prompting-hint {
|
||||||
height: 100%;
|
height: 180px;
|
||||||
min-height: 120px;
|
min-height: 180px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
animation: hintFadeIn 0.3s ease-in-out;
|
animation: hintFadeIn 0.3s ease-in-out;
|
||||||
@ -3376,8 +3420,8 @@ footer {
|
|||||||
|
|
||||||
.ai-suggestions-section {
|
.ai-suggestions-section {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
width: 100%;
|
height: auto;
|
||||||
max-width: none;
|
min-height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ai-textarea-section {
|
.ai-textarea-section {
|
||||||
@ -3387,6 +3431,11 @@ footer {
|
|||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ai-textarea-section textarea {
|
||||||
|
height: 150px;
|
||||||
|
min-height: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
.ai-spotlight-content {
|
.ai-spotlight-content {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user