viewer.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. /*!
  2. * Viewer.js v1.11.3
  3. * https://fengyuanchen.github.io/viewerjs
  4. *
  5. * Copyright 2015-present Chen Fengyuan
  6. * Released under the MIT license
  7. *
  8. * Date: 2023-03-05T07:01:15.525Z
  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 {
  11. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94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T4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");
  12. background-repeat: no-repeat;
  13. background-size: 280px;
  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-container {
  78. bottom: 0;
  79. direction: ltr;
  80. font-size: 0;
  81. left: 0;
  82. line-height: 0;
  83. overflow: hidden;
  84. position: absolute;
  85. right: 0;
  86. -webkit-tap-highlight-color: transparent;
  87. top: 0;
  88. -ms-touch-action: none;
  89. touch-action: none;
  90. -webkit-touch-callout: none;
  91. -webkit-user-select: none;
  92. -moz-user-select: none;
  93. -ms-user-select: none;
  94. user-select: none;
  95. }
  96. .viewer-container::-moz-selection, .viewer-container *::-moz-selection {
  97. background-color: transparent;
  98. }
  99. .viewer-container::selection,
  100. .viewer-container *::selection {
  101. background-color: transparent;
  102. }
  103. .viewer-container:focus {
  104. outline: 0;
  105. }
  106. .viewer-container img {
  107. display: block;
  108. height: auto;
  109. max-height: none !important;
  110. max-width: none !important;
  111. min-height: 0 !important;
  112. min-width: 0 !important;
  113. width: 100%;
  114. }
  115. .viewer-canvas {
  116. bottom: 0;
  117. left: 0;
  118. overflow: hidden;
  119. position: absolute;
  120. right: 0;
  121. top: 0;
  122. }
  123. .viewer-canvas > img {
  124. height: auto;
  125. margin: 15px auto;
  126. max-width: 90% !important;
  127. width: auto;
  128. }
  129. .viewer-footer {
  130. bottom: 0;
  131. left: 0;
  132. overflow: hidden;
  133. position: absolute;
  134. right: 0;
  135. text-align: center;
  136. }
  137. .viewer-navbar {
  138. background-color: rgba(0, 0, 0, 50%);
  139. overflow: hidden;
  140. }
  141. .viewer-list {
  142. box-sizing: content-box;
  143. height: 50px;
  144. margin: 0;
  145. overflow: hidden;
  146. padding: 1px 0;
  147. }
  148. .viewer-list > li {
  149. color: transparent;
  150. cursor: pointer;
  151. float: left;
  152. font-size: 0;
  153. height: 50px;
  154. line-height: 0;
  155. opacity: 0.5;
  156. overflow: hidden;
  157. transition: opacity 0.15s;
  158. width: 30px;
  159. }
  160. .viewer-list > li:focus,
  161. .viewer-list > li:hover {
  162. opacity: 0.75;
  163. }
  164. .viewer-list > li:focus {
  165. outline: 0;
  166. }
  167. .viewer-list > li + li {
  168. margin-left: 1px;
  169. }
  170. .viewer-list > .viewer-loading {
  171. position: relative;
  172. }
  173. .viewer-list > .viewer-loading::after {
  174. border-width: 2px;
  175. height: 20px;
  176. margin-left: -10px;
  177. margin-top: -10px;
  178. width: 20px;
  179. }
  180. .viewer-list > .viewer-active,
  181. .viewer-list > .viewer-active:focus,
  182. .viewer-list > .viewer-active:hover {
  183. opacity: 1;
  184. }
  185. .viewer-player {
  186. background-color: #000;
  187. bottom: 0;
  188. cursor: none;
  189. display: none;
  190. left: 0;
  191. position: absolute;
  192. right: 0;
  193. top: 0;
  194. z-index: 1;
  195. }
  196. .viewer-player > img {
  197. left: 0;
  198. position: absolute;
  199. top: 0;
  200. }
  201. .viewer-toolbar > ul {
  202. display: inline-block;
  203. margin: 0 auto 5px;
  204. overflow: hidden;
  205. padding: 6px 3px;
  206. }
  207. .viewer-toolbar > ul > li {
  208. background-color: rgba(0, 0, 0, 50%);
  209. border-radius: 50%;
  210. cursor: pointer;
  211. float: left;
  212. height: 24px;
  213. overflow: hidden;
  214. transition: background-color 0.15s;
  215. width: 24px;
  216. }
  217. .viewer-toolbar > ul > li:focus,
  218. .viewer-toolbar > ul > li:hover {
  219. background-color: rgba(0, 0, 0, 80%);
  220. }
  221. .viewer-toolbar > ul > li:focus {
  222. box-shadow: 0 0 3px #fff;
  223. outline: 0;
  224. position: relative;
  225. z-index: 1;
  226. }
  227. .viewer-toolbar > ul > li::before {
  228. margin: 2px;
  229. }
  230. .viewer-toolbar > ul > li + li {
  231. margin-left: 1px;
  232. }
  233. .viewer-toolbar > ul > .viewer-small {
  234. height: 18px;
  235. margin-bottom: 3px;
  236. margin-top: 3px;
  237. width: 18px;
  238. }
  239. .viewer-toolbar > ul > .viewer-small::before {
  240. margin: -1px;
  241. }
  242. .viewer-toolbar > ul > .viewer-large {
  243. height: 30px;
  244. margin-bottom: -3px;
  245. margin-top: -3px;
  246. width: 30px;
  247. }
  248. .viewer-toolbar > ul > .viewer-large::before {
  249. margin: 5px;
  250. }
  251. .viewer-tooltip {
  252. background-color: rgba(0, 0, 0, 80%);
  253. border-radius: 10px;
  254. color: #fff;
  255. display: none;
  256. font-size: 12px;
  257. height: 20px;
  258. left: 50%;
  259. line-height: 20px;
  260. margin-left: -25px;
  261. margin-top: -10px;
  262. position: absolute;
  263. text-align: center;
  264. top: 50%;
  265. width: 50px;
  266. }
  267. .viewer-title {
  268. color: #ccc;
  269. display: inline-block;
  270. font-size: 12px;
  271. line-height: 1.2;
  272. margin: 5px 5%;
  273. max-width: 90%;
  274. min-height: 14px;
  275. opacity: 0.8;
  276. overflow: hidden;
  277. text-overflow: ellipsis;
  278. transition: opacity 0.15s;
  279. white-space: nowrap;
  280. }
  281. .viewer-title:hover {
  282. opacity: 1;
  283. }
  284. .viewer-button {
  285. -webkit-app-region: no-drag;
  286. background-color: rgba(0, 0, 0, 50%);
  287. border-radius: 50%;
  288. cursor: pointer;
  289. height: 80px;
  290. overflow: hidden;
  291. position: absolute;
  292. right: -40px;
  293. top: -40px;
  294. transition: background-color 0.15s;
  295. width: 80px;
  296. }
  297. .viewer-button:focus,
  298. .viewer-button:hover {
  299. background-color: rgba(0, 0, 0, 80%);
  300. }
  301. .viewer-button:focus {
  302. box-shadow: 0 0 3px #fff;
  303. outline: 0;
  304. }
  305. .viewer-button::before {
  306. bottom: 15px;
  307. left: 15px;
  308. position: absolute;
  309. }
  310. .viewer-fixed {
  311. position: fixed;
  312. }
  313. .viewer-open {
  314. overflow: hidden;
  315. }
  316. .viewer-show {
  317. display: block;
  318. }
  319. .viewer-hide {
  320. display: none;
  321. }
  322. .viewer-backdrop {
  323. background-color: rgba(0, 0, 0, 50%);
  324. }
  325. .viewer-invisible {
  326. visibility: hidden;
  327. }
  328. .viewer-move {
  329. cursor: move;
  330. cursor: grab;
  331. }
  332. .viewer-fade {
  333. opacity: 0;
  334. }
  335. .viewer-in {
  336. opacity: 1;
  337. }
  338. .viewer-transition {
  339. transition: all 0.3s;
  340. }
  341. @keyframes viewer-spinner {
  342. 0% {
  343. transform: rotate(0deg);
  344. }
  345. 100% {
  346. transform: rotate(360deg);
  347. }
  348. }
  349. .viewer-loading::after {
  350. animation: viewer-spinner 1s linear infinite;
  351. border: 4px solid rgba(255, 255, 255, 10%);
  352. border-left-color: rgba(255, 255, 255, 50%);
  353. border-radius: 50%;
  354. content: "";
  355. display: inline-block;
  356. height: 40px;
  357. left: 50%;
  358. margin-left: -20px;
  359. margin-top: -20px;
  360. position: absolute;
  361. top: 50%;
  362. width: 40px;
  363. z-index: 1;
  364. }
  365. @media (max-width: 767px) {
  366. .viewer-hide-xs-down {
  367. display: none;
  368. }
  369. }
  370. @media (max-width: 991px) {
  371. .viewer-hide-sm-down {
  372. display: none;
  373. }
  374. }
  375. @media (max-width: 1199px) {
  376. .viewer-hide-md-down {
  377. display: none;
  378. }
  379. }