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
@@ -6,14 +6,11 @@
|
|
6
6
|
background-color: $background;
|
7
7
|
}
|
8
8
|
|
9
|
+
//scss-lint:disable QualifyingElement
|
9
10
|
a.list-group-item-#{$state},
|
10
11
|
button.list-group-item-#{$state} {
|
11
12
|
color: $color;
|
12
13
|
|
13
|
-
.list-group-item-heading {
|
14
|
-
color: inherit;
|
15
|
-
}
|
16
|
-
|
17
14
|
@include hover-focus {
|
18
15
|
color: $color;
|
19
16
|
background-color: darken($background, 5%);
|
@@ -25,4 +22,5 @@
|
|
25
22
|
border-color: $color;
|
26
23
|
}
|
27
24
|
}
|
25
|
+
// scss-lint:enable QualifyingElement
|
28
26
|
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
// Dividers (basically an hr) within dropdowns and nav lists
|
4
4
|
|
5
5
|
@mixin nav-divider($color: #e5e5e5) {
|
6
|
-
height:
|
7
|
-
margin: ($spacer
|
6
|
+
height: 0;
|
7
|
+
margin: ($spacer / 2) 0;
|
8
8
|
overflow: hidden;
|
9
|
-
|
9
|
+
border-top: 1px solid $color;
|
10
10
|
}
|
@@ -1,17 +1,18 @@
|
|
1
|
+
// scss-lint:disable DuplicateProperty
|
1
2
|
@mixin reset-text {
|
2
3
|
font-family: $font-family-base;
|
3
4
|
// We deliberately do NOT reset font-size or word-wrap.
|
4
5
|
font-style: normal;
|
5
6
|
font-weight: $font-weight-normal;
|
6
|
-
letter-spacing: normal;
|
7
|
-
line-break: auto;
|
8
7
|
line-height: $line-height-base;
|
9
8
|
text-align: left; // Fallback for where `start` is not supported
|
10
9
|
text-align: start;
|
11
10
|
text-decoration: none;
|
12
11
|
text-shadow: none;
|
13
12
|
text-transform: none;
|
14
|
-
|
13
|
+
letter-spacing: normal;
|
15
14
|
word-break: normal;
|
16
15
|
word-spacing: normal;
|
16
|
+
white-space: normal;
|
17
|
+
line-break: auto;
|
17
18
|
}
|
@@ -1,15 +1,17 @@
|
|
1
1
|
// Only display content to screen readers
|
2
2
|
//
|
3
3
|
// See: http://a11yproject.com/posts/how-to-hide-content
|
4
|
+
// See: http://hugogiraudel.com/2016/10/13/css-hide-and-seek/
|
4
5
|
|
5
6
|
@mixin sr-only {
|
6
7
|
position: absolute;
|
7
8
|
width: 1px;
|
8
9
|
height: 1px;
|
9
10
|
padding: 0;
|
10
|
-
margin: -1px;
|
11
11
|
overflow: hidden;
|
12
12
|
clip: rect(0,0,0,0);
|
13
|
+
white-space: nowrap;
|
14
|
+
clip-path: inset(50%);
|
13
15
|
border: 0;
|
14
16
|
}
|
15
17
|
|
@@ -25,8 +27,9 @@
|
|
25
27
|
position: static;
|
26
28
|
width: auto;
|
27
29
|
height: auto;
|
28
|
-
margin: 0;
|
29
30
|
overflow: visible;
|
30
31
|
clip: auto;
|
32
|
+
white-space: normal;
|
33
|
+
clip-path: none;
|
31
34
|
}
|
32
35
|
}
|
@@ -1,19 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//
|
4
|
-
|
5
|
-
.bg-faded {
|
6
|
-
background-color: darken($body-bg, 3%);
|
1
|
+
@each $color, $value in $theme-colors {
|
2
|
+
@include bg-variant('.bg-#{$color}', $value);
|
7
3
|
}
|
8
4
|
|
9
|
-
|
10
|
-
|
11
|
-
@include bg-variant('.bg-success', $brand-success);
|
12
|
-
|
13
|
-
@include bg-variant('.bg-info', $brand-info);
|
14
|
-
|
15
|
-
@include bg-variant('.bg-warning', $brand-warning);
|
16
|
-
|
17
|
-
@include bg-variant('.bg-danger', $brand-danger);
|
18
|
-
|
19
|
-
@include bg-variant('.bg-inverse', $brand-inverse);
|
5
|
+
.bg-white { background-color: $white !important; }
|
6
|
+
.bg-transparent { background-color: transparent !important; }
|
@@ -2,30 +2,45 @@
|
|
2
2
|
// Border
|
3
3
|
//
|
4
4
|
|
5
|
+
.border { border: 1px solid $gray-200 !important; }
|
5
6
|
.border-0 { border: 0 !important; }
|
6
7
|
.border-top-0 { border-top: 0 !important; }
|
7
8
|
.border-right-0 { border-right: 0 !important; }
|
8
9
|
.border-bottom-0 { border-bottom: 0 !important; }
|
9
10
|
.border-left-0 { border-left: 0 !important; }
|
10
11
|
|
12
|
+
@each $color, $value in $theme-colors {
|
13
|
+
.border-#{$color} {
|
14
|
+
border-color: $value !important;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.border-white {
|
19
|
+
border-color: $white !important;
|
20
|
+
}
|
21
|
+
|
11
22
|
//
|
12
23
|
// Border-radius
|
13
24
|
//
|
14
25
|
|
15
26
|
.rounded {
|
16
|
-
|
27
|
+
border-radius: $border-radius !important;
|
17
28
|
}
|
18
29
|
.rounded-top {
|
19
|
-
|
30
|
+
border-top-left-radius: $border-radius !important;
|
31
|
+
border-top-right-radius: $border-radius !important;
|
20
32
|
}
|
21
33
|
.rounded-right {
|
22
|
-
|
34
|
+
border-top-right-radius: $border-radius !important;
|
35
|
+
border-bottom-right-radius: $border-radius !important;
|
23
36
|
}
|
24
37
|
.rounded-bottom {
|
25
|
-
|
38
|
+
border-bottom-right-radius: $border-radius !important;
|
39
|
+
border-bottom-left-radius: $border-radius !important;
|
26
40
|
}
|
27
41
|
.rounded-left {
|
28
|
-
|
42
|
+
border-top-left-radius: $border-radius !important;
|
43
|
+
border-bottom-left-radius: $border-radius !important;
|
29
44
|
}
|
30
45
|
|
31
46
|
.rounded-circle {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
//
|
2
|
+
// Utilities for common `display` values
|
3
3
|
//
|
4
4
|
|
5
5
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
@@ -16,3 +16,38 @@
|
|
16
16
|
.d#{$infix}-inline-flex { display: inline-flex !important; }
|
17
17
|
}
|
18
18
|
}
|
19
|
+
|
20
|
+
|
21
|
+
//
|
22
|
+
// Utilities for toggling `display` in print
|
23
|
+
//
|
24
|
+
|
25
|
+
.d-print-block {
|
26
|
+
display: none !important;
|
27
|
+
|
28
|
+
@media print {
|
29
|
+
display: block !important;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.d-print-inline {
|
34
|
+
display: none !important;
|
35
|
+
|
36
|
+
@media print {
|
37
|
+
display: inline !important;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.d-print-inline-block {
|
42
|
+
display: none !important;
|
43
|
+
|
44
|
+
@media print {
|
45
|
+
display: inline-block !important;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.d-print-none {
|
50
|
+
@media print {
|
51
|
+
display: none !important;
|
52
|
+
}
|
53
|
+
}
|
File without changes
|
@@ -6,10 +6,6 @@
|
|
6
6
|
@include media-breakpoint-up($breakpoint) {
|
7
7
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
8
8
|
|
9
|
-
.flex#{$infix}-first { order: -1; }
|
10
|
-
.flex#{$infix}-last { order: 1; }
|
11
|
-
.flex#{$infix}-unordered { order: 0; }
|
12
|
-
|
13
9
|
.flex#{$infix}-row { flex-direction: row !important; }
|
14
10
|
.flex#{$infix}-column { flex-direction: column !important; }
|
15
11
|
.flex#{$infix}-row-reverse { flex-direction: row-reverse !important; }
|
@@ -5,22 +5,20 @@
|
|
5
5
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
6
6
|
|
7
7
|
@each $prop, $abbrev in (margin: m, padding: p) {
|
8
|
-
@each $size, $
|
9
|
-
$length-x: map-get($lengths, x);
|
10
|
-
$length-y: map-get($lengths, y);
|
8
|
+
@each $size, $length in $spacers {
|
11
9
|
|
12
|
-
.#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length
|
13
|
-
.#{$abbrev}t#{$infix}-#{$size} { #{$prop}-top: $length
|
14
|
-
.#{$abbrev}r#{$infix}-#{$size} { #{$prop}-right: $length
|
15
|
-
.#{$abbrev}b#{$infix}-#{$size} { #{$prop}-bottom: $length
|
16
|
-
.#{$abbrev}l#{$infix}-#{$size} { #{$prop}-left: $length
|
10
|
+
.#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; }
|
11
|
+
.#{$abbrev}t#{$infix}-#{$size} { #{$prop}-top: $length !important; }
|
12
|
+
.#{$abbrev}r#{$infix}-#{$size} { #{$prop}-right: $length !important; }
|
13
|
+
.#{$abbrev}b#{$infix}-#{$size} { #{$prop}-bottom: $length !important; }
|
14
|
+
.#{$abbrev}l#{$infix}-#{$size} { #{$prop}-left: $length !important; }
|
17
15
|
.#{$abbrev}x#{$infix}-#{$size} {
|
18
|
-
#{$prop}-right: $length
|
19
|
-
#{$prop}-left: $length
|
16
|
+
#{$prop}-right: $length !important;
|
17
|
+
#{$prop}-left: $length !important;
|
20
18
|
}
|
21
19
|
.#{$abbrev}y#{$infix}-#{$size} {
|
22
|
-
#{$prop}-top: $length
|
23
|
-
#{$prop}-bottom: $length
|
20
|
+
#{$prop}-top: $length !important;
|
21
|
+
#{$prop}-bottom: $length !important;
|
24
22
|
}
|
25
23
|
}
|
26
24
|
}
|
@@ -34,25 +34,13 @@
|
|
34
34
|
|
35
35
|
// Contextual colors
|
36
36
|
|
37
|
-
.text-white {
|
38
|
-
color: #fff !important;
|
39
|
-
}
|
40
|
-
|
41
|
-
@include text-emphasis-variant('.text-muted', $text-muted);
|
42
|
-
|
43
|
-
@include text-emphasis-variant('.text-primary', $brand-primary);
|
44
|
-
|
45
|
-
@include text-emphasis-variant('.text-success', $brand-success);
|
37
|
+
.text-white { color: #fff !important; }
|
46
38
|
|
47
|
-
@
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
@include text-emphasis-variant('.text-danger', $brand-danger);
|
52
|
-
|
53
|
-
// Font color
|
39
|
+
@each $color, $value in $theme-colors {
|
40
|
+
@include text-emphasis-variant('.text-#{$color}', $value);
|
41
|
+
}
|
54
42
|
|
55
|
-
|
43
|
+
.text-muted { color: $text-muted !important; }
|
56
44
|
|
57
45
|
// Misc
|
58
46
|
|
@@ -2,54 +2,10 @@
|
|
2
2
|
// Visibility utilities
|
3
3
|
//
|
4
4
|
|
5
|
-
.
|
6
|
-
@include invisible();
|
7
|
-
}
|
8
|
-
|
9
|
-
// Responsive visibility utilities
|
10
|
-
|
11
|
-
@each $bp in map-keys($grid-breakpoints) {
|
12
|
-
.hidden-#{$bp}-up {
|
13
|
-
@include media-breakpoint-up($bp) {
|
14
|
-
display: none !important;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
.hidden-#{$bp}-down {
|
18
|
-
@include media-breakpoint-down($bp) {
|
19
|
-
display: none !important;
|
20
|
-
}
|
21
|
-
}
|
5
|
+
.visible {
|
6
|
+
@include invisible(visible);
|
22
7
|
}
|
23
8
|
|
24
|
-
|
25
|
-
|
26
|
-
//
|
27
|
-
// Media queries are placed on the inside to be mixin-friendly.
|
28
|
-
|
29
|
-
.visible-print-block {
|
30
|
-
display: none !important;
|
31
|
-
|
32
|
-
@media print {
|
33
|
-
display: block !important;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
.visible-print-inline {
|
37
|
-
display: none !important;
|
38
|
-
|
39
|
-
@media print {
|
40
|
-
display: inline !important;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
.visible-print-inline-block {
|
44
|
-
display: none !important;
|
45
|
-
|
46
|
-
@media print {
|
47
|
-
display: inline-block !important;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
.hidden-print {
|
52
|
-
@media print {
|
53
|
-
display: none !important;
|
54
|
-
}
|
9
|
+
.invisible {
|
10
|
+
@include invisible(hidden);
|
55
11
|
}
|