wip: local portal changes (backup before disk cleanup)
This commit is contained in:
@@ -339,3 +339,138 @@
|
||||
.back-link span { display: none; }
|
||||
.back-link { padding: 6px; }
|
||||
}
|
||||
|
||||
/* ── Download gate note (why PDF is unavailable) ── */
|
||||
.download-gate-note {
|
||||
margin: 0 0 14px;
|
||||
padding: 10px 14px;
|
||||
background: rgba(245, 158, 11, 0.10);
|
||||
border-left: 3px solid #f59e0b;
|
||||
border-radius: 6px;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* ── Supplier reputation card ── */
|
||||
.supplier-card {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 16px 18px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.supplier-card:empty { display: none; }
|
||||
.supplier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
|
||||
.supplier-title { font-weight: 600; font-size: 15px; }
|
||||
.supplier-loading, .supplier-reason { color: var(--text-tertiary); font-size: 13.5px; }
|
||||
.rep-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
|
||||
.rep-flag { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
|
||||
.rep-ok { background: #DCFCE7; color: #166534; }
|
||||
.rep-danger { background: #FEE2E2; color: #991B1B; }
|
||||
:root.dark .rep-ok { background: #14321f; color: #86efac; }
|
||||
:root.dark .rep-danger { background: #3f1d1d; color: #fca5a5; }
|
||||
.rep-row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px solid var(--border-subtle); font-size: 13.5px; }
|
||||
.rep-row span:first-child { color: var(--text-tertiary); }
|
||||
.rep-row span:last-child { text-align: right; color: var(--text-primary); }
|
||||
.rep-source { margin-top: 10px; font-size: 12px; color: var(--text-quaternary); }
|
||||
.sup-cands { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
|
||||
.sup-manual-row { display: flex; gap: 8px; margin-top: 10px; }
|
||||
.sup-manual-row .add-item-input { flex: 1; }
|
||||
.btn-sm { padding: 6px 12px; font-size: 13px; }
|
||||
|
||||
/* ── Per-clause advice ── */
|
||||
.finding-advice-row { margin-top: 10px; }
|
||||
.finding-advice {
|
||||
margin-top: 10px; padding: 12px 14px;
|
||||
background: var(--bg-secondary); border-radius: var(--radius-md);
|
||||
font-size: 13.5px; line-height: 1.55; color: var(--text-primary);
|
||||
}
|
||||
.finding-advice .advice-label { font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); }
|
||||
.finding-advice ul { margin: 6px 0; padding-left: 18px; }
|
||||
.finding-advice li { margin: 3px 0; }
|
||||
|
||||
/* ── Chat with contract (aligned with Firemní asistent) ── */
|
||||
.chat-card {
|
||||
background: var(--card); border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg); padding: 16px 18px; margin-top: 22px;
|
||||
}
|
||||
.chat-head { margin-bottom: 10px; }
|
||||
.chat-title { font-weight: 600; font-size: 15px; display: block; }
|
||||
.chat-sub { font-size: 12.5px; color: var(--text-tertiary); }
|
||||
|
||||
.chat-log { display: flex; flex-direction: column; gap: 16px; max-height: 420px; overflow-y: auto; padding: 6px 0; }
|
||||
.chat-log:empty { display: none; }
|
||||
.msg { display: flex; flex-direction: column; gap: 4px; width: 100%; }
|
||||
.msg-author {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
|
||||
text-transform: uppercase; color: var(--text-tertiary);
|
||||
}
|
||||
.msg-avatar {
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
width: 22px; height: 22px; border-radius: 50%;
|
||||
background: linear-gradient(135deg, #15b79e 0%, #0e9384 100%);
|
||||
color: #fff; font-size: 11px; font-weight: 700;
|
||||
}
|
||||
.msg-avatar.you { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
|
||||
.msg-body { color: var(--text-primary); font-size: 14.5px; line-height: 1.5; word-wrap: break-word; }
|
||||
.msg-user .msg-body {
|
||||
background: color-mix(in srgb, var(--primary) 6%, var(--bg-primary));
|
||||
border-left: 3px solid var(--primary);
|
||||
padding: 8px 12px; border-radius: 0 8px 8px 0; white-space: pre-wrap;
|
||||
}
|
||||
.msg-body p { margin: 0 0 6px; } .msg-body p:last-child { margin-bottom: 0; }
|
||||
.msg-body ul, .msg-body ol { margin: 4px 0 6px 20px; } .msg-body li { margin-bottom: 2px; }
|
||||
.msg-body strong { font-weight: 600; }
|
||||
.msg-body h3, .msg-body h4 { font-size: 14.5px; font-weight: 600; margin: 8px 0 2px; }
|
||||
.chat-err { color: #c0392b; }
|
||||
|
||||
/* Typing indicator (bouncing dots) while waiting for the first token */
|
||||
.msg-typing .msg-body { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
|
||||
.msg-typing .dot {
|
||||
width: 6px; height: 6px; border-radius: 50%;
|
||||
background: var(--text-tertiary);
|
||||
animation: dot-bounce 1.2s infinite ease-in-out both;
|
||||
}
|
||||
.msg-typing .dot:nth-child(2) { animation-delay: 0.16s; }
|
||||
.msg-typing .dot:nth-child(3) { animation-delay: 0.32s; }
|
||||
@keyframes dot-bounce {
|
||||
0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
|
||||
40% { transform: scale(1.0); opacity: 1; }
|
||||
}
|
||||
|
||||
.chat-form {
|
||||
display: flex; gap: 8px; align-items: flex-end; margin-top: 14px;
|
||||
background: var(--bg-secondary); border: 1px solid var(--border-default);
|
||||
border-radius: 14px; padding: 8px 8px 8px 16px;
|
||||
}
|
||||
.chat-form:focus-within { border-color: var(--primary); }
|
||||
.chat-input {
|
||||
font: inherit; flex: 1; border: none; outline: none; background: transparent;
|
||||
resize: none; max-height: 160px; color: var(--text-primary); padding: 7px 0; line-height: 1.5;
|
||||
}
|
||||
.chat-send {
|
||||
width: 36px; height: 36px; border-radius: 10px; border: none;
|
||||
background: var(--primary); color: #fff; display: inline-flex;
|
||||
align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
|
||||
transition: background .15s, opacity .15s;
|
||||
}
|
||||
.chat-send:hover:not(:disabled) { background: var(--primary-hover); }
|
||||
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
.chat-hint { margin-top: 8px; font-size: 12px; color: var(--text-quaternary); text-align: center; }
|
||||
|
||||
/* ── Export options modal ── */
|
||||
.modal-overlay {
|
||||
position: fixed; inset: 0; background: rgb(16 24 40 / 0.45);
|
||||
display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px;
|
||||
}
|
||||
.modal-box {
|
||||
background: var(--card); border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg); padding: 22px 24px; max-width: 420px; width: 100%;
|
||||
box-shadow: var(--shadow-card);
|
||||
}
|
||||
.modal-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
|
||||
.modal-sub { font-size: 13px; color: var(--text-tertiary); margin-bottom: 14px; }
|
||||
.modal-check { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 14px; cursor: pointer; }
|
||||
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
|
||||
|
||||
Reference in New Issue
Block a user