Skip to content

Commit

Permalink
Delete payment-method.php
Browse files Browse the repository at this point in the history
  • Loading branch information
crftwrk committed Aug 31, 2023
1 parent a91b4b1 commit 8cc4d88
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 43 deletions.
28 changes: 22 additions & 6 deletions scss/bootscore_woocommerce/_wc_checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,24 @@ p.create-account {
padding: 0;
margin-bottom: $spacer;

&::after {
margin-top: $spacer;
}

li {
line-height: inherit;
padding-left: 0;
@extend .form-check;

// Adjust payment method checkboxes
input {
margin-top: ($line-height-base - $form-check-input-width) * .5;
@extend .form-check-input;
margin-right: $form-check-input-width * .5;
margin-left: 0;
}

&:last-child div.payment_box {
margin-bottom: 0;
margin-left: -$spacer * 1.5;
}
}

Expand All @@ -103,30 +112,37 @@ p.create-account {
display: none;
}
}

// If no payment method is available
.woocommerce-info {
margin-bottom: 0;
}
}


// Policy & place-order wrapper
div.form-row {
padding: 0;
margin: 0;
}

// Place ordere button
// Place order button
#place_order {
@extend .btn-lg;
width: 100%;
margin-bottom: 0 !important; // In case aggregated CSS (Autoptimize)
}
}


/*
// Adjust terms checkboxes
.woocommerce form .form-row .input-checkbox {
margin-top: ($line-height-base - $form-check-input-width) * .5 !important;
margin-right: $form-check-input-width * .5 !important;
margin-bottom: 0 !important;
margin-left: -$spacer * 1.5 !important;
}
*/


// Terms & conditions collapse box
Expand Down Expand Up @@ -185,8 +201,7 @@ p.create-account {
}

label {
cursor: pointer;
color: var(--bs-body-color) !important;
color: var(--#{$prefix}body-color) !important;
}
}

Expand All @@ -207,6 +222,7 @@ p.create-account {

// Form Validation
.woocommerce form .form-row {

&.woocommerce-validated {

.select2-container,
Expand Down
37 changes: 0 additions & 37 deletions woocommerce/checkout/payment-method.php

This file was deleted.

0 comments on commit 8cc4d88

Please sign in to comment.