123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- /* Docs sample */
- html,body{
- width: 100%;
- height: 100%;
- overflow: hidden;
- margin: 0;
- padding: 0;
- }
- body{
- background: url('../pics/bg.jpg') ;
- background-repeat: no-repeat;
- background-size: 120% 120%;
- margin:0;
- padding:0;
- overflow: hidden;
- }
- #canvas{
- width: 960px;
- height: 600px;
- margin: 100px auto;
- }
- .logo {
- width: 10vw;
- height: 3vw;
- background: url('../pics/logo.png') center center no-repeat;
- background-size: 100% auto;
- position: fixed;
- right:2vw;
- top:2vw;
- }
- #book-zoom{
- -webkit-transition: -webkit-transform 1s;
- -moz-transition: -moz-transform 1s;
- -ms-transition: -ms-transform 1s;
- -o-transition: -o-transform 1s;
- transition: transform 1s;
- }
- .animated{
- -webkit-transition:margin-left 0.2s ease-in-out;
- -moz-transition:margin-left 0.2s ease-in-out;
- -o-transition:margin-left 0.2s ease-in-out;
- -ms-transition:margin-left 0.2s ease-in-out;
- transition:margin-left 0.2s ease-in-out;
- }
- .sample-docs{
- margin-top:20px;
- width:942px;
- /* height:600px; */
- height:35vw;
- }
- .sample-docs .page{
- width:471px;
- height:600px;
- background:white;
- -webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
- -moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
- -ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
- -o-box-shadow:0 0 20px rgba(0,0,0,0.2);
- box-shadow:0 0 20px rgba(0,0,0,0.2);
- }
- /* .sample-docs .hard{
- background-image:url(../pics/covers.jpg);
- } */
- .sample-docs .p2{
- background-position:-471px 0;
- }
- .sample-docs .p28{
- background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
- background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
- background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
- background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
- background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
- background-image:linear-gradient(left, #fff 95%, #dadada 100%);
- }
- /* .sample-docs .p189{
- background-position:-942px 0;
- }
- .sample-docs .p190{
- background-position:-1413px 0;
- } */
- .sample-docs .even .gradient{
- position:absolute;
- top:0;
- left:2px;
- width:100%;
- height:100%;
- background-image:url(../pics/right-border.png);
- background-position:right top;
- background-repeat: repeat-y;
- /* background-repeat: no-repeat; */
- background-size: auto 100%;
- }
- .sample-docs .odd .gradient{
- position:absolute;
- top:0;
- left:-4px;
- width:100%;
- height:100%;
- background-image:url(../pics/left-border.png);
- background-position:left top;
- background-repeat: repeat-y;
- /* background-repeat: no-repeat; */
- background-size: auto 100%;
- }
- .sample-docs .page-wrapper{
- -webkit-perspective:2000px;
- -moz-perspective: 2000px;
- -ms-perspective: 2000px;
- perspective: 2000px;
- }
- .sample-docs .loader{
- background-image:url(../pics/loader.gif);
- width:22px;
- height:22px;
- position:absolute;
- top:280px;
- left:219px;
- }
- .sample-docs .shadow{
- -webkit-transition: -webkit-box-shadow 0.5s;
- -moz-transition: -moz-box-shadow 0.5s;
- -o-transition: -webkit-box-shadow 0.5s;
- -ms-transition: -ms-box-shadow 0.5s;
- -webkit-box-shadow:0 0 20px #ccc;
- -moz-box-shadow:0 0 20px #ccc;
- -o-box-shadow:0 0 20px #ccc;
- -ms-box-shadow:0 0 20px #ccc;
- box-shadow:0 0 20px #ccc;
- }
- .sample-docs .tabs{
- width:942px;
- height:22px;
- top:-22px;
- position:relative;
- z-index:1;
- }
- .sample-docs .tabs > div{
- width:461px;
- height:22px;
- float:left;
- }
- .sample-docs .tabs .left{
- text-align:left;
- margin-left:10px;
- }
- .sample-docs .tabs .right{
- text-align:right;
- margin-right:10px;
- }
- .sample-docs .tabs a{
- color:black;
- -webkit-border-image: url(../pics/tab-off.png) 5 20 5 20 repeat stretch;
- border-width: 5px 20px 5px 20px;
- display:inline-block;
- font:bold 11px arial;
- text-shadow:1px 1px 0 #ddd;
- color:#333;
- line-height:12px;
- text-decoration:none;
- }
- .sample-docs .tabs .on,
- .sample-docs .tabs .on:hover{
- -webkit-border-image: url(../pics/tab-on.png) 5 20 5 20 repeat stretch;
- cursor:default;
- }
- .sample-docs .tabs a:hover{
- color:black;
- text-decoration: none;
- cursor:pointer;
- -webkit-border-image: url(../pics/tab-hover.png) 5 20 5 20 repeat stretch;
- }
- /* 修改进度条样式 */
- .progress-bar {
- position: relative;
- }
- .progress-bar .left-des {
- position:absolute;top:0;left:0
- }
- .progress-bar .right-des {
- position: absolute;top:0;right:0
- }
- .progress-bar .left-des .pcTxt {
- font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;color: #DFB057;line-height: 30px;display:inline-block;
- }
- .progress-bar .right-des .pcTxt {
- font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;color: #DFB057;line-height: 30px;display:inline-block;
- }
- .progress-bar .right-des .pcTxt .txt {
- color:#FFFFFF;
- }
- .turnjs-slider {
- width: 960px;
- padding:50px 0;
- background:rgba(0,0,0, 0);
- }
- .turnjs-slider .ui-slider-horizontal {
- width: 960px;
- background: #DFB057;
- border-radius:5px;
- /* 单独处理进度条 和 圆 层级问题 */
- z-index: 0;
- }
- .turnjs-slider .ui-slider-horizontal {
- margin:0;
- }
- .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
- margin-top: -9px;
- margin-left: -11px;
- }
- .turnjs-slider .ui-slider-handle {
- width: 15px;
- height: 15px;
- opacity: 1;
- border-radius: 50%;
- background: #A00D11;
- border: 6px solid #DFB057;
- z-index:9999;
- }
- /*******************************************************************************手机端***************************************************************************************************/
- @media screen and (max-width: 1024px) {
- body{
- background: url('../pics/mobile-bg.png');
- background-size: 100% 100%;
- margin:0;
- padding:0;
- overflow:hidden;
- width: 100%;
- height: 100%;
- }
- .logo {
- width: 35vw;
- height: 10vw;
- background: url('../pics/mobile-logo.png') center center no-repeat;
- background-size: 100% auto;
- position: fixed;
- left:50%;
- transform: translateX(-50%);
- top: 20px;
- }
- #canvas{
- width: 100%;
- height: 100%;
- margin: 0 auto 0;
-
- }
- #wrapper {
- width: 100%;
- height: 100%;
- margin: 80px auto 0;
- overflow-y: auto;
- }
- #book-zoom{
- width: 100%;
- height: 100%;
- }
- .sample-docs{
- width: 82%!important;
- text-align: center;
- height: 100%;
- /* height:400px; */
- margin: 0 auto!important;
- }
- .sample-docs .page-wrapper {
- height:100%;
- }
- .sample-docs .page-wrapper .page {
- height:100%;
- }
- .sample-docs .page-wrapper .page img {
- height: 100%;
- }
- .sample-docs .hard{
- background: none;
- /* background:url(../pics/bg.jpg) center center no-repeat; */
- /* background-size: 100% 100%; */
- }
-
- .progress-bar {
- position: fixed;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 80%;
- }
- .progress-bar .left-des {
- position:absolute;
- top:-20px;
- }
- .progress-bar .right-des {
- position: absolute;
- top:-20px;
- right:0;
- }
- .progress-bar .left-des .pcTxt {
- font-size: 12px;
- font-family: Microsoft YaHei UI;
- font-weight: 400;
- line-height: 40px;
- color: #DBA761;
- opacity: 1;
- /* transform: scale(0.9); */
- }
- .progress-bar .right-des .pcTxt {
- font-size: 12px;
- font-family: Microsoft YaHei UI;
- font-weight: 400;
- line-height: 40px;
- color: #DBA761;
- opacity: 1;
- transform: scale(0.9);
- }
- /* 修改进度条样式 */
- .turnjs-slider {
- /* width: 72vw; */
- width: 100%;
- padding:25px 0;
- background:rgba(0,0,0, 0);
- }
- .turnjs-slider .ui-slider-horizontal {
- /* width: 72vw; */
- width: 100%;
- margin:0;
- background: #DFB057;
- height: 2vw;
- border-radius:15px;
- }
- .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
- margin-left: -10px;
- }
- .turnjs-slider .ui-slider-handle {
- width: 4vw;
- height: 4vw;
- opacity: 1;
- border-radius: 50%;
- background: #A00D11;
- border: 6px solid #DFB057;
- z-index:9999;
- }
- }
- @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
- #canvas{
- margin: 200px auto;
- overflow-y: auto;
- }
- .sample-docs {
- width: 60%!important;
- }
- .progress-bar {
- margin:40px auto!important;
- }
- .progress-bar .left-des .pcTxt ,.progress-bar .right-des .pcTxt {
- font-size: 20px;
- }
- .turnjs-slider {
- padding:70px 0;
- }
- .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
- margin-top:-14px;
- }
- }
- @media all and (device-width: 1024px) and (device-height: 1366px) and (orientation:portrait) {
- #canvas{
- margin: 250px auto;
- overflow-y: auto;
- }
- .sample-docs {
- width: 60%!important;
- }
- .progress-bar {
- margin:50px auto!important;
- }
- .progress-bar .left-des .pcTxt ,.progress-bar .right-des .pcTxt {
- font-size: 30px;
- }
- .turnjs-slider {
- padding:80px 0;
- }
- .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
- margin-top:-14px;
- }
- }
- /*
- @media all and (device-width: 320px) and (device-height: 568px) and (orientation:portrait) {
- #canvas{
- margin: 80px auto;
- }
- .sample-docs {
- height: 300px;
- }
- .progress-bar {
- margin:20px auto!important;
- }
- .progress-bar .left-des .pcTxt ,.progress-bar .right-des .pcTxt {
- font-size: 12px;
- }
- .turnjs-slider {
- padding:50px 0;
- }
- .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
- margin-top:-10px;
- }
- } */
|