a2a-source-edit: write frontend/src/style.css
This commit is contained in:
@@ -5,24 +5,16 @@
|
|||||||
color: #f5f5f5;
|
color: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* { box-sizing: border-box; }
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: #090909;
|
background: radial-gradient(circle at top left, #15332d 0, #090909 32rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button, textarea, input { font: inherit; }
|
||||||
textarea {
|
button { cursor: pointer; }
|
||||||
font: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
@@ -40,7 +32,7 @@ button {
|
|||||||
.sidebar {
|
.sidebar {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
border-right: 1px solid #222;
|
border-right: 1px solid #222;
|
||||||
background: #0d0d0d;
|
background: rgba(13, 13, 13, 0.94);
|
||||||
padding: 28px;
|
padding: 28px;
|
||||||
display: grid;
|
display: grid;
|
||||||
align-content: start;
|
align-content: start;
|
||||||
@@ -51,89 +43,31 @@ button {
|
|||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
color: #8bd8c6;
|
color: #8bd8c6;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
letter-spacing: 0;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1, h2, h3, p { margin-top: 0; }
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
p {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
font-size: clamp(32px, 5vw, 56px);
|
font-size: clamp(32px, 5vw, 52px);
|
||||||
line-height: 0.95;
|
line-height: 0.95;
|
||||||
letter-spacing: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 { margin-bottom: 0; font-size: 30px; }
|
||||||
margin-bottom: 0;
|
h3 { margin-bottom: 12px; color: #d7d7d7; font-size: 14px; }
|
||||||
font-size: 30px;
|
.agent-meta { margin-bottom: 0; color: #a6a6a6; overflow-wrap: anywhere; }
|
||||||
letter-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
.session, .tips, .panel, .error-card {
|
||||||
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: 1px solid #252525;
|
||||||
border-radius: 8px;
|
border-radius: 12px;
|
||||||
background: #121212;
|
background: #0d0d0d;
|
||||||
color: #f3f3f3;
|
|
||||||
padding: 12px 14px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 16px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.skill:hover,
|
.session { padding: 14px; color: #a6a6a6; display: grid; gap: 4px; }
|
||||||
.skill.active {
|
.session strong { color: #f3f3f3; overflow-wrap: anywhere; }
|
||||||
border-color: #5bb7a7;
|
.tips { padding: 16px; color: #cfcfcf; }
|
||||||
background: #15201d;
|
.tips ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
|
||||||
}
|
|
||||||
|
|
||||||
.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 {
|
.workbench {
|
||||||
padding: 28px;
|
padding: 28px;
|
||||||
@@ -149,10 +83,9 @@ h3 {
|
|||||||
gap: 18px;
|
gap: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar a,
|
.toolbar a, .runner button {
|
||||||
.runner button {
|
|
||||||
border: 1px solid #e8e8e8;
|
border: 1px solid #e8e8e8;
|
||||||
border-radius: 7px;
|
border-radius: 9px;
|
||||||
background: #f4f4f4;
|
background: #f4f4f4;
|
||||||
color: #111;
|
color: #111;
|
||||||
padding: 10px 14px;
|
padding: 10px 14px;
|
||||||
@@ -160,55 +93,38 @@ h3 {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.runner {
|
.runner { display: grid; gap: 14px; }
|
||||||
display: grid;
|
.runner label { display: grid; gap: 8px; color: #d7d7d7; }
|
||||||
gap: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner label {
|
.runner textarea, .runner input {
|
||||||
display: grid;
|
|
||||||
gap: 10px;
|
|
||||||
color: #d7d7d7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.runner textarea {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 170px;
|
|
||||||
resize: vertical;
|
|
||||||
border: 1px solid #252525;
|
border: 1px solid #252525;
|
||||||
border-radius: 8px;
|
border-radius: 10px;
|
||||||
background: #070707;
|
background: #070707;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.runner button {
|
.runner textarea { min-height: 170px; resize: vertical; }
|
||||||
justify-self: start;
|
.message-box { font-family: inherit; }
|
||||||
}
|
.runner button { justify-self: start; }
|
||||||
|
.runner button:disabled { cursor: wait; opacity: 0.72; }
|
||||||
|
.grid-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
|
||||||
|
.error-card { padding: 14px; color: #ffd7d7; border-color: #6d2a2a; }
|
||||||
|
|
||||||
.runner button:disabled {
|
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
|
||||||
cursor: wait;
|
.result-panels { align-items: start; }
|
||||||
opacity: 0.72;
|
.panel { min-width: 0; padding: 16px; }
|
||||||
}
|
.result-card p { color: #eeeeee; line-height: 1.55; }
|
||||||
|
.pill { display: inline-flex; border: 1px solid #5bb7a7; border-radius: 999px; padding: 6px 10px; color: #bff5ea; }
|
||||||
.panels {
|
.clean-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
|
||||||
display: grid;
|
.clean-list li { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid #202020; }
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
.clean-list li:last-child { border-bottom: 0; padding-bottom: 0; }
|
||||||
gap: 16px;
|
.clean-list small { color: #aaa; }
|
||||||
}
|
|
||||||
|
|
||||||
.panel {
|
|
||||||
min-width: 0;
|
|
||||||
border: 1px solid #252525;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 16px;
|
|
||||||
background: #0d0d0d;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
min-height: 260px;
|
min-height: 220px;
|
||||||
max-height: 420px;
|
max-height: 420px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -218,27 +134,9 @@ pre {
|
|||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty {
|
|
||||||
color: #aaa;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 820px) {
|
@media (max-width: 820px) {
|
||||||
.app-shell {
|
.app-shell { grid-template-columns: 1fr; }
|
||||||
grid-template-columns: 1fr;
|
.sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid #222; }
|
||||||
}
|
.panels, .grid-fields { grid-template-columns: 1fr; }
|
||||||
|
.toolbar { align-items: flex-start; flex-direction: column; }
|
||||||
.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