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
@@ -30,8 +30,7 @@
|
|
30
30
|
.input-group .form-control {
|
31
31
|
// Vertically centers the content of the addons within the input group
|
32
32
|
display: flex;
|
33
|
-
|
34
|
-
justify-content: center;
|
33
|
+
align-items: center;
|
35
34
|
|
36
35
|
&:not(:first-child):not(:last-child) {
|
37
36
|
@include border-radius(0);
|
@@ -67,11 +66,11 @@
|
|
67
66
|
//
|
68
67
|
|
69
68
|
.input-group-addon {
|
70
|
-
padding: $input-padding-y $input-padding-x;
|
69
|
+
padding: $input-btn-padding-y $input-btn-padding-x;
|
71
70
|
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
|
72
71
|
font-size: $font-size-base; // Match inputs
|
73
72
|
font-weight: $font-weight-normal;
|
74
|
-
line-height: $input-line-height;
|
73
|
+
line-height: $input-btn-line-height;
|
75
74
|
color: $input-color;
|
76
75
|
text-align: center;
|
77
76
|
background-color: $input-group-addon-bg;
|
@@ -80,12 +79,13 @@
|
|
80
79
|
|
81
80
|
// Sizing
|
82
81
|
&.form-control-sm {
|
83
|
-
padding: $input-padding-y-sm $input-padding-x-sm;
|
82
|
+
padding: $input-btn-padding-y-sm $input-btn-padding-x-sm;
|
84
83
|
font-size: $font-size-sm;
|
85
84
|
@include border-radius($input-border-radius-sm);
|
86
85
|
}
|
86
|
+
|
87
87
|
&.form-control-lg {
|
88
|
-
padding: $input-padding-y-lg $input-padding-x-lg;
|
88
|
+
padding: $input-btn-padding-y-lg $input-btn-padding-x-lg;
|
89
89
|
font-size: $font-size-lg;
|
90
90
|
@include border-radius($input-border-radius-lg);
|
91
91
|
}
|
@@ -144,8 +144,6 @@
|
|
144
144
|
// element above the siblings.
|
145
145
|
> .btn {
|
146
146
|
position: relative;
|
147
|
-
// Vertically stretch the button and center its content
|
148
|
-
flex: 1;
|
149
147
|
|
150
148
|
+ .btn {
|
151
149
|
margin-left: (-$input-btn-border-width);
|
@@ -19,23 +19,19 @@
|
|
19
19
|
|
20
20
|
.list-group-item-action {
|
21
21
|
width: 100%; // For `<button>`s (anchors become 100% by default though)
|
22
|
-
color: $list-group-
|
22
|
+
color: $list-group-action-color;
|
23
23
|
text-align: inherit; // For `<button>`s (anchors inherit)
|
24
24
|
|
25
|
-
.list-group-item-heading {
|
26
|
-
color: $list-group-link-heading-color;
|
27
|
-
}
|
28
|
-
|
29
25
|
// Hover state
|
30
26
|
@include hover-focus {
|
31
|
-
color: $list-group-
|
27
|
+
color: $list-group-action-hover-color;
|
32
28
|
text-decoration: none;
|
33
29
|
background-color: $list-group-hover-bg;
|
34
30
|
}
|
35
31
|
|
36
32
|
&:active {
|
37
|
-
color: $list-group-
|
38
|
-
background-color: $list-group-
|
33
|
+
color: $list-group-action-active-color;
|
34
|
+
background-color: $list-group-action-active-bg;
|
39
35
|
}
|
40
36
|
}
|
41
37
|
|
@@ -46,9 +42,7 @@
|
|
46
42
|
|
47
43
|
.list-group-item {
|
48
44
|
position: relative;
|
49
|
-
display:
|
50
|
-
flex-flow: row wrap;
|
51
|
-
align-items: center;
|
45
|
+
display: block;
|
52
46
|
padding: $list-group-item-padding-y $list-group-item-padding-x;
|
53
47
|
// Place the border on the list items and negative margin up for better styling
|
54
48
|
margin-bottom: -$list-group-border-width;
|
@@ -71,16 +65,7 @@
|
|
71
65
|
&.disabled,
|
72
66
|
&:disabled {
|
73
67
|
color: $list-group-disabled-color;
|
74
|
-
cursor: $cursor-disabled;
|
75
68
|
background-color: $list-group-disabled-bg;
|
76
|
-
|
77
|
-
// Force color to inherit for custom content
|
78
|
-
.list-group-item-heading {
|
79
|
-
color: inherit;
|
80
|
-
}
|
81
|
-
.list-group-item-text {
|
82
|
-
color: $list-group-disabled-text-color;
|
83
|
-
}
|
84
69
|
}
|
85
70
|
|
86
71
|
// Include both here for `<a>`s and `<button>`s
|
@@ -88,18 +73,7 @@
|
|
88
73
|
z-index: 2; // Place active items above their siblings for proper border styling
|
89
74
|
color: $list-group-active-color;
|
90
75
|
background-color: $list-group-active-bg;
|
91
|
-
border-color: $list-group-active-border;
|
92
|
-
|
93
|
-
// Force color to inherit for custom content
|
94
|
-
.list-group-item-heading,
|
95
|
-
.list-group-item-heading > small,
|
96
|
-
.list-group-item-heading > .small {
|
97
|
-
color: inherit;
|
98
|
-
}
|
99
|
-
|
100
|
-
.list-group-item-text {
|
101
|
-
color: $list-group-active-text-color;
|
102
|
-
}
|
76
|
+
border-color: $list-group-active-border-color;
|
103
77
|
}
|
104
78
|
}
|
105
79
|
|
@@ -135,7 +109,6 @@
|
|
135
109
|
// Add modifier classes to change text and background color on individual items.
|
136
110
|
// Organizationally, this must come after the `:hover` states.
|
137
111
|
|
138
|
-
@
|
139
|
-
@include list-group-item-variant(
|
140
|
-
|
141
|
-
@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);
|
112
|
+
@each $color, $value in $theme-colors {
|
113
|
+
@include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
|
114
|
+
}
|
@@ -2,22 +2,6 @@
|
|
2
2
|
//
|
3
3
|
// Used in conjunction with global variables to enable certain theme features.
|
4
4
|
|
5
|
-
@mixin box-shadow($shadow...) {
|
6
|
-
@if $enable-shadows {
|
7
|
-
box-shadow: $shadow;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
|
11
|
-
@mixin transition($transition...) {
|
12
|
-
@if $enable-transitions {
|
13
|
-
@if length($transition) == 0 {
|
14
|
-
transition: $transition-base;
|
15
|
-
} @else {
|
16
|
-
transition: $transition;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
5
|
// Utilities
|
22
6
|
@import "mixins/breakpoints";
|
23
7
|
@import "mixins/hover";
|
@@ -30,13 +14,11 @@
|
|
30
14
|
@import "mixins/text-emphasis";
|
31
15
|
@import "mixins/text-hide";
|
32
16
|
@import "mixins/text-truncate";
|
33
|
-
@import "mixins/transforms";
|
34
17
|
@import "mixins/visibility";
|
35
18
|
|
36
19
|
// // Components
|
37
20
|
@import "mixins/alert";
|
38
21
|
@import "mixins/buttons";
|
39
|
-
@import "mixins/cards";
|
40
22
|
@import "mixins/pagination";
|
41
23
|
@import "mixins/lists";
|
42
24
|
@import "mixins/list-group";
|
@@ -47,7 +29,9 @@
|
|
47
29
|
// // Skins
|
48
30
|
@import "mixins/background-variant";
|
49
31
|
@import "mixins/border-radius";
|
32
|
+
@import "mixins/box-shadow";
|
50
33
|
@import "mixins/gradients";
|
34
|
+
@import "mixins/transition";
|
51
35
|
|
52
36
|
// // Layout
|
53
37
|
@import "mixins/clearfix";
|
@@ -54,7 +54,7 @@
|
|
54
54
|
background-clip: padding-box;
|
55
55
|
border: $modal-content-border-width solid $modal-content-border-color;
|
56
56
|
@include border-radius($border-radius-lg);
|
57
|
-
@include box-shadow($modal-content-
|
57
|
+
@include box-shadow($modal-content-box-shadow-xs);
|
58
58
|
// Remove focus outline from opened modal
|
59
59
|
outline: 0;
|
60
60
|
}
|
@@ -127,11 +127,11 @@
|
|
127
127
|
// Automatically set modal's width for larger viewports
|
128
128
|
.modal-dialog {
|
129
129
|
max-width: $modal-md;
|
130
|
-
margin: $modal-dialog-sm-up
|
130
|
+
margin: $modal-dialog-margin-y-sm-up auto;
|
131
131
|
}
|
132
132
|
|
133
133
|
.modal-content {
|
134
|
-
@include box-shadow($modal-content-sm-up
|
134
|
+
@include box-shadow($modal-content-box-shadow-sm-up);
|
135
135
|
}
|
136
136
|
|
137
137
|
.modal-sm { max-width: $modal-sm; }
|
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
.nav {
|
7
7
|
display: flex;
|
8
|
+
flex-wrap: wrap;
|
8
9
|
padding-left: 0;
|
9
10
|
margin-bottom: 0;
|
10
11
|
list-style: none;
|
@@ -12,20 +13,18 @@
|
|
12
13
|
|
13
14
|
.nav-link {
|
14
15
|
display: block;
|
15
|
-
padding: $nav-link-padding;
|
16
|
+
padding: $nav-link-padding-y $nav-link-padding-x;
|
16
17
|
|
17
18
|
@include hover-focus {
|
18
19
|
text-decoration: none;
|
19
20
|
}
|
20
21
|
|
21
|
-
// Disabled state lightens text
|
22
|
+
// Disabled state lightens text
|
22
23
|
&.disabled {
|
23
|
-
color: $nav-disabled-
|
24
|
-
cursor: $cursor-disabled;
|
24
|
+
color: $nav-link-disabled-color;
|
25
25
|
}
|
26
26
|
}
|
27
27
|
|
28
|
-
|
29
28
|
//
|
30
29
|
// Tabs
|
31
30
|
//
|
@@ -46,7 +45,7 @@
|
|
46
45
|
}
|
47
46
|
|
48
47
|
&.disabled {
|
49
|
-
color: $nav-disabled-
|
48
|
+
color: $nav-link-disabled-color;
|
50
49
|
background-color: transparent;
|
51
50
|
border-color: transparent;
|
52
51
|
}
|
@@ -54,9 +53,9 @@
|
|
54
53
|
|
55
54
|
.nav-link.active,
|
56
55
|
.nav-item.show .nav-link {
|
57
|
-
color: $nav-tabs-
|
58
|
-
background-color: $nav-tabs-
|
59
|
-
border-color: $nav-tabs-
|
56
|
+
color: $nav-tabs-link-active-color;
|
57
|
+
background-color: $nav-tabs-link-active-bg;
|
58
|
+
border-color: $nav-tabs-link-active-border-color $nav-tabs-link-active-border-color $nav-tabs-link-active-bg;
|
60
59
|
}
|
61
60
|
|
62
61
|
.dropdown-menu {
|
@@ -75,13 +74,12 @@
|
|
75
74
|
.nav-pills {
|
76
75
|
.nav-link {
|
77
76
|
@include border-radius($nav-pills-border-radius);
|
78
|
-
}
|
79
77
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
78
|
+
&.active,
|
79
|
+
.show > & {
|
80
|
+
color: $nav-pills-link-active-color;
|
81
|
+
background-color: $nav-pills-link-active-bg;
|
82
|
+
}
|
85
83
|
}
|
86
84
|
}
|
87
85
|
|
@@ -99,7 +97,8 @@
|
|
99
97
|
|
100
98
|
.nav-justified {
|
101
99
|
.nav-item {
|
102
|
-
flex:
|
100
|
+
flex-basis: 0;
|
101
|
+
flex-grow: 1;
|
103
102
|
text-align: center;
|
104
103
|
}
|
105
104
|
}
|
@@ -18,8 +18,20 @@
|
|
18
18
|
.navbar {
|
19
19
|
position: relative;
|
20
20
|
display: flex;
|
21
|
-
flex-
|
21
|
+
flex-wrap: wrap; // allow us to do the line break for collapsing content
|
22
|
+
align-items: center;
|
23
|
+
justify-content: space-between; // space out brand from logo
|
22
24
|
padding: $navbar-padding-y $navbar-padding-x;
|
25
|
+
|
26
|
+
// Because flex properties aren't inherited, we need to redeclare these first
|
27
|
+
// few properities so that content nested within behave properly.
|
28
|
+
> .container,
|
29
|
+
> .container-fluid {
|
30
|
+
display: flex;
|
31
|
+
flex-wrap: wrap;
|
32
|
+
align-items: center;
|
33
|
+
justify-content: space-between;
|
34
|
+
}
|
23
35
|
}
|
24
36
|
|
25
37
|
|
@@ -29,10 +41,10 @@
|
|
29
41
|
|
30
42
|
.navbar-brand {
|
31
43
|
display: inline-block;
|
32
|
-
padding-top:
|
33
|
-
padding-bottom:
|
44
|
+
padding-top: $navbar-brand-padding-y;
|
45
|
+
padding-bottom: $navbar-brand-padding-y;
|
34
46
|
margin-right: $navbar-padding-x;
|
35
|
-
font-size: $font-size
|
47
|
+
font-size: $navbar-brand-font-size;
|
36
48
|
line-height: inherit;
|
37
49
|
white-space: nowrap;
|
38
50
|
|
@@ -57,6 +69,11 @@
|
|
57
69
|
padding-right: 0;
|
58
70
|
padding-left: 0;
|
59
71
|
}
|
72
|
+
|
73
|
+
.dropdown-menu {
|
74
|
+
position: static;
|
75
|
+
float: none;
|
76
|
+
}
|
60
77
|
}
|
61
78
|
|
62
79
|
|
@@ -66,8 +83,8 @@
|
|
66
83
|
|
67
84
|
.navbar-text {
|
68
85
|
display: inline-block;
|
69
|
-
padding-top:
|
70
|
-
padding-bottom:
|
86
|
+
padding-top: $nav-link-padding-y;
|
87
|
+
padding-bottom: $nav-link-padding-y;
|
71
88
|
}
|
72
89
|
|
73
90
|
|
@@ -76,9 +93,18 @@
|
|
76
93
|
// Custom styles for responsive collapsing and toggling of navbar contents.
|
77
94
|
// Powered by the collapse Bootstrap JavaScript plugin.
|
78
95
|
|
96
|
+
// When collapsed, prevent the toggleable navbar contents from appearing in
|
97
|
+
// the default flexbox row orienation. Requires the use of `flex-wrap: wrap`
|
98
|
+
// on the `.navbar` parent.
|
99
|
+
.navbar-collapse {
|
100
|
+
flex-basis: 100%;
|
101
|
+
// For always expanded or extra full navbars, ensure content aligns itself
|
102
|
+
// properly vertically. Can be easily overridden with flex utilities.
|
103
|
+
align-items: center;
|
104
|
+
}
|
105
|
+
|
79
106
|
// Button for toggling the navbar when in its collapsed state
|
80
107
|
.navbar-toggler {
|
81
|
-
align-self: flex-start; // Prevent toggler from growing to full width when it's the only visible navbar child
|
82
108
|
padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
|
83
109
|
font-size: $navbar-toggler-font-size;
|
84
110
|
line-height: 1;
|
@@ -103,34 +129,17 @@
|
|
103
129
|
background-size: 100% 100%;
|
104
130
|
}
|
105
131
|
|
106
|
-
//
|
107
|
-
// item and allow easy placement.
|
108
|
-
.navbar-toggler-left {
|
109
|
-
position: absolute;
|
110
|
-
left: $navbar-padding-x;
|
111
|
-
}
|
112
|
-
.navbar-toggler-right {
|
113
|
-
position: absolute;
|
114
|
-
right: $navbar-padding-x;
|
115
|
-
}
|
116
|
-
|
117
|
-
// Generate series of `.navbar-toggleable-*` responsive classes for configuring
|
132
|
+
// Generate series of `.navbar-expand-*` responsive classes for configuring
|
118
133
|
// where your navbar collapses.
|
119
|
-
.navbar-
|
134
|
+
.navbar-expand {
|
120
135
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
121
136
|
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
122
|
-
$infix: breakpoint-infix($
|
137
|
+
$infix: breakpoint-infix($next, $grid-breakpoints);
|
123
138
|
|
124
139
|
&#{$infix} {
|
125
140
|
@include media-breakpoint-down($breakpoint) {
|
126
|
-
.
|
127
|
-
|
128
|
-
position: static;
|
129
|
-
float: none;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
> .container {
|
141
|
+
> .container,
|
142
|
+
> .container-fluid {
|
134
143
|
padding-right: 0;
|
135
144
|
padding-left: 0;
|
136
145
|
}
|
@@ -139,11 +148,20 @@
|
|
139
148
|
@include media-breakpoint-up($next) {
|
140
149
|
flex-direction: row;
|
141
150
|
flex-wrap: nowrap;
|
142
|
-
|
151
|
+
justify-content: flex-start;
|
143
152
|
|
144
153
|
.navbar-nav {
|
145
154
|
flex-direction: row;
|
146
155
|
|
156
|
+
.dropdown-menu {
|
157
|
+
position: absolute;
|
158
|
+
}
|
159
|
+
|
160
|
+
.dropdown-menu-right {
|
161
|
+
right: 0;
|
162
|
+
left: auto; // Reset the default from `.dropdown-menu`
|
163
|
+
}
|
164
|
+
|
147
165
|
.nav-link {
|
148
166
|
padding-right: .5rem;
|
149
167
|
padding-left: .5rem;
|
@@ -151,16 +169,14 @@
|
|
151
169
|
}
|
152
170
|
|
153
171
|
// For nesting containers, have to redeclare for alignment purposes
|
154
|
-
> .container
|
155
|
-
|
172
|
+
> .container,
|
173
|
+
> .container-fluid {
|
156
174
|
flex-wrap: nowrap;
|
157
|
-
align-items: center;
|
158
175
|
}
|
159
176
|
|
160
177
|
// scss-lint:disable ImportantRule
|
161
178
|
.navbar-collapse {
|
162
179
|
display: flex !important;
|
163
|
-
width: 100%;
|
164
180
|
}
|
165
181
|
// scss-lint:enable ImportantRule
|
166
182
|
|
@@ -179,8 +195,7 @@
|
|
179
195
|
|
180
196
|
// Dark links against a light background
|
181
197
|
.navbar-light {
|
182
|
-
.navbar-brand
|
183
|
-
.navbar-toggler {
|
198
|
+
.navbar-brand {
|
184
199
|
color: $navbar-light-active-color;
|
185
200
|
|
186
201
|
@include hover-focus {
|
@@ -201,20 +216,21 @@
|
|
201
216
|
}
|
202
217
|
}
|
203
218
|
|
204
|
-
.
|
219
|
+
.show > .nav-link,
|
205
220
|
.active > .nav-link,
|
206
|
-
.nav-link.
|
221
|
+
.nav-link.show,
|
207
222
|
.nav-link.active {
|
208
223
|
color: $navbar-light-active-color;
|
209
224
|
}
|
210
225
|
}
|
211
226
|
|
212
227
|
.navbar-toggler {
|
213
|
-
|
228
|
+
color: $navbar-light-color;
|
229
|
+
border-color: $navbar-light-toggler-border-color;
|
214
230
|
}
|
215
231
|
|
216
232
|
.navbar-toggler-icon {
|
217
|
-
background-image: $navbar-light-toggler-bg;
|
233
|
+
background-image: $navbar-light-toggler-icon-bg;
|
218
234
|
}
|
219
235
|
|
220
236
|
.navbar-text {
|
@@ -223,46 +239,46 @@
|
|
223
239
|
}
|
224
240
|
|
225
241
|
// White links against a dark background
|
226
|
-
.navbar-
|
227
|
-
.navbar-brand
|
228
|
-
|
229
|
-
color: $navbar-inverse-active-color;
|
242
|
+
.navbar-dark {
|
243
|
+
.navbar-brand {
|
244
|
+
color: $navbar-dark-active-color;
|
230
245
|
|
231
246
|
@include hover-focus {
|
232
|
-
color: $navbar-
|
247
|
+
color: $navbar-dark-active-color;
|
233
248
|
}
|
234
249
|
}
|
235
250
|
|
236
251
|
.navbar-nav {
|
237
252
|
.nav-link {
|
238
|
-
color: $navbar-
|
253
|
+
color: $navbar-dark-color;
|
239
254
|
|
240
255
|
@include hover-focus {
|
241
|
-
color: $navbar-
|
256
|
+
color: $navbar-dark-hover-color;
|
242
257
|
}
|
243
258
|
|
244
259
|
&.disabled {
|
245
|
-
color: $navbar-
|
260
|
+
color: $navbar-dark-disabled-color;
|
246
261
|
}
|
247
262
|
}
|
248
263
|
|
249
|
-
.
|
264
|
+
.show > .nav-link,
|
250
265
|
.active > .nav-link,
|
251
|
-
.nav-link.
|
266
|
+
.nav-link.show,
|
252
267
|
.nav-link.active {
|
253
|
-
color: $navbar-
|
268
|
+
color: $navbar-dark-active-color;
|
254
269
|
}
|
255
270
|
}
|
256
271
|
|
257
272
|
.navbar-toggler {
|
258
|
-
|
273
|
+
color: $navbar-dark-color;
|
274
|
+
border-color: $navbar-dark-toggler-border-color;
|
259
275
|
}
|
260
276
|
|
261
277
|
.navbar-toggler-icon {
|
262
|
-
background-image: $navbar-
|
278
|
+
background-image: $navbar-dark-toggler-icon-bg;
|
263
279
|
}
|
264
280
|
|
265
281
|
.navbar-text {
|
266
|
-
color: $navbar-
|
282
|
+
color: $navbar-dark-color;
|
267
283
|
}
|
268
284
|
}
|
@@ -23,15 +23,14 @@
|
|
23
23
|
z-index: 2;
|
24
24
|
color: $pagination-active-color;
|
25
25
|
background-color: $pagination-active-bg;
|
26
|
-
border-color: $pagination-active-border;
|
26
|
+
border-color: $pagination-active-border-color;
|
27
27
|
}
|
28
28
|
|
29
29
|
&.disabled .page-link {
|
30
30
|
color: $pagination-disabled-color;
|
31
31
|
pointer-events: none;
|
32
|
-
cursor: $cursor-disabled; // While `pointer-events: none` removes the cursor in modern browsers, we provide a disabled cursor as a fallback.
|
33
32
|
background-color: $pagination-disabled-bg;
|
34
|
-
border-color: $pagination-disabled-border;
|
33
|
+
border-color: $pagination-disabled-border-color;
|
35
34
|
}
|
36
35
|
}
|
37
36
|
|
@@ -49,7 +48,7 @@
|
|
49
48
|
color: $pagination-hover-color;
|
50
49
|
text-decoration: none;
|
51
50
|
background-color: $pagination-hover-bg;
|
52
|
-
border-color: $pagination-hover-border;
|
51
|
+
border-color: $pagination-hover-border-color;
|
53
52
|
}
|
54
53
|
}
|
55
54
|
|