spree_backend 4.1.5 → 4.2.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/backend-add.svg +5 -0
- data/app/assets/images/backend-adjust.svg +5 -0
- data/app/assets/images/backend-approve.svg +3 -0
- data/app/assets/images/backend-arrow-down.svg +1 -0
- data/app/assets/images/backend-arrow-left.svg +1 -0
- data/app/assets/images/backend-arrow-right.svg +1 -0
- data/app/assets/images/backend-arrow-up.svg +1 -0
- data/app/assets/images/backend-calendar.svg +9 -0
- data/app/assets/images/backend-cancel.svg +7 -0
- data/app/assets/images/backend-capture.svg +3 -0
- data/app/assets/images/backend-cart.svg +1 -0
- data/app/assets/images/backend-chevron-down.svg +1 -0
- data/app/assets/images/backend-chevron-left.svg +1 -0
- data/app/assets/images/backend-chevron-right.svg +1 -0
- data/app/assets/images/backend-chevron-up.svg +1 -0
- data/app/assets/images/backend-clone.svg +7 -0
- data/app/assets/images/backend-close.svg +7 -0
- data/app/assets/images/backend-delete.svg +6 -0
- data/app/assets/images/backend-double-chevron-left.svg +15 -0
- data/app/assets/images/backend-double-chevron-right.svg +17 -0
- data/app/assets/images/backend-edit.svg +14 -0
- data/app/assets/images/backend-enter.svg +6 -0
- data/app/assets/images/backend-envelope.svg +3 -0
- data/app/assets/images/backend-exit.svg +13 -0
- data/app/assets/images/backend-extensions.svg +4 -0
- data/app/assets/images/backend-eye-open.svg +8 -0
- data/app/assets/images/backend-file.svg +6 -0
- data/app/assets/images/backend-filter.svg +3 -0
- data/app/assets/images/backend-folder.svg +4 -0
- data/app/assets/images/backend-images.svg +7 -0
- data/app/assets/images/backend-info.svg +7 -0
- data/app/assets/images/backend-items.svg +5 -0
- data/app/assets/images/backend-leaf.svg +7 -0
- data/app/assets/images/backend-list.svg +5 -0
- data/app/assets/images/backend-location.svg +4 -0
- data/app/assets/images/backend-menu.svg +5 -0
- data/app/assets/images/backend-money.svg +1 -0
- data/app/assets/images/backend-move.svg +5 -0
- data/app/assets/images/backend-ok.svg +3 -0
- data/app/assets/images/backend-pagination-double-arrow-right.svg +8 -0
- data/app/assets/images/backend-payments.svg +8 -0
- data/app/assets/images/backend-pencil.svg +1 -0
- data/app/assets/images/backend-products.svg +5 -0
- data/app/assets/images/backend-promotion.svg +8 -0
- data/app/assets/images/backend-recycle.svg +5 -0
- data/app/assets/images/backend-remove.svg +6 -0
- data/app/assets/images/backend-report.svg +6 -0
- data/app/assets/images/backend-resume.svg +5 -0
- data/app/assets/images/backend-returns.svg +3 -0
- data/app/assets/images/backend-save.svg +3 -0
- data/app/assets/images/backend-search.svg +1 -0
- data/app/assets/images/backend-settings.svg +6 -0
- data/app/assets/images/backend-shipping.svg +3 -0
- data/app/assets/images/backend-slack.svg +3 -0
- data/app/assets/images/backend-sort.svg +5 -0
- data/app/assets/images/backend-split.svg +3 -0
- data/app/assets/images/backend-store.svg +14 -0
- data/app/assets/images/backend-tick.svg +3 -0
- data/app/assets/images/backend-update.svg +3 -0
- data/app/assets/images/backend-user.svg +3 -0
- data/app/assets/images/backend-users.svg +6 -0
- data/app/assets/images/backend-view.svg +8 -0
- data/app/assets/images/backend-void.svg +7 -0
- data/app/assets/javascripts/spree/backend.js +5 -2
- data/app/assets/javascripts/spree/backend/admin.js +156 -147
- data/app/assets/javascripts/spree/backend/checkouts/edit.js +1 -0
- data/app/assets/javascripts/spree/backend/flatpickr_locals.js +37 -0
- data/app/assets/javascripts/spree/backend/multi_currency.js +38 -0
- data/app/assets/javascripts/spree/backend/payments/edit.js +4 -3
- data/app/assets/javascripts/spree/backend/payments/new.js +18 -18
- data/app/assets/javascripts/spree/backend/promotions.js +1 -1
- data/app/assets/javascripts/spree/backend/spree-select2.js +18 -4
- data/app/assets/javascripts/spree/backend/stock_management.js +2 -1
- data/app/assets/javascripts/spree/backend/taxon_tree_menu.js +4 -4
- data/app/assets/javascripts/spree/backend/taxonomy.js +8 -1
- data/app/assets/javascripts/spree/backend/taxons.js +25 -16
- data/app/assets/javascripts/spree/backend/user_picker.js +1 -1
- data/app/assets/javascripts/spree/backend/variant_autocomplete.js +1 -1
- data/app/assets/javascripts/spree/backend/variant_management.js +2 -1
- data/app/assets/stylesheets/spree/backend.css +1 -1
- data/app/assets/stylesheets/spree/backend/components/_buttons.scss +27 -11
- data/app/assets/stylesheets/spree/backend/components/_filters.scss +35 -5
- data/app/assets/stylesheets/spree/backend/components/_icons.scss +39 -4
- data/app/assets/stylesheets/spree/backend/components/_main.scss +32 -6
- data/app/assets/stylesheets/spree/backend/components/_navbar.scss +16 -8
- data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +119 -55
- data/app/assets/stylesheets/spree/backend/components/_tables.scss +62 -19
- data/app/assets/stylesheets/spree/backend/components/_taxon_products_view.scss +26 -63
- data/app/assets/stylesheets/spree/backend/global/_variables.scss +5 -1
- data/app/assets/stylesheets/spree/backend/plugins/_flatpickr.scss +95 -0
- data/app/assets/stylesheets/spree/backend/plugins/_jquery_ui.scss +0 -117
- data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +73 -24
- data/app/assets/stylesheets/spree/backend/shared/_base.scss +40 -0
- data/app/assets/stylesheets/spree/backend/shared/_forms.scss +38 -0
- data/app/assets/stylesheets/spree/backend/spree_admin.css.scss +5 -0
- data/app/assets/stylesheets/spree/backend/views/_order_payments.scss +12 -0
- data/app/assets/stylesheets/spree/backend/views/_product_properties.scss +11 -0
- data/app/assets/stylesheets/spree/backend/views/prototypes.scss +42 -0
- data/app/controllers/spree/admin/general_settings_controller.rb +27 -0
- data/app/controllers/spree/admin/prices_controller.rb +39 -0
- data/app/controllers/spree/admin/stock_transfers_controller.rb +8 -1
- data/app/controllers/spree/admin/stores_controller.rb +61 -1
- data/app/controllers/spree/admin/taxons_controller.rb +5 -1
- data/app/helpers/spree/admin/base_helper.rb +25 -8
- data/app/helpers/spree/admin/navigation_helper.rb +50 -19
- data/app/helpers/spree/admin/orders_helper.rb +2 -2
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_first_page.html.erb +1 -1
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_gap.html.erb +1 -1
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_last_page.html.erb +1 -1
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_next_page.html.erb +1 -1
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_page.html.erb +0 -0
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_paginator.html.erb +1 -1
- data/app/views/kaminari/{twitter-bootstrap-4 → admin-twitter-bootstrap-4}/_prev_page.html.erb +1 -1
- data/app/views/spree/admin/adjustments/_adjustment.html.erb +2 -2
- data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +16 -16
- data/app/views/spree/admin/adjustments/edit.html.erb +2 -2
- data/app/views/spree/admin/adjustments/index.html.erb +3 -3
- data/app/views/spree/admin/adjustments/new.html.erb +1 -1
- data/app/views/spree/admin/countries/_form.html.erb +9 -4
- data/app/views/spree/admin/countries/index.html.erb +27 -24
- data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +37 -35
- data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +2 -0
- data/app/views/spree/admin/customer_returns/_return_item_selection.html.erb +45 -43
- data/app/views/spree/admin/customer_returns/index.html.erb +3 -1
- data/app/views/spree/admin/customer_returns/new.html.erb +1 -1
- data/app/views/spree/admin/general_settings/_form.html.erb +27 -0
- data/app/views/spree/admin/general_settings/edit.html.erb +4 -3
- data/app/views/spree/admin/images/edit.html.erb +2 -2
- data/app/views/spree/admin/images/index.html.erb +7 -7
- data/app/views/spree/admin/images/new.html.erb +2 -2
- data/app/views/spree/admin/log_entries/index.html.erb +4 -3
- data/app/views/spree/admin/option_types/_option_value_fields.html.erb +1 -1
- data/app/views/spree/admin/option_types/edit.html.erb +22 -20
- data/app/views/spree/admin/option_types/index.html.erb +27 -25
- data/app/views/spree/admin/orders/_adjustments.html.erb +26 -26
- data/app/views/spree/admin/orders/_line_items.html.erb +7 -7
- data/app/views/spree/admin/orders/_order_actions.html.erb +1 -1
- data/app/views/spree/admin/orders/_risk_analysis.html.erb +44 -42
- data/app/views/spree/admin/orders/_shipment.html.erb +6 -6
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +5 -5
- data/app/views/spree/admin/orders/_store_form.html.erb +3 -3
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
- data/app/views/spree/admin/orders/index.html.erb +135 -127
- data/app/views/spree/admin/payment_methods/index.html.erb +6 -4
- data/app/views/spree/admin/payments/_capture_events.html.erb +18 -16
- data/app/views/spree/admin/payments/_form.html.erb +1 -1
- data/app/views/spree/admin/payments/_list.html.erb +39 -37
- data/app/views/spree/admin/payments/index.html.erb +2 -3
- data/app/views/spree/admin/payments/new.html.erb +1 -1
- data/app/views/spree/admin/payments/show.html.erb +1 -1
- data/app/views/spree/admin/payments/source_forms/_gateway.html.erb +30 -30
- data/app/views/spree/admin/payments/source_views/_gateway.html.erb +20 -18
- data/app/views/spree/admin/payments/source_views/_storecredit.html.erb +28 -26
- data/app/views/spree/admin/prices/_variant_prices.html.erb +43 -0
- data/app/views/spree/admin/prices/index.html.erb +21 -0
- data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +16 -4
- data/app/views/spree/admin/product_properties/index.html.erb +24 -19
- data/app/views/spree/admin/products/_add_stock_form.html.erb +1 -1
- data/app/views/spree/admin/products/_autocomplete.js.erb +27 -21
- data/app/views/spree/admin/products/_form.html.erb +40 -9
- data/app/views/spree/admin/products/edit.html.erb +1 -1
- data/app/views/spree/admin/products/index.html.erb +24 -19
- data/app/views/spree/admin/products/new.html.erb +11 -2
- data/app/views/spree/admin/products/stock.html.erb +3 -3
- data/app/views/spree/admin/promotion_categories/index.html.erb +4 -1
- data/app/views/spree/admin/promotions/_actions.html.erb +2 -2
- data/app/views/spree/admin/promotions/_form.html.erb +44 -17
- data/app/views/spree/admin/promotions/_promotion_action.html.erb +1 -1
- data/app/views/spree/admin/promotions/_promotion_rule.html.erb +1 -1
- data/app/views/spree/admin/promotions/_rules.html.erb +4 -4
- data/app/views/spree/admin/promotions/edit.html.erb +2 -2
- data/app/views/spree/admin/promotions/index.html.erb +5 -3
- data/app/views/spree/admin/promotions/new.html.erb +7 -6
- data/app/views/spree/admin/promotions/rules/_country.html.erb +1 -1
- data/app/views/spree/admin/promotions/rules/_item_total.html.erb +5 -5
- data/app/views/spree/admin/promotions/rules/_option_value.html.erb +6 -13
- data/app/views/spree/admin/promotions/rules/_product.html.erb +1 -1
- data/app/views/spree/admin/promotions/rules/_taxon.html.erb +1 -1
- data/app/views/spree/admin/properties/index.html.erb +5 -3
- data/app/views/spree/admin/prototypes/_prototypes.html.erb +30 -28
- data/app/views/spree/admin/prototypes/index.html.erb +21 -19
- data/app/views/spree/admin/prototypes/show.html.erb +21 -8
- data/app/views/spree/admin/refunds/edit.html.erb +2 -2
- data/app/views/spree/admin/refunds/new.html.erb +2 -2
- data/app/views/spree/admin/reimbursement_types/_form.html.erb +4 -4
- data/app/views/spree/admin/reimbursement_types/index.html.erb +4 -2
- data/app/views/spree/admin/reimbursements/edit.html.erb +66 -63
- data/app/views/spree/admin/reimbursements/index.html.erb +21 -20
- data/app/views/spree/admin/reimbursements/show.html.erb +66 -60
- data/app/views/spree/admin/reports/index.html.erb +18 -17
- data/app/views/spree/admin/reports/sales_total.html.erb +20 -19
- data/app/views/spree/admin/return_authorizations/_form.html.erb +3 -2
- data/app/views/spree/admin/return_authorizations/edit.html.erb +3 -3
- data/app/views/spree/admin/return_authorizations/index.html.erb +3 -1
- data/app/views/spree/admin/return_authorizations/new.html.erb +2 -2
- data/app/views/spree/admin/return_index/customer_returns.html.erb +4 -4
- data/app/views/spree/admin/return_index/return_authorizations.html.erb +4 -4
- data/app/views/spree/admin/roles/index.html.erb +21 -19
- data/app/views/spree/admin/shared/_account_nav.html.erb +51 -65
- data/app/views/spree/admin/shared/_address_form.html.erb +31 -73
- data/app/views/spree/admin/shared/_cal_close.html.erb +10 -0
- data/app/views/spree/admin/shared/_content_header.html.erb +40 -21
- data/app/views/spree/admin/shared/_edit_resource_links.html.erb +2 -2
- data/app/views/spree/admin/shared/_header.html.erb +14 -11
- data/app/views/spree/admin/shared/_index_table_options.html.erb +5 -7
- data/app/views/spree/admin/shared/_main_menu.html.erb +25 -14
- data/app/views/spree/admin/shared/_new_resource_links.html.erb +2 -2
- data/app/views/spree/admin/shared/_order_summary.html.erb +2 -0
- data/app/views/spree/admin/shared/_order_tabs.html.erb +9 -9
- data/app/views/spree/admin/shared/_product_tabs.html.erb +13 -5
- data/app/views/spree/admin/shared/_refunds.html.erb +31 -29
- data/app/views/spree/admin/shared/_report_order_criteria.html.erb +27 -6
- data/app/views/spree/admin/shared/_sidebar.html.erb +19 -1
- data/app/views/spree/admin/shared/_table_filter.html.erb +3 -3
- data/app/views/spree/admin/shared/_translations.html.erb +33 -1
- data/app/views/spree/admin/shared/_version.html.erb +1 -1
- data/app/views/spree/admin/shared/named_types/_index.html.erb +3 -1
- data/app/views/spree/admin/shipping_categories/index.html.erb +3 -1
- data/app/views/spree/admin/shipping_methods/index.html.erb +3 -1
- data/app/views/spree/admin/state_changes/index.html.erb +5 -2
- data/app/views/spree/admin/states/_state_list.html.erb +25 -24
- data/app/views/spree/admin/states/index.html.erb +1 -1
- data/app/views/spree/admin/stock_locations/_transfer_stock_form.html.erb +2 -2
- data/app/views/spree/admin/stock_locations/index.html.erb +3 -1
- data/app/views/spree/admin/stock_movements/index.html.erb +28 -26
- data/app/views/spree/admin/stock_transfers/_stock_movements.html.erb +20 -18
- data/app/views/spree/admin/stock_transfers/index.html.erb +6 -4
- data/app/views/spree/admin/stock_transfers/new.html.erb +3 -3
- data/app/views/spree/admin/stock_transfers/show.html.erb +3 -3
- data/app/views/spree/admin/store_credit_categories/index.html.erb +3 -1
- data/app/views/spree/admin/store_credits/index.html.erb +3 -1
- data/app/views/spree/admin/stores/_form.html.erb +128 -68
- data/app/views/spree/admin/stores/edit.html.erb +1 -1
- data/app/views/spree/admin/stores/index.html.erb +4 -2
- data/app/views/spree/admin/tax_categories/index.html.erb +29 -27
- data/app/views/spree/admin/tax_rates/index.html.erb +3 -1
- data/app/views/spree/admin/taxonomies/_list.html.erb +24 -22
- data/app/views/spree/admin/taxonomies/edit.html.erb +2 -2
- data/app/views/spree/admin/taxonomies/index.html.erb +1 -1
- data/app/views/spree/admin/taxons/_form.html.erb +3 -3
- data/app/views/spree/admin/taxons/_taxon_table.html.erb +24 -22
- data/app/views/spree/admin/taxons/edit.html.erb +6 -2
- data/app/views/spree/admin/taxons/index.html.erb +1 -1
- data/app/views/spree/admin/users/_lifetime_stats.html.erb +24 -23
- data/app/views/spree/admin/users/_sidebar.html.erb +5 -5
- data/app/views/spree/admin/users/_user_page_actions.html.erb +1 -1
- data/app/views/spree/admin/users/edit.html.erb +2 -2
- data/app/views/spree/admin/users/index.html.erb +25 -23
- data/app/views/spree/admin/users/items.html.erb +3 -2
- data/app/views/spree/admin/users/orders.html.erb +30 -29
- data/app/views/spree/admin/variants/_autocomplete_line_items_stock.js.erb +3 -3
- data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +2 -2
- data/app/views/spree/admin/variants/_form.html.erb +14 -2
- data/app/views/spree/admin/variants/_split.js.erb +2 -2
- data/app/views/spree/admin/variants/index.html.erb +7 -5
- data/app/views/spree/admin/zones/index.html.erb +4 -4
- data/app/views/spree/layouts/admin.html.erb +33 -27
- data/config/initializers/ransack.rb +31 -0
- data/config/routes.rb +1 -0
- data/lib/spree/backend.rb +2 -0
- data/lib/spree_backend.rb +0 -1
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spree_backend.gemspec +14 -6
- data/vendor/assets/javascripts/js.cookie.js +154 -156
- data/vendor/assets/javascripts/purify.js +1217 -0
- data/vendor/assets/javascripts/sortable.js +3709 -0
- data/vendor/assets/stylesheets/animate.css +7 -3156
- data/vendor/assets/stylesheets/jquery.jstree/themes/spree/style.scss +23 -9
- metadata +137 -20
@@ -1,13 +1,39 @@
|
|
1
1
|
#main-part {
|
2
|
-
padding: $spacer ($spacer *
|
2
|
+
padding: $spacer ($spacer * 0.5) 0 ($spacer * 0.5);
|
3
3
|
margin-top: 50px;
|
4
4
|
}
|
5
5
|
|
6
|
-
.sidebar-minimized #main-part {
|
7
|
-
padding: $spacer ($spacer * 2) 0 ($spacer * 5);
|
8
|
-
}
|
9
|
-
|
10
6
|
#logo {
|
11
7
|
width: auto;
|
12
|
-
height:
|
8
|
+
height: 36px;
|
9
|
+
}
|
10
|
+
|
11
|
+
#multi-backdrop {
|
12
|
+
z-index: 0;
|
13
|
+
height: 0;
|
14
|
+
width: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
body.modal-open #multi-backdrop {
|
18
|
+
z-index: 1040;
|
19
|
+
width: 100vw;
|
20
|
+
height: 100vh;
|
21
|
+
}
|
22
|
+
|
23
|
+
.sort-handle {
|
24
|
+
cursor: grab;
|
25
|
+
}
|
26
|
+
|
27
|
+
.no-wrap {
|
28
|
+
white-space: nowrap;
|
29
|
+
}
|
30
|
+
|
31
|
+
.card-body {
|
32
|
+
padding: 0.75rem;
|
33
|
+
}
|
34
|
+
|
35
|
+
@include media-breakpoint-up(sm) {
|
36
|
+
.card-body {
|
37
|
+
padding: 1.25rem;
|
38
|
+
}
|
13
39
|
}
|
@@ -2,20 +2,28 @@
|
|
2
2
|
.navbar {
|
3
3
|
background-color: $navbar-inverse-bg;
|
4
4
|
padding: 0;
|
5
|
+
height: 50px;
|
5
6
|
|
6
7
|
a:hover {
|
7
8
|
text-decoration: none;
|
8
9
|
}
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
.btn {
|
11
|
+
&:hover,
|
12
|
+
&:focus {
|
13
|
+
text-decoration: none;
|
14
|
+
outline: 0;
|
15
|
+
outline: none;
|
16
|
+
-webkit-box-shadow: none;
|
17
|
+
box-shadow: none;
|
18
|
+
}
|
14
19
|
}
|
15
20
|
|
16
|
-
|
17
|
-
|
18
|
-
|
21
|
+
#accountNav {
|
22
|
+
i {
|
23
|
+
font-size: 1.3em;
|
24
|
+
line-height: 1rem;
|
25
|
+
}
|
19
26
|
}
|
27
|
+
|
20
28
|
}
|
21
29
|
}
|
@@ -1,85 +1,149 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
aside#main-sidebar {
|
2
3
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
3
4
|
background-color: $gray-100;
|
4
5
|
border-right: 1px solid $gray-200;
|
5
|
-
|
6
|
-
|
7
|
-
|
6
|
+
width: 100%;
|
7
|
+
left: -100%;
|
8
|
+
margin-top: 0;
|
9
|
+
height: 100%;
|
10
|
+
transition: 0.3s ease;
|
11
|
+
z-index: 1041;
|
12
|
+
}
|
13
|
+
|
14
|
+
body.sidebar-open {
|
15
|
+
overflow-x: hidden;
|
16
|
+
aside#main-sidebar {
|
17
|
+
left:0;
|
18
|
+
transition: 0.3s ease;
|
19
|
+
}
|
20
|
+
.disable-when-main-menu-is-open {
|
21
|
+
z-index: 1040 !important;
|
22
|
+
}
|
23
|
+
}
|
8
24
|
|
9
|
-
|
25
|
+
a.sidebar-submenu-item:hover {
|
10
26
|
text-decoration: none;
|
11
27
|
background-color: $gray-200;
|
12
28
|
cursor: pointer
|
29
|
+
}
|
30
|
+
|
31
|
+
ul.active-option {
|
32
|
+
background-color: $gray-200;
|
33
|
+
.drop-menu-indicator {
|
34
|
+
transform: rotate(-90deg);
|
13
35
|
}
|
36
|
+
}
|
14
37
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
38
|
+
ul.nav-sidebar {
|
39
|
+
> li {
|
40
|
+
> a {
|
41
|
+
color: $gray-700;
|
19
42
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
43
|
+
&:hover,
|
44
|
+
&[aria-expanded="true"] {
|
45
|
+
text-decoration: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
.drop-menu-indicator {
|
49
|
+
right: 1rem;
|
50
|
+
}
|
51
|
+
|
52
|
+
&[aria-expanded="true"] {
|
53
|
+
.drop-menu-indicator {
|
54
|
+
transform: rotate(-90deg);
|
55
|
+
transition: .3s ease-in-out;
|
24
56
|
}
|
57
|
+
}
|
25
58
|
|
26
|
-
|
27
|
-
.
|
28
|
-
|
29
|
-
|
30
|
-
right: 1rem;
|
31
|
-
top: 50%;
|
32
|
-
margin-top: -.5rem;
|
59
|
+
&[aria-expanded="false"] {
|
60
|
+
.drop-menu-indicator {
|
61
|
+
transform: rotate(0deg);
|
62
|
+
transition: .3s ease-in-out;
|
33
63
|
}
|
34
64
|
}
|
35
65
|
}
|
36
66
|
}
|
37
67
|
}
|
38
68
|
|
39
|
-
#
|
40
|
-
|
41
|
-
overflow:
|
69
|
+
#contextualSideMenu {
|
70
|
+
max-height: 85vh;
|
71
|
+
overflow-x: auto;
|
72
|
+
background-color: white;
|
73
|
+
position: fixed;
|
74
|
+
left:0;
|
75
|
+
top: -100%;
|
76
|
+
z-index: 1041;
|
77
|
+
transition: .3s ease-in-out;
|
78
|
+
.page-actions__close {
|
79
|
+
margin: -1.5rem -1.5rem 1.5rem;
|
80
|
+
}
|
81
|
+
}
|
42
82
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
83
|
+
#contextual-menu-toggle {
|
84
|
+
& svg {
|
85
|
+
transform:rotate(0deg);
|
86
|
+
transition: transform .3s ease-in-out;
|
47
87
|
}
|
88
|
+
}
|
48
89
|
|
49
|
-
|
50
|
-
|
90
|
+
#sidebar a svg {
|
91
|
+
margin-bottom: 3px;
|
92
|
+
}
|
51
93
|
|
52
|
-
|
53
|
-
|
54
|
-
|
94
|
+
body.contextualSideMenu-open #contextualSideMenu {
|
95
|
+
top: 0;
|
96
|
+
transition: .3s ease-in-out;
|
97
|
+
}
|
55
98
|
|
56
|
-
|
57
|
-
|
58
|
-
|
99
|
+
body.contextualSideMenu-open #contextual-menu-toggle {
|
100
|
+
svg {
|
101
|
+
transform:rotate(180deg);
|
102
|
+
transition: transform .3s ease-in-out;
|
59
103
|
}
|
104
|
+
}
|
60
105
|
|
61
|
-
|
62
|
-
|
106
|
+
.contextual-title {
|
107
|
+
font-size:1.25rem;
|
108
|
+
}
|
109
|
+
|
110
|
+
@include media-breakpoint-up(sm) {
|
111
|
+
aside#main-sidebar {
|
112
|
+
width: 50%;
|
63
113
|
}
|
114
|
+
}
|
64
115
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
116
|
+
@include media-breakpoint-up(md) {
|
117
|
+
aside#main-sidebar {
|
118
|
+
width: 30%;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
@include media-breakpoint-up(lg) {
|
123
|
+
|
124
|
+
#contextualSideMenu {
|
125
|
+
border: none;
|
126
|
+
height: max-content;
|
73
127
|
z-index: 1000;
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
128
|
+
position: sticky;
|
129
|
+
top: 75px;
|
130
|
+
transition: none;
|
131
|
+
}
|
132
|
+
aside#main-sidebar {
|
133
|
+
left: 0;
|
134
|
+
z-index: 999;
|
135
|
+
margin-top: 50px;
|
136
|
+
height: calc(100% - 50px);
|
137
|
+
transition: none;
|
138
|
+
body.sidebar-open {
|
139
|
+
aside#main-sidebar {
|
140
|
+
left:0;
|
141
|
+
transition: none;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
.contextual-title {
|
147
|
+
font-size:1.5rem;
|
84
148
|
}
|
85
149
|
}
|
@@ -1,39 +1,57 @@
|
|
1
1
|
table.table {
|
2
2
|
font-size: $font-size-sm;
|
3
3
|
|
4
|
+
.move-handle {
|
5
|
+
cursor: grab;
|
6
|
+
}
|
7
|
+
|
8
|
+
th {
|
9
|
+
padding: 0.5rem;
|
10
|
+
|
11
|
+
&.handel-head {
|
12
|
+
width: 50px;
|
13
|
+
}
|
14
|
+
a.sort_link {
|
15
|
+
white-space: nowrap;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
td {
|
20
|
+
padding: 0.5rem;
|
21
|
+
}
|
22
|
+
|
23
|
+
.badge {
|
24
|
+
font-size: 0.85em;
|
25
|
+
}
|
26
|
+
|
4
27
|
thead {
|
5
28
|
th {
|
6
29
|
text-transform: uppercase;
|
7
30
|
font-size: $small-font-size;
|
31
|
+
padding: 0.5rem;
|
8
32
|
padding-top: 14px;
|
9
33
|
padding-bottom: 14px;
|
10
34
|
vertical-align: top;
|
11
35
|
border-top: 0;
|
12
|
-
|
13
|
-
a {
|
14
|
-
.glyphicon {
|
15
|
-
padding-left: 5px;
|
16
|
-
}
|
17
|
-
}
|
18
36
|
}
|
19
37
|
}
|
20
38
|
|
21
39
|
tbody {
|
22
40
|
tr {
|
41
|
+
background: white;
|
23
42
|
td {
|
24
43
|
vertical-align: middle;
|
25
|
-
|
26
44
|
.filterable {
|
27
|
-
font-size: .8em;
|
28
45
|
margin-left: .2em;
|
29
|
-
color: white; // hidden, but space is reserved for the icon
|
30
46
|
cursor: pointer;
|
47
|
+
width: 0.9rem;
|
48
|
+
height:0.9rem;
|
49
|
+
opacity: 0.25;
|
50
|
+
&:hover {
|
51
|
+
opacity: 1;
|
52
|
+
}
|
31
53
|
}
|
32
54
|
}
|
33
|
-
|
34
|
-
&:hover td .filterable {
|
35
|
-
color: #666;
|
36
|
-
}
|
37
55
|
}
|
38
56
|
}
|
39
57
|
}
|
@@ -42,6 +60,18 @@ table.table {
|
|
42
60
|
display: none;
|
43
61
|
margin: -.5em 0 .9em;
|
44
62
|
|
63
|
+
.js-filter {
|
64
|
+
.icon {
|
65
|
+
cursor: pointer;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.badge-secondary {
|
70
|
+
.icon {
|
71
|
+
filter: invert(1);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
45
75
|
.badge {
|
46
76
|
display: inline-block;
|
47
77
|
margin-right: .5em;
|
@@ -50,12 +80,6 @@ table.table {
|
|
50
80
|
&:hover {
|
51
81
|
opacity: .8;
|
52
82
|
}
|
53
|
-
|
54
|
-
span.icon {
|
55
|
-
margin: .3em 0 0 .6em;
|
56
|
-
font-size: 80%;
|
57
|
-
cursor: pointer;
|
58
|
-
}
|
59
83
|
}
|
60
84
|
}
|
61
85
|
|
@@ -95,3 +119,22 @@ table.table {
|
|
95
119
|
border-top: 0;
|
96
120
|
}
|
97
121
|
}
|
122
|
+
|
123
|
+
div.table-responsive table.table-bordered {
|
124
|
+
border-top: 1px solid $input-border-color !important;
|
125
|
+
}
|
126
|
+
|
127
|
+
.sortable-drag-v {
|
128
|
+
border: 1px solid $info;
|
129
|
+
border-radius: 5px;
|
130
|
+
width:100%;
|
131
|
+
text-align: right;
|
132
|
+
opacity: 0;
|
133
|
+
td {
|
134
|
+
border-top: none;
|
135
|
+
opacity:0;
|
136
|
+
&:first-child {
|
137
|
+
opacity: 1;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
@@ -1,72 +1,35 @@
|
|
1
1
|
.taxon-products-view {
|
2
2
|
ul.taxon {
|
3
|
-
|
4
|
-
margin-left: -2%;
|
5
|
-
padding: 0;
|
6
|
-
> * {
|
7
|
-
margin-left: 2%;
|
8
|
-
}
|
3
|
+
|
9
4
|
li.product {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
margin-bottom: 2%;
|
14
|
-
padding: 8px 8px 5px 8px;
|
15
|
-
border-radius: 4px;
|
16
|
-
background: #f4f4f4;
|
17
|
-
.well {
|
18
|
-
padding-bottom: 12px;
|
19
|
-
}
|
20
|
-
.sort-handle {
|
21
|
-
position: absolute;
|
22
|
-
top: 14px;
|
23
|
-
left: 16px;
|
24
|
-
color: $gray-500;
|
25
|
-
cursor: move;
|
26
|
-
}
|
27
|
-
.btn-group {
|
28
|
-
display: none;
|
29
|
-
position: absolute;
|
30
|
-
top: 14px;
|
31
|
-
right: 16px;
|
32
|
-
.btn {
|
33
|
-
padding: 2px 7px;
|
34
|
-
}
|
35
|
-
.dropdown-menu {
|
36
|
-
left: auto;
|
37
|
-
right: 0;
|
38
|
-
}
|
39
|
-
a.delete-product {
|
40
|
-
color: red;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
.image {
|
44
|
-
height: 191px;
|
45
|
-
.thumbnail {
|
46
|
-
max-height: 180px;
|
47
|
-
margin-bottom: 8px;
|
48
|
-
display: inline-block;
|
49
|
-
width: 100%;
|
50
|
-
}
|
5
|
+
list-style: none;
|
6
|
+
.thumbnail {
|
7
|
+
width: 100%;
|
51
8
|
}
|
9
|
+
|
52
10
|
.product-info {
|
53
|
-
|
54
|
-
font-size: 0.9em;
|
55
|
-
div.name {
|
56
|
-
white-space: nowrap;
|
57
|
-
overflow: hidden;
|
58
|
-
text-overflow: ellipsis;
|
59
|
-
font-weight: bold;
|
60
|
-
}
|
61
|
-
div.price {
|
62
|
-
color: $gray-500;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
&:hover {
|
66
|
-
.btn-group {
|
67
|
-
display: inline-block;
|
68
|
-
}
|
11
|
+
font-size: 0.8em;
|
69
12
|
}
|
70
13
|
}
|
71
14
|
}
|
72
15
|
}
|
16
|
+
|
17
|
+
ul#taxon_products {
|
18
|
+
-webkit-user-select: none;
|
19
|
+
-moz-user-select: none;
|
20
|
+
-ms-user-select: none;
|
21
|
+
-o-user-select: none;
|
22
|
+
user-select: none;
|
23
|
+
|
24
|
+
.dropdown-menu {
|
25
|
+
min-width: 8rem;
|
26
|
+
}
|
27
|
+
|
28
|
+
.products-ddb::after {
|
29
|
+
display: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
li.moving-this div.card {
|
33
|
+
border-color: $info;
|
34
|
+
}
|
35
|
+
}
|