nxtgauge-frontend-solid/src/app.css

145 lines
2 KiB
CSS
Raw Normal View History

:root {
--brand-orange: #fd6216;
--brand-navy: #050026;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Exo 2', system-ui, sans-serif;
background: linear-gradient(140deg, #fff6f0 0%, #f7f8fc 42%, #eef2ff 100%);
color: var(--brand-navy);
}
.page {
max-width: 980px;
margin: 0 auto;
padding: 24px;
}
.card {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 16px;
padding: 18px;
}
.title {
margin: 0;
font-size: 30px;
font-weight: 800;
}
.subtitle {
margin-top: 8px;
color: #64748b;
}
.grid {
display: grid;
grid-template-columns: 1.25fr 0.75fr;
gap: 16px;
margin-top: 18px;
}
.field {
margin-bottom: 12px;
}
.label {
display: block;
margin-bottom: 6px;
font-size: 13px;
font-weight: 700;
}
.input,
.select,
.textarea {
width: 100%;
border: 1px solid #cbd5e1;
border-radius: 10px;
padding: 10px;
font-size: 14px;
background: #fff;
}
.textarea {
min-height: 84px;
}
.inline {
display: flex;
align-items: center;
gap: 8px;
}
.actions {
display: flex;
gap: 10px;
margin-top: 16px;
}
.btn {
border: 1px solid #cbd5e1;
border-radius: 10px;
padding: 10px 14px;
font-weight: 700;
background: #fff;
cursor: pointer;
}
.btn.primary {
border-color: var(--brand-orange);
background: var(--brand-orange);
color: #fff;
}
.note {
margin-top: 8px;
font-size: 12px;
color: #64748b;
}
.ok {
color: #0f766e;
font-weight: 700;
}
.error {
margin-top: 6px;
color: #b91c1c;
font-size: 12px;
font-weight: 700;
}
.step-pill {
display: inline-block;
font-size: 12px;
border-radius: 999px;
border: 1px solid #fed7aa;
background: #fff7ed;
padding: 4px 10px;
margin-bottom: 10px;
}
.preview {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px;
background: #0f172a;
color: #e2e8f0;
border-radius: 12px;
padding: 10px;
max-height: 560px;
overflow: auto;
}
@media (max-width: 900px) {
.grid {
grid-template-columns: 1fr;
}
}