solidus_backend 2.3.1 → 2.4.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spree/backend/admin.js +0 -12
- data/app/assets/javascripts/spree/backend/number_field_updater.coffee +5 -5
- data/app/assets/javascripts/spree/backend/shipments.js +16 -14
- data/app/assets/javascripts/spree/backend/stock_transfers/count_update_forms.coffee +3 -3
- data/app/assets/javascripts/spree/backend/stock_transfers/transfer_item_deleting.coffee +1 -1
- data/app/assets/javascripts/spree/backend/taxonomy.js.coffee +1 -1
- data/app/assets/javascripts/spree/backend/templates/orders/details_adjustment_row.hbs +2 -2
- data/app/assets/javascripts/spree/backend/templates/orders/line_item.hbs +3 -3
- data/app/assets/javascripts/spree/backend/templates/stock_items/stock_location_stock_item.hbs +5 -5
- data/app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs +5 -5
- data/app/assets/javascripts/spree/backend/templates/taxons/_tree.hbs +7 -3
- data/app/assets/javascripts/spree/backend/templates/variants/line_items_autocomplete_stock.hbs +1 -1
- data/app/assets/javascripts/spree/backend/templates/variants/split.hbs +2 -2
- data/app/assets/javascripts/spree/backend/views/order/customer_details.js +1 -2
- data/app/assets/javascripts/spree/backend.js +1 -1
- data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +27 -906
- data/app/assets/stylesheets/spree/backend/components/_actions.scss +13 -15
- data/app/assets/stylesheets/spree/backend/components/_date-picker.scss +1 -1
- data/app/assets/stylesheets/spree/backend/components/_editable_table.scss +0 -1
- data/app/assets/stylesheets/spree/backend/components/_messages.scss +8 -8
- data/app/assets/stylesheets/spree/backend/components/_navigation.scss +1 -1
- data/app/assets/stylesheets/spree/backend/components/_number_field_update.scss +1 -1
- data/app/assets/stylesheets/spree/backend/components/_number_with_currency.scss +1 -1
- data/app/assets/stylesheets/spree/backend/components/_pills.scss +92 -0
- data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +7 -32
- data/app/assets/stylesheets/spree/backend/components/_states.scss +5 -27
- data/app/assets/stylesheets/spree/backend/components/_stock_table.scss +0 -12
- data/app/assets/stylesheets/spree/backend/globals/_variables.scss +58 -139
- data/app/assets/stylesheets/spree/backend/plugins/_bootstrap_tooltip.scss +11 -15
- data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +7 -5
- data/app/assets/stylesheets/spree/backend/sections/_orders.scss +6 -6
- data/app/assets/stylesheets/spree/backend/sections/_products.scss +5 -1
- data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +4 -2
- data/app/assets/stylesheets/spree/backend/sections/_stock_management.scss +4 -35
- data/app/assets/stylesheets/spree/backend/sections/_style_guide.scss +14 -15
- data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +9 -16
- data/app/assets/stylesheets/spree/backend/shared/_forms.scss +23 -20
- data/app/assets/stylesheets/spree/backend/shared/_header.scss +1 -5
- data/app/assets/stylesheets/spree/backend/shared/_layout.scss +3 -23
- data/app/assets/stylesheets/spree/backend/shared/_tables.scss +40 -92
- data/app/assets/stylesheets/spree/backend/shared/_typography.scss +6 -6
- data/app/assets/stylesheets/spree/backend/spree_admin.scss +1 -1
- data/app/controllers/spree/admin/adjustments_controller.rb +1 -1
- data/app/controllers/spree/admin/customer_returns_controller.rb +0 -1
- data/app/controllers/spree/admin/promotion_actions_controller.rb +1 -1
- data/app/controllers/spree/admin/shipping_methods_controller.rb +1 -1
- data/app/controllers/spree/admin/style_guide_controller.rb +3 -2
- data/app/controllers/spree/admin/tax_rates_controller.rb +1 -1
- data/app/controllers/spree/admin/users_controller.rb +9 -4
- data/app/helpers/spree/admin/base_helper.rb +32 -35
- data/app/helpers/spree/admin/stock_transfers_helper.rb +0 -4
- data/app/models/spree/backend_configuration.rb +1 -1
- data/app/views/spree/admin/adjustment_reasons/index.html.erb +6 -4
- data/app/views/spree/admin/adjustments/_adjustment.html.erb +5 -5
- data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +7 -7
- data/app/views/spree/admin/cancellations/index.html.erb +9 -5
- data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +6 -3
- data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +12 -7
- data/app/views/spree/admin/customer_returns/_return_item_selection.html.erb +13 -8
- data/app/views/spree/admin/customer_returns/edit.html.erb +1 -1
- data/app/views/spree/admin/customer_returns/index.html.erb +5 -5
- data/app/views/spree/admin/images/_image_row.html.erb +14 -4
- data/app/views/spree/admin/images/index.html.erb +2 -1
- data/app/views/spree/admin/option_types/_option_value_fields.html.erb +6 -6
- data/app/views/spree/admin/option_types/edit.html.erb +2 -1
- data/app/views/spree/admin/option_types/index.html.erb +5 -5
- data/app/views/spree/admin/orders/_adjustments.html.erb +3 -3
- data/app/views/spree/admin/orders/_carton.html.erb +1 -1
- data/app/views/spree/admin/orders/_carton_manifest.html.erb +3 -3
- data/app/views/spree/admin/orders/_risk_analysis.html.erb +18 -16
- data/app/views/spree/admin/orders/_shipment.html.erb +26 -30
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +6 -6
- data/app/views/spree/admin/orders/confirm/_line_items.html.erb +3 -3
- data/app/views/spree/admin/orders/confirm/_payments.html.erb +6 -6
- data/app/views/spree/admin/orders/confirm/_shipment.html.erb +1 -1
- data/app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb +3 -3
- data/app/views/spree/admin/orders/index.html.erb +25 -9
- data/app/views/spree/admin/payment_methods/_form.html.erb +4 -1
- data/app/views/spree/admin/payment_methods/index.html.erb +11 -7
- data/app/views/spree/admin/payments/_capture_events.html.erb +1 -1
- data/app/views/spree/admin/payments/_list.html.erb +9 -5
- data/app/views/spree/admin/payments/show.html.erb +2 -2
- data/app/views/spree/admin/prices/_master_variant_table.html.erb +2 -2
- data/app/views/spree/admin/prices/_table.html.erb +2 -2
- data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +1 -1
- data/app/views/spree/admin/product_properties/index.html.erb +4 -2
- data/app/views/spree/admin/products/index.html.erb +10 -9
- data/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb +1 -1
- data/app/views/spree/admin/promotions/actions/_promotion_calculators_with_custom_fields.html.erb +1 -1
- data/app/views/spree/admin/promotions/calculators/_default_fields.html.erb +3 -6
- data/app/views/spree/admin/promotions/calculators/tiered_flat_rate/_fields.html.erb +3 -8
- data/app/views/spree/admin/promotions/calculators/tiered_percent/_fields.html.erb +3 -8
- data/app/views/spree/admin/promotions/index.html.erb +24 -17
- data/app/views/spree/admin/promotions/rules/_user_role.html.erb +2 -2
- data/app/views/spree/admin/properties/index.html.erb +3 -3
- data/app/views/spree/admin/refund_reasons/index.html.erb +7 -5
- data/app/views/spree/admin/refunds/new.html.erb +1 -1
- data/app/views/spree/admin/reimbursement_types/index.html.erb +2 -2
- data/app/views/spree/admin/reimbursements/edit.html.erb +6 -6
- data/app/views/spree/admin/reimbursements/index.html.erb +9 -2
- data/app/views/spree/admin/reimbursements/show.html.erb +6 -6
- data/app/views/spree/admin/reports/index.html.erb +2 -2
- data/app/views/spree/admin/reports/sales_total.html.erb +1 -1
- data/app/views/spree/admin/return_authorizations/_form.html.erb +9 -5
- data/app/views/spree/admin/return_authorizations/edit.html.erb +9 -2
- data/app/views/spree/admin/return_authorizations/index.html.erb +11 -4
- data/app/views/spree/admin/search/products.json.jbuilder +10 -0
- data/app/views/spree/admin/search/users.json.jbuilder +37 -0
- data/app/views/spree/admin/shared/_calculator_fields.html.erb +4 -1
- data/app/views/spree/admin/shared/_modal.html.erb +18 -0
- data/app/views/spree/admin/shared/_number_field_update_actions.html.erb +2 -2
- data/app/views/spree/admin/shared/_number_field_update_cell.html.erb +1 -1
- data/app/views/spree/admin/shared/_order_summary.html.erb +21 -5
- data/app/views/spree/admin/shared/_refunds.html.erb +6 -6
- data/app/views/spree/admin/shared/_settings_sub_menu.html.erb +4 -4
- data/app/views/spree/admin/shared/named_types/_index.html.erb +7 -5
- data/app/views/spree/admin/shared/preference_fields/_boolean.html.erb +13 -0
- data/app/views/spree/admin/shared/preference_fields/_decimal.html.erb +12 -0
- data/app/views/spree/admin/shared/preference_fields/_integer.html.erb +12 -0
- data/app/views/spree/admin/shared/preference_fields/_password.html.erb +12 -0
- data/app/views/spree/admin/shared/preference_fields/_string.html.erb +12 -0
- data/app/views/spree/admin/shared/preference_fields/_text.html.erb +12 -0
- data/app/views/spree/admin/shipping_categories/index.html.erb +2 -2
- data/app/views/spree/admin/shipping_methods/index.html.erb +5 -5
- data/app/views/spree/admin/stock_items/_stock_management.html.erb +3 -3
- data/app/views/spree/admin/stock_locations/index.html.erb +9 -11
- data/app/views/spree/admin/stock_movements/index.html.erb +4 -4
- data/app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb +1 -1
- data/app/views/spree/admin/stock_transfers/_transfer_item_table.html.erb +2 -2
- data/app/views/spree/admin/stock_transfers/index.html.erb +10 -6
- data/app/views/spree/admin/stock_transfers/tracking_info.html.erb +1 -1
- data/app/views/spree/admin/store_credits/index.html.erb +53 -50
- data/app/views/spree/admin/store_credits/show.html.erb +5 -5
- data/app/views/spree/admin/stores/_form.html.erb +9 -0
- data/app/views/spree/admin/style_guide/topics/components/_modals.html.erb +50 -0
- data/app/views/spree/admin/style_guide/topics/components/_pills.html.erb +101 -0
- data/app/views/spree/admin/style_guide/topics/tables/_building_tables.html.erb +4 -4
- data/app/views/spree/admin/tax_categories/index.html.erb +5 -5
- data/app/views/spree/admin/tax_rates/index.html.erb +9 -9
- data/app/views/spree/admin/taxonomies/_list.html.erb +4 -4
- data/app/views/spree/admin/taxons/search.json.jbuilder +5 -0
- data/app/views/spree/admin/users/index.html.erb +64 -23
- data/app/views/spree/admin/users/items.html.erb +9 -13
- data/app/views/spree/admin/users/orders.html.erb +28 -12
- data/app/views/spree/admin/variants/_table.html.erb +6 -5
- data/app/views/spree/admin/variants/index.html.erb +12 -16
- data/app/views/spree/admin/variants/new.html.erb +1 -3
- data/app/views/spree/admin/zones/edit.html.erb +0 -3
- data/app/views/spree/admin/zones/index.html.erb +2 -6
- data/app/views/spree/admin/zones/new.html.erb +0 -3
- data/app/views/spree/layouts/admin.html.erb +9 -30
- data/config/routes.rb +0 -4
- data/lib/spree/backend.rb +2 -1
- data/solidus_backend.gemspec +3 -1
- data/spec/controllers/spree/admin/orders_controller_spec.rb +0 -5
- data/spec/controllers/spree/admin/payments_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/search_controller_spec.rb +2 -2
- data/spec/features/admin/configuration/payment_methods_spec.rb +1 -1
- data/spec/features/admin/configuration/zones_spec.rb +1 -1
- data/spec/features/admin/orders/adjustments_spec.rb +1 -1
- data/spec/features/admin/orders/cancelling_and_resuming_spec.rb +4 -4
- data/spec/features/admin/orders/cancelling_inventory_spec.rb +1 -1
- data/spec/features/admin/orders/customer_details_spec.rb +8 -1
- data/spec/features/admin/orders/listing_spec.rb +1 -1
- data/spec/features/admin/orders/new_order_spec.rb +3 -3
- data/spec/features/admin/orders/order_details_spec.rb +17 -16
- data/spec/features/admin/orders/payments_spec.rb +4 -4
- data/spec/features/admin/orders/risk_analysis_spec.rb +2 -2
- data/spec/features/admin/orders/shipments_spec.rb +1 -1
- data/spec/features/admin/products/edit/images_spec.rb +1 -1
- data/spec/features/admin/store_credits_spec.rb +3 -3
- data/spec/features/admin/stores_spec.rb +35 -0
- data/spec/features/admin/users_spec.rb +60 -13
- data/spec/spec_helper.rb +9 -4
- data/vendor/assets/javascripts/solidus_admin/bootstrap.js +657 -361
- data/vendor/assets/javascripts/solidus_admin/popover.js +4 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss +4 -11
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_badge.scss +4 -33
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_breadcrumb.scss +1 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_button-group.scss +11 -15
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_buttons.scss +13 -42
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_card.scss +27 -80
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_carousel.scss +24 -17
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_close.scss +0 -2
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_custom-forms.scss +27 -36
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_dropdown.scss +15 -48
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_forms.scss +70 -68
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_functions.scss +90 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss +3 -2
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_images.scss +1 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_input-group.scss +6 -8
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_jumbotron.scss +0 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_list-group.scss +9 -36
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss +0 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_mixins.scss +2 -18
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_modal.scss +3 -3
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_nav.scss +15 -16
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_navbar.scss +70 -54
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss +3 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_popover.scss +96 -72
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_print.scss +1 -9
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_progress.scss +4 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_reboot.scss +187 -95
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_tables.scss +34 -19
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_tooltip.scss +52 -35
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_type.scss +8 -28
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_utilities.scss +1 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_variables.scss +286 -410
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap-grid.scss +2 -8
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap-reboot.scss +1 -2
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap.scss +2 -15
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_alert.scss +4 -5
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_badge.scss +6 -5
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_border-radius.scss +3 -3
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_box-shadow.scss +5 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_breakpoints.scss +23 -13
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_buttons.scss +11 -14
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_clearfix.scss +1 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_forms.scss +57 -55
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_gradients.scss +1 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_grid-framework.scss +9 -18
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_grid.scss +12 -65
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss +6 -6
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_list-group.scss +2 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_nav-divider.scss +3 -3
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_pagination.scss +1 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_reset-text.scss +4 -3
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_resize.scss +1 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_screen-reader.scss +5 -2
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_text-truncate.scss +1 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transition.scss +9 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_visibility.scss +2 -2
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_background.scss +4 -17
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_borders.scss +20 -5
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_display.scss +36 -1
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +0 -0
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_flex.scss +0 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_position.scss +5 -3
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_spacing.scss +10 -12
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_text.scss +5 -17
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_visibility.scss +4 -48
- metadata +73 -34
- data/app/assets/stylesheets/spree/backend/shared/_skeleton.scss +0 -242
- data/app/controllers/spree/admin/countries_controller.rb +0 -9
- data/app/controllers/spree/admin/states_controller.rb +0 -29
- data/app/helpers/spree/admin/reimbursements_helper.rb +0 -14
- data/app/views/spree/admin/countries/_form.html.erb +0 -22
- data/app/views/spree/admin/countries/edit.html.erb +0 -19
- data/app/views/spree/admin/countries/index.html.erb +0 -49
- data/app/views/spree/admin/countries/new.html.erb +0 -18
- data/app/views/spree/admin/search/products.rabl +0 -9
- data/app/views/spree/admin/search/users.rabl +0 -30
- data/app/views/spree/admin/shared/_areas_tabs.html.erb +0 -19
- data/app/views/spree/admin/states/_form.html.erb +0 -14
- data/app/views/spree/admin/states/_state_list.html.erb +0 -33
- data/app/views/spree/admin/states/edit.html.erb +0 -19
- data/app/views/spree/admin/states/index.html.erb +0 -39
- data/app/views/spree/admin/states/new.html.erb +0 -17
- data/app/views/spree/admin/style_guide/topics/typography/_tags.html.erb +0 -25
- data/app/views/spree/admin/taxons/search.rabl +0 -5
- data/app/views/spree/admin/variants/new.js.erb +0 -1
- data/spec/features/admin/configuration/countries_spec.rb +0 -22
- data/spec/features/admin/configuration/states_spec.rb +0 -64
- data/spec/helpers/admin/reimbursements_helper_spec.rb +0 -34
- data/vendor/assets/javascripts/solidus_admin/tether.js +0 -1726
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_custom.scss +0 -4
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/_normalize.scss +0 -461
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss +0 -47
- data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transforms.scss +0 -14
@@ -3,7 +3,8 @@
|
|
3
3
|
border: $input-btn-border-width solid $input-border-color;
|
4
4
|
@include border-radius($input-border-radius);
|
5
5
|
background: $input-bg;
|
6
|
-
height:
|
6
|
+
height: $input-height;
|
7
|
+
padding: 0;
|
7
8
|
|
8
9
|
.select2-arrow {
|
9
10
|
background: transparent;
|
@@ -17,7 +18,8 @@
|
|
17
18
|
}
|
18
19
|
|
19
20
|
>.select2-chosen {
|
20
|
-
|
21
|
+
padding: $input-btn-padding-y $input-btn-padding-x;
|
22
|
+
line-height: $input-btn-line-height;
|
21
23
|
color: $input-color;
|
22
24
|
}
|
23
25
|
}
|
@@ -39,7 +41,7 @@
|
|
39
41
|
.select2-choices.select2-choices, /* Needs extra specificity */
|
40
42
|
.select2-choice {
|
41
43
|
box-shadow: none; /* Remove default outline */
|
42
|
-
border-color: $input-border-
|
44
|
+
border-color: $input-focus-border-color;
|
43
45
|
}
|
44
46
|
}
|
45
47
|
|
@@ -49,7 +51,7 @@
|
|
49
51
|
}
|
50
52
|
|
51
53
|
.select2-search-choice {
|
52
|
-
background: $
|
54
|
+
background: $gray-200;
|
53
55
|
border: 0;
|
54
56
|
margin: 2px 0 3px 5px; // adjust the margin to respect the adjusted line height
|
55
57
|
}
|
@@ -72,7 +74,7 @@
|
|
72
74
|
}
|
73
75
|
|
74
76
|
.select2-drop-active {
|
75
|
-
border: $input-btn-border-width solid $input-border-
|
77
|
+
border: $input-btn-border-width solid $input-focus-border-color;
|
76
78
|
border-top: 0;
|
77
79
|
}
|
78
80
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
.order-total {
|
18
18
|
font-size: 35px;
|
19
19
|
font-weight: $font-weight-bold;
|
20
|
-
color:
|
20
|
+
color: theme-color("success");
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
.customer {
|
29
29
|
font-size: 20px;
|
30
30
|
font-weight: $font-weight-bold;
|
31
|
-
color:
|
31
|
+
color: theme-color("success");
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
@@ -37,10 +37,10 @@
|
|
37
37
|
color: $body-color;
|
38
38
|
|
39
39
|
.shipment-number {
|
40
|
-
color:
|
40
|
+
color: theme-color("success");
|
41
41
|
}
|
42
42
|
.stock-location-name {
|
43
|
-
color:
|
43
|
+
color: theme-color("success");
|
44
44
|
}
|
45
45
|
}
|
46
46
|
}
|
@@ -83,11 +83,11 @@ form.admin-ship-shipment {
|
|
83
83
|
|
84
84
|
table.line-items {
|
85
85
|
input.error {
|
86
|
-
border-color:
|
86
|
+
border-color: theme-color("danger");
|
87
87
|
}
|
88
88
|
|
89
89
|
.select2-container.error {
|
90
90
|
border-radius: 4px;
|
91
|
-
border: 1px solid
|
91
|
+
border: 1px solid theme-color("danger");
|
92
92
|
}
|
93
93
|
}
|
@@ -48,7 +48,7 @@ div[data-hook="admin_products_index_search_buttons"] {
|
|
48
48
|
}
|
49
49
|
|
50
50
|
&.with-images {
|
51
|
-
border-color:
|
51
|
+
border-color: theme-color("success");
|
52
52
|
}
|
53
53
|
}
|
54
54
|
|
@@ -56,3 +56,7 @@ div[data-hook="admin_products_index_search_buttons"] {
|
|
56
56
|
height: 100%;
|
57
57
|
padding: 1rem;
|
58
58
|
}
|
59
|
+
|
60
|
+
.modal-image-trigger {
|
61
|
+
cursor: zoom-in;
|
62
|
+
}
|
@@ -74,9 +74,11 @@
|
|
74
74
|
text-align: right;
|
75
75
|
}
|
76
76
|
|
77
|
-
.
|
77
|
+
.calculator-fields {
|
78
78
|
padding-bottom: 10px;
|
79
|
+
}
|
79
80
|
|
81
|
+
.field {
|
80
82
|
&.alpha {
|
81
83
|
margin-left: -1px;
|
82
84
|
padding-left: 11px;
|
@@ -121,7 +123,7 @@
|
|
121
123
|
cursor: pointer;
|
122
124
|
|
123
125
|
&:hover {
|
124
|
-
color:
|
126
|
+
color: theme-color("danger");
|
125
127
|
}
|
126
128
|
}
|
127
129
|
}
|
@@ -1,48 +1,17 @@
|
|
1
1
|
#listing_product_stock {
|
2
|
-
margin-left: 0px;
|
3
|
-
margin-right: 0px;
|
4
2
|
|
5
|
-
|
6
|
-
border-
|
3
|
+
tbody + tbody {
|
4
|
+
border-top-width: 1px;
|
7
5
|
}
|
8
6
|
|
9
|
-
> tbody {
|
10
|
-
> tr.stock-item-edit-row {
|
11
|
-
td {
|
12
|
-
background-color: $color-tbl-even;
|
13
|
-
border-left: none;
|
14
|
-
}
|
15
|
-
&:nth-child(even) td {
|
16
|
-
/* An nth-even child is actually an odd row */
|
17
|
-
background-color: $color-tbl-odd;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
> tr {
|
21
|
-
&:first-child td {
|
22
|
-
border-top: none;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
7
|
td {
|
27
|
-
vertical-align: middle;
|
28
|
-
|
29
|
-
&.location-name-cell {
|
30
|
-
border-left: none;
|
31
|
-
}
|
32
|
-
|
33
8
|
input.error {
|
34
|
-
border-color:
|
9
|
+
border-color: theme-color("danger");
|
35
10
|
}
|
36
11
|
|
37
12
|
.select2-container.error {
|
38
13
|
border-radius: 4px;
|
39
|
-
border: 1px solid
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
tr:hover {
|
44
|
-
.stock-variant-field-table td {
|
45
|
-
background-color: transparent;
|
14
|
+
border: 1px solid theme-color("danger");
|
46
15
|
}
|
47
16
|
}
|
48
17
|
}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
.style-guide {
|
2
|
+
padding-left: 0; // override regular admin layout
|
2
3
|
display: flex;
|
3
4
|
|
4
5
|
&-sidebar {
|
5
6
|
width: 225px;
|
6
|
-
background: $color-
|
7
|
+
background: $color-style-guide-nav;
|
7
8
|
padding: 1.5rem;
|
8
9
|
|
9
10
|
.brand-link {
|
@@ -40,7 +41,7 @@
|
|
40
41
|
@include padding(0.75rem null);
|
41
42
|
|
42
43
|
&:not(:first-of-type) {
|
43
|
-
border-top: 1px solid
|
44
|
+
border-top: 1px solid $color-style-guide-nav-border;
|
44
45
|
}
|
45
46
|
|
46
47
|
> a {
|
@@ -51,11 +52,11 @@
|
|
51
52
|
|
52
53
|
a {
|
53
54
|
display: block;
|
54
|
-
color:
|
55
|
+
color: $color-style-guide-nav-link;
|
55
56
|
padding: 0.3rem 0.5rem;
|
56
57
|
|
57
58
|
&:hover {
|
58
|
-
background:
|
59
|
+
background: $color-style-guide-nav-link-hover;
|
59
60
|
}
|
60
61
|
}
|
61
62
|
}
|
@@ -67,7 +68,7 @@
|
|
67
68
|
|
68
69
|
&-section-header {
|
69
70
|
@include margin(7rem 0 3rem);
|
70
|
-
border-bottom: 1px solid
|
71
|
+
border-bottom: 1px solid $color-style-guide-section-border;
|
71
72
|
font-size: 1.5rem;
|
72
73
|
font-weight: bold;
|
73
74
|
line-height: 0.2;
|
@@ -80,7 +81,7 @@
|
|
80
81
|
}
|
81
82
|
|
82
83
|
a {
|
83
|
-
color:
|
84
|
+
color: $color-style-guide-link;
|
84
85
|
}
|
85
86
|
}
|
86
87
|
|
@@ -100,7 +101,7 @@
|
|
100
101
|
&-code {
|
101
102
|
pre {
|
102
103
|
margin: 0;
|
103
|
-
border: 1px solid
|
104
|
+
border: 1px solid $color-style-guide-code;
|
104
105
|
}
|
105
106
|
}
|
106
107
|
|
@@ -114,6 +115,11 @@
|
|
114
115
|
}
|
115
116
|
}
|
116
117
|
|
118
|
+
.style-guide-code,
|
119
|
+
.style-guide-result {
|
120
|
+
margin: 1rem 0;
|
121
|
+
}
|
122
|
+
|
117
123
|
.color-variables {
|
118
124
|
display: flex;
|
119
125
|
flex-wrap: wrap;
|
@@ -126,13 +132,6 @@
|
|
126
132
|
|
127
133
|
.color-swatch {
|
128
134
|
height: 50px;
|
129
|
-
border: 1px solid
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
.tags {
|
134
|
-
.state {
|
135
|
-
width: 33%;
|
136
|
-
float: left;
|
135
|
+
border: 1px solid $color-style-guide-swatch-border;
|
137
136
|
}
|
138
137
|
}
|
@@ -14,32 +14,25 @@
|
|
14
14
|
margin-bottom: 0.5em;
|
15
15
|
}
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
* {
|
22
|
-
text-indent: 0;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
> .ui-sortable {
|
27
|
-
padding-bottom: 5em;
|
28
|
-
}
|
17
|
+
.taxon,
|
18
|
+
.sortable-placeholder {
|
19
|
+
border-radius: $border-radius;
|
29
20
|
}
|
30
21
|
|
31
|
-
.sortable-handle ,
|
32
22
|
.sortable-placeholder {
|
33
|
-
|
23
|
+
margin: 0.5em 0;
|
34
24
|
}
|
35
25
|
|
36
|
-
.
|
26
|
+
.taxon {
|
37
27
|
background-color: very-light($color-3);
|
38
28
|
border: 1px solid $color-border;
|
39
29
|
color: $body-color;
|
40
30
|
font-weight: $font-weight-bold;
|
41
31
|
padding: 0.5em;
|
42
|
-
|
32
|
+
|
33
|
+
&.sortable {
|
34
|
+
cursor: move;
|
35
|
+
}
|
43
36
|
|
44
37
|
i {
|
45
38
|
@include margin(null 4px 0 6px);
|
@@ -8,25 +8,25 @@ input[type="url"],
|
|
8
8
|
input[type="number"],
|
9
9
|
input[type="tel"],
|
10
10
|
textarea {
|
11
|
-
padding: $input-padding-y $input-padding-x;
|
11
|
+
padding: $input-btn-padding-y $input-btn-padding-x;
|
12
12
|
color: $input-color;
|
13
13
|
border: $input-btn-border-width solid $input-border-color;
|
14
14
|
border-radius: $input-border-radius;
|
15
15
|
background: $input-bg;
|
16
16
|
font-size: $font-size-base;
|
17
|
-
line-height: $input-line-height;
|
17
|
+
line-height: $input-btn-line-height;
|
18
18
|
|
19
19
|
&:focus {
|
20
|
-
border-color: $input-border-
|
20
|
+
border-color: $input-focus-border-color;
|
21
21
|
outline: 0;
|
22
22
|
}
|
23
23
|
|
24
24
|
&:disabled {
|
25
|
-
background: $input-bg
|
25
|
+
background: $input-disabled-bg;
|
26
26
|
}
|
27
27
|
|
28
28
|
&::placeholder {
|
29
|
-
color: $input-color
|
29
|
+
color: $input-placeholder-color;
|
30
30
|
// Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
|
31
31
|
opacity: 1;
|
32
32
|
}
|
@@ -45,7 +45,6 @@ label {
|
|
45
45
|
font-size: 90%;
|
46
46
|
display: inline;
|
47
47
|
margin-bottom: 5px;
|
48
|
-
color: $color-4;
|
49
48
|
|
50
49
|
&.inline {
|
51
50
|
display: inline-block !important;
|
@@ -64,9 +63,17 @@ label {
|
|
64
63
|
|
65
64
|
input[type="submit"],
|
66
65
|
input[type="button"],
|
67
|
-
button,
|
68
|
-
|
69
|
-
|
66
|
+
button,
|
67
|
+
.button {
|
68
|
+
&:not(.close):not([class*="btn"]) {
|
69
|
+
// We want to apply the primary button coloring to all buttons that do not
|
70
|
+
// currently use the Bootstrap class naming convention (`btn`).
|
71
|
+
//
|
72
|
+
// In order to avoid the clashing between using `:not(.btn)` and
|
73
|
+
// `@extend .btn` we need to use an attribute selector of `[class*="btn"]`.
|
74
|
+
@extend .btn;
|
75
|
+
@include button-variant(theme-color("primary"), theme-color("primary"));
|
76
|
+
}
|
70
77
|
|
71
78
|
&:before {
|
72
79
|
font-weight: normal !important;
|
@@ -109,19 +116,19 @@ span.info {
|
|
109
116
|
}
|
110
117
|
|
111
118
|
ul {
|
112
|
-
border-top: 1px solid $color-border;
|
113
119
|
list-style: none;
|
114
|
-
|
120
|
+
margin: 5px 0;
|
121
|
+
padding-left: 0;
|
115
122
|
|
116
123
|
li {
|
117
124
|
display: inline-block;
|
118
125
|
padding-right: 10px;
|
119
126
|
|
120
|
-
|
121
127
|
label {
|
122
128
|
font-weight: normal;
|
123
129
|
text-transform: none;
|
124
130
|
}
|
131
|
+
|
125
132
|
&.white-space-nowrap {
|
126
133
|
white-space: nowrap;
|
127
134
|
}
|
@@ -131,21 +138,21 @@ span.info {
|
|
131
138
|
&.withError {
|
132
139
|
.field_with_errors {
|
133
140
|
label {
|
134
|
-
color: very-light(
|
141
|
+
color: very-light(theme-color("danger"), 30);
|
135
142
|
}
|
136
143
|
|
137
144
|
input {
|
138
|
-
border-color: very-light(
|
145
|
+
border-color: very-light(theme-color("danger"), 15);
|
139
146
|
}
|
140
147
|
}
|
141
148
|
.formError {
|
142
|
-
color: very-light(
|
149
|
+
color: very-light(theme-color("danger"), 30);
|
143
150
|
font-style: italic;
|
144
151
|
font-size: 85%;
|
145
152
|
}
|
146
153
|
.select2-container {
|
147
154
|
border-radius: 4px;
|
148
|
-
border: 1px solid very-light(
|
155
|
+
border: 1px solid very-light(theme-color("danger"), 15);
|
149
156
|
}
|
150
157
|
}
|
151
158
|
}
|
@@ -184,10 +191,6 @@ fieldset {
|
|
184
191
|
}
|
185
192
|
}
|
186
193
|
|
187
|
-
label {
|
188
|
-
color: lighten($body-color, 8);
|
189
|
-
}
|
190
|
-
|
191
194
|
.filter-actions {
|
192
195
|
margin-bottom: -32px;
|
193
196
|
margin-top: 15px;
|
@@ -1,15 +1,11 @@
|
|
1
1
|
.main-header {
|
2
2
|
display: flex;
|
3
3
|
align-items: center;
|
4
|
-
padding: 15px
|
4
|
+
padding: 15px $grid-gutter-width;
|
5
5
|
background-color: very-light($color-3, 4);
|
6
6
|
border-bottom: 1px solid $color-border;
|
7
7
|
height: $main-header-height;
|
8
8
|
|
9
|
-
body:not(.new-layout) & {
|
10
|
-
margin-left: $width-sidebar;
|
11
|
-
}
|
12
|
-
|
13
9
|
@media print { display: none }
|
14
10
|
}
|
15
11
|
|
@@ -5,10 +5,7 @@ html {
|
|
5
5
|
body {
|
6
6
|
position: relative;
|
7
7
|
min-height: 100%;
|
8
|
-
|
9
|
-
&.new-layout {
|
10
|
-
padding-left: $width-sidebar;
|
11
|
-
}
|
8
|
+
padding-left: $width-sidebar;
|
12
9
|
}
|
13
10
|
|
14
11
|
.admin-nav {
|
@@ -18,37 +15,20 @@ body {
|
|
18
15
|
}
|
19
16
|
|
20
17
|
.content-wrapper {
|
21
|
-
|
22
|
-
margin-left: $width-sidebar;
|
23
|
-
@media print { margin-left: 0 }
|
24
|
-
}
|
25
|
-
|
26
|
-
body.new-layout & {
|
27
|
-
@include padding(1rem map-get($grid-gutter-widths, "xl") null);
|
28
|
-
}
|
18
|
+
@include padding(1rem $grid-gutter-width null);
|
29
19
|
|
30
|
-
|
20
|
+
&:not(.full-width) {
|
31
21
|
@include margin(null auto);
|
32
22
|
max-width: map-get($container-max-widths, "xl");
|
33
23
|
}
|
34
24
|
}
|
35
25
|
|
36
26
|
.content-main {
|
37
|
-
@include make-col(12);
|
38
27
|
overflow-x: hidden; // makes sure that the tabs are able to resize
|
39
|
-
|
40
|
-
.has-sidebar & {
|
41
|
-
@include make-col(9);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
.content-sidebar {
|
46
|
-
@include make-col(3);
|
47
28
|
}
|
48
29
|
|
49
30
|
#content {
|
50
31
|
position: relative;
|
51
|
-
z-index: 0;
|
52
32
|
padding: 0;
|
53
33
|
margin-top: 15px;
|
54
34
|
}
|