207 lines
4.3 KiB
CSS
207 lines
4.3 KiB
CSS
.invoice-editor-page .invoice-editor-grid,
|
|
.invoice-editor-page .invoice-editor-grid.is-creating {
|
|
grid-template-columns: minmax(310px, 360px) minmax(0, 1fr);
|
|
align-items: start;
|
|
}
|
|
|
|
.invoice-editor-main {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.invoice-editor-sidebar {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.invoice-editor-sidebar-inner {
|
|
position: sticky;
|
|
top: 82px;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.add-invoice-item-button {
|
|
min-height: 52px;
|
|
box-shadow: 0 8px 20px rgba(239, 125, 0, .18);
|
|
}
|
|
|
|
.invoice-sidebar-actions .card-body {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.sidebar-next-status small {
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
color: #667085;
|
|
}
|
|
|
|
.sidebar-next-status b {
|
|
display: block;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.sidebar-action-buttons {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.sidebar-action-buttons .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.auto-rule-note,
|
|
.selected-customer-preview {
|
|
display: block;
|
|
margin-top: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 9px;
|
|
background: #f8fafc;
|
|
color: #667085;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.invoice-item-modal .modal-content {
|
|
max-height: 92vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.invoice-item-modal #invoiceLineForm {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.invoice-item-modal .modal-header,
|
|
.invoice-item-modal .modal-footer {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.invoice-item-modal .modal-body {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
.invoice-item-modal .modal-header small { display: block; color: #667085; }
|
|
.invoice-item-modal .modal-body { padding: 20px; }
|
|
.invoice-item-modal label { margin-bottom: 5px; font-size: 12px; font-weight: 600; }
|
|
.invoice-item-modal .barcode-panel { min-height: 150px; }
|
|
.invoice-item-modal .selected-barcodes {
|
|
max-height: 220px;
|
|
overflow-y: auto;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.invoice-item-modal .line-type-switch {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.invoice-batch-common {
|
|
padding: 16px;
|
|
border: 1px solid #dbe5f0;
|
|
border-radius: 12px;
|
|
background: #f8fbff;
|
|
}
|
|
|
|
.invoice-batch-composer {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
border: 1px solid #e4e7ec;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
}
|
|
|
|
.invoice-batch-list {
|
|
overflow: hidden;
|
|
border: 1px solid #e4e7ec;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.invoice-batch-list > div:first-child {
|
|
padding: 12px 14px 0;
|
|
}
|
|
|
|
.invoice-batch-list small,
|
|
.invoice-batch-list td small {
|
|
display: block;
|
|
color: #667085;
|
|
}
|
|
|
|
.invoice-batch-list .batch-empty-row td {
|
|
padding: 26px 12px;
|
|
color: #667085;
|
|
text-align: center;
|
|
}
|
|
|
|
.batch-live-summary {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 18px;
|
|
}
|
|
|
|
.batch-live-summary span {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 125px;
|
|
color: #667085;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.batch-live-summary b,
|
|
.batch-live-summary strong {
|
|
color: #1d2939;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.invoice-item-footer {
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.invoice-item-footer .line-live-total {
|
|
min-width: 240px;
|
|
margin: 0;
|
|
}
|
|
|
|
.invoice-item-footer > div:last-child { display: flex; gap: 8px; }
|
|
|
|
.invoice-item-modal.editing-line .invoice-batch-list,
|
|
.invoice-item-modal.editing-line .batch-live-summary,
|
|
.invoice-item-modal.editing-line .batch-submit-button {
|
|
display: none !important;
|
|
}
|
|
|
|
.invoice-item-modal.editing-line .invoice-item-footer {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.invoice-editor-page .invoice-editor-grid,
|
|
.invoice-editor-page .invoice-editor-grid.is-creating { grid-template-columns: 1fr; }
|
|
.invoice-editor-main,
|
|
.invoice-editor-sidebar { grid-column: auto; grid-row: auto; }
|
|
.invoice-editor-sidebar { order: -1; }
|
|
.invoice-editor-sidebar-inner { position: static; }
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.invoice-item-modal .modal-content {
|
|
min-height: 100%;
|
|
max-height: 100dvh;
|
|
}
|
|
|
|
.invoice-item-footer { align-items: stretch; flex-direction: column; }
|
|
.invoice-item-footer .line-live-total,
|
|
.invoice-item-footer > div:last-child,
|
|
.invoice-item-footer .btn { width: 100%; }
|
|
.batch-live-summary { width: 100%; }
|
|
.batch-live-summary span { flex: 1 1 30%; min-width: 90px; }
|
|
.invoice-item-modal .line-type-switch { grid-template-columns: 1fr; }
|
|
}
|