123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 |
- /*!
- * Viewer v0.1.0
- * https://github.com/fengyuanchen/viewer
- *
- * Copyright (c) 2015 Fengyuan Chen
- * Released under the MIT license
- *
- * Date: 2015-09-02T09:08:17.223Z
- */
- .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 {
- display: block;
- width: 20px;
- height: 20px;
- font-size: 0;
- line-height: 0;
- color: transparent;
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwlj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XmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");
- background-repeat: no-repeat;
- }
- .viewer-zoom-in:before {
- content: "Zoom In";
- background-position: 0 0;
- }
- .viewer-zoom-out:before {
- content: "Zoom Out";
- background-position: -20px 0;
- }
- .viewer-one-to-one:before {
- content: "One to One";
- background-position: -40px 0;
- }
- .viewer-reset:before {
- content: "Reset";
- background-position: -60px 0;
- }
- .viewer-prev:before {
- content: "Previous";
- background-position: -80px 0;
- }
- .viewer-play:before {
- content: "Play";
- background-position: -100px 0;
- }
- .viewer-next:before {
- content: "Next";
- background-position: -120px 0;
- }
- .viewer-rotate-left:before {
- content: "Rotate Left";
- background-position: -140px 0;
- }
- .viewer-rotate-right:before {
- content: "Rotate Right";
- background-position: -160px 0;
- }
- .viewer-flip-horizontal:before {
- content: "Flip Horizontal";
- background-position: -180px 0;
- }
- .viewer-flip-vertical:before {
- content: "Flip Vertical";
- background-position: -200px 0;
- }
- .viewer-fullscreen:before {
- content: "Enter Full Screen";
- background-position: -220px 0;
- }
- .viewer-fullscreen-exit:before {
- content: "Exit Full Screen";
- background-position: -240px 0;
- }
- .viewer-close:before {
- content: "Close";
- background-position: -260px 0;
- }
- .viewer-container {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- overflow: hidden;
- font-size: 0;
- line-height: 0;
- -ms-touch-action: none;
- touch-action: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- background-color: #000;
- background-color: rgba(0, 0, 0, .5);
- direction: ltr !important;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- }
- .viewer-container::-moz-selection,
- .viewer-container *::-moz-selection {
- background-color: transparent;
- }
- .viewer-container::selection,
- .viewer-container *::selection {
- background-color: transparent;
- }
- .viewer-container img {
- display: block;
- width: 100%;
- min-width: 0 !important;
- max-width: none !important;
- height: 100%;
- min-height: 0 !important;
- max-height: none !important;
- }
- .viewer-canvas {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- overflow: hidden;
- }
- .viewer-footer {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- overflow: hidden;
- text-align: center;
- }
- .viewer-navbar {
- overflow: hidden;
- background-color: #000;
- background-color: rgba(0, 0, 0, .5);
- }
- .viewer-list {
- height: 50px;
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- padding: 1px 0;
- margin: 0;
- overflow: hidden;
- }
- .viewer-list > li {
- float: left;
- width: 30px;
- height: 50px;
- overflow: hidden;
- font-size: 0;
- line-height: 0;
- color: transparent;
- cursor: pointer;
- filter: alpha(opacity=50);
- opacity: .5;
- }
- .viewer-list > li + li {
- margin-left: 1px;
- }
- .viewer-list > .viewer-active {
- filter: alpha(opacity=100);
- opacity: 1;
- }
- .viewer-player {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- display: none;
- cursor: none;
- background-color: #000;
- }
- .viewer-player > img {
- position: absolute;
- top: 0;
- left: 0;
- }
- .viewer-toolbar {
- width: 280px;
- padding: 3px 0;
- margin: 0 auto 5px;
- overflow: hidden;
- }
- .viewer-toolbar > li {
- float: left;
- width: 24px;
- height: 24px;
- overflow: hidden;
- cursor: pointer;
- background-color: #000;
- background-color: rgba(0, 0, 0, .5);
- border-radius: 50%;
- }
- .viewer-toolbar > li:hover {
- background-color: #000;
- background-color: rgba(0, 0, 0, .8);
- }
- .viewer-toolbar > li:before {
- margin: 2px;
- }
- .viewer-toolbar > li + li {
- margin-left: 1px;
- }
- .viewer-toolbar > .viewer-play {
- width: 30px;
- height: 30px;
- margin-top: -3px;
- margin-bottom: -3px;
- }
- .viewer-toolbar > .viewer-play:before {
- margin: 5px;
- }
- .viewer-tooltip {
- position: absolute;
- top: 50%;
- left: 50%;
- display: none;
- width: 50px;
- height: 20px;
- margin-top: -10px;
- margin-left: -25px;
- font-size: 12px;
- line-height: 20px;
- color: #fff;
- text-align: center;
- background-color: #000;
- background-color: rgba(0, 0, 0, .8);
- border-radius: 10px;
- }
- .viewer-title {
- display: inline-block;
- max-width: 90%;
- margin: 0 5% 5px;
- overflow: hidden;
- font-size: 12px;
- line-height: 1;
- color: #ccc;
- text-overflow: ellipsis;
- white-space: nowrap;
- filter: alpha(opacity=80);
- opacity: .8;
- }
- .viewer-title:hover {
- filter: alpha(opacity=100);
- opacity: 1;
- }
- .viewer-button {
- position: absolute;
- top: -40px;
- right: -40px;
- width: 80px;
- height: 80px;
- overflow: hidden;
- cursor: pointer;
- background-color: #000;
- background-color: rgba(0, 0, 0, .5);
- border-radius: 50%;
- }
- .viewer-button:before {
- position: absolute;
- bottom: 15px;
- left: 15px;
- }
- .viewer-fixed {
- position: fixed;
- }
- .viewer-open {
- overflow: hidden;
- }
- .viewer-show {
- display: block;
- }
- .viewer-hide {
- display: none;
- }
- .viewer-invisible {
- visibility: hidden;
- }
- .viewer-toggle {
- cursor: pointer;
- cursor: -webkit-zoom-in;
- cursor: zoom-in;
- }
- .viewer-move {
- cursor: move;
- cursor: -webkit-grab;
- cursor: -moz-grab;
- cursor: grab;
- }
- .viewer-fade {
- filter: alpha(opacity=0);
- opacity: 0;
- }
- .viewer-in {
- filter: alpha(opacity=100);
- opacity: 1;
- }
- .viewer-transition {
- -webkit-transition: all .3s ease-out;
- -o-transition: all .3s ease-out;
- transition: all .3s ease-out;
- }
|