123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476 |
- /*!
- * 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
- */
- /*小鸣*/
- .docs-pictures{
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- }
- .docs-galley .docs-pictures>li{
- margin-bottom: 1%;
- }
- /*小鸣*/
- .viewer-close
- {
- display: none;
- }
- .viewer-zoom-ins{
- background:url("../image/icon.png?v=201906140935") -3px -35px;
- background-size: cover;
- }
- .viewer-zoom-outs{
- background: url("../image/icon.png?v=201906140935") -38px -35px;
- background-size: cover;
- }
- .viewer-prevs{
- background: url("../image/icon.png?v=201906140935") -72px -35px;
- background-size: cover;
- }
- .viewer-plays{
- background: url("../image/icon.png?v=201906140935") -98px -35px;
- background-size: cover;
- }
- .viewer-nexts{
- background: url("../image/icon.png?v=201906140935") -129px -35px;
- background-size: cover;
- }
- .viewer-enlarge{
- background: url("../image/icon.png?v=201906140935") -162.5px -35px;
- background-size: cover;
- }
- .viewer-one-to-ones{
- background: url("../image/icon.png?v=201906140935") -273px -35px;
- background-size: cover;
- }
- .viewer-one-to-ones2{
- background: url("../image/icon.png?v=201906140935") -303.5px -35px;
- background-size: cover;
- display: none;
- }
- .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;
- }
- .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;
- height: auto;
- max-height: none !important;
- max-width: none !important;
- min-height: 0 !important;
- min-width: 0 !important;
- width: 100%;
- }
- ::-webkit-scrollbar{
- width: 0;
- }
- .viewer-canvas {
- bottom: 0;
- left: 0;
- overflow: hidden;
- position: absolute;
- right: 0;
- top: 0;
- }
- .viewer-canvas>ul{
- height: auto;
- margin: 0 ;
- padding: 0;
- width: 9999999999px;
- }
- .viewer-canvas li{
- height: auto;
- margin: 0 ;
- padding: 0;
- margin-left:10px;
- /*width: 100%;*/
- float: left;
- }
- .viewer-move{
- position: relative!important;
- }
- /*.viewer-canvas > img {*/
- /*height: auto;*/
- /*margin: 0 ;*/
- /*width: auto;*/
- /*padding: 0;*/
- /*}*/
- .viewer-canvas img {
- height: auto;
- margin: 0 ;
- width: auto;
- padding: 0;
- float: left;
- }
- .viewer-footer {
- bottom: 0;
- left: 0;
- overflow: hidden;
- position: absolute;
- right: 0;
- text-align: right;
- }
- .viewer-navbar {
- background-color: rgba(0, 0, 0, .5);
- overflow: hidden;
- }
- .viewer-list {
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- height: 50px;
- margin: 0;
- overflow: hidden;
- padding: 1px 0;
- }
- .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;
- }
- .viewer-list > li:hover {
- opacity: .75;
- }
- .viewer-list > li + li {
- margin-left: 1px;
- }
- .viewer-list > .viewer-loading {
- position: relative;
- }
- .viewer-list > .viewer-loading::after {
- border-width: 2px;
- height: 20px;
- margin-left: -10px;
- margin-top: -10px;
- width: 20px;
- }
- .viewer-list > .viewer-active,
- .viewer-list > .viewer-active:hover {
- opacity: 1;
- }
- .viewer-player {
- background-color: #000;
- bottom: 0;
- cursor: none;
- display: none;
- left: 0;
- position: absolute;
- right: 0;
- top: 0;
- }
- .viewer-player > img {
- left: 0;
- position: absolute;
- top: 0;
- }
- .viewer-toolbar ul {
- display: inline-block;
- overflow: hidden;
- }
- #d1 ul li{
- display: block;
- }
- .viewer-toolbar li {
- background-color: rgba(0, 0, 0, .5);
- border-radius: 50%;
- cursor: pointer;
- float: left;
- overflow: hidden;
- -webkit-transition: background-color .15s;
- transition: background-color .15s;
- width: 35px;
- height: 35px;
- }
- .viewer-toolbar li:hover {
- background-color: rgba(0, 0, 0, .8);
- }
- .viewer-toolbar li::before {
- margin: 2px;
- }
- .viewer-toolbar li + li {
- margin-left: 1px;
- }
- .viewer-toolbar .viewer-small {
- height: 18px;
- margin-bottom: 3px;
- margin-top: 3px;
- width: 18px;
- }
- .viewer-toolbar .viewer-small::before {
- margin: -1px;
- }
- .viewer-toolbar .viewer-large {
- height: 30px;
- margin-bottom: -3px;
- margin-top: -3px;
- width: 30px;
- }
- .viewer-toolbar .viewer-large::before {
- margin: 5px;
- }
- .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;
- }
- .viewer-title {
- /*color: #ccc;*/
- color: #fff;
- display: inline-block;
- font-size: 15px;
- /*line-height: 1;*/
- margin: 0 5px 5px;
- /*margin: 3px 5px;*/
- max-width: 90%;
- opacity: .8;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-transition: opacity .15s;
- transition: opacity .15s;
- white-space: nowrap;
- line-height: 30px;
- float: left;
- }
- .viewer-title:hover {
- opacity: 1;
- }
- .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;
- }
- .viewer-button:focus,
- .viewer-button:hover {
- background-color: rgba(0, 0, 0, .8);
- }
- .viewer-button::before {
- bottom: 15px;
- left: 15px;
- position: absolute;
- }
- .viewer-fixed {
- position: fixed;
- }
- .viewer-open {
- overflow: hidden;
- }
- .viewer-show {
- display: block;
- }
- .viewer-hide {
- display: none;
- }
- .viewer-backdrop {
- /*background-color: rgba(0, 0, 0, .5);*/
- background-color: rgba(0, 0, 0, 1);
- }
- .viewer-invisible {
- visibility: hidden;
- }
- .viewer-move {
- cursor: move;
- cursor: -webkit-grab;
- cursor: grab;
- }
- .viewer-fade {
- opacity: 0;
- }
- .viewer-in {
- opacity: 1;
- /*opacity: 0.7;*/
- }
- .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);
- }
- }
- .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;
- }
- }
- @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
- .viewer-footer {
- height: 75px;
- }
- .viewer-toolbar li {
- transform: scale(1.2);
- margin: 10px 0;
- }
- .viewer-toolbar li + li {
- margin-left: 8px;
- }
- .viewer-title{
- font-size: 20px;
- margin: 10px 0 10px 10px;
- }
- }
|