1413 lines
22 KiB
CSS
1413 lines
22 KiB
CSS
:root {
|
|
--bg: #f4f7fb;
|
|
--bg-soft: #edf6f5;
|
|
--panel: #ffffff;
|
|
--panel-muted: #f8fafc;
|
|
--line: #d8e1ea;
|
|
--line-strong: #bdc9d6;
|
|
--text: #182230;
|
|
--muted: #667085;
|
|
--muted-strong: #475467;
|
|
--brand: #0f766e;
|
|
--brand-strong: #115e59;
|
|
--brand-soft: #dff4f1;
|
|
--accent: #2563eb;
|
|
--accent-soft: #dbeafe;
|
|
--ok: #178457;
|
|
--ok-soft: #dcfce7;
|
|
--warn: #b7791f;
|
|
--warn-soft: #fef3c7;
|
|
--danger: #b42318;
|
|
--danger-soft: #fee4e2;
|
|
--radius-sm: 6px;
|
|
--radius: 8px;
|
|
--radius-lg: 14px;
|
|
--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
|
|
--shadow-md: 0 14px 34px rgba(16, 24, 40, .09);
|
|
--shadow-lg: 0 26px 70px rgba(15, 23, 42, .18);
|
|
--focus: 0 0 0 4px rgba(15, 118, 110, .18);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
min-height: 100%;
|
|
background: var(--bg);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(15, 118, 110, .10), transparent 34rem),
|
|
linear-gradient(180deg, #fbfcfe 0%, var(--bg) 26rem);
|
|
color: var(--text);
|
|
line-height: 1.45;
|
|
user-select: none;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
button,
|
|
input:not([type="checkbox"]):not([type="radio"]),
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button:disabled,
|
|
input:disabled,
|
|
select:disabled,
|
|
textarea:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .62;
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 0;
|
|
box-shadow: var(--focus);
|
|
}
|
|
|
|
.login-page {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 32px;
|
|
background:
|
|
linear-gradient(135deg, rgba(15, 118, 110, .12), rgba(37, 99, 235, .08)),
|
|
var(--bg);
|
|
}
|
|
|
|
.login-box,
|
|
.panel {
|
|
background: rgba(255, 255, 255, .94);
|
|
border: 1px solid rgba(216, 225, 234, .92);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.login-box {
|
|
width: min(440px, 100%);
|
|
padding: 30px;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.login-box h1 {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.tabs,
|
|
.nav-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
border-bottom: 1px solid var(--line);
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.tabs button,
|
|
.nav-tabs button {
|
|
border: 0;
|
|
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
background: transparent;
|
|
padding: 11px 12px;
|
|
cursor: pointer;
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tabs button:hover,
|
|
.nav-tabs button:hover {
|
|
color: var(--brand);
|
|
background: var(--brand-soft);
|
|
}
|
|
|
|
.tabs button.active,
|
|
.nav-tabs button.active {
|
|
color: var(--brand-strong);
|
|
border-bottom: 3px solid var(--brand);
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 7px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
label {
|
|
color: var(--muted-strong);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
background: #fff;
|
|
color: var(--text);
|
|
user-select: text;
|
|
transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
|
|
}
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
color: #98a2b3;
|
|
}
|
|
|
|
input:not([type="checkbox"]):not([type="radio"]):hover,
|
|
select:hover,
|
|
textarea:hover {
|
|
border-color: var(--line-strong);
|
|
}
|
|
|
|
input:not([type="checkbox"]):not([type="radio"]):focus,
|
|
select:focus,
|
|
textarea:focus {
|
|
border-color: var(--brand);
|
|
box-shadow: var(--focus);
|
|
outline: 0;
|
|
}
|
|
|
|
input[type="checkbox"],
|
|
input[type="radio"] {
|
|
width: auto;
|
|
min-height: 0;
|
|
margin: 0 7px 0 0;
|
|
accent-color: var(--brand);
|
|
vertical-align: middle;
|
|
user-select: auto;
|
|
}
|
|
|
|
textarea {
|
|
min-height: 96px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.btn {
|
|
min-height: 42px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
border: 0;
|
|
border-radius: var(--radius);
|
|
padding: 10px 15px;
|
|
color: #fff;
|
|
background: var(--brand);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
|
|
transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
background: var(--brand-strong);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 12px 24px rgba(15, 118, 110, .22);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(0);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.btn.secondary {
|
|
color: var(--text);
|
|
background: #eef4f7;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.btn.secondary:hover {
|
|
background: #dfe8ee;
|
|
}
|
|
|
|
.btn.danger {
|
|
background: var(--danger);
|
|
box-shadow: 0 8px 18px rgba(180, 35, 24, .18);
|
|
}
|
|
|
|
.btn.danger:hover {
|
|
background: #8f1f16;
|
|
}
|
|
|
|
.app {
|
|
display: grid;
|
|
grid-template-columns: 264px minmax(0, 1fr);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
background: linear-gradient(180deg, #10323a 0%, #102830 100%);
|
|
color: #fff;
|
|
padding: 24px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 22px;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
box-shadow: inset -1px 0 0 rgba(255, 255, 255, .08);
|
|
}
|
|
|
|
.brand {
|
|
font-size: 21px;
|
|
font-weight: 900;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.user {
|
|
color: #bfd0d7;
|
|
font-size: 13px;
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.menu {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.menu a {
|
|
text-decoration: none;
|
|
padding: 11px 12px;
|
|
border-radius: var(--radius);
|
|
color: #dce8ed;
|
|
font-weight: 700;
|
|
transition: background .16s ease, color .16s ease, transform .16s ease;
|
|
}
|
|
|
|
.menu a.active,
|
|
.menu a:hover {
|
|
background: rgba(255, 255, 255, .14);
|
|
color: #fff;
|
|
}
|
|
|
|
.menu a.active {
|
|
box-shadow: inset 3px 0 0 #8ee6dc;
|
|
}
|
|
|
|
.menu a:hover {
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.sidebar .btn {
|
|
margin-top: auto;
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, .14);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.sidebar .btn:hover {
|
|
background: rgba(255, 255, 255, .22);
|
|
}
|
|
|
|
.content {
|
|
min-width: 0;
|
|
padding: 30px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
align-items: center;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
color: var(--text);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0 0 14px;
|
|
font-size: 18px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.grid .field {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.cols {
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
align-items: end;
|
|
}
|
|
|
|
.grid > .btn,
|
|
.grid.cols > .btn {
|
|
justify-self: start;
|
|
align-self: end;
|
|
min-width: 150px;
|
|
max-width: 260px;
|
|
}
|
|
|
|
.grid > .row {
|
|
align-self: end;
|
|
}
|
|
|
|
.panel {
|
|
padding: 18px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.section-actions > .btn {
|
|
min-width: 92px;
|
|
}
|
|
|
|
.search-icon-btn {
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
padding: 5px;
|
|
background: transparent;
|
|
color: var(--brand-strong);
|
|
cursor: pointer;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
box-shadow: none;
|
|
transition: color .16s ease, background .16s ease, transform .16s ease;
|
|
}
|
|
|
|
.search-icon-btn:hover {
|
|
color: var(--brand);
|
|
background: var(--brand-soft);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.search-icon-btn svg {
|
|
width: 23px;
|
|
height: 23px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 2.4;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.search-strip {
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.panel-block {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: end;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.row .field {
|
|
flex: 1 1 240px;
|
|
min-width: min(240px, 100%);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.row .btn {
|
|
flex: 0 0 auto;
|
|
align-self: end;
|
|
}
|
|
|
|
.row.compact .field,
|
|
.modal-head .btn,
|
|
.calendar-toolbar .btn,
|
|
td .btn,
|
|
.table-wrap .btn {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow: auto;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: #fff;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 680px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 10px;
|
|
border-bottom: 1px solid var(--line);
|
|
text-align: left;
|
|
font-size: 14px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
td .btn,
|
|
.table-wrap .btn {
|
|
min-height: 36px;
|
|
padding: 8px 12px;
|
|
box-shadow: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.table-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.table-actions.start {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
a.table-icon-btn,
|
|
.table-icon-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-sm);
|
|
background: #ffffff;
|
|
color: var(--muted-strong);
|
|
cursor: pointer;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
text-decoration: none;
|
|
transition: all .16s ease;
|
|
}
|
|
|
|
a.table-icon-btn:hover,
|
|
.table-icon-btn:hover {
|
|
background: var(--bg-soft);
|
|
color: var(--brand);
|
|
border-color: var(--brand);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.header-add-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
min-width: 36px;
|
|
border: 1px solid var(--brand);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--brand);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
transition: all .16s ease;
|
|
}
|
|
|
|
.header-add-btn:hover {
|
|
background: var(--brand-strong);
|
|
border-color: var(--brand-strong);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.header-add-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 2.4;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.table-icon-btn.send {
|
|
color: var(--brand);
|
|
}
|
|
|
|
.table-icon-btn.send:hover {
|
|
background: var(--brand-soft);
|
|
border-color: var(--brand);
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
.table-icon-btn.danger {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.table-icon-btn.danger:hover {
|
|
background: var(--danger-soft);
|
|
border-color: var(--danger);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.table-icon-btn svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.table-icon-btn:disabled {
|
|
opacity: .5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: #f8fbfc;
|
|
}
|
|
|
|
tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
th {
|
|
background: var(--panel-muted);
|
|
color: var(--muted-strong);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 26px;
|
|
padding: 4px 9px;
|
|
border-radius: 999px;
|
|
background: #eef2f6;
|
|
color: var(--muted-strong);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.badge.ok {
|
|
background: var(--ok-soft);
|
|
color: var(--ok);
|
|
}
|
|
|
|
.badge.warn {
|
|
background: var(--warn-soft);
|
|
color: var(--warn);
|
|
}
|
|
|
|
.toast,
|
|
.finance-banner {
|
|
position: fixed;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1000;
|
|
max-width: min(720px, calc(100vw - 24px));
|
|
border-radius: var(--radius);
|
|
padding: 12px 18px;
|
|
box-shadow: var(--shadow-lg);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toast {
|
|
bottom: 24px;
|
|
background: #17202a;
|
|
color: #fff;
|
|
}
|
|
|
|
.toast.error {
|
|
background: var(--danger);
|
|
border: 1px solid rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
.finance-banner {
|
|
top: 12px;
|
|
background: #fff7ed;
|
|
border: 1px solid #fed7aa;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.qr {
|
|
max-width: 260px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 15px;
|
|
background: #fff;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.stat strong {
|
|
display: block;
|
|
font-size: 24px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.status-action {
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.status-action span {
|
|
font-size: 12px;
|
|
color: var(--brand);
|
|
text-decoration: underline;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-action:hover span {
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
.inline-panel {
|
|
background: var(--panel-muted);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 14px;
|
|
}
|
|
|
|
.inline-panel h2 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.inline-panel p {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.row.compact {
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.row.compact select {
|
|
min-width: 180px;
|
|
}
|
|
|
|
.link-button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--brand);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-decoration: underline;
|
|
padding: 0 0 0 6px;
|
|
}
|
|
|
|
.link-button:hover {
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
.finance-temp {
|
|
margin-bottom: 14px;
|
|
border-color: #fed7aa;
|
|
background: #fff7ed;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.finance-temp p {
|
|
margin: 6px 0 0;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 30;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.modal-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, .56);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
.modal-panel {
|
|
position: relative;
|
|
width: min(920px, 100%);
|
|
max-height: calc(100vh - 48px);
|
|
overflow: auto;
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.modal-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
margin-bottom: 22px;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.modal-head h2 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.modal-head .btn {
|
|
min-height: 38px;
|
|
padding: 8px 13px;
|
|
}
|
|
|
|
.modal-form {
|
|
display: grid;
|
|
gap: 20px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.field-wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.check-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--panel-muted);
|
|
}
|
|
|
|
.check-grid label,
|
|
#notif-modal-body label,
|
|
#aviso-notif-body label {
|
|
min-height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-sm);
|
|
background: #fff;
|
|
}
|
|
|
|
.modal-actions {
|
|
grid-column: 1 / -1;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--line);
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.modal-actions .btn {
|
|
min-width: 120px;
|
|
}
|
|
|
|
.modal-panel form.grid.cols,
|
|
.modal-panel form.grid {
|
|
align-items: start;
|
|
}
|
|
|
|
.modal-panel form > .row:last-child {
|
|
grid-column: 1 / -1;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--line);
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.modal-panel form > .row:last-child .btn {
|
|
min-width: 120px;
|
|
}
|
|
|
|
.confirm-panel {
|
|
width: min(460px, 100%);
|
|
}
|
|
|
|
.confirm-panel p {
|
|
margin: 0 0 6px;
|
|
color: var(--muted-strong);
|
|
}
|
|
|
|
.modal-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.modal-grid h3 {
|
|
margin: 0 0 10px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.cond-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 10px;
|
|
margin-bottom: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.success-message {
|
|
display: inline-block;
|
|
margin: 0 0 10px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #bbf7d0;
|
|
border-radius: var(--radius);
|
|
background: var(--ok-soft);
|
|
color: var(--ok);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.section-head h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.icon-btn {
|
|
position: relative;
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: #fff;
|
|
cursor: pointer;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
|
|
}
|
|
|
|
.icon-btn:hover {
|
|
border-color: var(--brand);
|
|
background: var(--brand-soft);
|
|
}
|
|
|
|
.calendar-open::before {
|
|
content: "";
|
|
width: 20px;
|
|
height: 18px;
|
|
border: 2px solid var(--brand);
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 5px 0 #e8f3f7;
|
|
position: relative;
|
|
}
|
|
|
|
.calendar-open::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 2px;
|
|
background: var(--brand);
|
|
transform: translateY(-7px);
|
|
}
|
|
|
|
.calendar-modal {
|
|
width: min(1120px, 100%);
|
|
}
|
|
|
|
.calendar-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 320px;
|
|
gap: 18px;
|
|
}
|
|
|
|
.calendar-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.calendar-toolbar strong {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
|
|
.calendar-weekday {
|
|
padding: 10px;
|
|
background: var(--panel-muted);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.calendar-day {
|
|
min-height: 86px;
|
|
border: 0;
|
|
border-right: 1px solid var(--line);
|
|
border-bottom: 1px solid var(--line);
|
|
background: #fff;
|
|
padding: 8px;
|
|
text-align: left;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.calendar-day:hover {
|
|
background: #f8fbfc;
|
|
}
|
|
|
|
.calendar-day:nth-child(7n+7) {
|
|
border-right: 0;
|
|
}
|
|
|
|
.calendar-day.other {
|
|
background: var(--panel-muted);
|
|
color: #98a2b3;
|
|
}
|
|
|
|
.calendar-day.busy {
|
|
background: #fff7ed;
|
|
}
|
|
|
|
.calendar-day.busy span {
|
|
font-weight: 800;
|
|
color: var(--warn);
|
|
}
|
|
|
|
.calendar-day.today {
|
|
box-shadow: inset 0 0 0 2px var(--brand);
|
|
}
|
|
|
|
.calendar-day.selected {
|
|
background: var(--brand-soft);
|
|
}
|
|
|
|
.calendar-day b {
|
|
position: absolute;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
background: var(--brand);
|
|
color: #fff;
|
|
border-radius: 999px;
|
|
padding: 2px 7px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.calendar-side {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 14px;
|
|
background: #fff;
|
|
min-height: 420px;
|
|
}
|
|
|
|
.calendar-side h3 {
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.calendar-event {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
display: grid;
|
|
gap: 6px;
|
|
background: var(--panel-muted);
|
|
}
|
|
|
|
.calendar-event span {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.calendar-event p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: .01ms !important;
|
|
animation-duration: .01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.calendar-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.calendar-day {
|
|
min-height: 64px;
|
|
}
|
|
|
|
.calendar-side {
|
|
min-height: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
body {
|
|
background: var(--bg);
|
|
}
|
|
|
|
.app {
|
|
display: block;
|
|
}
|
|
|
|
.sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 25;
|
|
height: auto;
|
|
min-height: 0;
|
|
padding: 12px 14px;
|
|
gap: 10px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, .12);
|
|
overflow: visible;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.user {
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.menu {
|
|
display: flex;
|
|
gap: 8px;
|
|
overflow-x: auto;
|
|
padding-bottom: 2px;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.menu::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.menu a {
|
|
flex: 0 0 auto;
|
|
padding: 9px 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.menu a:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.sidebar .btn {
|
|
margin-top: 0;
|
|
width: auto;
|
|
align-self: flex-start;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.content {
|
|
padding: 16px;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.topbar {
|
|
align-items: flex-start;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 14px;
|
|
}
|
|
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.grid.cols {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.field {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.login-box .btn,
|
|
form.row > .btn,
|
|
form.grid.cols > .btn {
|
|
width: 100%;
|
|
max-width: none;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.row .btn {
|
|
flex: 1 1 180px;
|
|
}
|
|
|
|
.sidebar .btn,
|
|
td .btn,
|
|
.table-wrap .btn,
|
|
.modal-head .btn,
|
|
.calendar-toolbar .btn,
|
|
.row.compact .btn {
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.tabs,
|
|
.nav-tabs {
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stat strong {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.table-wrap {
|
|
margin-left: -2px;
|
|
margin-right: -2px;
|
|
}
|
|
|
|
table {
|
|
min-width: 640px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 10px 8px;
|
|
}
|
|
|
|
.toast {
|
|
bottom: 12px;
|
|
}
|
|
|
|
.finance-banner {
|
|
top: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.modal-grid,
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.check-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
|
|
}
|
|
|
|
.modal {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.content {
|
|
padding: 12px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 12px;
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.login-page {
|
|
padding: 16px;
|
|
}
|
|
|
|
.login-box {
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal {
|
|
padding: 8px;
|
|
align-items: start;
|
|
}
|
|
|
|
.modal-panel {
|
|
max-height: calc(100vh - 16px);
|
|
padding: 14px;
|
|
}
|
|
|
|
.modal-head {
|
|
align-items: flex-start;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 10px;
|
|
}
|
|
|
|
.modal-head .btn {
|
|
width: auto;
|
|
}
|
|
|
|
.modal-actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.modal-actions .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.check-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.calendar-grid {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.calendar-weekday {
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
.calendar-day {
|
|
min-height: 54px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.calendar-day b {
|
|
right: 4px;
|
|
bottom: 4px;
|
|
padding: 1px 5px;
|
|
}
|
|
|
|
.calendar-toolbar .btn {
|
|
width: auto;
|
|
}
|
|
|
|
.section-head {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.icon-btn {
|
|
width: 40px;
|
|
min-width: 40px;
|
|
}
|
|
|
|
.cond-item {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.cond-item .btn {
|
|
width: 100%;
|
|
}
|
|
}
|