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.
 
 
 
 
 
 

163 lines
3.2 KiB

  1. .l2-btn{
  2. display: inline-block;
  3. outline: none;
  4. resize: none;
  5. border: none;
  6. padding:5px 10px;
  7. background: #8C85E6;
  8. color: #fff;
  9. border:solid 1px #8C85E6;
  10. border-radius: 3px;
  11. font-size: 14px;
  12. }
  13. .l2-btn:hover{
  14. background: #8078e3;
  15. animation: anniu 1s infinite;
  16. }
  17. .l2-btn:active{
  18. box-shadow: 0 2px 3px rgba(0,0,0,.2) inset;
  19. }
  20. .hidden{
  21. display: none;
  22. }
  23. .tailoring-container, .tailoring-container div, .tailoring-container p{
  24. margin: 0;padding: 0;
  25. box-sizing: border-box;
  26. -webkit-box-sizing: border-box;
  27. -moz-box-sizing: border-box;
  28. }
  29. .tailoring-container{
  30. position: fixed;
  31. width: 100%;
  32. height: 100%;
  33. z-index: 1000;
  34. top: 0;
  35. left: 0;
  36. }
  37. .tailoring-container .black-cloth{
  38. position: fixed;
  39. width: 100%;
  40. height: 100%;
  41. background: #111;
  42. opacity: 0.3;
  43. z-index: 1001;
  44. }
  45. .tailoring-container .tailoring-content{
  46. position: absolute;
  47. width: 768px;
  48. height: 560px;
  49. background: #fff;
  50. z-index: 1002;
  51. left: 0;
  52. top: 0;
  53. /* 水平垂直居中 浏览器版本号低的不支持transform */
  54. /*left: 50%;
  55. top: 50%;
  56. transform: translate(-50%,-50%);
  57. -weblit-transform: translate(-50%,-50%);
  58. -moz-transform: translate(-50%,-50%);
  59. -ms-transform: translate(-50%,-50%);
  60. -o-transform: translate(-50%,-50%);*/
  61. border-radius: 10px;
  62. box-shadow: 0 0 10px #000;
  63. padding: 10px;
  64. }
  65. .tailoring-content-one{
  66. height: 40px;
  67. width: 100%;
  68. border-bottom: 1px solid #DDD ;
  69. }
  70. .tailoring-content .choose-btn{
  71. float: left;
  72. }
  73. .tailoring-content .close-tailoring{
  74. display: inline-block;
  75. height: 30px;
  76. width: 30px;
  77. border-radius: 100%;
  78. background: #eee;
  79. color: #fff;
  80. font-size: 22px;
  81. text-align: center;
  82. line-height: 30px;
  83. float: right;
  84. cursor: pointer;
  85. }
  86. .tailoring-content .close-tailoring:hover{
  87. background: #ccc;
  88. }
  89. .tailoring-content .tailoring-content-two{
  90. width: 100%;
  91. height: 460px;
  92. position: relative;
  93. padding: 5px 0;
  94. }
  95. .tailoring-content .tailoring-box-parcel{
  96. width: 520px;
  97. height: 450px;
  98. position: absolute;
  99. left: 0;
  100. border: solid 1px #ddd;
  101. }
  102. .tailoring-content .preview-box-parcel{
  103. display: inline-block;
  104. width: 228px;
  105. height: 450px;
  106. position: absolute;
  107. right: 0;
  108. padding: 4px 14px;
  109. }
  110. .preview-box-parcel p{
  111. color: #555;
  112. }
  113. .previewImg{
  114. width: 200px;
  115. height: 200px;
  116. overflow: hidden;
  117. }
  118. .preview-box-parcel .square{
  119. margin-top: 10px;
  120. border: solid 1px #ddd;
  121. }
  122. .preview-box-parcel .circular{
  123. border-radius: 100%;
  124. margin-top: 10px;
  125. border: solid 1px #ddd;
  126. }
  127. .tailoring-content .tailoring-content-three{
  128. width: 100%;
  129. height: 40px;
  130. border-top: 1px solid #DDD ;
  131. padding-top: 10px;
  132. }
  133. .sureCut{
  134. float: right;
  135. }
  136. @media all and (max-width: 768px) {
  137. .tailoring-container .tailoring-content{
  138. width: 100%;
  139. min-width: 320px;
  140. height: 460px;
  141. }
  142. .tailoring-content .tailoring-content-two{
  143. height: 360px;
  144. }
  145. .tailoring-content .tailoring-box-parcel{
  146. height: 350px;
  147. }
  148. .tailoring-container .tailoring-box-parcel{
  149. width: 100%;
  150. }
  151. .tailoring-container .preview-box-parcel{
  152. display: none;
  153. }
  154. }