spree_backend 4.2.4 → 4.3.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/assets/config/spree_backend_manifest.js +129 -0
- data/app/assets/images/backend-arrows-fullscreen.svg +3 -0
- data/app/assets/images/backend-box.svg +3 -0
- data/app/assets/images/backend-circle-fill.svg +3 -0
- data/app/assets/images/backend-circle.svg +3 -0
- data/app/assets/images/backend-default-layout.svg +6 -0
- data/app/assets/images/backend-eye-slash-fill.svg +4 -0
- data/app/assets/images/backend-file-richtext.svg +4 -0
- data/app/assets/images/backend-fullscreen-exit.svg +3 -0
- data/app/assets/images/backend-fullscreen.svg +3 -0
- data/app/assets/images/backend-mobile.svg +5 -0
- data/app/assets/images/backend-pages.svg +10 -0
- data/app/assets/images/backend-phone.svg +4 -0
- data/app/assets/images/backend-reversed-layout.svg +6 -0
- data/app/assets/images/backend-spree-icon.svg +1 -0
- data/app/assets/images/backend-spree-logo.svg +6 -0
- data/app/assets/images/backend-store.svg +2 -13
- data/app/assets/images/backend-translate.svg +4 -0
- data/app/assets/images/backend-users.svg +2 -5
- data/app/assets/images/backend-window-sidebar.svg +4 -0
- data/app/assets/images/noimage/backend-missing-image.svg +4 -0
- data/app/assets/images/noimage/large.png +0 -0
- data/app/assets/images/noimage/mini.png +0 -0
- data/app/assets/images/noimage/product.png +0 -0
- data/app/assets/images/noimage/small.png +0 -0
- data/app/assets/javascripts/spree/backend/address_states.es6 +44 -0
- data/app/assets/javascripts/spree/backend/admin.js +45 -307
- data/app/assets/javascripts/spree/backend/checkouts/edit.js +22 -13
- data/app/assets/javascripts/spree/backend/cms/_index.es6 +4 -0
- data/app/assets/javascripts/spree/backend/cms/links.es6 +25 -0
- data/app/assets/javascripts/spree/backend/cms/live_preview.es6 +34 -0
- data/app/assets/javascripts/spree/backend/cms/page.es6 +133 -0
- data/app/assets/javascripts/spree/backend/cms/section.es6 +43 -0
- data/app/assets/javascripts/spree/backend/global/_index.js +11 -0
- data/app/assets/javascripts/spree/backend/global/alerts.es6 +66 -0
- data/app/assets/javascripts/spree/backend/global/api_functions.es6 +5 -0
- data/app/assets/javascripts/spree/backend/global/bootstrap.es6 +15 -0
- data/app/assets/javascripts/spree/backend/global/flatpickr.es6 +22 -0
- data/app/assets/javascripts/spree/backend/global/info_alert.es6 +38 -0
- data/app/assets/javascripts/spree/backend/global/radio_panel_toggle.es6 +18 -0
- data/app/assets/javascripts/spree/backend/global/ransack.es6 +108 -0
- data/app/assets/javascripts/spree/backend/global/responsive_menus.es6 +56 -0
- data/app/assets/javascripts/spree/backend/global/select2_autocomplete.es6 +156 -0
- data/app/assets/javascripts/spree/backend/global/select2_populate.es6 +61 -0
- data/app/assets/javascripts/spree/backend/global/side_scroll_indication.es6 +137 -0
- data/app/assets/javascripts/spree/backend/global/sortable.es6 +35 -0
- data/app/assets/javascripts/spree/backend/global/tinymce.es6 +11 -0
- data/app/assets/javascripts/spree/backend/menus/_index.es6 +2 -0
- data/app/assets/javascripts/spree/backend/menus/menu.es6 +57 -0
- data/app/assets/javascripts/spree/backend/menus/menu_item.es6 +26 -0
- data/app/assets/javascripts/spree/backend/option_type_autocomplete.js +13 -17
- data/app/assets/javascripts/spree/backend/option_value_picker.js +10 -22
- data/app/assets/javascripts/spree/backend/payments/edit.js +1 -1
- data/app/assets/javascripts/spree/backend/payments/new.js +18 -5
- data/app/assets/javascripts/spree/backend/spree-select2.js +19 -1
- data/app/assets/javascripts/spree/backend/stock_location.js +1 -2
- data/app/assets/javascripts/spree/backend/taxon_autocomplete.js +7 -1
- data/app/assets/javascripts/spree/backend/taxons.js +74 -73
- data/app/assets/javascripts/spree/backend/user_picker.js +7 -10
- data/app/assets/javascripts/spree/backend.js +28 -1
- data/app/assets/javascripts/spree.js +78 -0
- data/app/assets/stylesheets/spree/backend/components/_filters.scss +1 -3
- data/app/assets/stylesheets/spree/backend/components/_main.scss +0 -1
- data/app/assets/stylesheets/spree/backend/components/_navbar.scss +35 -0
- data/app/assets/stylesheets/spree/backend/components/_navigation.scss +13 -0
- data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +0 -1
- data/app/assets/stylesheets/spree/backend/components/_tables.scss +4 -5
- data/app/assets/stylesheets/spree/backend/global/_mixins.scss +59 -0
- data/app/assets/stylesheets/spree/backend/plugins/_nav_x.scss +95 -0
- data/app/assets/stylesheets/spree/backend/plugins/{select2_bootstrap4.scss → _select2_bootstrap4.scss} +0 -0
- data/app/assets/stylesheets/spree/backend/plugins/_sweetalert2_custom.scss +100 -0
- data/app/assets/stylesheets/spree/backend/plugins/_tinymce_custom.scss +4 -0
- data/app/assets/stylesheets/spree/backend/shared/_base.scss +75 -25
- data/app/assets/stylesheets/spree/backend/shared/_forms.scss +8 -0
- data/app/assets/stylesheets/spree/backend/spree_admin.css.scss +5 -0
- data/app/assets/stylesheets/spree/backend/views/_cms_pages.scss +148 -0
- data/app/assets/stylesheets/spree/backend/views/_menus.scss +61 -0
- data/app/controllers/concerns/spree/admin/order_concern.rb +24 -0
- data/app/controllers/concerns/spree/admin/product_concern.rb +11 -0
- data/app/controllers/spree/admin/base_controller.rb +63 -3
- data/app/controllers/spree/admin/cms_pages_controller.rb +29 -0
- data/app/controllers/spree/admin/cms_sections_controller.rb +15 -0
- data/app/controllers/spree/admin/customer_returns_controller.rb +4 -5
- data/app/controllers/spree/admin/errors_controller.rb +11 -0
- data/app/controllers/spree/admin/general_settings_controller.rb +1 -1
- data/app/controllers/spree/admin/images_controller.rb +8 -22
- data/app/controllers/spree/admin/log_entries_controller.rb +4 -3
- data/app/controllers/spree/admin/menu_items_controller.rb +33 -0
- data/app/controllers/spree/admin/menus_controller.rb +32 -0
- data/app/controllers/spree/admin/option_types_controller.rb +1 -1
- data/app/controllers/spree/admin/orders/customer_details_controller.rb +6 -11
- data/app/controllers/spree/admin/orders_controller.rb +23 -31
- data/app/controllers/spree/admin/payment_methods_controller.rb +17 -4
- data/app/controllers/spree/admin/payments_controller.rb +5 -10
- data/app/controllers/spree/admin/prices_controller.rb +2 -2
- data/app/controllers/spree/admin/products_controller.rb +21 -10
- data/app/controllers/spree/admin/promotion_actions_controller.rb +1 -1
- data/app/controllers/spree/admin/promotion_rules_controller.rb +1 -1
- data/app/controllers/spree/admin/promotions_controller.rb +3 -3
- data/app/controllers/spree/admin/prototypes_controller.rb +1 -1
- data/app/controllers/spree/admin/reimbursements_controller.rb +1 -1
- data/app/controllers/spree/admin/reports_controller.rb +5 -1
- data/app/controllers/spree/admin/resource_controller.rb +32 -5
- data/app/controllers/spree/admin/return_index_controller.rb +1 -1
- data/app/controllers/spree/admin/state_changes_controller.rb +2 -7
- data/app/controllers/spree/admin/stock_items_controller.rb +2 -2
- data/app/controllers/spree/admin/stock_locations_controller.rb +2 -2
- data/app/controllers/spree/admin/stock_movements_controller.rb +1 -1
- data/app/controllers/spree/admin/stock_transfers_controller.rb +1 -1
- data/app/controllers/spree/admin/store_credits_controller.rb +13 -8
- data/app/controllers/spree/admin/stores_controller.rb +14 -17
- data/app/controllers/spree/admin/taxons_controller.rb +9 -5
- data/app/controllers/spree/admin/users_controller.rb +9 -7
- data/app/controllers/spree/admin/variants_controller.rb +16 -15
- data/app/helpers/spree/admin/base_helper.rb +52 -14
- data/app/helpers/spree/admin/cms_helper.rb +15 -0
- data/app/helpers/spree/admin/menu_helper.rb +30 -0
- data/app/helpers/spree/admin/stores_helper.rb +21 -0
- data/app/models/spree/backend_configuration.rb +2 -0
- data/app/views/spree/admin/adjustments/_adjustment.html.erb +7 -5
- data/app/views/spree/admin/cms_pages/_form.html.erb +135 -0
- data/app/views/spree/admin/cms_pages/_live_preview_area.html.erb +61 -0
- data/app/views/spree/admin/cms_pages/_section_template.html.erb +16 -0
- data/app/views/spree/admin/cms_pages/edit.html.erb +21 -0
- data/app/views/spree/admin/cms_pages/index.html.erb +84 -0
- data/app/views/spree/admin/cms_pages/new.html.erb +8 -0
- data/app/views/spree/admin/cms_sections/_form.html.erb +69 -0
- data/app/views/spree/admin/cms_sections/edit.html.erb +19 -0
- data/app/views/spree/admin/cms_sections/new.html.erb +11 -0
- data/app/views/spree/admin/cms_sections/types/_featured_article.html.erb +50 -0
- data/app/views/spree/admin/cms_sections/types/_hero_image.html.erb +62 -0
- data/app/views/spree/admin/cms_sections/types/_image_gallery.html.erb +177 -0
- data/app/views/spree/admin/cms_sections/types/_product_carousel.html.erb +5 -0
- data/app/views/spree/admin/cms_sections/types/_rich_text_content.html.erb +4 -0
- data/app/views/spree/admin/cms_sections/types/_side_by_side_images.html.erb +121 -0
- data/app/views/spree/admin/countries/index.html.erb +5 -3
- data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +6 -4
- data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +9 -7
- data/app/views/spree/admin/customer_returns/index.html.erb +4 -2
- data/app/views/spree/admin/errors/forbidden.html.erb +0 -0
- data/app/views/spree/admin/images/index.html.erb +8 -4
- data/app/views/spree/admin/menu_items/_form.html.erb +115 -0
- data/app/views/spree/admin/menu_items/edit.html.erb +11 -0
- data/app/views/spree/admin/menu_items/new.html.erb +11 -0
- data/app/views/spree/admin/menus/_form.html.erb +19 -0
- data/app/views/spree/admin/menus/edit.html.erb +57 -0
- data/app/views/spree/admin/menus/index.html.erb +90 -0
- data/app/views/spree/admin/menus/nested_menu_items/_item_bar.html.erb +30 -0
- data/app/views/spree/admin/menus/new.html.erb +22 -0
- data/app/views/spree/admin/option_types/_form.html.erb +3 -0
- data/app/views/spree/admin/option_types/_option_value_fields.html.erb +5 -1
- data/app/views/spree/admin/option_types/index.html.erb +5 -3
- data/app/views/spree/admin/orders/_channel_form.html.erb +2 -2
- data/app/views/spree/admin/orders/_line_items.html.erb +10 -8
- data/app/views/spree/admin/orders/_shipment.html.erb +26 -18
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +11 -9
- data/app/views/spree/admin/orders/customer_details/_autocomplete.js.erb +2 -2
- data/app/views/spree/admin/orders/index.html.erb +100 -101
- data/app/views/spree/admin/payment_methods/_form.html.erb +6 -4
- data/app/views/spree/admin/payment_methods/edit.html.erb +1 -1
- data/app/views/spree/admin/payment_methods/index.html.erb +22 -3
- data/app/views/spree/admin/payment_methods/new.html.erb +1 -1
- data/app/views/spree/admin/payments/_list.html.erb +9 -7
- data/app/views/spree/admin/prices/_variant_prices.html.erb +7 -14
- data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +9 -7
- data/app/views/spree/admin/products/_autocomplete.js.erb +10 -6
- data/app/views/spree/admin/products/_form.html.erb +35 -5
- data/app/views/spree/admin/products/index.html.erb +15 -14
- data/app/views/spree/admin/products/new.html.erb +6 -1
- data/app/views/spree/admin/products/stock.html.erb +71 -68
- data/app/views/spree/admin/promotion_categories/index.html.erb +5 -3
- data/app/views/spree/admin/promotions/_form.html.erb +7 -0
- data/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb +1 -0
- data/app/views/spree/admin/promotions/calculators/_default_fields.html.erb +2 -1
- data/app/views/spree/admin/promotions/index.html.erb +33 -34
- data/app/views/spree/admin/properties/_form.html.erb +6 -0
- data/app/views/spree/admin/properties/index.html.erb +19 -3
- data/app/views/spree/admin/prototypes/_form.html.erb +1 -1
- data/app/views/spree/admin/prototypes/_prototypes.html.erb +8 -6
- data/app/views/spree/admin/prototypes/index.html.erb +5 -3
- data/app/views/spree/admin/reimbursement_types/index.html.erb +5 -3
- data/app/views/spree/admin/reports/index.html.erb +1 -1
- data/app/views/spree/admin/reports/sales_total.html.erb +1 -1
- data/app/views/spree/admin/return_authorizations/_form.html.erb +2 -2
- data/app/views/spree/admin/return_authorizations/index.html.erb +7 -5
- data/app/views/spree/admin/return_index/customer_returns.html.erb +4 -2
- data/app/views/spree/admin/return_index/return_authorizations.html.erb +5 -3
- data/app/views/spree/admin/roles/index.html.erb +5 -3
- data/app/views/spree/admin/shared/_account_nav.html.erb +5 -5
- data/app/views/spree/admin/shared/_address_form.html.erb +5 -4
- data/app/views/spree/admin/shared/_content_header.html.erb +20 -6
- data/app/views/spree/admin/shared/_head.html.erb +2 -1
- data/app/views/spree/admin/shared/_header.html.erb +7 -10
- data/app/views/spree/admin/shared/_link_fields.html.erb +22 -0
- data/app/views/spree/admin/shared/_main_menu.html.erb +19 -4
- data/app/views/spree/admin/shared/_order_tabs.html.erb +1 -10
- data/app/views/spree/admin/shared/_paths.html.erb +8 -0
- data/app/views/spree/admin/shared/_refunds.html.erb +4 -2
- data/app/views/spree/admin/shared/_sidebar.html.erb +1 -1
- data/app/views/spree/admin/shared/_store_switcher.html.erb +23 -0
- data/app/views/spree/admin/shared/_table_filter.html.erb +6 -6
- data/app/views/spree/admin/shared/_translations.html.erb +2 -0
- data/app/views/spree/admin/shared/cms/_spree_product.html.erb +14 -0
- data/app/views/spree/admin/shared/cms/_spree_taxon.html.erb +14 -0
- data/app/views/spree/admin/shared/linkables/_home_page.html.erb +3 -0
- data/app/views/spree/admin/shared/linkables/_spree_cms_page.erb +28 -0
- data/app/views/spree/admin/shared/linkables/_spree_product.html.erb +20 -0
- data/app/views/spree/admin/shared/linkables/_spree_taxon.html.erb +22 -0
- data/app/views/spree/admin/shared/linkables/_url.html.erb +16 -0
- data/app/views/spree/admin/shared/named_types/_index.html.erb +7 -5
- data/app/views/spree/admin/shared/sub_menu/_configuration.html.erb +1 -3
- data/app/views/spree/admin/shared/sub_menu/_content.html.erb +4 -0
- data/app/views/spree/admin/shared/sub_menu/_stock.html.erb +4 -0
- data/app/views/spree/admin/shipping_categories/index.html.erb +5 -3
- data/app/views/spree/admin/shipping_methods/index.html.erb +5 -3
- data/app/views/spree/admin/states/_state_list.html.erb +5 -3
- data/app/views/spree/admin/stock_locations/index.html.erb +5 -3
- data/app/views/spree/admin/stock_transfers/index.html.erb +5 -4
- data/app/views/spree/admin/stock_transfers/new.html.erb +9 -7
- data/app/views/spree/admin/store_credit_categories/index.html.erb +5 -3
- data/app/views/spree/admin/store_credits/index.html.erb +7 -5
- data/app/views/spree/admin/stores/_form.html.erb +12 -2
- data/app/views/spree/admin/stores/index.html.erb +12 -10
- data/app/views/spree/admin/tax_categories/index.html.erb +5 -3
- data/app/views/spree/admin/tax_rates/index.html.erb +5 -3
- data/app/views/spree/admin/taxonomies/_list.html.erb +5 -3
- data/app/views/spree/admin/taxons/_form.html.erb +1 -1
- data/app/views/spree/admin/users/_addresses_form.html.erb +2 -4
- data/app/views/spree/admin/users/_lifetime_stats.html.erb +16 -4
- data/app/views/spree/admin/users/index.html.erb +5 -3
- data/app/views/spree/admin/users/items.html.erb +1 -1
- data/app/views/spree/admin/variants/_autocomplete.js.erb +6 -2
- data/app/views/spree/admin/variants/_autocomplete_line_items_stock.js.erb +18 -12
- data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +12 -8
- data/app/views/spree/admin/variants/_split.js.erb +9 -7
- data/app/views/spree/admin/variants/index.html.erb +8 -5
- data/app/views/spree/admin/zones/index.html.erb +5 -3
- data/app/views/spree/layouts/admin.html.erb +16 -16
- data/config/initializers/assets.rb +5 -1
- data/config/routes.rb +14 -2
- data/lib/generators/spree/backend/install/install_generator.rb +22 -0
- data/lib/generators/spree/backend/install/templates/vendor/assets/javascripts/spree/backend/all.js +8 -0
- data/lib/generators/spree/backend/install/templates/vendor/assets/stylesheets/spree/backend/all.css +9 -0
- data/lib/spree/backend/engine.rb +4 -11
- data/lib/spree/backend.rb +7 -4
- data/lib/spree_backend.rb +0 -2
- data/spec/fixtures/files/favicon.ico +0 -0
- data/spec/fixtures/files/icon_512x512.png +0 -0
- data/spree_backend.gemspec +16 -11
- data/vendor/assets/javascripts/cleave.js +8 -0
- data/vendor/assets/javascripts/jsonapi-serializer.min.js +8 -0
- data/vendor/assets/javascripts/jsuri.js +458 -0
- data/vendor/assets/javascripts/sortable.js +2 -3709
- data/vendor/assets/javascripts/sweetalert2.js +2 -0
- metadata +208 -42
- data/app/assets/javascripts/spree/backend/address_states.js +0 -44
- data/app/assets/javascripts/spree/frontend/backend.js +0 -1
- data/app/assets/stylesheets/spree/frontend/backend.css +0 -1
- data/app/views/spree/admin/orders/_store_form.html.erb +0 -18
File without changes
|
@@ -0,0 +1,100 @@
|
|
1
|
+
// Custom SCSS Standard SweetAlerts
|
2
|
+
body.swal2-shown {
|
3
|
+
.swal2-popup {
|
4
|
+
border-radius:$border-radius;
|
5
|
+
}
|
6
|
+
.swal2-html-container {
|
7
|
+
text-align: left;
|
8
|
+
font-size: 0.9em;
|
9
|
+
|
10
|
+
.alert-link {
|
11
|
+
font-weight: 400;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
.swal2-content {
|
15
|
+
padding: 0 !important;
|
16
|
+
}
|
17
|
+
.swal2-header {
|
18
|
+
.swal2-icon {
|
19
|
+
width: 2.5em;
|
20
|
+
height: 2.5em;
|
21
|
+
|
22
|
+
.swal2-icon-content {
|
23
|
+
font-size: 2.15em;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.swal2-close {
|
28
|
+
top: 3px;
|
29
|
+
right: 3px;
|
30
|
+
padding-bottom: 3px;
|
31
|
+
|
32
|
+
&:hover {
|
33
|
+
color:grey;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
// Custom SCSS Toast SweetAlerts
|
40
|
+
body.swal2-toast-shown .swal2-container.swal2-bottom {
|
41
|
+
right: -50% !important;
|
42
|
+
max-width: 500px;
|
43
|
+
|
44
|
+
.swal2-popup.swal2-toast {
|
45
|
+
border-width: 3px;
|
46
|
+
border-style: solid;
|
47
|
+
box-shadow: none !important;
|
48
|
+
margin-bottom: 50px;
|
49
|
+
|
50
|
+
.swal2-icon {
|
51
|
+
display: none !important;
|
52
|
+
}
|
53
|
+
|
54
|
+
button.swal2-close {
|
55
|
+
min-width: .8em;
|
56
|
+
padding-bottom: 0.1em;
|
57
|
+
&:hover {
|
58
|
+
opacity: 0.75;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
@include media-breakpoint-down(sm) {
|
65
|
+
body.swal2-toast-shown .swal2-container.swal2-bottom {
|
66
|
+
.swal2-popup.swal2-toast {
|
67
|
+
button.swal2-close {
|
68
|
+
padding-bottom: 0;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.swal2-popup.swal2-toast.swal2-icon-success {
|
75
|
+
@extend .alert-success;
|
76
|
+
h2, button {
|
77
|
+
@extend .alert-success;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.swal2-popup.swal2-toast.swal2-icon-error {
|
82
|
+
@extend .alert-danger;
|
83
|
+
h2, button {
|
84
|
+
@extend .alert-danger;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.swal2-popup.swal2-toast.swal2-icon-info {
|
89
|
+
@extend .alert-info;
|
90
|
+
h2, button {
|
91
|
+
@extend .alert-info;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.swal2-popup.swal2-toast.swal2-icon-question {
|
96
|
+
@extend .alert-warning;
|
97
|
+
h2, button {
|
98
|
+
@extend .alert-warning;
|
99
|
+
}
|
100
|
+
}
|
@@ -15,14 +15,65 @@
|
|
15
15
|
z-index: $zindex-dropdown;
|
16
16
|
}
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
figure.admin-img-holder {
|
19
|
+
max-width: 275px;
|
20
|
+
border: 2px dashed grey;
|
21
|
+
border-radius: $border-radius;
|
22
|
+
overflow: hidden;
|
23
|
+
display: inline-block;
|
24
|
+
|
25
|
+
img {
|
26
|
+
max-width: 100%;
|
27
|
+
height: auto;
|
28
|
+
}
|
22
29
|
}
|
23
30
|
|
24
|
-
.
|
25
|
-
|
31
|
+
div.admin-product-image-container {
|
32
|
+
border: 1px solid $gray-500;
|
33
|
+
background-color: #fefefe;
|
34
|
+
border-radius: $border-radius;
|
35
|
+
overflow: hidden;
|
36
|
+
display: flex;
|
37
|
+
justify-content: center;
|
38
|
+
margin: auto;
|
39
|
+
|
40
|
+
img {
|
41
|
+
max-width: 100%;
|
42
|
+
height: auto;
|
43
|
+
align-self: center;
|
44
|
+
transform: scale(1.6);
|
45
|
+
}
|
46
|
+
|
47
|
+
svg {
|
48
|
+
color: $gray-600;
|
49
|
+
align-self: center;
|
50
|
+
}
|
51
|
+
|
52
|
+
&.mini-img {
|
53
|
+
border-radius: $border-radius / 2;
|
54
|
+
width: 24px;
|
55
|
+
height: 24px;
|
56
|
+
}
|
57
|
+
|
58
|
+
&.small-img {
|
59
|
+
border-radius: $border-radius;
|
60
|
+
width: 50px;
|
61
|
+
height: 50px;
|
62
|
+
}
|
63
|
+
|
64
|
+
&.product-img {
|
65
|
+
border-width: 2px;
|
66
|
+
border-radius: $border-radius * 2;
|
67
|
+
width: 100px;
|
68
|
+
height: 100px;
|
69
|
+
}
|
70
|
+
|
71
|
+
&.large-img {
|
72
|
+
border-width: 3px;
|
73
|
+
border-radius: $border-radius * 3;
|
74
|
+
width: 300px;
|
75
|
+
height: 300px;
|
76
|
+
}
|
26
77
|
}
|
27
78
|
|
28
79
|
.js-remove-promo-rule-option-value {
|
@@ -32,30 +83,29 @@
|
|
32
83
|
}
|
33
84
|
}
|
34
85
|
|
35
|
-
.
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
86
|
+
.button_to {
|
87
|
+
display: inline-block;
|
88
|
+
}
|
89
|
+
|
90
|
+
.move-handle {
|
91
|
+
cursor: grab;
|
92
|
+
}
|
41
93
|
|
42
|
-
|
43
|
-
|
44
|
-
opacity: 0.98;
|
45
|
-
border-width: 3px;
|
46
|
-
margin-bottom: 0;
|
47
|
-
}
|
94
|
+
.badge-light-muted-text {
|
95
|
+
color: rgba(0, 0, 0, 0.50);
|
48
96
|
}
|
49
97
|
|
50
|
-
.
|
51
|
-
|
52
|
-
|
98
|
+
.truncate {
|
99
|
+
white-space: nowrap;
|
100
|
+
overflow: hidden;
|
101
|
+
text-overflow: ellipsis;
|
53
102
|
}
|
54
103
|
|
55
|
-
|
56
|
-
|
104
|
+
[data-show-info] {
|
105
|
+
color: $primary;
|
106
|
+
cursor: pointer;
|
57
107
|
}
|
58
108
|
|
59
|
-
|
60
|
-
|
109
|
+
#contentHeaderRow {
|
110
|
+
min-height: 51px;
|
61
111
|
}
|
@@ -37,6 +37,14 @@ input[type=number].hide-number-toggle {
|
|
37
37
|
-moz-appearance: textfield;
|
38
38
|
}
|
39
39
|
|
40
|
+
input[type="file"] {
|
41
|
+
width: fit-content;
|
42
|
+
max-width: 100%;
|
43
|
+
white-space: nowrap;
|
44
|
+
overflow: hidden;
|
45
|
+
text-overflow: ellipsis;
|
46
|
+
}
|
47
|
+
|
40
48
|
|
41
49
|
// Remove the default 5px outlines and box-shadows
|
42
50
|
// from all inputs on focus.
|
@@ -19,14 +19,19 @@
|
|
19
19
|
@import 'components/progress';
|
20
20
|
@import 'components/spinner';
|
21
21
|
|
22
|
+
@import 'plugins/sweetalert2_custom';
|
22
23
|
@import 'plugins/jquery_ui';
|
23
24
|
@import 'plugins/flatpickr';
|
24
25
|
@import 'plugins/select2_bootstrap4';
|
25
26
|
@import 'plugins/select2_custom';
|
27
|
+
@import 'plugins/tinymce_custom';
|
28
|
+
@import 'plugins/nav_x';
|
26
29
|
|
27
30
|
@import 'shared/base';
|
28
31
|
@import 'shared/forms';
|
29
32
|
|
33
|
+
@import 'views/menus';
|
34
|
+
@import 'views/cms_pages';
|
30
35
|
@import 'views/order_payments';
|
31
36
|
@import 'views/product_properties';
|
32
37
|
@import 'views/prototypes';
|
@@ -0,0 +1,148 @@
|
|
1
|
+
#ImageGalleryLayout {
|
2
|
+
#LayoutType {
|
3
|
+
color: rgb(134, 134, 134);
|
4
|
+
}
|
5
|
+
|
6
|
+
.select2-container--bootstrap4 {
|
7
|
+
max-width: 200px;
|
8
|
+
margin: auto;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
#standardPage {
|
13
|
+
.sp-pb-0 {
|
14
|
+
padding-bottom: 0 !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.sp-card {
|
18
|
+
border-bottom: 0;
|
19
|
+
border-radius: 5px 5px 0 0;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
[aria-expanded="false"] {
|
24
|
+
span.more {
|
25
|
+
display: inline;
|
26
|
+
}
|
27
|
+
span.less {
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
[aria-expanded="true"] {
|
33
|
+
span.more {
|
34
|
+
display: none;
|
35
|
+
}
|
36
|
+
span.less {
|
37
|
+
display: inline;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
button#cmsSectionEditorFullScreen {
|
42
|
+
span.exit {
|
43
|
+
display: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
&.active {
|
47
|
+
span.exit {
|
48
|
+
display: inline;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
#liveViewCont {
|
54
|
+
height: 100%;
|
55
|
+
|
56
|
+
.embed-responsive {
|
57
|
+
height: 100%;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
#draggableSectionsHolder {
|
62
|
+
max-height: 750px;
|
63
|
+
}
|
64
|
+
|
65
|
+
#cmsPagesectionsArea {
|
66
|
+
overflow-x: hidden;
|
67
|
+
overflow-y: scroll;
|
68
|
+
max-height: 100%;
|
69
|
+
|
70
|
+
.border {
|
71
|
+
border-color: #9c9c9c !important;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Hide scroll-bar in live preview
|
75
|
+
// sidebar.
|
76
|
+
-ms-overflow-style: none; /* IE and Edge */
|
77
|
+
scrollbar-width: none; /* Firefox */
|
78
|
+
&::-webkit-scrollbar {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
@include media-breakpoint-up(md) {
|
84
|
+
body[data-sections-editor-full-screen] {
|
85
|
+
.hide-on-full-screen-mode {
|
86
|
+
display: none;
|
87
|
+
}
|
88
|
+
|
89
|
+
#pageSectionsArea {
|
90
|
+
position: fixed;
|
91
|
+
top: 0;
|
92
|
+
left: 0;
|
93
|
+
z-index: 9999;
|
94
|
+
background: white;
|
95
|
+
padding: 15px 15px 0 15px;
|
96
|
+
height: 100vh;
|
97
|
+
|
98
|
+
#cmsPagesectionsArea {
|
99
|
+
max-height: 90vh;
|
100
|
+
}
|
101
|
+
|
102
|
+
.embed-responsive-4by3 {
|
103
|
+
height: 90vh;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
#draggableSectionsHolder {
|
108
|
+
max-width: 350px;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
#pageLivePreview {
|
114
|
+
transform-origin: top left;
|
115
|
+
background: rgb(62, 62, 62);
|
116
|
+
}
|
117
|
+
|
118
|
+
.desktopLiveView {
|
119
|
+
#pageLivePreview {
|
120
|
+
width: 200.5%;
|
121
|
+
height:200.5%;
|
122
|
+
inset: 50%;
|
123
|
+
transform: scale(0.5) translate(-50%, -50%);
|
124
|
+
max-width: 2600px;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.tabletLiveView {
|
129
|
+
#pageLivePreview {
|
130
|
+
width: 85%;
|
131
|
+
height: 133.5%;
|
132
|
+
inset: 50%;
|
133
|
+
transform: scale(0.75) translate(-50%, -50%);
|
134
|
+
max-width: 991px;
|
135
|
+
min-width: 768px;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.mobileLiveView {
|
140
|
+
#pageLivePreview {
|
141
|
+
width: 60%;
|
142
|
+
height: 133.5%;
|
143
|
+
inset: 50%;
|
144
|
+
transform: scale(0.75) translate(-50%, -50%);
|
145
|
+
max-width: 767px;
|
146
|
+
min-width: 375px;
|
147
|
+
}
|
148
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#menuItemImgContainer {
|
2
|
+
width: 200px;
|
3
|
+
img {
|
4
|
+
max-width: 100%;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
|
8
|
+
#menuArea {
|
9
|
+
.space-buttons {
|
10
|
+
box-shadow: -11px 0 16px 6px white;
|
11
|
+
z-index: 9;
|
12
|
+
a {
|
13
|
+
margin: 2px;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
.container-item-row {
|
17
|
+
overflow: hidden;
|
18
|
+
border: 1px solid $border-color;
|
19
|
+
margin: 2px;
|
20
|
+
background-color: white;
|
21
|
+
}
|
22
|
+
|
23
|
+
.menu-container-item {
|
24
|
+
border: solid 1px transparent;
|
25
|
+
padding: 0;
|
26
|
+
background-color: var(--light);
|
27
|
+
|
28
|
+
.menu-container {
|
29
|
+
margin-left: 25px;
|
30
|
+
background-color: var(--light);
|
31
|
+
}
|
32
|
+
|
33
|
+
@include media-breakpoint-up(sm) {
|
34
|
+
.menu-container {
|
35
|
+
margin-left: 50px;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.sortable-chosen {
|
41
|
+
border: 1px dashed var(--gray);
|
42
|
+
border-radius: 5px;
|
43
|
+
}
|
44
|
+
|
45
|
+
.menu_items_image_holder {
|
46
|
+
position: relative;
|
47
|
+
border: 1px solid $border-color;
|
48
|
+
border-radius: 7px;
|
49
|
+
overflow: hidden;
|
50
|
+
width: 45px;
|
51
|
+
height: 45px;
|
52
|
+
img {
|
53
|
+
position: absolute;
|
54
|
+
left: 50%;
|
55
|
+
top: 50%;
|
56
|
+
height: 100%;
|
57
|
+
width: auto;
|
58
|
+
transform: translate(-50%,-50%);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|