国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

306 рядки
4.6KB

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