Move sections/orders scss file into admin v3 context

This commit is contained in:
Jean-Baptiste Bellet
2023-09-14 10:10:05 +02:00
parent f110c55531
commit f71ace1d39
2 changed files with 66 additions and 1 deletions

View File

@@ -41,7 +41,7 @@
@import "../admin/plugins/powertip";
@import "../admin/plugins/jstree";
@import "../admin/sections/orders";
@import "sections/orders"; // admin_v3
@import "../admin/sections/products";
@import "../admin/hacks/mozilla";

View File

@@ -0,0 +1,65 @@
// Customize orders filter
.admin-orders-index-search {
select[data-placeholder="Status"] {
width: 100%;
}
.select2-container {
width: 100% !important;
}
}
// Order-total
.order-details-total {
text-align: center;
.order-total {
font-size: 35px;
font-weight: 600;
color: $color-success;
}
}
.admin-order-form-fields {
legend.stock-location {
color: $color-body-text;
.shipment-number {
color: $color-success;
}
.stock-location-name {
color: $color-success;
}
}
}
.insufficient-stock-items {
legend {
color: $color-error;
}
table tr:last-child th {
border-bottom: 1px solid $color-tbl-border;
}
}
// Customize orduct add fieldset
#add-line-item {
fieldset {
padding: 10px 0;
.field {
margin-bottom: 0;
input[type="text"],
input[type="number"] {
width: 100%;
}
}
.actions {
.button {
margin-top: 28px;
}
}
}
}