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
@@ -18,79 +18,110 @@
|
|
18
18
|
@include border-radius($border-radius-lg);
|
19
19
|
@include box-shadow($popover-box-shadow);
|
20
20
|
|
21
|
+
// Arrows
|
22
|
+
//
|
23
|
+
// .arrow is outer, .arrow::after is inner
|
24
|
+
|
25
|
+
.arrow {
|
26
|
+
position: absolute;
|
27
|
+
display: block;
|
28
|
+
width: $popover-arrow-width;
|
29
|
+
height: $popover-arrow-height;
|
30
|
+
}
|
31
|
+
|
32
|
+
.arrow::before,
|
33
|
+
.arrow::after {
|
34
|
+
position: absolute;
|
35
|
+
display: block;
|
36
|
+
border-color: transparent;
|
37
|
+
border-style: solid;
|
38
|
+
}
|
39
|
+
|
40
|
+
.arrow::before {
|
41
|
+
content: "";
|
42
|
+
border-width: $popover-arrow-outer-width;
|
43
|
+
}
|
44
|
+
.arrow::after {
|
45
|
+
content: "";
|
46
|
+
border-width: $popover-arrow-outer-width;
|
47
|
+
}
|
21
48
|
|
22
49
|
// Popover directions
|
23
50
|
|
24
|
-
&.popover-top
|
25
|
-
|
26
|
-
margin-top: -$popover-arrow-width;
|
51
|
+
&.bs-popover-top {
|
52
|
+
margin-bottom: $popover-arrow-width;
|
27
53
|
|
28
|
-
|
29
|
-
|
30
|
-
|
54
|
+
.arrow {
|
55
|
+
bottom: 0;
|
56
|
+
}
|
57
|
+
|
58
|
+
.arrow::before,
|
59
|
+
.arrow::after {
|
31
60
|
border-bottom-width: 0;
|
32
61
|
}
|
33
62
|
|
34
|
-
|
63
|
+
.arrow::before {
|
35
64
|
bottom: -$popover-arrow-outer-width;
|
36
|
-
margin-left:
|
65
|
+
margin-left: -($popover-arrow-outer-width - 5);
|
37
66
|
border-top-color: $popover-arrow-outer-color;
|
38
67
|
}
|
39
68
|
|
40
|
-
|
69
|
+
.arrow::after {
|
41
70
|
bottom: -($popover-arrow-outer-width - 1);
|
42
|
-
margin-left:
|
71
|
+
margin-left: -($popover-arrow-outer-width - 5);
|
43
72
|
border-top-color: $popover-arrow-color;
|
44
73
|
}
|
45
74
|
}
|
46
75
|
|
47
|
-
&.popover-right
|
48
|
-
&.bs-tether-element-attached-left {
|
76
|
+
&.bs-popover-right {
|
49
77
|
margin-left: $popover-arrow-width;
|
50
78
|
|
51
|
-
|
52
|
-
|
53
|
-
|
79
|
+
.arrow {
|
80
|
+
left: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
.arrow::before,
|
84
|
+
.arrow::after {
|
85
|
+
margin-top: -($popover-arrow-outer-width - 3);
|
54
86
|
border-left-width: 0;
|
55
87
|
}
|
56
88
|
|
57
|
-
|
89
|
+
.arrow::before {
|
58
90
|
left: -$popover-arrow-outer-width;
|
59
|
-
margin-top: -$popover-arrow-outer-width;
|
60
91
|
border-right-color: $popover-arrow-outer-color;
|
61
92
|
}
|
62
93
|
|
63
|
-
|
94
|
+
.arrow::after {
|
64
95
|
left: -($popover-arrow-outer-width - 1);
|
65
|
-
margin-top: -($popover-arrow-outer-width - 1);
|
66
96
|
border-right-color: $popover-arrow-color;
|
67
97
|
}
|
68
98
|
}
|
69
99
|
|
70
|
-
&.popover-bottom
|
71
|
-
&.bs-tether-element-attached-top {
|
100
|
+
&.bs-popover-bottom {
|
72
101
|
margin-top: $popover-arrow-width;
|
73
102
|
|
74
|
-
|
75
|
-
|
76
|
-
|
103
|
+
.arrow {
|
104
|
+
top: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
.arrow::before,
|
108
|
+
.arrow::after {
|
109
|
+
margin-left: -($popover-arrow-width - 3);
|
77
110
|
border-top-width: 0;
|
78
111
|
}
|
79
112
|
|
80
|
-
|
113
|
+
.arrow::before {
|
81
114
|
top: -$popover-arrow-outer-width;
|
82
|
-
margin-left: -$popover-arrow-outer-width;
|
83
115
|
border-bottom-color: $popover-arrow-outer-color;
|
84
116
|
}
|
85
117
|
|
86
|
-
|
118
|
+
.arrow::after {
|
87
119
|
top: -($popover-arrow-outer-width - 1);
|
88
|
-
|
89
|
-
border-bottom-color: $popover-title-bg;
|
120
|
+
border-bottom-color: $popover-arrow-color;
|
90
121
|
}
|
91
122
|
|
92
|
-
// This will remove the popover-
|
93
|
-
.popover-
|
123
|
+
// This will remove the popover-header's border just below the arrow
|
124
|
+
.popover-header::before {
|
94
125
|
position: absolute;
|
95
126
|
top: 0;
|
96
127
|
left: 50%;
|
@@ -98,42 +129,58 @@
|
|
98
129
|
width: 20px;
|
99
130
|
margin-left: -10px;
|
100
131
|
content: "";
|
101
|
-
border-bottom: 1px solid $popover-
|
132
|
+
border-bottom: 1px solid $popover-header-bg;
|
102
133
|
}
|
103
134
|
}
|
104
135
|
|
105
|
-
&.popover-left
|
106
|
-
|
107
|
-
margin-left: -$popover-arrow-width;
|
136
|
+
&.bs-popover-left {
|
137
|
+
margin-right: $popover-arrow-width;
|
108
138
|
|
109
|
-
|
110
|
-
|
111
|
-
|
139
|
+
.arrow {
|
140
|
+
right: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
.arrow::before,
|
144
|
+
.arrow::after {
|
145
|
+
margin-top: -($popover-arrow-outer-width - 3);
|
112
146
|
border-right-width: 0;
|
113
147
|
}
|
114
148
|
|
115
|
-
|
149
|
+
.arrow::before {
|
116
150
|
right: -$popover-arrow-outer-width;
|
117
|
-
margin-top: -$popover-arrow-outer-width;
|
118
151
|
border-left-color: $popover-arrow-outer-color;
|
119
152
|
}
|
120
153
|
|
121
|
-
|
154
|
+
.arrow::after {
|
122
155
|
right: -($popover-arrow-outer-width - 1);
|
123
|
-
margin-top: -($popover-arrow-outer-width - 1);
|
124
156
|
border-left-color: $popover-arrow-color;
|
125
157
|
}
|
126
158
|
}
|
159
|
+
&.bs-popover-auto {
|
160
|
+
&[x-placement^="top"] {
|
161
|
+
@extend .bs-popover-top;
|
162
|
+
}
|
163
|
+
&[x-placement^="right"] {
|
164
|
+
@extend .bs-popover-right;
|
165
|
+
}
|
166
|
+
&[x-placement^="bottom"] {
|
167
|
+
@extend .bs-popover-bottom;
|
168
|
+
}
|
169
|
+
&[x-placement^="left"] {
|
170
|
+
@extend .bs-popover-left;
|
171
|
+
}
|
172
|
+
}
|
127
173
|
}
|
128
174
|
|
129
175
|
|
130
176
|
// Offset the popover to account for the popover arrow
|
131
|
-
.popover-
|
132
|
-
padding: $popover-
|
177
|
+
.popover-header {
|
178
|
+
padding: $popover-header-padding-y $popover-header-padding-x;
|
133
179
|
margin-bottom: 0; // Reset the default from Reboot
|
134
180
|
font-size: $font-size-base;
|
135
|
-
|
136
|
-
|
181
|
+
color: $popover-header-color;
|
182
|
+
background-color: $popover-header-bg;
|
183
|
+
border-bottom: $popover-border-width solid darken($popover-header-bg, 5%);
|
137
184
|
$offset-border-width: calc(#{$border-radius-lg} - #{$popover-border-width});
|
138
185
|
@include border-top-radius($offset-border-width);
|
139
186
|
|
@@ -142,30 +189,7 @@
|
|
142
189
|
}
|
143
190
|
}
|
144
191
|
|
145
|
-
.popover-
|
146
|
-
padding: $popover-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
// Arrows
|
151
|
-
//
|
152
|
-
// .popover-arrow is outer, .popover-arrow::after is inner
|
153
|
-
|
154
|
-
.popover::before,
|
155
|
-
.popover::after {
|
156
|
-
position: absolute;
|
157
|
-
display: block;
|
158
|
-
width: 0;
|
159
|
-
height: 0;
|
160
|
-
border-color: transparent;
|
161
|
-
border-style: solid;
|
162
|
-
}
|
163
|
-
|
164
|
-
.popover::before {
|
165
|
-
content: "";
|
166
|
-
border-width: $popover-arrow-outer-width;
|
167
|
-
}
|
168
|
-
.popover::after {
|
169
|
-
content: "";
|
170
|
-
border-width: $popover-arrow-width;
|
192
|
+
.popover-body {
|
193
|
+
padding: $popover-body-padding-y $popover-body-padding-x;
|
194
|
+
color: $popover-body-color;
|
171
195
|
}
|
@@ -12,15 +12,7 @@
|
|
12
12
|
@media print {
|
13
13
|
*,
|
14
14
|
*::before,
|
15
|
-
*::after
|
16
|
-
p::first-letter,
|
17
|
-
div::first-letter,
|
18
|
-
blockquote::first-letter,
|
19
|
-
li::first-letter,
|
20
|
-
p::first-line,
|
21
|
-
div::first-line,
|
22
|
-
blockquote::first-line,
|
23
|
-
li::first-line {
|
15
|
+
*::after {
|
24
16
|
// Bootstrap specific; comment out `color` and `background`
|
25
17
|
//color: #000 !important; // Black prints faster:
|
26
18
|
// http://www.sanbeiji.com/archives/953
|
@@ -1,10 +1,8 @@
|
|
1
|
-
// Progress animations
|
2
1
|
@keyframes progress-bar-stripes {
|
3
2
|
from { background-position: $progress-height 0; }
|
4
3
|
to { background-position: 0 0; }
|
5
4
|
}
|
6
5
|
|
7
|
-
// Basic progress bar
|
8
6
|
.progress {
|
9
7
|
display: flex;
|
10
8
|
overflow: hidden; // force rounded corners by cropping it
|
@@ -13,20 +11,22 @@
|
|
13
11
|
text-align: center;
|
14
12
|
background-color: $progress-bg;
|
15
13
|
@include border-radius($progress-border-radius);
|
14
|
+
@include box-shadow($progress-box-shadow);
|
16
15
|
}
|
16
|
+
|
17
17
|
.progress-bar {
|
18
18
|
height: $progress-height;
|
19
|
+
line-height: $progress-height;
|
19
20
|
color: $progress-bar-color;
|
20
21
|
background-color: $progress-bar-bg;
|
22
|
+
@include transition($progress-bar-transition);
|
21
23
|
}
|
22
24
|
|
23
|
-
// Striped
|
24
25
|
.progress-bar-striped {
|
25
26
|
@include gradient-striped();
|
26
27
|
background-size: $progress-height $progress-height;
|
27
28
|
}
|
28
29
|
|
29
|
-
// Animated
|
30
30
|
.progress-bar-animated {
|
31
31
|
animation: progress-bar-stripes $progress-bar-animation-timing;
|
32
32
|
}
|