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
@@ -2,30 +2,28 @@ table tbody tr {
|
|
2
2
|
&.highlight {
|
3
3
|
|
4
4
|
@each $action in $actions {
|
5
|
-
&.action-#{$action}
|
6
|
-
|
7
|
-
|
5
|
+
&.action-#{$action} {
|
6
|
+
td, th {
|
7
|
+
background-color: get-value($actions, $actions-bg-colors, $action);
|
8
|
+
border-color: get-value($actions, $actions-brd-colors, $action);
|
9
|
+
}
|
8
10
|
}
|
9
11
|
}
|
10
12
|
|
11
|
-
&.action-remove
|
12
|
-
|
13
|
-
|
14
|
-
&.actions {
|
15
|
-
text-decoration: none;
|
13
|
+
&.action-remove, &.action-void, &.action-failure {
|
14
|
+
td, th {
|
15
|
+
text-decoration: line-through;
|
16
16
|
}
|
17
|
-
}
|
18
|
-
}
|
19
17
|
|
20
|
-
|
21
|
-
|
22
|
-
&.action-#{$action} td {
|
23
|
-
border-bottom-color: get-value($actions, $actions-brd-colors, $action);
|
18
|
+
td.actions {
|
19
|
+
text-decoration: none;
|
24
20
|
}
|
25
21
|
}
|
26
22
|
}
|
27
23
|
|
28
24
|
td.actions {
|
29
|
-
|
25
|
+
button {
|
26
|
+
cursor: pointer;
|
27
|
+
}
|
30
28
|
}
|
31
29
|
}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
.errorExplanation {
|
2
2
|
padding: 5px;
|
3
|
-
border: 1px solid very-light(
|
4
|
-
background-color: very-light(
|
3
|
+
border: 1px solid very-light(theme-color("danger"), 12);
|
4
|
+
background-color: very-light(theme-color("danger"), 6);
|
5
5
|
border-radius: 3px;
|
6
|
-
color: very-light(
|
6
|
+
color: very-light(theme-color("danger"), 30);
|
7
7
|
margin-bottom: 15px;
|
8
8
|
|
9
9
|
h2 {
|
10
10
|
font-size: 140%;
|
11
|
-
color: very-light(
|
11
|
+
color: very-light(theme-color("danger"), 30);
|
12
12
|
margin-bottom: 5px;
|
13
13
|
}
|
14
14
|
|
@@ -37,9 +37,9 @@
|
|
37
37
|
color: $color-1;
|
38
38
|
font-weight: $font-weight-bold;
|
39
39
|
|
40
|
-
&.notice { background-color: rgba(
|
41
|
-
&.success { background-color: rgba(
|
42
|
-
&.error { background-color: rgba(
|
40
|
+
&.notice { background-color: rgba(theme-color("warning"), 0.8) }
|
41
|
+
&.success { background-color: rgba(theme-color("success"), 0.8) }
|
42
|
+
&.error { background-color: rgba(theme-color("danger"), 0.8) }
|
43
43
|
}
|
44
44
|
|
45
45
|
.alert {
|
@@ -50,5 +50,5 @@
|
|
50
50
|
text-decoration: underline;
|
51
51
|
}
|
52
52
|
|
53
|
-
&.error a { color: very-light(
|
53
|
+
&.error a { color: very-light(theme-color("danger"), 10) }
|
54
54
|
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
.pill {
|
2
|
+
display: inline-block;
|
3
|
+
padding: 0.2em 0.9em;
|
4
|
+
border-radius: 10px;
|
5
|
+
font-size: $font-size-pill;
|
6
|
+
background: $color-pill-neutral;
|
7
|
+
color: $color-pill-neutral-text;
|
8
|
+
white-space: nowrap;
|
9
|
+
|
10
|
+
$pill-states: (
|
11
|
+
complete: (
|
12
|
+
background: $color-pill-complete,
|
13
|
+
color: $color-pill-complete-text
|
14
|
+
),
|
15
|
+
active: (
|
16
|
+
background: $color-pill-active,
|
17
|
+
color: $color-pill-active-text
|
18
|
+
),
|
19
|
+
inactive: (
|
20
|
+
background: $color-pill-inactive,
|
21
|
+
color: $color-pill-inactive-text
|
22
|
+
),
|
23
|
+
pending: (
|
24
|
+
background: $color-pill-pending,
|
25
|
+
color: $color-pill-pending-text
|
26
|
+
),
|
27
|
+
warning: (
|
28
|
+
background: $color-pill-warning,
|
29
|
+
color: $color-pill-warning-text
|
30
|
+
),
|
31
|
+
error: (
|
32
|
+
background: $color-pill-error,
|
33
|
+
color: $color-pill-error-text
|
34
|
+
)
|
35
|
+
);
|
36
|
+
|
37
|
+
@each $name, $colors in $pill-states {
|
38
|
+
&-#{$name} {
|
39
|
+
background: map-get($colors, background);
|
40
|
+
color: map-get($colors, color);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
// Extend pill states for custom order, payment, and shipment state names
|
46
|
+
.pill-address,
|
47
|
+
.pill-awaiting,
|
48
|
+
.pill-awaiting_return,
|
49
|
+
.pill-backorder,
|
50
|
+
.pill-backordered,
|
51
|
+
.pill-balance_due,
|
52
|
+
.pill-cart,
|
53
|
+
.pill-checkout,
|
54
|
+
.pill-confirm,
|
55
|
+
.pill-credit_owed,
|
56
|
+
.pill-delivery,
|
57
|
+
.pill-in_transit,
|
58
|
+
.pill-on_hand,
|
59
|
+
.pill-partial,
|
60
|
+
.pill-payment,
|
61
|
+
.pill-processing,
|
62
|
+
.pill-ready,
|
63
|
+
.pill-resumed {
|
64
|
+
@extend .pill-pending;
|
65
|
+
}
|
66
|
+
|
67
|
+
.pill-authorized,
|
68
|
+
.pill-canceled,
|
69
|
+
.pill-completed,
|
70
|
+
.pill-expired,
|
71
|
+
.pill-given_to_customer,
|
72
|
+
.pill-lost_in_transit,
|
73
|
+
.pill-paid,
|
74
|
+
.pill-received,
|
75
|
+
.pill-reimbursed,
|
76
|
+
.pill-returned,
|
77
|
+
.pill-shipped,
|
78
|
+
.pill-shipped_wrong_item,
|
79
|
+
.pill-short_shipped,
|
80
|
+
.pill-unexchanged,
|
81
|
+
.pill-void {
|
82
|
+
@extend .pill-complete;
|
83
|
+
}
|
84
|
+
|
85
|
+
.pill-failed {
|
86
|
+
@extend .pill-warning;
|
87
|
+
}
|
88
|
+
|
89
|
+
.pill-errored,
|
90
|
+
.pill-invalid {
|
91
|
+
@extend .pill-error;
|
92
|
+
}
|
@@ -1,43 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
margin-top: 1.5rem;
|
1
|
+
.content-sidebar {
|
2
|
+
padding-top: 0.65rem;
|
4
3
|
|
5
|
-
.
|
6
|
-
|
7
|
-
text-align: center;
|
8
|
-
font-size: 16px;
|
9
|
-
font-weight: $font-weight-bold;
|
10
|
-
border-top: 1px solid $color-border;
|
11
|
-
|
12
|
-
> span {
|
13
|
-
display: inline;
|
14
|
-
background: #fff;
|
15
|
-
padding: 5px 10px;
|
16
|
-
position: relative;
|
17
|
-
top: -14px;
|
18
|
-
|
19
|
-
-webkit-font-smoothing: antialiased;
|
20
|
-
-moz-osx-font-smoothing: grayscale;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
dl {
|
25
|
-
dt, dd {
|
26
|
-
min-height: 3em;
|
27
|
-
}
|
4
|
+
.has-tabs & {
|
5
|
+
padding-top: 3.25rem;
|
28
6
|
}
|
29
7
|
|
30
|
-
@media print { display: none }
|
31
|
-
}
|
32
|
-
|
33
|
-
body.new-layout .content-sidebar {
|
34
8
|
ul {
|
35
9
|
padding-left: 0;
|
36
10
|
}
|
37
11
|
}
|
38
12
|
|
39
|
-
|
40
|
-
@include line-through();
|
13
|
+
.sidebar-title {
|
14
|
+
@include line-through($color: $color-border);
|
41
15
|
color: $color-2;
|
42
16
|
font-size: 14px;
|
17
|
+
font-weight: $font-weight-normal;
|
43
18
|
}
|
@@ -1,33 +1,11 @@
|
|
1
|
+
// The state component has been deprecated in favour of Pills. This will be
|
2
|
+
// removed in a future version of Solidus.
|
1
3
|
.state {
|
2
|
-
|
3
|
-
font-weight: $font-weight-bold;
|
4
|
-
|
5
|
-
&:before {
|
6
|
-
content: '';
|
7
|
-
position: relative;
|
8
|
-
display: inline-block;
|
9
|
-
margin-right: 3px;
|
10
|
-
border-radius: $font-size-root/2;
|
11
|
-
width: $font-size-root - 4px;
|
12
|
-
height: $font-size-root - 4px;
|
13
|
-
}
|
4
|
+
@extend .pill;
|
14
5
|
|
15
6
|
@each $state in $states {
|
16
|
-
&.#{$state}
|
17
|
-
|
18
|
-
|
19
|
-
// &, a {
|
20
|
-
// color: get-value($states, $states-text-colors, $state);
|
21
|
-
// }
|
7
|
+
&.#{$state} {
|
8
|
+
@extend .pill-#{$state};
|
22
9
|
}
|
23
10
|
}
|
24
11
|
}
|
25
|
-
|
26
|
-
table tbody tr {
|
27
|
-
&[class*="state"] td:first-child {
|
28
|
-
border-left-width: 3px;
|
29
|
-
}
|
30
|
-
&.state-complete td:first-child { border-left-color: $brand-success }
|
31
|
-
&.state-cart td:first-child { border-left-color: very-light($brand-warning, 6) }
|
32
|
-
&.state-canceled td:first-child { border-left-color: $brand-danger }
|
33
|
-
}
|
@@ -12,15 +12,6 @@
|
|
12
12
|
}
|
13
13
|
|
14
14
|
> tbody {
|
15
|
-
> tr {
|
16
|
-
&:hover {
|
17
|
-
.stock-variant-field-table {
|
18
|
-
td {
|
19
|
-
background-color: $color-1;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
15
|
.variant-image {
|
25
16
|
width: 31%;
|
26
17
|
padding: 0 2%;
|
@@ -34,8 +25,5 @@
|
|
34
25
|
.variant-details {
|
35
26
|
float: left;
|
36
27
|
}
|
37
|
-
.variant-container {
|
38
|
-
padding-top: 10px;
|
39
|
-
}
|
40
28
|
}
|
41
29
|
}
|
@@ -4,8 +4,7 @@
|
|
4
4
|
|
5
5
|
// Fonts
|
6
6
|
//--------------------------------------------------------------
|
7
|
-
|
8
|
-
$base-font-family: "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
|
7
|
+
$font-size-pill: 11px;
|
9
8
|
|
10
9
|
// Colors
|
11
10
|
//--------------------------------------------------------------
|
@@ -23,22 +22,10 @@ $color-7: #F4F4F4 !default; // Light Gray
|
|
23
22
|
$box-shadow: 0px 3px 3px -2px hsla(0, 0%, 0%, 0.2) !default;
|
24
23
|
|
25
24
|
// Body base colors
|
26
|
-
@include solidus-deprecated-variable("color-body-bg", "body-bg");
|
27
|
-
$color-body-bg: $color-1 !default;
|
28
|
-
@include solidus-deprecated-variable("color-body-text", "body-color");
|
29
|
-
$color-body-text: $color-4 !default;
|
30
|
-
@include solidus-deprecated-variable("color-headers", "headings-color");
|
31
|
-
$color-headers: $color-4 !default;
|
32
|
-
@include solidus-deprecated-variable("color-link", "link-color");
|
33
|
-
$color-link: $color-3 !default;
|
34
|
-
@include solidus-deprecated-variable("color-link-hover", "link-hover-color");
|
35
|
-
$color-link-hover: $color-2 !default;
|
36
|
-
@include solidus-deprecated-variable("color-link-focus", "link-hover-color");
|
37
|
-
$color-link-focus: $color-2 !default;
|
38
25
|
$color-border: very-light($color-3, 12) !default;
|
39
26
|
|
40
27
|
// Basic navigation colors
|
41
|
-
$color-sidebar-bg: $color-
|
28
|
+
$color-sidebar-bg: $color-1 !default;
|
42
29
|
$color-sidebar-border: $color-border !default;
|
43
30
|
$color-navbar: $color-1 !default;
|
44
31
|
$color-navbar-bg: $color-3 !default;
|
@@ -47,7 +34,6 @@ $color-navbar-active-bg: $color-2 !default;
|
|
47
34
|
$color-navbar-submenu: $color-3 !default;
|
48
35
|
$color-navbar-submenu-bg: very-light($color-navbar-bg, 4) !default;
|
49
36
|
$color-navbar-submenu-active: $color-2 !default;
|
50
|
-
$color-navbar-submenu-active-bg: $color-navbar-submenu-bg !default;
|
51
37
|
$color-navbar-footer: $color-3 !default;
|
52
38
|
$color-navbar-footer-bg: $color-sidebar-bg !default;
|
53
39
|
$color-navbar-footer-active: $color-2 !default;
|
@@ -63,16 +49,41 @@ $color-error: $color-5 !default;
|
|
63
49
|
// Color for spinner
|
64
50
|
$color-spinner: #fff;
|
65
51
|
|
52
|
+
// Style Guide
|
53
|
+
$color-style-guide-code: darken($color-7, 10%);
|
54
|
+
$color-style-guide-link: darken($color-7, 65%);
|
55
|
+
$color-style-guide-nav: $color-7;
|
56
|
+
$color-style-guide-nav-border: darken($color-7, 5%);
|
57
|
+
$color-style-guide-nav-link: darken($color-7, 65%);
|
58
|
+
$color-style-guide-nav-link-hover: darken($color-7, 5%);
|
59
|
+
$color-style-guide-section-border: darken($color-7, 10%);
|
60
|
+
$color-style-guide-swatch-border: darken($color-7, 10%);
|
61
|
+
|
66
62
|
// Table colors
|
67
63
|
$color-tbl-odd: $color-1 !default;
|
68
64
|
$color-tbl-even: very-light($color-3, 4) !default;
|
69
65
|
$color-tbl-thead: very-light($color-3, 4) !default;
|
70
66
|
|
71
|
-
//
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
67
|
+
// Pill colors
|
68
|
+
//
|
69
|
+
// For now these are custom assigned colors just for this section. As we go
|
70
|
+
// about updating other areas of the admin we will likely want to pull these
|
71
|
+
// colors out into better named variables.
|
72
|
+
$color-pill-text: #1f2933;
|
73
|
+
$color-pill-neutral: #e6e6e6;
|
74
|
+
$color-pill-neutral-text: $color-pill-text;
|
75
|
+
$color-pill-complete: #c8d8e8;
|
76
|
+
$color-pill-complete-text: $color-pill-text;
|
77
|
+
$color-pill-active: #bbe5b3;
|
78
|
+
$color-pill-active-text: $color-pill-text;
|
79
|
+
$color-pill-inactive: $color-pill-neutral;
|
80
|
+
$color-pill-inactive-text: lighten($color-pill-text, 30%);
|
81
|
+
$color-pill-pending: #ffe87d;
|
82
|
+
$color-pill-pending-text: $color-pill-text;
|
83
|
+
$color-pill-warning: #f9b36d;
|
84
|
+
$color-pill-warning-text: $color-pill-text;
|
85
|
+
$color-pill-error: #ff967b;
|
86
|
+
$color-pill-error-text: $color-pill-text;
|
76
87
|
|
77
88
|
// Actions colors
|
78
89
|
$color-action-edit-bg: very-light($color-success, 5 ) !default;
|
@@ -94,134 +105,42 @@ $color-action-mail-brd: very-light($color-success, 20 ) !default;
|
|
94
105
|
$color-action-failure-bg: very-light($color-error, 10 ) !default;
|
95
106
|
$color-action-failure-brd: very-light($color-error, 20 ) !default;
|
96
107
|
|
97
|
-
// Select2 select field colors
|
98
|
-
$color-sel-bg: $color-3 !default;
|
99
|
-
$color-sel-text: $color-1 !default;
|
100
|
-
$color-sel-hover-bg: $color-2 !default;
|
101
|
-
$color-sel-hover-text: $color-1 !default;
|
102
|
-
$color-sel-disabled-bg: $color-7 !default;
|
103
|
-
$color-sel-disabled-text: $color-4 !default;
|
104
|
-
|
105
|
-
// Text inputs colors
|
106
|
-
@include solidus-deprecated-variable("color-txt-brd", "input-border-color");
|
107
|
-
$color-txt-brd: $color-border !default;
|
108
|
-
@include solidus-deprecated-variable("color-txt-text", "input-color");
|
109
|
-
$color-txt-text: $color-3 !default;
|
110
|
-
@include solidus-deprecated-variable("color-txt-hover-brd", "input-border-focus");
|
111
|
-
$color-txt-hover-brd: $color-2 !default;
|
112
|
-
|
113
|
-
// States label colors
|
114
|
-
$color-ste-complete-bg: $color-success !default;
|
115
|
-
$color-ste-complete-text: $color-1 !default;
|
116
|
-
$color-ste-completed-bg: $color-success !default;
|
117
|
-
$color-ste-completed-text: $color-1 !default;
|
118
|
-
$color-ste-sold-bg: $color-success !default;
|
119
|
-
$color-ste-sold-text: $color-1 !default;
|
120
|
-
$color-ste-pending-bg: $color-notice !default;
|
121
|
-
$color-ste-pending-text: $color-1 !default;
|
122
|
-
$color-ste-awaiting_return-bg: $color-notice !default;
|
123
|
-
$color-ste-awaiting_return-text: $color-1 !default;
|
124
|
-
$color-ste-returned-bg: $color-notice !default;
|
125
|
-
$color-ste-returned-text: $color-1 !default;
|
126
|
-
$color-ste-credit_owed-bg: $color-notice !default;
|
127
|
-
$color-ste-credit_owed-text: $color-1 !default;
|
128
|
-
$color-ste-paid-bg: $color-success !default;
|
129
|
-
$color-ste-paid-text: $color-1 !default;
|
130
|
-
$color-ste-shipped-bg: $color-success !default;
|
131
|
-
$color-ste-shipped-text: $color-1 !default;
|
132
|
-
$color-ste-balance_due-bg: $color-notice !default;
|
133
|
-
$color-ste-balance_due-text: $color-1 !default;
|
134
|
-
$color-ste-backorder-bg: $color-notice !default;
|
135
|
-
$color-ste-backorder-text: $color-1 !default;
|
136
|
-
$color-ste-none-bg: $color-error !default;
|
137
|
-
$color-ste-none-text: $color-1 !default;
|
138
|
-
$color-ste-ready-bg: $color-success !default;
|
139
|
-
$color-ste-ready-text: $color-1 !default;
|
140
|
-
$color-ste-void-bg: $color-error !default;
|
141
|
-
$color-ste-void-text: $color-1 !default;
|
142
|
-
$color-ste-canceled-bg: $color-error !default;
|
143
|
-
$color-ste-canceled-text: $color-1 !default;
|
144
|
-
$color-ste-failed-bg: $color-error !default;
|
145
|
-
$color-ste-failed-text: $color-1 !default;
|
146
|
-
$color-ste-address-bg: $color-error !default;
|
147
|
-
$color-ste-address-text: $color-1 !default;
|
148
|
-
$color-ste-checkout-bg: $color-notice !default;
|
149
|
-
$color-ste-checkout-text: $color-1 !default;
|
150
|
-
$color-ste-cart-bg: $color-notice !default;
|
151
|
-
$color-ste-cart-text: $color-1 !default;
|
152
|
-
$color-ste-payment-bg: $color-error !default;
|
153
|
-
$color-ste-payment-text: $color-1 !default;
|
154
|
-
$color-ste-delivery-bg: $color-success !default;
|
155
|
-
$color-ste-delivery-text: $color-1 !default;
|
156
|
-
$color-ste-confirm-bg: $color-error !default;
|
157
|
-
$color-ste-confirm-text: $color-1 !default;
|
158
|
-
$color-ste-active-bg: $color-success !default;
|
159
|
-
$color-ste-active-text: $color-1 !default;
|
160
|
-
$color-ste-inactive-bg: $color-notice !default;
|
161
|
-
$color-ste-inactive-text: $color-1 !default;
|
162
|
-
$color-ste-considered_risky-bg: $color-error !default;
|
163
|
-
$color-ste-considered_risky-text:$color-1 !default;
|
164
|
-
$color-ste-considered_safe-bg: $color-success !default;
|
165
|
-
$color-ste-considered_safe-text: $color-1 !default;
|
166
|
-
$color-ste-success-bg: $color-success !default;
|
167
|
-
$color-ste-success-text: $color-1 !default;
|
168
|
-
$color-ste-notice-bg: $color-notice !default;
|
169
|
-
$color-ste-notice-text: $color-1 !default;
|
170
|
-
$color-ste-error-bg: $color-error !default;
|
171
|
-
$color-ste-error-text: $color-1 !default;
|
172
|
-
|
173
108
|
// Available states
|
174
|
-
$states:
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
109
|
+
$states: (
|
110
|
+
active,
|
111
|
+
address,
|
112
|
+
awaiting_return,
|
113
|
+
backorder,
|
114
|
+
balance_due,
|
115
|
+
canceled,
|
116
|
+
cart,
|
117
|
+
checkout,
|
118
|
+
complete,
|
119
|
+
completed,
|
120
|
+
confirm,
|
121
|
+
credit_owed,
|
122
|
+
delivery,
|
123
|
+
error,
|
124
|
+
failed,
|
125
|
+
inactive,
|
126
|
+
paid,
|
127
|
+
payment,
|
128
|
+
pending,
|
129
|
+
ready,
|
130
|
+
returned,
|
131
|
+
shipped,
|
132
|
+
void
|
133
|
+
) !default;
|
188
134
|
|
189
135
|
// Available actions
|
190
136
|
$actions: edit, clone, remove, void, capture, save, cancel, mail, failure !default;
|
191
137
|
$actions-bg-colors: $color-action-edit-bg, $color-action-clone-bg, $color-action-remove-bg, $color-action-void-bg, $color-action-capture-bg, $color-action-save-bg, $color-action-cancel-bg, $color-action-mail-bg, $color-action-failure-bg !default;
|
192
138
|
$actions-brd-colors: $color-action-edit-brd, $color-action-clone-brd, $color-action-remove-brd, $color-action-void-brd, $color-action-capture-brd, $color-action-save-brd, $color-action-cancel-brd, $color-action-mail-brd, $color-action-failure-brd !default;
|
193
139
|
|
194
|
-
//
|
140
|
+
// Sidebar
|
195
141
|
//--------------------------------------------------------------
|
196
|
-
|
197
|
-
@include solidus-deprecated-variable("body-font-size", "font-size-root");
|
198
|
-
$body-font-size: 13px !default;
|
199
|
-
|
200
|
-
@include solidus-deprecated-variable("h6-size", "font-size-h6");
|
201
|
-
$h6-size: $body-font-size + 2 !default;
|
202
|
-
@include solidus-deprecated-variable("h5-size", "font-size-h5");
|
203
|
-
$h5-size: $h6-size + 2 !default;
|
204
|
-
@include solidus-deprecated-variable("h4-size", "font-size-h4");
|
205
|
-
$h4-size: $h5-size + 2 !default;
|
206
|
-
@include solidus-deprecated-variable("h3-size", "font-size-h3");
|
207
|
-
$h3-size: $h4-size + 2 !default;
|
208
|
-
@include solidus-deprecated-variable("h2-size", "font-size-h2");
|
209
|
-
$h2-size: $h3-size + 2 !default;
|
210
|
-
@include solidus-deprecated-variable("h1-size", "font-size-h1");
|
211
|
-
$h1-size: $h2-size + 2 !default;
|
212
|
-
|
213
|
-
$font-weight-bold: 600 !default;
|
214
|
-
$font-weight-normal: 400 !default;
|
215
|
-
|
216
142
|
$width-sidebar: 200px !default;
|
217
143
|
$width-sidebar-flyout: 225px !default;
|
218
|
-
|
219
|
-
// Stacking
|
220
|
-
//--------------------------------------------------------------
|
221
|
-
$z-index-navbar-flyout: 1000 !default;
|
222
|
-
|
223
|
-
// Sidebar
|
224
|
-
//--------------------------------------------------------------
|
225
144
|
$border-sidebar: 1px solid $color-sidebar-border !default;
|
226
145
|
|
227
146
|
// Main
|
@@ -3,30 +3,26 @@
|
|
3
3
|
background-color: $color;
|
4
4
|
}
|
5
5
|
|
6
|
-
&.tooltip-top
|
7
|
-
|
8
|
-
.tooltip-inner::before {
|
6
|
+
&.bs-tooltip-top {
|
7
|
+
.arrow::before {
|
9
8
|
border-top-color: $color;
|
10
9
|
}
|
11
10
|
}
|
12
11
|
|
13
|
-
&.tooltip-right
|
14
|
-
|
15
|
-
.tooltip-inner::before {
|
12
|
+
&.bs-tooltip-right {
|
13
|
+
.arrow::before {
|
16
14
|
border-right-color: $color;
|
17
15
|
}
|
18
16
|
}
|
19
17
|
|
20
|
-
&.tooltip-bottom
|
21
|
-
|
22
|
-
.tooltip-inner::before {
|
18
|
+
&.bs-tooltip-bottom {
|
19
|
+
.arrow::before {
|
23
20
|
border-bottom-color: $color;
|
24
21
|
}
|
25
22
|
}
|
26
23
|
|
27
|
-
&.tooltip-left
|
28
|
-
|
29
|
-
.tooltip-inner::before {
|
24
|
+
&.bs-tooltip-left {
|
25
|
+
.arrow::before {
|
30
26
|
border-left-color: $color;
|
31
27
|
}
|
32
28
|
}
|
@@ -36,12 +32,12 @@
|
|
36
32
|
pointer-events: none;
|
37
33
|
|
38
34
|
&.action-edit, &.action-save, &.action-capture, &.action-add {
|
39
|
-
@include bootstrap-tooltip-color(
|
35
|
+
@include bootstrap-tooltip-color(theme-color("success"));
|
40
36
|
}
|
41
37
|
&.action-clone, &.action-cancel {
|
42
|
-
@include bootstrap-tooltip-color(
|
38
|
+
@include bootstrap-tooltip-color(theme-color("warning"));
|
43
39
|
}
|
44
40
|
&.action-void, &.action-failure, &.action-remove {
|
45
|
-
@include bootstrap-tooltip-color(
|
41
|
+
@include bootstrap-tooltip-color(theme-color("danger"));
|
46
42
|
}
|
47
43
|
}
|