mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
The Admin V3 styles are now the primary styles for the application. This change promotes the `admin_v3` directory to `admin` and archives the old styles. Changes: - Renamed `app/webpacker/css/admin_v3` to `app/webpacker/css/admin`. - Renamed the previous `app/webpacker/css/admin` to `app/webpacker/css/admin_legacy`. - Moved all files referenced by V3 styles from the legacy directory to the new `admin` directory. - Updated imports in `all.scss` to distinct local files instead of relative paths. - Cleaned up `admin_legacy` by removing files that are duplicates (by name or content) of the new admin styles. - Updated `admin-style-v3` pack to point to the new location.
66 lines
953 B
SCSS
66 lines
953 B
SCSS
// 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: $teal;
|
|
}
|
|
}
|
|
|
|
.admin-order-form-fields {
|
|
legend.stock-location {
|
|
color: $color-body-text;
|
|
|
|
.shipment-number {
|
|
color: $teal;
|
|
}
|
|
.stock-location-name {
|
|
color: $teal;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|