wyyl/resources/beike/shop/default/css/global.scss

113 lines
1.8 KiB
SCSS

@charset "UTF-8";
[v-cloak] {
display: none;
}
.module-title {
font-size: 1.5rem;
text-align: center;
font-weight: bold;
position: relative;
padding-bottom: 10px;
margin-bottom: 2rem;
&:after {
position: absolute;
bottom: 0;
transform:translateX(-50%);
left: 50%;
content: '';
width: 100px;
height: 1px;
background: #FD560F;
}
}
.steps-wrap {
display: flex;
justify-content: space-around;
position: relative;
&:before {
content: '';
position: absolute;
top: 14px;
left: 0;
width: 100%;
border-bottom: 3px solid #D7D7D7;
}
> div {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
&.active {
.number {
background-color: #3C3D41;
border-color: #3C3D41;
color: #eee;
}
.title {
color: #111;
}
}
.number-wrap {
background-color: #fff;
padding: 0 4px;
margin-bottom: .5rem;
}
.number {
border: 2px solid #ddd;
width: 30px;
height: 30px;
background-color: #fff;
border-radius: 50%;
display: flex;
align-items: center; // flex-start | center
justify-content: center; // flex-end | center | space-between
}
.title {
color: #848484;
}
}
}
.quantity-wrap {
width: 80px;
height: 37px;
display: flex;
align-content: space-between;
border: 1px solid #ced4da;
input {
border: none;
padding: 0.5rem;
}
> .right {
display: flex;
flex-direction: column;
// align-items: center;
border-left: 1px solid #ced4da;
i {
flex: 1;
width: 20px;
height: 17px;
text-align: center;
cursor: pointer;
&:last-of-type {
border-top: 1px solid #ced4da;
}
&:hover {
background-color: #eee;
}
}
}
}