component.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @charset "utf-8";
  2. .content { max-width: 700px; margin: 0 auto; text-align: center; }
  3. .component { position: relative; display:inline-block; float:left;
  4. background: url(/nwyj/images/icing/btn/gridme.png) repeat center center;
  5. padding: 10px; height: 270px; border: 3px solid #49708A;
  6. width: 500px; overflow: hidden; margin: 0; }
  7. *, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
  8. .clearfix:before, .clearfix:after { content: ''; display: table; }
  9. .clearfix:after { clear: both; }
  10. .hidden_yes{ display:none; }
  11. .win_img_box{ width:33px; height:33px; display:inline-block; float:right; border:3px solid #49708A; margin:110px 70px 60px 0; }
  12. .a-tip{ clear:both; padding:20px 0;}
  13. /* 图片边框线 */
  14. .resize-container { position: relative; display: inline-block; cursor: move; margin: 0 auto; }
  15. .resize-container img { display: block }
  16. .resize-container:hover img, .resize-container:active img { outline: 2px dashed rgba(222,60,80,.9); }
  17. .resize-handle-ne, .resize-handle-se, .resize-handle-nw, .resize-handle-sw {
  18. position: absolute; display: block; width: 10px; height: 10px; background: rgba(222,60,80,.9); z-index: 999; }
  19. .resize-handle-nw { top: -5px; left: -5px; cursor: nw-resize; }
  20. .resize-handle-sw { bottom: -5px; left: -5px; cursor: sw-resize; }
  21. .resize-handle-ne { top: -5px; right: -5px; cursor: ne-resize; }
  22. .resize-handle-se { bottom: -5px; right: -5px; cursor: se-resize; }
  23. /* 截图框 */
  24. .overlay { position: absolute; left: 50%; top: 50%; margin-left: -70px; margin-top: -70px; z-index: 999;
  25. width: 30px; height: 30px; border: solid 2px rgba(222,60,80,.9); box-sizing: content-box; pointer-events: none; }
  26. /* 截图准线左右 */
  27. .overlay:after, .overlay:before {
  28. content: ''; position: absolute; display: block; width:33px; height: 10px;
  29. border-left: dashed 1px rgba(222,60,80,.9);
  30. border-right: dashed 1px rgba(222,60,80,.9); }
  31. .overlay:before { top: 0; margin-left: -1px; margin-top: -14px; }
  32. .overlay:after { bottom: 0; margin-left: -1px; margin-bottom: -14px; }
  33. /* 截图准线上下 */
  34. .overlay-inner:after, .overlay-inner:before {
  35. content: ''; position: absolute; display: block; width: 30px; height: 32px;
  36. border-top: dashed 1px rgba(222,60,80,.9); border-bottom: dashed 1px rgba(222,60,80,.9); }
  37. .overlay-inner:before { left:0; margin-left:-14px; margin-top: -1px; }
  38. .overlay-inner:after{ right: 0; margin-right: -14px; margin-top: -1px; }
  39. /* 上传按钮 */
  40. .dis_span{ position:fixed; bottom:200px; }
  41. .upload_img_dis_span{ position:fixed; top:105px; text-shadow: 0.5px 0.5px 0 #6b6969, 0px 0.5px 0 #6b6969, -0.5px -0.5px 0 #6b6969, -0.5px -0.5px 0 #6b6969, -0.5px 0.5px 0 #6b6969, 0.5px -0.5px 0 #6b6969; color: #020202; font-size:17px; }
  42. .file { position: absolute; right: 130px; bottom: 125px; display: inline-block; background: #de3c50; border:none; width: 50px;
  43. padding: 4px;
  44. border-radius: 4px; overflow: hidden; color: #f2f2f2; text-decoration: none; text-indent: 0; line-height: 20px; }
  45. .file input { position: absolute; font-size: 100px; right: 0; top: 0; opacity: 0; }
  46. .file:hover, .btn-crop:hover { color: #ffffff; text-decoration: none; background:#b52638; }
  47. .btn-crop {
  48. position: absolute;
  49. vertical-align: bottom;
  50. right: 67px;
  51. bottom: 125px;
  52. padding: 6px 10px;
  53. z-index: 999;
  54. background-color: rgb(222,60,80);
  55. border: none;
  56. border-radius: 5px;
  57. color: #FFF;
  58. width: 55px;
  59. height: 30px;
  60. }
  61. .js-save{ right: 5px;}
  62. .btn-crop img {
  63. vertical-align: middle;
  64. margin-left: 8px;
  65. }