Skip to content

Commit

Permalink
Refactored checkout for 3rd generation templates
Browse files Browse the repository at this point in the history
  • Loading branch information
VencaV committed Feb 17, 2021
1 parent f6f7aca commit c7534fd
Show file tree
Hide file tree
Showing 16 changed files with 1,785 additions and 1,486 deletions.
13 changes: 0 additions & 13 deletions 00/css/modules/components/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ input[type="radio"] {
cursor: not-allowed;
}
}
.table-payu & {
display: inline;
}
&.error-field,
&.js-error-field {
& + label {
Expand Down Expand Up @@ -218,16 +215,6 @@ input {
&[type="search"] {
.appearance(none);
}
&[type="radio"] {
.table-payu & {
.appearance(radio);
}
}
&[type="checkbox"] {
.table-payu & {
.appearance(checkbox);
}
}
}

.required-asterisk:after {
Expand Down
34 changes: 16 additions & 18 deletions 00/css/modules/components/order-step-one.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
&:last-child {
border-bottom-style: none;
}
&.payu-billing-info {
padding-left: 0;
label {
padding-left: 20px;
}
}
input[type="radio"] + label {
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -58,16 +52,20 @@
}
}

#payu-template {
.container {
width: auto;
padding-left: 0;
padding-right: 0;
padding: round(@line-height-computed / 2) 0;
}
table {
max-width: 100%;
width: 100% !important;
margin: 0 !important;
}
#payu_ .table-payu {
border: 0 !important;
width: 100% !important;
max-width: 100%;
padding: 0 !important;
margin: 0 !important;
background: none !important;
}

input[type="radio"].payu + label::before,
input[type="radio"].payu + label::after {
visibility: hidden;
}
#payu_ input[type="radio"] {
display: inline;
.appearance(auto);
}
4 changes: 0 additions & 4 deletions 00/css/modules/components/price-wrapper.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,3 @@
}
}
}

.matrixprice {
display: none;
}
10 changes: 4 additions & 6 deletions 00/css/modules/shared-declarations.less
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,6 @@ label.disabled {
width: auto !important;
padding: 0 !important;
}
.table-payu {
width: 100% !important;
margin: 10px 0 !important;
padding: 0 !important;
}
#checkoutContent & {
display: block;
}
Expand Down Expand Up @@ -373,7 +368,6 @@ iframe[name="google_conversion_frame"] {
#company-info {
margin-bottom: @line-height-computed;
}

/* social buttons popoup */
.at-share-dock-outer {
position: relative;
Expand Down Expand Up @@ -429,3 +423,7 @@ iframe[name="google_conversion_frame"] {
margin-bottom: 0;
}
}

.recapitulation-shipping-billing-label {
display: none;
}
Loading

0 comments on commit c7534fd

Please sign in to comment.