78 lines
7.0 KiB
CSS
78 lines
7.0 KiB
CSS
:root {
|
|
--bg: #f5f8ff;
|
|
--panel: #fff;
|
|
--text: #1f2a37;
|
|
--muted: #5f6a7b;
|
|
--border: #d8dde6;
|
|
--amber: #b77200;
|
|
--amber-strong: #9a6200;
|
|
--danger: #d4491f;
|
|
--ok: #127b3b;
|
|
--ok-bg: #e8f7ec;
|
|
--shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html { overflow-y: scroll; scrollbar-gutter: stable; }
|
|
body { margin: 0; font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; }
|
|
.wrap { width: 100%; margin: 0 auto; padding: 16px 20px; }
|
|
.breadcrumbs { color: #7f8896; font-size: 13px; margin-bottom: 8px; }
|
|
.breadcrumbs span { margin: 0 6px; }
|
|
header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 10px; }
|
|
header h1 { margin: 0; font-size: 38px; font-weight: 600; letter-spacing: 0; }
|
|
header p { margin: 0; color: var(--amber-strong); font-size: 15px; }
|
|
.top-actions { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 12px; flex-wrap: wrap; }
|
|
.main-section { display: block; }
|
|
.panel { border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: var(--panel); box-shadow: var(--shadow); margin-bottom: 14px; }
|
|
.panel h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; letter-spacing: 0; }
|
|
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
|
|
.muted { color: var(--muted); }
|
|
.alert { padding: 12px 14px; border-radius: 10px; margin: 8px 0 12px; border: 1px solid; font-size: 15px; }
|
|
.alert-ok { background: var(--ok-bg); border-color: #a8ddb8; color: #12562b; }
|
|
.alert-err { background: #fff0ed; border-color: #f3c0b4; color: #8b2b18; }
|
|
.grid { display: grid; gap: 12px; }
|
|
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
|
|
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 12px; }
|
|
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
|
|
input[type="text"], input[type="time"], select, textarea { width: 100%; border: 1px solid #cdd4e0; border-radius: 6px; padding: 10px 12px; font-size: 15px; background: #fff; }
|
|
textarea { min-height: 170px; resize: vertical; line-height: 1.45; }
|
|
.subject-prefix-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
|
|
.subject-prefix-control input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
|
.subject-prefix-control span { display: inline-flex; align-items: center; border: 1px solid #cdd4e0; border-left: 0; border-radius: 0 6px 6px 0; background: #f8fafc; padding: 0 12px; color: var(--muted); white-space: nowrap; font-size: 15px; }
|
|
button, .btn { border: 1px solid #b7c6da; background: #fff; color: #1f2d3d; border-radius: 999px; padding: 8px 14px; cursor: pointer; text-decoration: none; font-size: 13px; line-height: 1; display: inline-flex; align-items: center; gap: 6px; }
|
|
.btn.amber, button.primary { background: var(--amber); border-color: var(--amber); color: #fff; }
|
|
.btn.amber.active { background: var(--amber-strong); border-color: var(--amber-strong); }
|
|
.btn.danger, button.danger { border-color: var(--danger); color: var(--danger); background: #fff; }
|
|
button.danger-fill { background: var(--danger); border-color: var(--danger); color: #fff; }
|
|
button.success { background: var(--ok); border-color: var(--ok); color: #fff; }
|
|
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
|
|
.table-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; }
|
|
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
|
|
th, td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
|
|
tbody tr:last-child td { border-bottom: 0; }
|
|
th { background: #f6f8fb; color: #4a5566; font-weight: 600; }
|
|
.badge { display: inline-block; background: #fce2b7; color: #7b4b00; border: 1px solid #efc57f; border-radius: 5px; padding: 2px 8px; font-size: 13px; white-space: nowrap; }
|
|
.badge.ok { background: #def5e5; color: #12562b; border-color: #a8ddb8; }
|
|
.badge.off { background: #eef1f5; color: #5f6a7b; border-color: #d7dde8; }
|
|
.br-restore-layout { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
|
|
.br-restore-calendar { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: #f8fafc; }
|
|
.br-restore-calendar h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
|
|
.br-month-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
|
|
.br-month-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: #3a4655; cursor: pointer; }
|
|
.br-month-label { font-weight: 600; color: #1f2a37; }
|
|
.br-calendar-grid { width: 100%; border-collapse: collapse; font-size: 13px; border: 0; background: transparent; border-radius: 0; overflow: visible; }
|
|
.br-calendar-grid th { padding: 4px; text-align: center; border-bottom: 1px solid var(--border); background: transparent; color: var(--muted); }
|
|
.br-calendar-grid td { padding: 4px; text-align: center; border-bottom: 0; }
|
|
.br-cal-day, .br-cal-day-disabled { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: #fff; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
|
|
.br-cal-day.is-selected { background: var(--amber); color: #fff; border-color: var(--amber); }
|
|
.br-cal-day-disabled { color: #a0a7b4; border-color: transparent; background: transparent; cursor: not-allowed; }
|
|
.br-date-label { font-weight: 600; color: #1f2a37; margin: 6px 0 10px; }
|
|
.br-time-picker { margin: 8px 0 14px; }
|
|
.br-time-title { font-weight: 600; margin-bottom: 6px; color: var(--muted); }
|
|
.br-time-list { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.br-time-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px; }
|
|
.br-time-item input { margin: 0; accent-color: var(--amber); }
|
|
.summary-card, .preview-box { border: 1px solid var(--border); background: #f8fafc; border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
|
|
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 6px 10px; font-size: 15px; }
|
|
.empty-state { min-height: 240px; display: grid; place-items: center; text-align: center; border: 1px dashed #cfd6e3; border-radius: 12px; background: #f8fafc; padding: 24px; }
|
|
@media (max-width: 760px) { header { display: block; } header h1 { font-size: 30px; margin-bottom: 4px; } .br-restore-layout { grid-template-columns: 1fr; } .top-actions { justify-content: flex-start; } .kv { grid-template-columns: 1fr; } .subject-prefix-control { grid-template-columns: 1fr; } .subject-prefix-control input { border-radius: 6px 6px 0 0; } .subject-prefix-control span { border-left: 1px solid #cdd4e0; border-top: 0; border-radius: 0 0 6px 6px; min-height: 38px; } }
|