/*! * Viewer v1.0.0 * https://github.com/fengyuanchen/viewer * * Copyright (c) 2015-2018 Chen Fengyuan * Released under the MIT license * * Date: 2018-04-01T06:09:55.194Z */ .cxplugin-imgviewer .viewer-zoom-in::before, .cxplugin-imgviewer .viewer-zoom-out::before, .cxplugin-imgviewer .viewer-one-to-one::before, .cxplugin-imgviewer .viewer-reset::before, .cxplugin-imgviewer .viewer-prev::before, .cxplugin-imgviewer .viewer-play::before, .cxplugin-imgviewer .viewer-next::before, .cxplugin-imgviewer .viewer-rotate-left::before, .cxplugin-imgviewer .viewer-rotate-right::before, .cxplugin-imgviewer .viewer-flip-horizontal::before, .cxplugin-imgviewer .viewer-flip-vertical::before, .cxplugin-imgviewer .viewer-fullscreen::before, .cxplugin-imgviewer .viewer-fullscreen-exit::before, .cxplugin-imgviewer .viewer-close::before { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC'); background-repeat: no-repeat; color: transparent; display: block; font-size: 0; height: 20px; line-height: 0; width: 20px; } .cxplugin-imgviewer .viewer-download::before{ content: ''; background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYA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ODNCNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pr+dcQMAAABgSURBVHjaYvz//z8DNQETA5XB8DHwMBQTBIxERgpMEeNopAy8gQ1IEQKLnAb80QeMZQK44T8CNBBSz0KELxpwsEly4UMiXI5VDa6E/RuICbn+DxCzkptTRhM2HQ0ECDAAVgqQ43pkKCsAAAAASUVORK5CYII='); background-repeat: no-repeat; color: transparent; display: block; font-size: 0; height: 20px; line-height: 0; width: 20px; } .cxplugin-imgviewer .viewer-zoom-in::before { background-position: 0 0; content: 'Zoom In'; } .cxplugin-imgviewer .viewer-zoom-out::before { background-position: -20px 0; content: 'Zoom Out'; } .cxplugin-imgviewer .viewer-one-to-one::before { background-position: -40px 0; content: 'One to One'; } .cxplugin-imgviewer .viewer-reset::before { background-position: -60px 0; content: 'Reset'; } .cxplugin-imgviewer .viewer-prev::before { background-position: -80px 0; content: 'Previous'; } .cxplugin-imgviewer .viewer-play::before { background-position: -100px 0; content: 'Play'; } .cxplugin-imgviewer .viewer-next::before { background-position: -120px 0; content: 'Next'; } .cxplugin-imgviewer .viewer-rotate-left::before { background-position: -140px 0; content: 'Rotate Left'; } .cxplugin-imgviewer .viewer-rotate-right::before { background-position: -160px 0; content: 'Rotate Right'; } .cxplugin-imgviewer .viewer-flip-horizontal::before { background-position: -180px 0; content: 'Flip Horizontal'; } .cxplugin-imgviewer .viewer-flip-vertical::before { background-position: -200px 0; content: 'Flip Vertical'; } .cxplugin-imgviewer .viewer-fullscreen::before { background-position: -220px 0; content: 'Enter Full Screen'; } .cxplugin-imgviewer .viewer-fullscreen-exit::before { background-position: -240px 0; content: 'Exit Full Screen'; } .cxplugin-imgviewer .viewer-close::before { background-position: -260px 0; content: 'Close'; } .cxplugin-imgviewer.viewer-container { bottom: 0; direction: ltr; font-size: 0; left: 0; line-height: 0; overflow: hidden; position: absolute; right: 0; -webkit-tap-highlight-color: transparent; top: 0; -webkit-touch-callout: none; -ms-touch-action: none; touch-action: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cxplugin-imgviewer.viewer-container::-moz-selection, .cxplugin-imgviewer.viewer-container *::-moz-selection { background-color: transparent; } .cxplugin-imgviewer.viewer-container::selection, .cxplugin-imgviewer.viewer-container *::selection { background-color: transparent; } .cxplugin-imgviewer.viewer-container img { display: block; height: auto; max-height: none !important; max-width: none !important; min-height: 0 !important; min-width: 0 !important; width: 100%; } .cxplugin-imgviewer .viewer-canvas { bottom: 0; left: 0; overflow: hidden; position: absolute; right: 0; top: 0; } .cxplugin-imgviewer .viewer-canvas > img { height: auto; margin: 15px auto; max-width: 90% !important; width: 0; max-height: 100%; } .cxplugin-imgviewer .viewer-footer { bottom: 0; left: 0; overflow: hidden; position: absolute; right: 0; text-align: center; } .cxplugin-imgviewer .viewer-navbar { background-color: rgba(0, 0, 0, .5); overflow: hidden; } .cxplugin-imgviewer .viewer-list { -webkit-box-sizing: content-box; box-sizing: content-box; height: 50px; margin: 0; overflow: hidden; padding: 1px 0; } .cxplugin-imgviewer .viewer-list > li { color: transparent; cursor: pointer; float: left; font-size: 0; height: 50px; line-height: 0; opacity: .5; overflow: hidden; -webkit-transition: opacity .15s; transition: opacity .15s; width: 30px; clear: none; } .cxplugin-imgviewer .viewer-list > li:hover { opacity: .75; } .cxplugin-imgviewer .viewer-list > li + li { margin-left: 1px; } .cxplugin-imgviewer .viewer-list > .viewer-loading { position: relative; } .cxplugin-imgviewer .viewer-list > .viewer-loading::after { border-width: 2px; height: 20px; margin-left: -10px; margin-top: -10px; width: 20px; } .cxplugin-imgviewer .viewer-list > .viewer-active, .cxplugin-imgviewer .viewer-list > .viewer-active:hover { opacity: 1; } .cxplugin-imgviewer .viewer-player { background-color: #000; bottom: 0; cursor: none; display: none; left: 0; position: absolute; right: 0; top: 0; } .cxplugin-imgviewer .viewer-player > img { left: 0; position: absolute; top: 0; } .cxplugin-imgviewer .viewer-toolbar ul { display: inline-block; margin: 0 auto 5px; overflow: hidden; padding: 3px 0; } .cxplugin-imgviewer .viewer-toolbar li { background-color: rgba(0, 0, 0, .5); border-radius: 50%; cursor: pointer; float: left; height: 24px; overflow: hidden; -webkit-transition: background-color .15s; transition: background-color .15s; width: 24px; clear: none; } .cxplugin-imgviewer .viewer-toolbar li:hover { background-color: rgba(0, 0, 0, .8); } .cxplugin-imgviewer .viewer-toolbar li::before { margin: 2px; } .cxplugin-imgviewer .viewer-toolbar li + li { margin-left: 1px; } .cxplugin-imgviewer .viewer-toolbar .viewer-small { height: 18px; margin-bottom: 3px; margin-top: 3px; width: 18px; } .cxplugin-imgviewer .viewer-toolbar .viewer-small::before { margin: -1px; } .cxplugin-imgviewer .viewer-toolbar .viewer-large { height: 30px; margin-bottom: -3px; margin-top: -3px; width: 30px; } .cxplugin-imgviewer .viewer-toolbar .viewer-large::before { margin: 5px; } .cxplugin-imgviewer .viewer-tooltip { background-color: rgba(0, 0, 0, .8); border-radius: 10px; color: #fff; display: none; font-size: 12px; height: 20px; left: 50%; line-height: 20px; margin-left: -25px; margin-top: -10px; position: absolute; text-align: center; top: 50%; width: 50px; } .cxplugin-imgviewer .viewer-title { color: #ccc; display: inline-block; font-size: 12px; line-height: 1; margin: 0 5% 5px; max-width: 90%; opacity: .8; overflow: hidden; text-overflow: ellipsis; -webkit-transition: opacity .15s; transition: opacity .15s; white-space: nowrap; } .cxplugin-imgviewer .viewer-title:hover { opacity: 1; } .cxplugin-imgviewer .viewer-button { background-color: rgba(0, 0, 0, .5); border-radius: 50%; cursor: pointer; height: 80px; overflow: hidden; position: absolute; right: -40px; top: -40px; -webkit-transition: background-color .15s; transition: background-color .15s; width: 80px; } .cxplugin-imgviewer .viewer-button:focus, .cxplugin-imgviewer .viewer-button:hover { background-color: rgba(0, 0, 0, .8); } .cxplugin-imgviewer .viewer-button::before { bottom: 15px; left: 15px; position: absolute; } .cxplugin-imgviewer.viewer-fixed,.cxplugin-imgviewer .viewer-fixed { position: fixed; } .cxplugin-imgviewer.viewer-open, .cxplugin-imgviewer .viewer-open{ overflow: hidden; } .cxplugin-imgviewer.viewer-show, .cxplugin-imgviewer .viewer-show{ display: block; } .cxplugin-imgviewer.viewer-hide, .cxplugin-imgviewer .viewer-hide{ display: none; } .cxplugin-imgviewer.viewer-backdrop, .cxplugin-imgviewer .viewer-backdrop{ background-color: rgba(0, 0, 0, .5); } .cxplugin-imgviewer.viewer-invisible,.cxplugin-imgviewer .viewer-invisible { visibility: hidden; } .cxplugin-imgviewer.viewer-move,.cxplugin-imgviewer .viewer-move { cursor: move; cursor: -webkit-grab; cursor: grab; } .cxplugin-imgviewer.viewer-fade,.cxplugin-imgviewer .viewer-fade { opacity: 0; } .cxplugin-imgviewer.viewer-in, .cxplugin-imgviewer .viewer-in{ opacity: 1; } .cxplugin-imgviewer.viewer-transition,.cxplugin-imgviewer .viewer-transition{ -webkit-transition: all .3s; transition: all .3s; } @-webkit-keyframes viewer-spinner { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes viewer-spinner { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .cxplugin-imgviewer .viewer-loading::after { -webkit-animation: viewer-spinner 1s linear infinite; animation: viewer-spinner 1s linear infinite; border: 4px solid rgba(255, 255, 255, .1); border-left-color: rgba(255, 255, 255, .5); border-radius: 50%; content: ''; display: inline-block; height: 40px; left: 50%; margin-left: -20px; margin-top: -20px; position: absolute; top: 50%; width: 40px; z-index: 1; } @media (max-width: 767px) { .viewer-hide-xs-down { display: none; } } @media (max-width: 991px) { .viewer-hide-sm-down { display: none; } } @media (max-width: 1199px) { .viewer-hide-md-down { display: none; } }