You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
3.2 KiB

*{
margin: 0;padding: 0;
}
.l-btn{
display: inline-block;
outline: none;
resize: none;
border: none;
padding:5px 10px;
background: #8C85E6;
color: #fff;
border:solid 1px #8C85E6;
border-radius: 3px;
font-size: 14px;
}
.l-btn:hover{
background: #8078e3;
animation: anniu 1s infinite;
}
.l-btn:active{
box-shadow: 0 2px 3px rgba(0,0,0,.2) inset;
}
.hidden{
display: none;
}
.tailoring-container, .tailoring-container div, .tailoring-container p{
margin: 0;padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.tailoring-container{
position: fixed;
width: 100%;
height: 100%;
z-index: 1000;
top: 0;
left: 0;
}
.tailoring-container .black-cloth{
position: fixed;
width: 100%;
height: 100%;
background: #111;
opacity: .9;
z-index: 1001;
}
.tailoring-container .tailoring-content{
position: absolute;
width: 768px;
height: 560px;
background: #fff;
z-index: 1002;
left: 0;
top: 0;
/* 水平垂直居中 浏览器版本号低的不支持transform */
/*left: 50%;
top: 50%;
transform: translate(-50%,-50%);
-weblit-transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
-o-transform: translate(-50%,-50%);*/
border-radius: 10px;
box-shadow: 0 0 10px #000;
padding: 10px;
}
.tailoring-content-one{
height: 40px;
width: 100%;
border-bottom: 1px solid #DDD ;
}
.tailoring-content .choose-btn{
float: left;
}
.tailoring-content .close-tailoring{
display: inline-block;
height: 30px;
width: 30px;
border-radius: 100%;
background: #eee;
color: #fff;
font-size: 22px;
text-align: center;
line-height: 30px;
float: right;
cursor: pointer;
}
.tailoring-content .close-tailoring:hover{
background: #ccc;
}
.tailoring-content .tailoring-content-two{
width: 100%;
height: 460px;
position: relative;
padding: 5px 0;
}
.tailoring-content .tailoring-box-parcel{
width: 520px;
height: 450px;
position: absolute;
left: 0;
border: solid 1px #ddd;
}
.tailoring-content .preview-box-parcel{
display: inline-block;
width: 228px;
height: 450px;
position: absolute;
right: 0;
padding: 4px 14px;
}
.preview-box-parcel p{
color: #555;
}
.previewImg{
width: 200px;
height: 200px;
overflow: hidden;
}
.preview-box-parcel .square{
margin-top: 10px;
border: solid 1px #ddd;
}
.preview-box-parcel .circular{
border-radius: 100%;
margin-top: 10px;
border: solid 1px #ddd;
}
.tailoring-content .tailoring-content-three{
width: 100%;
height: 40px;
border-top: 1px solid #DDD ;
padding-top: 10px;
}
.sureCut{
float: right;
}
@media all and (max-width: 768px) {
.tailoring-container .tailoring-content{
width: 100%;
min-width: 320px;
height: 460px;
}
.tailoring-content .tailoring-content-two{
height: 360px;
}
.tailoring-content .tailoring-box-parcel{
height: 350px;
}
.tailoring-container .tailoring-box-parcel{
width: 100%;
}
.tailoring-container .preview-box-parcel{
display: none;
}
}