rag-service/RAG/public/playground/styles.css

142 lines
2.3 KiB
CSS

:root {
color-scheme: dark;
--bg: #0d1321;
--panel: #151d31;
--panel-2: #1c2742;
--text: #e8ecf8;
--muted: #9aa6c8;
--accent: #72e0a8;
--accent-2: #7ca8ff;
--border: #2e3a5f;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
background: linear-gradient(180deg, #0b1020 0%, #12192b 100%);
color: var(--text);
}
.layout {
max-width: 1280px;
margin: 0 auto;
padding: 32px;
}
.hero, .panel {
background: rgba(21, 29, 49, 0.92);
border: 1px solid var(--border);
border-radius: 20px;
box-shadow: 0 18px 50px rgba(0,0,0,0.2);
}
.hero {
padding: 24px 28px;
display: flex;
justify-content: space-between;
gap: 20px;
align-items: flex-start;
margin-bottom: 24px;
}
.eyebrow {
margin: 0 0 8px;
color: var(--accent);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.14em;
}
h1, h2 { margin: 0 0 12px; }
.lead { margin: 0; color: var(--muted); max-width: 720px; }
.grid {
display: grid;
gap: 24px;
grid-template-columns: 1fr 2fr;
margin-bottom: 24px;
}
.results-grid { grid-template-columns: 1fr 1fr; }
.panel-wide { min-width: 0; }
.panel {
padding: 24px;
}
label {
display: block;
margin-bottom: 14px;
color: var(--muted);
font-size: 14px;
}
input, textarea, select, button {
width: 100%;
border-radius: 12px;
border: 1px solid var(--border);
background: var(--panel-2);
color: var(--text);
padding: 12px 14px;
font: inherit;
}
textarea { resize: vertical; }
button {
width: auto;
cursor: pointer;
background: linear-gradient(135deg, var(--accent) 0%, #4fceff 100%);
color: #0b1020;
font-weight: 700;
border: none;
}
button.secondary {
background: transparent;
color: var(--text);
border: 1px solid var(--border);
}
.row, .actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.row > label {
flex: 1 1 220px;
}
.checkbox {
display: flex;
align-items: center;
gap: 10px;
}
.checkbox input {
width: auto;
}
pre {
background: #0b1020;
border: 1px solid var(--border);
border-radius: 16px;
padding: 16px;
overflow: auto;
min-height: 180px;
white-space: pre-wrap;
word-break: break-word;
}
@media (max-width: 980px) {
.grid, .results-grid {
grid-template-columns: 1fr;
}
.hero {
flex-direction: column;
}
}