cropper.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. /*!
  2. * Cropper.js v1.5.6
  3. * https://fengyuanchen.github.io/cropperjs
  4. *
  5. * Copyright 2015-present Chen Fengyuan
  6. * Released under the MIT license
  7. *
  8. * Date: 2019-10-04T04:33:44.164Z
  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. .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. .cropper-wrap-box,
  31. .cropper-canvas,
  32. .cropper-drag-box,
  33. .cropper-crop-box,
  34. .cropper-modal {
  35. bottom: 0;
  36. left: 0;
  37. position: absolute;
  38. right: 0;
  39. top: 0; }
  40. .cropper-wrap-box,
  41. .cropper-canvas {
  42. overflow: hidden; }
  43. .cropper-drag-box {
  44. background-color: #fff;
  45. opacity: 0; }
  46. .cropper-modal {
  47. background-color: #000;
  48. opacity: 0.5; }
  49. .cropper-view-box {
  50. display: block;
  51. height: 100%;
  52. outline: 1px solid #39f;
  53. outline-color: rgba(51, 153, 255, 0.75);
  54. overflow: hidden;
  55. width: 100%; }
  56. .cropper-dashed {
  57. border: 0 dashed #eee;
  58. display: block;
  59. opacity: 0.5;
  60. position: absolute; }
  61. .cropper-dashed.dashed-h {
  62. border-bottom-width: 1px;
  63. border-top-width: 1px;
  64. height: calc(100% / 3);
  65. left: 0;
  66. top: calc(100% / 3);
  67. width: 100%; }
  68. .cropper-dashed.dashed-v {
  69. border-left-width: 1px;
  70. border-right-width: 1px;
  71. height: 100%;
  72. left: calc(100% / 3);
  73. top: 0;
  74. width: calc(100% / 3); }
  75. .cropper-center {
  76. display: block;
  77. height: 0;
  78. left: 50%;
  79. opacity: 0.75;
  80. position: absolute;
  81. top: 50%;
  82. width: 0; }
  83. .cropper-center::before,
  84. .cropper-center::after {
  85. background-color: #eee;
  86. content: ' ';
  87. display: block;
  88. position: absolute; }
  89. .cropper-center::before {
  90. height: 1px;
  91. left: -3px;
  92. top: 0;
  93. width: 7px; }
  94. .cropper-center::after {
  95. height: 7px;
  96. left: 0;
  97. top: -3px;
  98. width: 1px; }
  99. .cropper-face,
  100. .cropper-line,
  101. .cropper-point {
  102. display: block;
  103. height: 100%;
  104. opacity: 0.1;
  105. position: absolute;
  106. width: 100%; }
  107. .cropper-face {
  108. background-color: #fff;
  109. left: 0;
  110. top: 0; }
  111. .cropper-line {
  112. background-color: #39f; }
  113. .cropper-line.line-e {
  114. cursor: ew-resize;
  115. right: -3px;
  116. top: 0;
  117. width: 5px; }
  118. .cropper-line.line-n {
  119. cursor: ns-resize;
  120. height: 5px;
  121. left: 0;
  122. top: -3px; }
  123. .cropper-line.line-w {
  124. cursor: ew-resize;
  125. left: -3px;
  126. top: 0;
  127. width: 5px; }
  128. .cropper-line.line-s {
  129. bottom: -3px;
  130. cursor: ns-resize;
  131. height: 5px;
  132. left: 0; }
  133. .cropper-point {
  134. background-color: #39f;
  135. height: 5px;
  136. opacity: 0.75;
  137. width: 5px; }
  138. .cropper-point.point-e {
  139. cursor: ew-resize;
  140. margin-top: -3px;
  141. right: -3px;
  142. top: 50%; }
  143. .cropper-point.point-n {
  144. cursor: ns-resize;
  145. left: 50%;
  146. margin-left: -3px;
  147. top: -3px; }
  148. .cropper-point.point-w {
  149. cursor: ew-resize;
  150. left: -3px;
  151. margin-top: -3px;
  152. top: 50%; }
  153. .cropper-point.point-s {
  154. bottom: -3px;
  155. cursor: s-resize;
  156. left: 50%;
  157. margin-left: -3px; }
  158. .cropper-point.point-ne {
  159. cursor: nesw-resize;
  160. right: -3px;
  161. top: -3px; }
  162. .cropper-point.point-nw {
  163. cursor: nwse-resize;
  164. left: -3px;
  165. top: -3px; }
  166. .cropper-point.point-sw {
  167. bottom: -3px;
  168. cursor: nesw-resize;
  169. left: -3px; }
  170. .cropper-point.point-se {
  171. bottom: -3px;
  172. cursor: nwse-resize;
  173. height: 20px;
  174. opacity: 1;
  175. right: -3px;
  176. width: 20px; }
  177. @media (min-width: 768px) {
  178. .cropper-point.point-se {
  179. height: 15px;
  180. width: 15px; } }
  181. @media (min-width: 992px) {
  182. .cropper-point.point-se {
  183. height: 10px;
  184. width: 10px; } }
  185. @media (min-width: 1200px) {
  186. .cropper-point.point-se {
  187. height: 5px;
  188. opacity: 0.75;
  189. width: 5px; } }
  190. .cropper-point.point-se::before {
  191. background-color: #39f;
  192. bottom: -50%;
  193. content: ' ';
  194. display: block;
  195. height: 200%;
  196. opacity: 0;
  197. position: absolute;
  198. right: -50%;
  199. width: 200%; }
  200. .cropper-invisible {
  201. opacity: 0; }
  202. .cropper-bg {
  203. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC"); }
  204. .cropper-hide {
  205. display: block;
  206. height: 0;
  207. position: absolute;
  208. width: 0; }
  209. .cropper-hidden {
  210. display: none !important; }
  211. .cropper-move {
  212. cursor: move; }
  213. .cropper-crop {
  214. cursor: crosshair; }
  215. .cropper-disabled .cropper-drag-box,
  216. .cropper-disabled .cropper-face,
  217. .cropper-disabled .cropper-line,
  218. .cropper-disabled .cropper-point {
  219. cursor: not-allowed; }
  220. label.btn {
  221. margin-bottom: 0; }
  222. .carbonads {
  223. border-radius: .25rem;
  224. border: 1px solid #ccc;
  225. font-size: .875rem;
  226. overflow: hidden;
  227. padding: 1rem; }
  228. .carbon-wrap {
  229. overflow: hidden; }
  230. .carbon-img {
  231. clear: left;
  232. display: block;
  233. float: left; }
  234. .carbon-text,
  235. .carbon-poweredby {
  236. display: block;
  237. margin-left: 140px; }
  238. .carbon-text,
  239. .carbon-text:hover,
  240. .carbon-text:focus {
  241. color: #fff;
  242. text-decoration: none; }
  243. .carbon-poweredby,
  244. .carbon-poweredby:hover,
  245. .carbon-poweredby:focus {
  246. color: #ddd;
  247. text-decoration: none; }
  248. @media (min-width: 768px) {
  249. .carbonads {
  250. float: right;
  251. margin-bottom: -1rem;
  252. margin-top: -1rem;
  253. max-width: 360px; } }
  254. .img-container,
  255. .img-preview {
  256. background-color: #f7f7f7;
  257. text-align: center;
  258. width: 100%; }
  259. .img-container {
  260. margin-bottom: 1rem;
  261. max-height: 497px;
  262. min-height: 200px; }
  263. @media (min-width: 768px) {
  264. .img-container {
  265. min-height: 497px; } }
  266. .img-container > img {
  267. max-width: 100%; }
  268. .docs-preview {
  269. margin-right: -1rem; }
  270. .img-preview {
  271. float: left;
  272. margin-bottom: .5rem;
  273. margin-right: .5rem;
  274. overflow: hidden; }
  275. .img-preview > img {
  276. max-width: 100%; }
  277. .preview-lg {
  278. height: 9rem;
  279. width: 16rem; }
  280. .preview-md {
  281. height: 4.5rem;
  282. width: 8rem; }
  283. .preview-sm {
  284. height: 2.25rem;
  285. width: 4rem; }
  286. .preview-xs {
  287. height: 1.125rem;
  288. margin-right: 0;
  289. width: 2rem; }
  290. .docs-data > .input-group {
  291. margin-bottom: .5rem; }
  292. .docs-data .input-group-prepend .input-group-text {
  293. min-width: 4rem; }
  294. .docs-data .input-group-append .input-group-text {
  295. min-width: 3rem; }
  296. .docs-buttons > .btn,
  297. .docs-buttons > .btn-group,
  298. .docs-buttons > .form-control {
  299. margin-bottom: .5rem;
  300. margin-right: .25rem; }
  301. .docs-toggles > .btn,
  302. .docs-toggles > .btn-group,
  303. .docs-toggles > .dropdown {
  304. margin-bottom: .5rem; }
  305. .docs-tooltip {
  306. display: block;
  307. margin: -.5rem -.75rem;
  308. padding: .5rem .46rem; }
  309. .docs-tooltip > .icon {
  310. margin: 0 -.25rem;
  311. vertical-align: top; }
  312. @media (max-width: 400px) {
  313. .btn-group-crop {
  314. margin-right: -1rem !important; }
  315. .btn-group-crop > .btn {
  316. padding-left: .5rem;
  317. padding-right: .5rem; }
  318. .btn-group-crop .docs-tooltip {
  319. margin-left: -.5rem;
  320. margin-right: -.5rem;
  321. padding-left: .5rem;
  322. padding-right: .5rem; } }
  323. .docs-options .dropdown-menu {
  324. width: 100%; }
  325. .docs-options .dropdown-menu > li {
  326. font-size: .875rem;
  327. padding: .125rem 1rem; }
  328. .docs-options .dropdown-menu .form-check-label {
  329. display: block; }
  330. .docs-cropped .modal-body {
  331. text-align: center; }
  332. .docs-cropped .modal-body > img,
  333. .docs-cropped .modal-body > canvas {
  334. max-width: 100%; }
  335. /*# sourceMappingURL=cropper.css.map */