Feature: компактные формы заказов, колонки Товар/Количество
Made-with: Cursor
This commit is contained in:
47
app/static/css/theme-compact.css
Normal file
47
app/static/css/theme-compact.css
Normal file
@@ -0,0 +1,47 @@
|
||||
/* Компактная раскладка форм документов */
|
||||
.ws-form-compact .ws-form-row {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.ws-form-compact .ws-form-row-date-number {
|
||||
grid-template-columns: 10ch 15ch;
|
||||
}
|
||||
|
||||
.ws-form-compact .ws-form-row-date-number .ws-form-group input {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ws-form-compact .ws-form-row-2 {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.ws-form-compact .ws-form-row-2 .ws-form-group input,
|
||||
.ws-form-compact .ws-form-row-2 .ws-form-group select {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Таблица товаров: колонка Товар шире, Количество уже */
|
||||
.ws-table-items .ws-col-product {
|
||||
width: 35%;
|
||||
min-width: 14rem;
|
||||
}
|
||||
|
||||
.ws-table-items .ws-col-qty {
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
.ws-table-items td.ws-col-qty input,
|
||||
.ws-table-items .ws-col-qty input {
|
||||
width: 4ch !important;
|
||||
max-width: 5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.ws-table-items .ws-col-del {
|
||||
width: 4rem;
|
||||
}
|
||||
Reference in New Issue
Block a user