index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /*上传图片插件的样式*/
  2. .img-box {
  3. margin-top: 40px;
  4. }
  5. .img-box .up-p {
  6. margin-bottom: 20px;
  7. font-size: 16px;
  8. color: #555;
  9. }
  10. .z_photo {
  11. padding: 18px;
  12. border: 2px dashed #E7E6E6;
  13. /*padding: 18px;*/
  14. }
  15. .z_photo .z_file {
  16. position: relative;
  17. }
  18. .z_file .file {
  19. width: 100%;
  20. height: 100%;
  21. opacity: 0;
  22. position: absolute;
  23. top: 0px;
  24. left: 0px;
  25. z-index: 100;
  26. }
  27. .z_photo .up-section {
  28. position: relative;
  29. margin-right: 20px;
  30. margin-bottom: 20px;
  31. }
  32. .up-section .close-upimg {
  33. position: absolute;
  34. top: 6px;
  35. right: 8px;
  36. display: none;
  37. z-index: 10;
  38. }
  39. .up-section .up-span {
  40. display: block;
  41. width: 100%;
  42. height: 100%;
  43. visibility: hidden;
  44. position: absolute;
  45. top: 0px;
  46. left: 0px;
  47. z-index: 9;
  48. background: rgba(0, 0, 0, .5);
  49. }
  50. .up-section:hover {
  51. border: 2px solid #f15134;
  52. }
  53. .up-section:hover .close-upimg {
  54. display: block;
  55. }
  56. .up-section:hover .up-span {
  57. visibility: visible;
  58. }
  59. .up-img {
  60. display: block;
  61. width: 100%;
  62. height: 100%;
  63. }
  64. .loading {
  65. border: 1px solid #D1D1D1;
  66. background: url(/js/lib/imageupload/img/loading.gif) no-repeat center;
  67. }
  68. .up-opcity {
  69. opacity: 0;
  70. }
  71. .img-name-p {
  72. display: none;
  73. }
  74. .upimg-div .up-section {
  75. width: 190px;
  76. height: 180px;
  77. }
  78. .img-box .upimg-div .z_file {
  79. width: 190px;
  80. height: 180px;
  81. }
  82. .z_file .add-img {
  83. display: block;
  84. width: 190px;
  85. height: 180px;
  86. }
  87. /*遮罩层样式*/
  88. .mask {
  89. z-index: 1000;
  90. display: none;
  91. position: fixed;
  92. top: 0px;
  93. left: 0px;
  94. width: 100%;
  95. height: 100%;
  96. background: rgba(0, 0, 0, .4);
  97. }
  98. .mask .mask-content {
  99. width: 500px;
  100. position: absolute;
  101. top: 50%;
  102. left: 50%;
  103. margin-left: -250px;
  104. margin-top: -80px;
  105. background: white;
  106. height: 160px;
  107. text-align: center;
  108. }
  109. .mask .mask-content .del-p {
  110. color: #555;
  111. height: 94px;
  112. line-height: 94px;
  113. font-size: 18px;
  114. border-bottom: 1px solid #D1D1D1;
  115. }
  116. .mask-content .check-p {
  117. height: 66px;
  118. line-height: 66px;
  119. position: absolute;
  120. bottom: 0px;
  121. left: 0px;
  122. width: 100%;
  123. }
  124. .mask-content .check-p span {
  125. width: 49%;
  126. display: inline-block;
  127. text-align: center;
  128. color: #d4361d;
  129. font-size: 18px;
  130. }
  131. .check-p .del-com {
  132. border-right: 1px solid #D1D1D1;
  133. }