a2a-source-edit: remove frontend/src/style.css
This commit is contained in:
@@ -1,80 +0,0 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
background: #f6f3ec;
|
||||
color: #17211c;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #d8f5df, transparent 32rem), #f6f3ec; }
|
||||
button, input, textarea { font: inherit; }
|
||||
button { cursor: pointer; }
|
||||
|
||||
.loading { min-height: 100vh; display: grid; place-items: center; color: #58635d; }
|
||||
.app-shell { width: min(1440px, 100%); margin: 0 auto; padding: 24px; display: grid; gap: 20px; }
|
||||
.card { background: rgba(255,255,255,0.86); border: 1px solid #e1ddd2; border-radius: 24px; box-shadow: 0 18px 50px rgba(37, 48, 42, 0.08); }
|
||||
.hero { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 24px; align-items: end; }
|
||||
.eyebrow { margin: 0 0 8px; color: #19765a; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
|
||||
h1, h2, h3, p { margin-top: 0; }
|
||||
h1 { margin-bottom: 14px; max-width: 900px; font-size: clamp(36px, 6vw, 76px); line-height: .93; letter-spacing: -0.06em; }
|
||||
h2 { margin-bottom: 12px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.035em; }
|
||||
h3 { margin-bottom: 10px; font-size: 15px; }
|
||||
.lede { max-width: 780px; margin-bottom: 0; color: #506058; font-size: 18px; line-height: 1.6; }
|
||||
.session-box { border: 1px solid #d9d3c7; border-radius: 18px; background: #fff; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
|
||||
.session-box p { margin: 3px 0 0; color: #65736b; font-size: 14px; }
|
||||
.dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; }
|
||||
.dot.ok { background: #16a368; box-shadow: 0 0 0 5px #dff4e9; }
|
||||
.dot.warn { background: #d48b12; box-shadow: 0 0 0 5px #faecd1; }
|
||||
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
|
||||
.editor, .controls, .result-card { padding: 22px; }
|
||||
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
|
||||
.field, .quote-row label, .paste-upload label, .slider { display: grid; gap: 7px; color: #526058; font-size: 13px; font-weight: 700; }
|
||||
input, textarea { width: 100%; border: 1px solid #d6d0c4; border-radius: 12px; background: #fffdfa; color: #17211c; padding: 10px 12px; outline: none; }
|
||||
input:focus, textarea:focus { border-color: #1e8a68; box-shadow: 0 0 0 3px #d8f5e9; }
|
||||
.id-field { max-width: 420px; margin-bottom: 16px; }
|
||||
.quote-list { display: grid; gap: 10px; }
|
||||
.quote-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(92px, .7fr)) auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid #ebe5d9; border-radius: 16px; background: #fffdfa; }
|
||||
.quote-row button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: #f8ded9; color: #9c2d1f; font-size: 22px; }
|
||||
.paste-upload { margin-top: 18px; display: grid; gap: 12px; }
|
||||
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
|
||||
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
|
||||
.button { border: 0; border-radius: 999px; padding: 11px 16px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
|
||||
.button.primary { width: 100%; background: #17211c; color: #fff; margin-top: 12px; }
|
||||
.button.secondary { background: #e7f4ed; color: #145b45; }
|
||||
.button.ghost { background: #f2eee5; color: #27322d; }
|
||||
.button:disabled { opacity: .48; cursor: not-allowed; }
|
||||
.upload { position: relative; overflow: hidden; }
|
||||
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
|
||||
.controls { position: sticky; top: 18px; display: grid; gap: 12px; }
|
||||
.slider { grid-template-columns: 1fr auto; align-items: center; text-transform: capitalize; }
|
||||
.slider input { grid-column: 1 / -1; accent-color: #19765a; padding: 0; }
|
||||
.hint, .empty { color: #65736b; line-height: 1.5; }
|
||||
.validation, .error, .status { border-radius: 14px; padding: 12px; margin: 0; line-height: 1.45; }
|
||||
.validation { background: #fff4d8; color: #7d5411; }
|
||||
.error { background: #fde5e1; color: #8d251a; }
|
||||
.status { background: #def6e8; color: #12613f; }
|
||||
.signin-note { color: #145b45; text-align: center; font-weight: 800; }
|
||||
.history { margin-top: 10px; border-top: 1px solid #e4ded2; padding-top: 14px; display: grid; gap: 8px; }
|
||||
.history button { border: 1px solid #d6d0c4; background: #fffdfa; color: #33423b; border-radius: 10px; padding: 8px 10px; text-align: left; }
|
||||
.result-card { display: grid; gap: 12px; }
|
||||
.score { border-radius: 999px; background: #17211c; color: #fff; padding: 9px 14px; font-weight: 900; }
|
||||
.rationale { color: #394840; font-size: 17px; line-height: 1.6; }
|
||||
.table-wrap { overflow-x: auto; }
|
||||
table { width: 100%; border-collapse: collapse; min-width: 680px; }
|
||||
th, td { padding: 14px 12px; border-bottom: 1px solid #ebe5d9; text-align: left; }
|
||||
th { color: #65736b; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
|
||||
tr.winner td { background: #e8f7ee; font-weight: 800; }
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.hero, .grid { grid-template-columns: 1fr; }
|
||||
.controls { position: static; }
|
||||
.quote-row { grid-template-columns: 1fr 1fr; }
|
||||
.quote-row label:first-child { grid-column: 1 / -1; }
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.app-shell { padding: 12px; }
|
||||
.hero, .editor, .controls, .result-card { padding: 16px; border-radius: 18px; }
|
||||
.quote-row { grid-template-columns: 1fr; }
|
||||
.section-head { flex-direction: column; }
|
||||
}
|
||||
Reference in New Issue
Block a user