a2a-source-edit: write frontend/src/style.css
This commit is contained in:
@@ -1,244 +1,69 @@
|
|||||||
:root {
|
:root {
|
||||||
color-scheme: dark;
|
color-scheme: light;
|
||||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||||
background: #090909;
|
background: #f6f0e8;
|
||||||
color: #f5f5f5;
|
color: #1b2430;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* { box-sizing: border-box; }
|
||||||
box-sizing: border-box;
|
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #fff8ea 0, #f6f0e8 35%, #e8eef8 100%); }
|
||||||
}
|
button, input, textarea { font: inherit; }
|
||||||
|
button { cursor: pointer; }
|
||||||
body {
|
|
||||||
margin: 0;
|
.loading { min-height: 100vh; display: grid; place-items: center; color: #586174; }
|
||||||
min-height: 100vh;
|
.shell { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; padding: 34px 0 56px; }
|
||||||
background: #090909;
|
.hero { display: grid; grid-template-columns: 1fr minmax(240px, 330px); gap: 24px; align-items: end; margin-bottom: 24px; }
|
||||||
}
|
.eyebrow { margin: 0 0 8px; color: #996515; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
|
||||||
|
h1, h2, p { margin-top: 0; }
|
||||||
button,
|
h1 { margin-bottom: 14px; font-size: clamp(48px, 9vw, 104px); line-height: .88; letter-spacing: -0.08em; color: #172033; }
|
||||||
textarea {
|
h2 { margin-bottom: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.04em; color: #172033; }
|
||||||
font: inherit;
|
.lede { max-width: 770px; color: #4b5568; font-size: 19px; line-height: 1.55; }
|
||||||
}
|
|
||||||
|
.session-card, .card { border: 1px solid rgba(23, 32, 51, .12); border-radius: 24px; background: rgba(255, 255, 255, .76); box-shadow: 0 24px 60px rgba(55, 68, 92, .13); backdrop-filter: blur(18px); }
|
||||||
button {
|
.session-card { padding: 20px; display: grid; gap: 7px; }
|
||||||
cursor: pointer;
|
.session-card span { color: #667085; }
|
||||||
}
|
.session-card strong { overflow-wrap: anywhere; }
|
||||||
|
.primary-link, .actions button:first-child, .history .row button { margin-top: 8px; display: inline-flex; justify-content: center; border: 0; border-radius: 999px; background: #172033; color: white; padding: 11px 16px; text-decoration: none; font-weight: 800; }
|
||||||
.loading {
|
|
||||||
min-height: 100vh;
|
.grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 22px; align-items: start; }
|
||||||
display: grid;
|
.card { padding: 24px; }
|
||||||
place-items: center;
|
.card-title { margin-bottom: 18px; }
|
||||||
color: #b8b8b8;
|
.card-title.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
|
||||||
}
|
.form { display: grid; gap: 15px; }
|
||||||
|
label { display: grid; gap: 7px; color: #3b4558; font-weight: 750; }
|
||||||
.app-shell {
|
input, textarea { width: 100%; border: 1px solid #d5dce8; border-radius: 14px; background: #fffdf9; color: #172033; padding: 12px 14px; outline: none; }
|
||||||
min-height: 100vh;
|
input:focus, textarea:focus { border-color: #b88122; box-shadow: 0 0 0 4px rgba(184, 129, 34, .13); }
|
||||||
display: grid;
|
textarea { min-height: 220px; resize: vertical; line-height: 1.5; }
|
||||||
grid-template-columns: minmax(260px, 340px) 1fr;
|
.upload small { color: #667085; font-weight: 500; }
|
||||||
}
|
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
|
||||||
|
.actions button { border: 1px solid #d5dce8; border-radius: 999px; background: #fffdf9; color: #172033; padding: 11px 16px; font-weight: 800; }
|
||||||
.sidebar {
|
button:disabled { cursor: not-allowed; opacity: .55; }
|
||||||
min-height: 100vh;
|
.status { margin: 0; border-radius: 16px; padding: 12px 14px; background: #eef2f7; color: #465268; }
|
||||||
border-right: 1px solid #222;
|
.status.success { background: #e8f7ef; color: #16613a; }
|
||||||
background: #0d0d0d;
|
.status.error, .error-box { background: #fff0ec; color: #8a2d18; }
|
||||||
padding: 28px;
|
.status.loading { background: #fff6df; color: #7d5511; }
|
||||||
display: grid;
|
|
||||||
align-content: start;
|
.timeline { min-height: 520px; }
|
||||||
gap: 28px;
|
.deadline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
|
||||||
}
|
.deadline-list li { display: grid; grid-template-columns: 132px 1fr; gap: 14px; border: 1px solid #e0e6ef; border-radius: 18px; padding: 15px; background: #fffdf9; }
|
||||||
|
time { align-self: start; border-radius: 999px; background: #172033; color: white; padding: 8px 10px; text-align: center; font-weight: 850; }
|
||||||
.eyebrow {
|
.deadline-list strong { text-transform: capitalize; color: #996515; }
|
||||||
margin: 0 0 10px;
|
.deadline-list p { margin: 4px 0 8px; color: #30394b; }
|
||||||
color: #8bd8c6;
|
.deadline-list small { display: block; color: #667085; line-height: 1.45; }
|
||||||
font-size: 12px;
|
.receipt { margin-top: 18px; border-radius: 16px; background: #eef2f7; padding: 12px 14px; color: #3b4558; }
|
||||||
letter-spacing: 0;
|
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
|
||||||
text-transform: uppercase;
|
.empty { color: #667085; line-height: 1.55; }
|
||||||
}
|
.error-box { border-radius: 18px; padding: 18px; }
|
||||||
|
|
||||||
h1,
|
.history { margin-top: 22px; }
|
||||||
h2,
|
.history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
||||||
h3,
|
.history-list button { border: 1px solid #d5dce8; border-radius: 18px; background: #fffdf9; padding: 16px; text-align: left; display: grid; gap: 6px; }
|
||||||
p {
|
.history-list button:hover { border-color: #b88122; }
|
||||||
margin-top: 0;
|
.history-list span { color: #667085; }
|
||||||
}
|
|
||||||
|
@media (max-width: 860px) {
|
||||||
h1 {
|
.hero, .grid { grid-template-columns: 1fr; }
|
||||||
margin-bottom: 10px;
|
.history-list { grid-template-columns: 1fr; }
|
||||||
font-size: clamp(32px, 5vw, 56px);
|
.deadline-list li { grid-template-columns: 1fr; }
|
||||||
line-height: 0.95;
|
h1 { letter-spacing: -0.06em; }
|
||||||
letter-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-size: 30px;
|
|
||||||
letter-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin-bottom: 12px;
|
|
||||||
color: #d7d7d7;
|
|
||||||
font-size: 14px;
|
|
||||||
letter-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.agent-meta {
|
|
||||||
margin-bottom: 0;
|
|
||||||
color: #a6a6a6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skill-list {
|
|
||||||
display: grid;
|
|
||||||
gap: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skill {
|
|
||||||
width: 100%;
|
|
||||||
min-height: 58px;
|
|
||||||
border: 1px solid #252525;
|
|
||||||
border-radius: 8px;
|
|
||||||
background: #121212;
|
|
||||||
color: #f3f3f3;
|
|
||||||
padding: 12px 14px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 16px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skill:hover,
|
|
||||||
.skill.active {
|
|
||||||
border-color: #5bb7a7;
|
|
||||||
background: #15201d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skill span {
|
|
||||||
overflow-wrap: anywhere;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skill small {
|
|
||||||
color: #9d9d9d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.session {
|
|
||||||
border: 1px solid #252525;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 14px;
|
|
||||||
color: #a6a6a6;
|
|
||||||
display: grid;
|
|
||||||
gap: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.session strong {
|
|
||||||
color: #f3f3f3;
|
|
||||||
overflow-wrap: anywhere;
|
|
||||||
}
|
|
||||||
|
|
||||||
.workbench {
|
|
||||||
padding: 28px;
|
|
||||||
display: grid;
|
|
||||||
align-content: start;
|
|
||||||
gap: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar a,
|
|
||||||
.runner button {
|
|
||||||
border: 1px solid #e8e8e8;
|
|
||||||
border-radius: 7px;
|
|
||||||
background: #f4f4f4;
|
|
||||||
color: #111;
|
|
||||||
padding: 10px 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner {
|
|
||||||
display: grid;
|
|
||||||
gap: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner label {
|
|
||||||
display: grid;
|
|
||||||
gap: 10px;
|
|
||||||
color: #d7d7d7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner textarea {
|
|
||||||
width: 100%;
|
|
||||||
min-height: 170px;
|
|
||||||
resize: vertical;
|
|
||||||
border: 1px solid #252525;
|
|
||||||
border-radius: 8px;
|
|
||||||
background: #070707;
|
|
||||||
color: #eeeeee;
|
|
||||||
padding: 14px;
|
|
||||||
line-height: 1.5;
|
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner button {
|
|
||||||
justify-self: start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner button:disabled {
|
|
||||||
cursor: wait;
|
|
||||||
opacity: 0.72;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panels {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
||||||
gap: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel {
|
|
||||||
min-width: 0;
|
|
||||||
border: 1px solid #252525;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 16px;
|
|
||||||
background: #0d0d0d;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
min-height: 260px;
|
|
||||||
max-height: 420px;
|
|
||||||
margin: 0;
|
|
||||||
overflow: auto;
|
|
||||||
color: #dcdcdc;
|
|
||||||
line-height: 1.5;
|
|
||||||
font-size: 13px;
|
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.empty {
|
|
||||||
color: #aaa;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 820px) {
|
|
||||||
.app-shell {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
min-height: auto;
|
|
||||||
border-right: 0;
|
|
||||||
border-bottom: 1px solid #222;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panels {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar {
|
|
||||||
align-items: flex-start;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user