index.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. @import "~@less/mixin.less";
  2. .emergencyProdure {
  3. position: fixed;
  4. top: 50px;
  5. bottom: 10px;
  6. width: 450px;
  7. right: 10px;
  8. z-index: 202;
  9. padding: 15px;
  10. background-color: #fff;
  11. .modalTop {
  12. height: 60px;
  13. line-height: 60px;
  14. position: relative;
  15. }
  16. .modalTopL {
  17. float: left;
  18. height: 60px;
  19. p {
  20. display: inline-block;
  21. font-size: 16px;
  22. padding: 0 5px;
  23. max-width: 265px;
  24. overflow: hidden;
  25. text-overflow: ellipsis;
  26. white-space: nowrap;
  27. }
  28. .imgs {
  29. position: relative;
  30. top: -17px;
  31. }
  32. }
  33. .modalTopR {
  34. float: right;
  35. color: #2A9BD5;
  36. font-weight: bold;
  37. cursor: pointer;
  38. }
  39. .nameLis {
  40. position: absolute;
  41. width: 400px;
  42. top: 46px;
  43. left: 10px;
  44. padding: 10px;
  45. box-sizing: border-box;
  46. z-index: 20;
  47. background-color: #fff;
  48. box-shadow: 0 10px 20px 0 #989DA3;
  49. border: 1px solid #dedede;
  50. i {
  51. width: 0;
  52. height: 0;
  53. border-width: 10px;
  54. border-style: solid;
  55. border-color: transparent transparent #fff transparent;
  56. position: absolute;
  57. top: -20px;
  58. right: 10px;
  59. }
  60. li {
  61. line-height: 18px;
  62. float: left;
  63. padding: 10px;
  64. cursor: pointer;
  65. }
  66. }
  67. .selectColor{
  68. color: #2A9BD5;
  69. }
  70. .imageModalWrap {
  71. position: fixed;
  72. left: 0;
  73. top: 0;
  74. z-index: 300;
  75. width: 100%;
  76. height: 100%;
  77. background-color: #000;
  78. opacity: 0.6;
  79. filter: alpha(opacity=60);
  80. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  81. }
  82. .imageModal {
  83. position: fixed;
  84. background-color: #fff;
  85. overflow: hidden;
  86. z-index: 500;
  87. width: 900px;
  88. padding-top: 30px;
  89. box-sizing: border-box;
  90. margin-left: -450px;
  91. // margin-top: -400px;
  92. // height: 800px;
  93. // top: 50%;
  94. left: 50%;
  95. top: 60px;
  96. bottom: 60px;
  97. .emergencyImg{
  98. height: 100%;
  99. width: 100%;
  100. position: relative;
  101. float: left;
  102. // position: absolute;
  103. // left: 50%;
  104. // transform: translateX(-50%);
  105. }
  106. }
  107. .dragImgWrap {
  108. width: 100%;
  109. height: 30px;
  110. line-height: 36px;
  111. text-indent: 1em;
  112. z-index: 502;
  113. background-color: transparent;
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. }
  118. img.img{
  119. cursor: pointer;
  120. position: absolute;
  121. top: 6px;
  122. right: 10px;
  123. z-index: 800;
  124. }
  125. }
  126. .imageModalWrap {
  127. position: fixed;
  128. left: 0;
  129. top: 0;
  130. z-index: 300;
  131. width: 100%;
  132. height: 100%;
  133. background-color: #000;
  134. opacity: 0.6;
  135. filter: alpha(opacity=60);
  136. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  137. }
  138. .imageModal {
  139. position: fixed;
  140. background-color: #fff;
  141. overflow: hidden;
  142. z-index: 500;
  143. width: 900px;
  144. padding-top: 30px;
  145. box-sizing: border-box;
  146. margin-left: -450px;
  147. // margin-top: -400px;
  148. // height: 800px;
  149. // top: 50%;
  150. left: 50%;
  151. top: 40px;
  152. bottom: 40px;
  153. .emergencyImg{
  154. height: 100%;
  155. width: 100%;
  156. max-height: 800px;
  157. position: relative;
  158. float: left;
  159. // position: absolute;
  160. // left: 50%;
  161. // transform: translateX(-50%);
  162. }
  163. }
  164. .dragImgWrap {
  165. width: 100%;
  166. height: 30px;
  167. line-height: 36px;
  168. text-indent: 1em;
  169. z-index: 502;
  170. background-color: transparent;
  171. position: absolute;
  172. top: 0;
  173. left: 0;
  174. }
  175. img.img{
  176. cursor: pointer;
  177. position: absolute;
  178. top: 6px;
  179. right: 10px;
  180. z-index: 800;
  181. }