Skip to content

Commit 9973869

Browse files
committed
Merge branch 'checkout-address' into development
2 parents 4407037 + 16d9ab5 commit 9973869

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1802
-473
lines changed

src/assets/scss/_checkout-confirmation.scss

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,8 @@
7171
}
7272
.complete-order-btn {
7373
width: 310px;
74-
text-transform: uppercase;
75-
font-size: 1em;
76-
font-weight: 600;
77-
background: $my-sin;
78-
border: none;
79-
margin: 1em;
74+
margin: 1em 0;
8075
padding: 0.5em 0;
81-
&:hover {
82-
background: lighten($my-sin, 5%);
83-
}
8476
}
8577
.agree-to {
8678
margin-right: 1em;
@@ -94,7 +86,7 @@
9486
@media screen and (min-width: 767px) {
9587
.checkout-first-col .checkout-summary,
9688
.checkout-second-col .checkout-summary {
97-
padding: 1em 1em 4.6em;
89+
padding: 1em;
9890
}
9991
}
10092
@media screen and (max-width: 767px) {

src/assets/scss/_checkout-shipping.scss

Lines changed: 48 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,33 @@
3030
div {
3131
display: inline;
3232
}
33-
}
34-
.step-number {
35-
padding: 0.6em 1em;
36-
color: $gray;
37-
background: $white;
38-
border-radius: 50%;
39-
border: 1px solid $silver-chalice;
40-
font-size: 1em;
41-
}
42-
.step-number-active {
43-
background: $silver-chalice;
44-
color: $white;
45-
}
46-
.step-title {
47-
padding: 0 0.5em 0 0.2em;
33+
34+
.step-number {
35+
padding: 0.6em 1em;
36+
color: $gray;
37+
background: $white;
38+
border-radius: 50%;
39+
border: 1px solid $silver-chalice;
40+
font-size: 1em;
41+
}
42+
43+
.step-title {
44+
padding: 0 1em 0 0.5em;
45+
}
46+
47+
.active .step-number {
48+
background: $silver-chalice;
49+
color: $white;
50+
}
4851
}
4952

5053
// Shipping information
51-
.checkout {
54+
.checkout-content {
5255
background: $white;
5356
border: 1px solid $alto;
54-
margin-bottom: 2em;
5557
}
5658
.shipping-info {
57-
margin: 1em;
59+
margin: 1em 0;
5860
padding-bottom: 1em;
5961
border-bottom: 1px solid $alto;
6062
}
@@ -143,23 +145,10 @@
143145
.shipping-method .shipping-method-radio {
144146
margin-right: 1em;
145147
}
146-
.checkout-checkout-btn {
147-
width: 100%;
148-
background: url("../img/arrow-66.png") no-repeat 95% 13px $my-sin;
149-
background-size: 15px;
150-
border: none;
151-
margin: 1em;
152-
padding: 0.5em 0;
153-
font-size: 1.2em;
154-
&:hover {
155-
background: url("../img/arrow-66.png") no-repeat 95% 13px lighten($my-sin, 5%);
156-
background-size: 15px;
157-
}
158-
}
159148

160149
// Order summary
161150
.order-summary {
162-
margin: 1em;
151+
margin: 1em 0;
163152
}
164153
.order-summary-title {
165154
font-size: 1.1em;
@@ -174,16 +163,20 @@
174163
color: $ship-cove;
175164
padding-left: 0.5em;
176165
}
177-
.order {
166+
.checkout-order {
178167
background: lighten($alto, 10%);
179168
border: 1px solid $alto;
180-
margin: 1em;
181169
/**padding-top: 2em;*/
182-
}
183-
.order-summary-img {
184-
padding: 0.5em;
185-
img {
186-
border: 1px solid $alto;
170+
171+
&> div {
172+
margin: 1em;
173+
}
174+
175+
.product-img-col {
176+
padding-bottom: 1em;
177+
img {
178+
border: 1px solid $alto;
179+
}
187180
}
188181
}
189182
.summary-item-info {
@@ -208,10 +201,15 @@
208201
color: $gray;
209202
padding-right: 1em;
210203
}
211-
.order-item-price {
204+
.order-summary-item {
212205
margin: 1em;
213-
padding-bottom: 1em;
214206
border-bottom: 1px solid $alto;
207+
&:last-child {
208+
border-bottom: 0;
209+
}
210+
}
211+
.order-item-price {
212+
padding-bottom: 1em;
215213
}
216214
.order-item-value {
217215
border-left: 1px solid $alto;
@@ -230,11 +228,12 @@
230228
color: $gray;
231229
padding-right: 1em;
232230
}
233-
.checkout-price-text,
234-
.checkout-price-digits {
235-
margin-bottom: 1em;
236-
font-size: 1.1em;
237-
letter-spacing: 0.1em;
231+
.checkout-order {
232+
.cart-like-price-detail {
233+
margin-bottom: 1em;
234+
font-size: 1.1em;
235+
letter-spacing: 0.1em;
236+
}
238237
}
239238
.checkout-total-price {
240239
border-bottom: 1px solid $alto;
@@ -254,7 +253,7 @@
254253
font-size: 0.9em;
255254
color: $gray;
256255
text-decoration: underline;
257-
margin: 1em;
256+
margin-top: 1em;
258257
letter-spacing: 0.05em;
259258
}
260259
.total-order-value {
@@ -307,11 +306,11 @@
307306
}
308307
}
309308
@media screen and (max-width: 470px) {
310-
.step-title {
309+
.step-title {
311310
padding-right: 0;
312311
margin-right: 2em;
313312
}
314-
.step-title-active {
313+
.active .step-title {
315314
border-bottom: 1px solid $ebony-clay;
316315
}
317316
.step-number {

src/assets/scss/_my-account-my-orders-order.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,17 @@
3535
}
3636
.my-orders-order-dark-box {
3737
background: $wild-sand;
38-
padding: 15px;
39-
color: $gray;
38+
padding: 15px 10px;
4039
position: relative;
4140
margin-bottom: 15px;
4241
.my-orders-order-dark-box-title {
43-
color: $mine-shaft;
42+
font-weight: bold;
4443
font-size: 14px;
4544
padding-bottom: 10px;
4645
text-transform: uppercase;
46+
.checkout-summary-edit-icon {
47+
font-weight: normal;
48+
}
4749
}
4850
}
4951
.my-orders-order-price-summary-wrapper {

src/assets/scss/_my-account-personal-details.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
> div {
3030
padding: 0;
3131
}
32-
.checkout-form-step {
32+
.my-account-tab {
3333
padding: 30px;
3434
}
3535
}

src/components/cartdetail/AddDiscountCodeForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default {
9393
}
9494
}
9595
96-
.form-error-message {
96+
.validation-wrapper {
9797
display: none;
9898
}
9999

src/components/cartdetail/LineItemQuantityForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default {
128128
display: inline;
129129
}
130130
131-
.form-error-message {
131+
.validation-wrapper {
132132
display: none;
133133
}
134134
}

src/components/cartdetail/PageCartDetail.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
<LoadingSpinner v-if="isLoading"/>
44

55
<div v-else-if="cartNotEmpty">
6-
<div class="row">
7-
<div class="col-sm-8 col-xs-12">
8-
</div>
9-
<div class="col-sm-4">
10-
<!--{{> checkout/start-checkout-link id="cart-checkoutnow-btn"}}-->
11-
</div>
12-
</div>
136
<div class="row">
147
<div class="col-sm-12">
158
<div class="current-in-bag">

0 commit comments

Comments
 (0)