36 lines
2.8 KiB
CSS
36 lines
2.8 KiB
CSS
:root { --bg:#f6f7fb; --card:#fff; --line:#e5e7eb; --text:#111827; --muted:#6b7280; --accent:#2563eb; --danger:#dc2626; }
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, sans-serif; background: var(--bg); color: var(--text); }
|
|
button, input, textarea, select { font: inherit; }
|
|
button { border: 0; border-radius: 10px; padding: 10px 14px; background: var(--accent); color: white; cursor: pointer; }
|
|
button.secondary { background: #eef2ff; color: #1e3a8a; }
|
|
button.danger { background: var(--danger); }
|
|
button.ghost { background: transparent; color: var(--accent); }
|
|
input, textarea, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
|
|
textarea { min-height: 110px; }
|
|
.header { display:flex; justify-content:space-between; align-items:center; padding: 18px 28px; background: white; border-bottom:1px solid var(--line); position: sticky; top: 0; z-index: 5; }
|
|
.brand { font-weight: 800; font-size: 20px; }
|
|
.container { max-width: 1280px; margin: 0 auto; padding: 24px; }
|
|
.grid { display:grid; grid-template-columns: 320px 1fr; gap: 20px; align-items:start; }
|
|
.card { background: var(--card); border:1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 10px 25px rgba(15,23,42,.04); }
|
|
.card h2 { margin:0 0 14px; font-size: 18px; }
|
|
.list { display:flex; flex-direction:column; gap: 8px; }
|
|
.list-item { border:1px solid var(--line); border-radius: 14px; padding: 12px; background:#fff; cursor:pointer; }
|
|
.list-item.active { border-color: var(--accent); background:#eff6ff; }
|
|
.muted { color: var(--muted); font-size: 13px; }
|
|
.row { display:flex; gap: 10px; align-items:center; }
|
|
.row > * { flex: 1; }
|
|
.table { width:100%; border-collapse: collapse; }
|
|
.table th, .table td { text-align:left; padding: 10px; border-bottom:1px solid var(--line); vertical-align: top; }
|
|
.table th { font-size:12px; color:var(--muted); text-transform: uppercase; letter-spacing:.04em; }
|
|
.pill { display:inline-flex; align-items:center; padding: 3px 8px; border-radius: 999px; background:#f3f4f6; font-size:12px; }
|
|
.actions { display:flex; flex-wrap:wrap; gap:8px; }
|
|
.login { min-height: 100vh; display:grid; place-items:center; padding:24px; }
|
|
.login .card { width:min(420px, 100%); }
|
|
.error { color: var(--danger); margin: 10px 0; }
|
|
.success { color: #047857; margin: 10px 0; }
|
|
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.35); display:grid; place-items:center; padding: 20px; z-index: 10; }
|
|
.modal { width:min(720px, 100%); max-height: 90vh; overflow:auto; }
|
|
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
|
|
@media (max-width: 900px) { .grid { grid-template-columns:1fr; } .form-grid { grid-template-columns:1fr; } .header { padding:14px; } .container { padding:14px; } }
|