cropper.min.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. /*!
  2. * Cropper v3.1.3
  3. * https://github.com/fengyuanchen/cropper
  4. *
  5. * Copyright (c) 2014-2017 Chen Fengyuan
  6. * Released under the MIT license
  7. *
  8. * Date: 2017-10-21T10:03:37.133Z
  9. */.cropper-container {
  10. direction:ltr;
  11. font-size:0;
  12. line-height:0;
  13. position:relative;
  14. -ms-touch-action:none;
  15. touch-action:none;
  16. -webkit-user-select:none;
  17. -moz-user-select:none;
  18. -ms-user-select:none;
  19. user-select:none
  20. }
  21. .cropper-container img {
  22. display:block;
  23. height:100%;
  24. image-orientation:0deg;
  25. max-height:none!important;
  26. max-width:none!important;
  27. min-height:0!important;
  28. min-width:0!important;
  29. width:100%
  30. }
  31. .cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box {
  32. bottom:0;
  33. left:0;
  34. position:absolute;
  35. right:0;
  36. top:0
  37. }
  38. .cropper-canvas,.cropper-wrap-box {
  39. overflow:hidden
  40. }
  41. .cropper-drag-box {
  42. background-color:#fff;
  43. opacity:0
  44. }
  45. .cropper-modal {
  46. background-color:#000;
  47. opacity:.5
  48. }
  49. .cropper-view-box {
  50. display:block;
  51. height:100%;
  52. outline-color:rgba(51,153,255,.75);
  53. outline:1px solid #39f;
  54. overflow:hidden;
  55. width:100%
  56. }
  57. .cropper-dashed {
  58. border:0 dashed #eee;
  59. display:block;
  60. opacity:.5;
  61. position:absolute
  62. }
  63. .cropper-dashed.dashed-h {
  64. border-bottom-width:1px;
  65. border-top-width:1px;
  66. height:33.33333%;
  67. left:0;
  68. top:33.33333%;
  69. width:100%
  70. }
  71. .cropper-dashed.dashed-v {
  72. border-left-width:1px;
  73. border-right-width:1px;
  74. height:100%;
  75. left:33.33333%;
  76. top:0;
  77. width:33.33333%
  78. }
  79. .cropper-center {
  80. display:block;
  81. height:0;
  82. left:50%;
  83. opacity:.75;
  84. position:absolute;
  85. top:50%;
  86. width:0
  87. }
  88. .cropper-center:after,.cropper-center:before {
  89. background-color:#eee;
  90. content:" ";
  91. display:block;
  92. position:absolute
  93. }
  94. .cropper-center:before {
  95. height:1px;
  96. left:-3px;
  97. top:0;
  98. width:7px
  99. }
  100. .cropper-center:after {
  101. height:7px;
  102. left:0;
  103. top:-3px;
  104. width:1px
  105. }
  106. .cropper-face,.cropper-line,.cropper-point {
  107. display:block;
  108. height:100%;
  109. opacity:.1;
  110. position:absolute;
  111. width:100%
  112. }
  113. .cropper-face {
  114. background-color:#fff;
  115. left:0;
  116. top:0
  117. }
  118. .cropper-line {
  119. background-color:#39f
  120. }
  121. .cropper-line.line-e {
  122. cursor:e-resize;
  123. right:-3px;
  124. top:0;
  125. width:5px
  126. }
  127. .cropper-line.line-n {
  128. cursor:n-resize;
  129. height:5px;
  130. left:0;
  131. top:-3px
  132. }
  133. .cropper-line.line-w {
  134. cursor:w-resize;
  135. left:-3px;
  136. top:0;
  137. width:5px
  138. }
  139. .cropper-line.line-s {
  140. bottom:-3px;
  141. cursor:s-resize;
  142. height:5px;
  143. left:0
  144. }
  145. .cropper-point {
  146. background-color:#39f;
  147. height:5px;
  148. opacity:.75;
  149. width:5px
  150. }
  151. .cropper-point.point-e {
  152. cursor:e-resize;
  153. margin-top:-3px;
  154. right:-3px;
  155. top:50%
  156. }
  157. .cropper-point.point-n {
  158. cursor:n-resize;
  159. left:50%;
  160. margin-left:-3px;
  161. top:-3px
  162. }
  163. .cropper-point.point-w {
  164. cursor:w-resize;
  165. left:-3px;
  166. margin-top:-3px;
  167. top:50%
  168. }
  169. .cropper-point.point-s {
  170. bottom:-3px;
  171. cursor:s-resize;
  172. left:50%;
  173. margin-left:-3px
  174. }
  175. .cropper-point.point-ne {
  176. cursor:ne-resize;
  177. right:-3px;
  178. top:-3px
  179. }
  180. .cropper-point.point-nw {
  181. cursor:nw-resize;
  182. left:-3px;
  183. top:-3px
  184. }
  185. .cropper-point.point-sw {
  186. bottom:-3px;
  187. cursor:sw-resize;
  188. left:-3px
  189. }
  190. .cropper-point.point-se {
  191. bottom:-3px;
  192. cursor:se-resize;
  193. height:20px;
  194. opacity:1;
  195. right:-3px;
  196. width:20px
  197. }
  198. @media (min-width:768px) {
  199. .cropper-point.point-se {
  200. height:15px;
  201. width:15px
  202. }
  203. }
  204. @media (min-width:992px) {
  205. .cropper-point.point-se {
  206. height:10px;
  207. width:10px
  208. }
  209. }
  210. @media (min-width:1200px) {
  211. .cropper-point.point-se {
  212. height:5px;
  213. opacity:.75;
  214. width:5px
  215. }
  216. }
  217. .cropper-point.point-se:before {
  218. background-color:#39f;
  219. bottom:-50%;
  220. content:" ";
  221. display:block;
  222. height:200%;
  223. opacity:0;
  224. position:absolute;
  225. right:-50%;
  226. width:200%
  227. }
  228. .cropper-invisible {
  229. opacity:0
  230. }
  231. .cropper-bg {
  232. background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")
  233. }
  234. .cropper-hide {
  235. display:block;
  236. height:0;
  237. position:absolute;
  238. width:0
  239. }
  240. .cropper-hidden {
  241. display:none!important
  242. }
  243. .cropper-move {
  244. cursor:move
  245. }
  246. .cropper-crop {
  247. cursor:crosshair
  248. }
  249. .cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point {
  250. cursor:not-allowed
  251. }
  252. /*# sourceMappingURL=cropper.min.css.map */