272 lines
6.8 KiB
PHP

<style>
.edge-banding-page {
color: var(--vip-content-ink, #171717);
font-family: "JetBrains Mono", "Microsoft YaHei", "PingFang SC", monospace;
font-size: 0.8125rem;
}
.edge-banding-toolbar {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 0.75rem;
margin-bottom: 1rem;
padding: 1rem;
border: 1px solid var(--vip-border, #d8d2c7);
border-radius: 0.75rem;
background: var(--vip-surface, #ffffff);
}
.edge-banding-field {
display: flex;
min-width: 9rem;
flex-direction: column;
gap: 0.35rem;
}
.edge-banding-field label {
color: var(--vip-content-muted, #595959);
font-size: 0.75rem;
font-weight: 500;
line-height: 1.333;
}
.edge-banding-field input,
.edge-banding-field select {
height: 2.125rem;
min-width: 9rem;
padding: 0 0.625rem;
border: 1px solid var(--vip-border, #d8d2c7);
border-radius: 0.5rem;
background: var(--vip-surface, #ffffff);
color: var(--vip-content-ink, #171717);
font: inherit;
outline: none;
}
.edge-banding-field input:focus,
.edge-banding-field select:focus {
border-color: var(--vip-content-accent, #856632);
box-shadow: 0 0 0 3px rgba(133, 102, 50, 0.2);
}
.edge-banding-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.edge-banding-button {
display: inline-flex;
height: 2.125rem;
align-items: center;
justify-content: center;
gap: 0.375rem;
padding: 0 0.875rem;
border: 1px solid var(--vip-border, #d8d2c7);
border-radius: 0.5rem;
background: var(--vip-surface, #ffffff);
color: var(--vip-content-ink, #171717);
font: inherit;
font-weight: 500;
line-height: 1;
text-decoration: none;
cursor: pointer;
}
.edge-banding-button--primary {
border-color: var(--vip-content-accent, #856632);
background: var(--vip-content-accent, #856632);
color: #ffffff;
}
.edge-banding-button:hover {
border-color: var(--vip-content-accent, #856632);
background: var(--vip-content-accent-soft, #f7f0de);
color: var(--vip-content-ink, #171717);
}
.edge-banding-button--primary:hover {
border-color: #6a5129;
background: #6a5129;
color: #ffffff;
}
.edge-banding-button:focus-visible {
outline: none;
box-shadow: 0 0 0 3px rgba(133, 102, 50, 0.2);
}
.edge-banding-button .material-icons-outlined {
font-size: 1.125rem;
}
.edge-banding-alert {
display: flex;
align-items: flex-start;
gap: 0.625rem;
margin-bottom: 1rem;
padding: 0.75rem 1rem;
border: 1px solid var(--vip-danger, #b80000);
border-radius: 0.5rem;
background: #fff5f5;
color: var(--vip-danger, #b80000);
}
.edge-banding-alert .material-icons-outlined {
flex: 0 0 auto;
font-size: 1.125rem;
}
.edge-banding-table-card {
overflow: hidden;
border: 1px solid var(--vip-border, #d8d2c7);
border-radius: 0.75rem;
background: var(--vip-surface, #ffffff);
}
.edge-banding-table-scroll {
overflow-x: auto;
scrollbar-color: var(--vip-content-accent, #b9954f) #efede8;
scrollbar-width: thin;
}
.edge-banding-table {
width: 100%;
min-width: 68rem;
border-collapse: collapse;
font-size: 0.78125rem;
font-variant-numeric: tabular-nums;
}
.edge-banding-table--details {
min-width: 128rem;
}
.edge-banding-table th,
.edge-banding-table td {
height: 2.5rem;
padding: 0.5rem 0.625rem;
border-right: 1px solid var(--vip-border, #d8d2c7);
border-bottom: 1px solid var(--vip-border, #d8d2c7);
text-align: left;
white-space: nowrap;
}
.edge-banding-table th:last-child,
.edge-banding-table td:last-child {
border-right: 0;
}
.edge-banding-table thead th {
background: var(--vip-content-accent-soft, #f7f0de);
color: var(--vip-content-ink, #171717);
font-size: 0.75rem;
font-weight: 600;
}
.edge-banding-table tbody tr:hover {
background: #fbf8f0;
}
.edge-banding-table .is-number {
text-align: right;
}
.edge-banding-table .is-empty td {
height: 8rem;
color: var(--vip-content-muted, #595959);
text-align: center;
}
.edge-banding-table--compensation thead th:last-child {
background: var(--vip-content-accent-soft, #f7f0de);
color: var(--vip-content-ink, #171717);
}
.edge-banding-table--payables {
min-width: 82rem;
}
.edge-banding-table--payables thead th,
.edge-banding-table--payables tfoot td {
border-color: var(--vip-border, #d8d2c7);
background: var(--vip-content-accent-soft, #f7f0de);
color: var(--vip-content-ink, #171717);
text-align: center;
white-space: normal;
}
.edge-banding-table--payables thead tr:first-child th {
height: 3rem;
font-size: 0.875rem;
font-weight: 600;
}
.edge-banding-table--payables tbody td {
text-align: right;
}
.edge-banding-table--payables tbody td:nth-child(2) {
text-align: left;
}
.edge-banding-table--payables tfoot td {
font-weight: 600;
text-align: right;
}
.edge-banding-table--payables tfoot td:first-child,
.edge-banding-table--payables tfoot td:last-child {
text-align: left;
}
.edge-banding-pagination {
display: flex;
min-height: 3rem;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.625rem 1rem;
color: var(--vip-content-muted, #595959);
font-size: 0.78125rem;
}
.edge-banding-pagination__controls {
display: flex;
align-items: center;
gap: 0.5rem;
}
.edge-banding-pagination__controls .edge-banding-button {
width: 2.125rem;
padding: 0;
}
.edge-banding-pagination__controls .is-disabled {
pointer-events: none;
opacity: 0.45;
}
@media (max-width: 640px) {
.edge-banding-toolbar {
align-items: stretch;
}
.edge-banding-field,
.edge-banding-field input,
.edge-banding-field select {
width: 100%;
}
.edge-banding-actions {
width: 100%;
}
.edge-banding-pagination {
align-items: flex-start;
flex-direction: column;
}
}
</style>