30 lines
2.2 KiB
CSS
30 lines
2.2 KiB
CSS
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; background: #f8fafc; color: #1e293b; }
|
|
nav { background: #1e293b; color: white; padding: 16px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
|
|
nav h1 { font-size: 18px; white-space: nowrap; }
|
|
#nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
|
|
#nav-links a { color: #94a3b8; text-decoration: none; padding: 4px 8px; border-radius: 4px; font-size: 14px; }
|
|
#nav-links a.active { color: white; background: #334155; }
|
|
main { max-width: 800px; margin: 24px auto; padding: 0 16px; }
|
|
.card { background: white; border-radius: 8px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
|
|
.card h2 { font-size: 16px; margin-bottom: 12px; color: #475569; }
|
|
.stat { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
|
|
.stat:last-child { border-bottom: none; }
|
|
.field { margin-bottom: 16px; }
|
|
.field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; color: #64748b; }
|
|
.field input, .field select { width: 100%; padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; }
|
|
.btn { padding: 8px 16px; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; }
|
|
.btn-primary { background: #2563eb; color: white; }
|
|
.btn-primary:hover { background: #1d4ed8; }
|
|
.btn-danger { background: #dc2626; color: white; }
|
|
.btn-danger:hover { background: #b91c1c; }
|
|
.btn-group { display: flex; gap: 8px; margin-top: 12px; }
|
|
.checkbox-list { list-style: none; }
|
|
.checkbox-list li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 8px; }
|
|
.checkbox-list input[type="checkbox"] { width: 18px; height: 18px; }
|
|
.preset-btns { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.preset-btns button { padding: 6px 12px; border: 1px solid #e2e8f0; border-radius: 4px; background: white; cursor: pointer; }
|
|
.preset-btns button.active { background: #2563eb; color: white; border-color: #2563eb; }
|
|
.toast { position: fixed; bottom: 20px; right: 20px; background: #065f46; color: white; padding: 12px 20px; border-radius: 6px; display: none; }
|
|
.toast.show { display: block; }
|