viewer.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. /*!
  2. * Viewer.js v1.10.4
  3. * https://fengyuanchen.github.io/viewerjs
  4. *
  5. * Copyright 2015-present Chen Fengyuan
  6. * Released under the MIT license
  7. *
  8. * Date: 2022-02-13T08:39:57.620Z
  9. */
  10. .viewer-zoom-in::before, .viewer-zoom-out::before, .viewer-one-to-one::before, .viewer-reset::before, .viewer-prev::before, .viewer-play::before, .viewer-next::before, .viewer-rotate-left::before, .viewer-rotate-right::before, .viewer-flip-horizontal::before, .viewer-flip-vertical::before, .viewer-fullscreen::before, .viewer-fullscreen-exit::before, .viewer-close::before, .viewer-download::before {
  11. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAScAAAAUCAYAAADPw/v2AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABJ6ADAAQAAAABAAAAFAAAAAA357YfAAAF6ElEQVR4Ae2aP4hcVRTGE40aVFDTpBARogQLtdCk8k+SJomQKAgWBgQLGxEiKKiFZHchhWnsRBSCaGO0sAn4B2EHdJVNYyOKItpYqCAKKkpQHH/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jzF/mPmHhTpK6/IZn6kHHWrazKn6QcK+q7P+OPE8Wg+1mnGW4zOg/OqdD0VjLZELeujXw1xXZuMrOT+eK5b8ZceZuK0TD/8zLrac0/Hj8I4B3SrJXgNdvigTchKI2AD//onkDhO4uq17HchU6yMd6FOp8Hf5TnyfgR98f2yuXHH8OL4pbT8nNIfXPLgOxeQjLluIxXP+ET1+25jjb5Y45zm+leP4MNDV09RD8tLzgbsN6Jc6szMcdHv0YczSRdc6z6+HuTanFVvXj5s/NpKvpsv05TwO9DDcHojb5nI0xk/50TkI9LBZdhZcmcqPxRr25MuA6f5Yfokf/lXgXSDr/UA8txbaA3Aql2dx5YJPbT6PEb2lmA6x3huTNOE3FtPP+UWeR45pjKoZvZrPxlTMckIjvPHGZHF889ygtEl1/+NtJ2RFXegxV08uHqofTupfCU6GOKU+tPeCn11dna/AtI7jahiAfaVrp/LQsZ/+f+J4byq3bwzd3UC/CBZvysp1nN19110PHjUuAN+im2CsJgnEYuYvybFcG0OckM/yYyOcqY3Jcon12qDgbW9B77cw9pl+doQ0cWWSJaxxQq6eXDxWHrz7gW7x/nDQca8rJn8NdG4Berg7vsLzc1JzeAMwl01J66ClB5KrYG7/hNmu3+lfz3gf6PwXURzHlYY942gvsSGOqW0BmHXemHQSRtbon1Qq5uf685ien5ebo/MtOBDLI3YYfB2L+35ybwK6UkrhRp9X57UDtQMdO8CXbAH02pg6LlXTawdqB2oHagdqB2oHagdqB2oHagdqB2oHagdqB2oHagdqB2oHZujAf6J/YwVDnq+mAAAAAElFTkSuQmCC");
  12. background-repeat: no-repeat;
  13. background-size: 295px;
  14. color: transparent;
  15. display: block;
  16. font-size: 0;
  17. height: 20px;
  18. line-height: 0;
  19. width: 20px;
  20. }
  21. .viewer-zoom-in::before {
  22. background-position: 0 0;
  23. content: "Zoom In";
  24. }
  25. .viewer-zoom-out::before {
  26. background-position: -20px 0;
  27. content: "Zoom Out";
  28. }
  29. .viewer-one-to-one::before {
  30. background-position: -40px 0;
  31. content: "One to One";
  32. }
  33. .viewer-reset::before {
  34. background-position: -60px 0;
  35. content: "Reset";
  36. }
  37. .viewer-prev::before {
  38. background-position: -80px 0;
  39. content: "Previous";
  40. }
  41. .viewer-play::before {
  42. background-position: -100px 0;
  43. content: "Play";
  44. }
  45. .viewer-next::before {
  46. background-position: -120px 0;
  47. content: "Next";
  48. }
  49. .viewer-rotate-left::before {
  50. background-position: -140px 0;
  51. content: "Rotate Left";
  52. }
  53. .viewer-rotate-right::before {
  54. background-position: -160px 0;
  55. content: "Rotate Right";
  56. }
  57. .viewer-flip-horizontal::before {
  58. background-position: -180px 0;
  59. content: "Flip Horizontal";
  60. }
  61. .viewer-flip-vertical::before {
  62. background-position: -200px 0;
  63. content: "Flip Vertical";
  64. }
  65. .viewer-fullscreen::before {
  66. background-position: -220px 0;
  67. content: "Enter Full Screen";
  68. }
  69. .viewer-fullscreen-exit::before {
  70. background-position: -240px 0;
  71. content: "Exit Full Screen";
  72. }
  73. .viewer-close::before {
  74. background-position: -260px 0;
  75. content: "Close";
  76. }
  77. .viewer-download::before {
  78. background-position: -280px 0;
  79. content: "Download";
  80. }
  81. .viewer-container {
  82. bottom: 0;
  83. direction: ltr;
  84. font-size: 0;
  85. left: 0;
  86. line-height: 0;
  87. overflow: hidden;
  88. position: absolute;
  89. right: 0;
  90. -webkit-tap-highlight-color: transparent;
  91. top: 0;
  92. -ms-touch-action: none;
  93. touch-action: none;
  94. -webkit-touch-callout: none;
  95. -webkit-user-select: none;
  96. -moz-user-select: none;
  97. -ms-user-select: none;
  98. user-select: none
  99. }
  100. .viewer-container::-moz-selection, .viewer-container *::-moz-selection {
  101. background-color: transparent;
  102. }
  103. .viewer-container::selection,
  104. .viewer-container *::selection {
  105. background-color: transparent;
  106. }
  107. .viewer-container:focus {
  108. outline: 0;
  109. }
  110. .viewer-container img {
  111. display: block;
  112. height: auto;
  113. max-height: none !important;
  114. max-width: none !important;
  115. min-height: 0 !important;
  116. min-width: 0 !important;
  117. width: 100%;
  118. }
  119. .viewer-canvas {
  120. bottom: 0;
  121. left: 0;
  122. overflow: hidden;
  123. position: absolute;
  124. right: 0;
  125. top: 0
  126. }
  127. .viewer-canvas > img {
  128. height: auto;
  129. margin: 15px auto;
  130. max-width: 90% !important;
  131. width: auto;
  132. }
  133. .viewer-footer {
  134. bottom: 0;
  135. left: 0;
  136. overflow: hidden;
  137. position: absolute;
  138. right: 0;
  139. text-align: center;
  140. }
  141. .viewer-navbar {
  142. background-color: rgba(0, 0, 0, 50%);
  143. overflow: hidden;
  144. }
  145. .viewer-list {
  146. box-sizing: content-box;
  147. height: 50px;
  148. margin: 0;
  149. overflow: hidden;
  150. padding: 1px 0
  151. }
  152. .viewer-list > li {
  153. color: transparent;
  154. cursor: pointer;
  155. float: left;
  156. font-size: 0;
  157. height: 50px;
  158. line-height: 0;
  159. opacity: 0.5;
  160. overflow: hidden;
  161. transition: opacity 0.15s;
  162. width: 30px
  163. }
  164. .viewer-list > li:focus,
  165. .viewer-list > li:hover {
  166. opacity: 0.75;
  167. }
  168. .viewer-list > li:focus {
  169. outline: 0;
  170. }
  171. .viewer-list > li + li {
  172. margin-left: 1px;
  173. }
  174. .viewer-list > .viewer-loading {
  175. position: relative
  176. }
  177. .viewer-list > .viewer-loading::after {
  178. border-width: 2px;
  179. height: 20px;
  180. margin-left: -10px;
  181. margin-top: -10px;
  182. width: 20px;
  183. }
  184. .viewer-list > .viewer-active,
  185. .viewer-list > .viewer-active:focus,
  186. .viewer-list > .viewer-active:hover {
  187. opacity: 1;
  188. }
  189. .viewer-player {
  190. background-color: #000;
  191. bottom: 0;
  192. cursor: none;
  193. display: none;
  194. left: 0;
  195. position: absolute;
  196. right: 0;
  197. top: 0;
  198. z-index: 1
  199. }
  200. .viewer-player > img {
  201. left: 0;
  202. position: absolute;
  203. top: 0;
  204. }
  205. .viewer-toolbar > ul {
  206. display: inline-block;
  207. margin: 0 auto 5px;
  208. overflow: hidden;
  209. padding: 6px 3px
  210. }
  211. .viewer-toolbar > ul > li {
  212. background-color: rgba(0, 0, 0, 50%);
  213. border-radius: 50%;
  214. cursor: pointer;
  215. float: left;
  216. height: 24px;
  217. overflow: hidden;
  218. transition: background-color 0.15s;
  219. width: 24px
  220. }
  221. .viewer-toolbar > ul > li:focus,
  222. .viewer-toolbar > ul > li:hover {
  223. background-color: rgba(0, 0, 0, 80%);
  224. }
  225. .viewer-toolbar > ul > li:focus {
  226. box-shadow: 0 0 3px #fff;
  227. outline: 0;
  228. position: relative;
  229. z-index: 1;
  230. }
  231. .viewer-toolbar > ul > li::before {
  232. margin: 2px;
  233. }
  234. .viewer-toolbar > ul > li + li {
  235. margin-left: 1px;
  236. }
  237. .viewer-toolbar > ul > .viewer-small {
  238. height: 18px;
  239. margin-bottom: 3px;
  240. margin-top: 3px;
  241. width: 18px
  242. }
  243. .viewer-toolbar > ul > .viewer-small::before {
  244. margin: -1px;
  245. }
  246. .viewer-toolbar > ul > .viewer-large {
  247. height: 30px;
  248. margin-bottom: -3px;
  249. margin-top: -3px;
  250. width: 30px
  251. }
  252. .viewer-toolbar > ul > .viewer-large::before {
  253. margin: 5px;
  254. }
  255. .viewer-tooltip {
  256. background-color: rgba(0, 0, 0, 80%);
  257. border-radius: 10px;
  258. color: #fff;
  259. display: none;
  260. font-size: 12px;
  261. height: 20px;
  262. left: 50%;
  263. line-height: 20px;
  264. margin-left: -25px;
  265. margin-top: -10px;
  266. position: absolute;
  267. text-align: center;
  268. top: 50%;
  269. width: 50px;
  270. }
  271. .viewer-title {
  272. color: #ccc;
  273. display: inline-block;
  274. font-size: 12px;
  275. line-height: 1.2;
  276. margin: 0 5% 5px;
  277. max-width: 90%;
  278. opacity: 0.8;
  279. overflow: hidden;
  280. text-overflow: ellipsis;
  281. transition: opacity 0.15s;
  282. white-space: nowrap
  283. }
  284. .viewer-title:hover {
  285. opacity: 1;
  286. }
  287. .viewer-button {
  288. background-color: rgba(0, 0, 0, 50%);
  289. border-radius: 50%;
  290. cursor: pointer;
  291. height: 80px;
  292. overflow: hidden;
  293. position: absolute;
  294. right: -40px;
  295. top: -40px;
  296. transition: background-color 0.15s;
  297. width: 80px
  298. }
  299. .viewer-button:focus,
  300. .viewer-button:hover {
  301. background-color: rgba(0, 0, 0, 80%);
  302. }
  303. .viewer-button:focus {
  304. box-shadow: 0 0 3px #fff;
  305. outline: 0;
  306. }
  307. .viewer-button::before {
  308. bottom: 15px;
  309. left: 15px;
  310. position: absolute;
  311. }
  312. .viewer-fixed {
  313. position: fixed;
  314. }
  315. .viewer-open {
  316. overflow: hidden;
  317. }
  318. .viewer-show {
  319. display: block;
  320. }
  321. .viewer-hide {
  322. display: none;
  323. }
  324. .viewer-backdrop {
  325. background-color: rgba(0, 0, 0, 50%);
  326. }
  327. .viewer-invisible {
  328. visibility: hidden;
  329. }
  330. .viewer-move {
  331. cursor: move;
  332. cursor: -webkit-grab;
  333. cursor: grab;
  334. }
  335. .viewer-fade {
  336. opacity: 0;
  337. }
  338. .viewer-in {
  339. opacity: 1;
  340. }
  341. .viewer-transition {
  342. transition: all 0.3s;
  343. }
  344. @-webkit-keyframes viewer-spinner {
  345. 0% {
  346. transform: rotate(0deg);
  347. }
  348. 100% {
  349. transform: rotate(360deg);
  350. }
  351. }
  352. @keyframes viewer-spinner {
  353. 0% {
  354. transform: rotate(0deg);
  355. }
  356. 100% {
  357. transform: rotate(360deg);
  358. }
  359. }
  360. .viewer-loading::after {
  361. -webkit-animation: viewer-spinner 1s linear infinite;
  362. animation: viewer-spinner 1s linear infinite;
  363. border: 4px solid rgba(255, 255, 255, 10%);
  364. border-left-color: rgba(255, 255, 255, 50%);
  365. border-radius: 50%;
  366. content: "";
  367. display: inline-block;
  368. height: 40px;
  369. left: 50%;
  370. margin-left: -20px;
  371. margin-top: -20px;
  372. position: absolute;
  373. top: 50%;
  374. width: 40px;
  375. z-index: 1;
  376. }
  377. @media (max-width: 767px) {
  378. .viewer-hide-xs-down {
  379. display: none;
  380. }
  381. }
  382. @media (max-width: 991px) {
  383. .viewer-hide-sm-down {
  384. display: none;
  385. }
  386. }
  387. @media (max-width: 1199px) {
  388. .viewer-hide-md-down {
  389. display: none;
  390. }
  391. }