cropbox.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @charset "utf-8";
  2. .container {
  3. margin: 10px auto 0 auto;
  4. position: relative;
  5. font-family: 微软雅黑;
  6. font-size: 12px;
  7. }
  8. .container p {
  9. line-height: 12px;
  10. line-height: 0px;
  11. height: 0px;
  12. margin: 10px;
  13. color: #bbb
  14. }
  15. .action {
  16. width: 400px;
  17. height: 30px;
  18. margin: 10px 0;
  19. }
  20. .cropped {
  21. position: absolute;
  22. left: 500px;
  23. top: 0;
  24. width: 200px;
  25. border: 1px #ddd solid;
  26. height: 440px;
  27. padding: 4px;
  28. box-shadow: 0px 0px 12px #ddd;
  29. text-align: center;
  30. }
  31. .imageBox {
  32. position: relative;
  33. height: 400px;
  34. width: 400px;
  35. border: 1px solid #aaa;
  36. background: #fff;
  37. overflow: hidden;
  38. background-repeat: no-repeat;
  39. cursor: move;
  40. box-shadow: 4px 4px 12px #B0B0B0;
  41. }
  42. .imageBox .thumbBox {
  43. position: absolute;
  44. top: 50%;
  45. left: 50%;
  46. width: 200px;
  47. height: 200px;
  48. margin-top: -100px;
  49. margin-left: -100px;
  50. box-sizing: border-box;
  51. border: 1px solid rgb(102, 102, 102);
  52. box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
  53. background: none repeat scroll 0% 0% transparent;
  54. }
  55. .imageBox .spinner {
  56. position: absolute;
  57. top: 0;
  58. left: 0;
  59. bottom: 0;
  60. right: 0;
  61. text-align: center;
  62. line-height: 400px;
  63. background: rgba(0,0,0,0.7);
  64. }
  65. .Btnsty_peyton{ float: right;
  66. width: 46px;
  67. display: inline-block;
  68. margin-bottom: 10px;
  69. height: 37px;
  70. line-height: 37px;
  71. font-size: 14px;
  72. color: #FFFFFF;
  73. margin:0px 2px;
  74. background-color: #f38e81;
  75. border-radius: 3px;
  76. text-decoration: none;
  77. cursor: pointer;
  78. box-shadow: 0px 0px 5px #B0B0B0;
  79. border: 0px #fff solid;}
  80. /*选择文件上传*/
  81. .new-contentarea {
  82. width: 165px;
  83. overflow:hidden;
  84. margin: 0 auto;
  85. position:relative;float:left;
  86. }
  87. .new-contentarea label {
  88. width:100%;
  89. height:100%;
  90. display:block;
  91. }
  92. .new-contentarea input[type=file] {
  93. width:188px;
  94. height:60px;
  95. background:#333;
  96. margin: 0 auto;
  97. position:absolute;
  98. right:50%;
  99. margin-right:-94px;
  100. top:0;
  101. right/*\**/:0px\9;
  102. margin-right/*\**/:0px\9;
  103. width/*\**/:10px\9;
  104. opacity:0;
  105. filter:alpha(opacity=0);
  106. z-index:2;
  107. }
  108. a.upload-img{
  109. width:165px;
  110. display: inline-block;
  111. margin-bottom: 10px;
  112. height:37px;
  113. line-height: 37px;
  114. font-size: 14px;
  115. color: #FFFFFF;
  116. background-color: #f38e81;
  117. border-radius: 3px;
  118. text-decoration:none;
  119. cursor:pointer;
  120. border: 0px #fff solid;
  121. box-shadow: 0px 0px 5px #B0B0B0;
  122. }
  123. a.upload-img:hover{
  124. background-color: #ec7e70;
  125. }
  126. .tc{text-align:center;}