wyyl/resources/beike/shop/default/css/page-checkout.scss

175 lines
3.5 KiB
SCSS

@charset "UTF-8";
body.page-checkout {
.module-title {
border-bottom: 1px solid #e5e5e5;
padding-bottom: 16px;
margin-bottom: 16px;
}
.total-wrap {
padding: 1.4rem;
border: 3px solid #efefef;
&.total-wrap-fixed {
position: fixed;
top: 0;
}
.card-body {
padding: 0;
}
.card-header {
background-color: #fff;
padding: 0 0 .8rem;
margin-bottom: 1rem;
border-color: #E6E6E6;
h5 {
font-weight: bold;
}
}
.products-wrap {
border-bottom: 1px solid #E6E6E6;
margin-bottom: 1.3rem;
padding-bottom: .3rem;
max-height: 380px;
overflow-y: auto;
.item {
display: flex;
align-items: center; // flex-start | center
justify-content: space-between; // flex-end | center | space-between
margin-bottom: .8rem;
.image {
display: flex;
align-items: center; // flex-start | center
padding-right: 4px;
img {
width: 40px;
margin-right: 10px;
}
.quantity {
margin-left: 3px;
color: #7a7a7a;
}
}
.price {
color: #7a7a7a;
}
}
}
.totals {
padding-left: 0;
list-style: none;
padding-bottom: .3rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid #E6E6E6;
> li {
display: flex;
align-items: center; // flex-start | center
justify-content: space-between; // flex-end | center | space-between
margin-bottom: 14px;
// flex-wrap: wrap;
> span {
font-weight: bold;
&:first-of-type {
font-size: .8rem;
color: #3f3f3f;
}
&:last-of-type {
color: #dc3545;
}
}
}
}
}
.addresses-wrap {
margin-bottom: 2rem;
.item {
position: relative;
padding: 10px 20px;
margin-bottom: 10px;
border: 1px solid #e8e8e8;
height: 125px;
cursor: pointer;
&.add-addres {
display: flex;
align-items: center; // flex-start | center
justify-content: center; // flex-end | center | space-between
flex-direction: column;
font-size: 1rem;
color: #666;
i {
font-size: 2rem;
}
// flex-wrap: wrap;
}
&:hover {
border-color: #222;
}
&.active {
border-left: none;
&:before {
content: '';
position: absolute;
top: -1px;
left: 0;
width: 4px;
height: calc(100% + 2px);
background-color: #4991F4;
background: repeating-linear-gradient(-45deg, #d60404 0, #d60404 10px, #fff 10px, #fff 20px, #4991F4 20px, #4991F4 30px, #fff 30px, #fff 40px);
}
}
.name-wrap {
margin-bottom: .5rem;
line-height: 1;
.name {
font-size: 1rem;
font-weight: bold;
}
.phone {
font-size: .8rem;
color: #666;
}
}
.zipcode {
margin-bottom: .1rem;
}
.address-info {
margin-bottom: .9rem;
}
.address-bottom {
display: flex;
align-items: center; // flex-start | center
justify-content: space-between; // flex-end | center | space-between
// flex-wrap: wrap;
a {
color: #2d68a8;
}
}
}
}
}