docs.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. /* Docs sample */
  2. html,body{
  3. width: 100%;
  4. height: 100%;
  5. overflow: hidden;
  6. margin: 0;
  7. padding: 0;
  8. }
  9. body{
  10. background: url('../pics/bg.jpg') ;
  11. background-repeat: no-repeat;
  12. background-size: 120% 120%;
  13. margin:0;
  14. padding:0;
  15. overflow: hidden;
  16. }
  17. #canvas{
  18. width: 960px;
  19. height: 600px;
  20. margin: 100px auto;
  21. }
  22. .logo {
  23. width: 10vw;
  24. height: 3vw;
  25. background: url('../pics/logo.png') center center no-repeat;
  26. background-size: 100% auto;
  27. position: fixed;
  28. right:2vw;
  29. top:2vw;
  30. }
  31. #book-zoom{
  32. -webkit-transition: -webkit-transform 1s;
  33. -moz-transition: -moz-transform 1s;
  34. -ms-transition: -ms-transform 1s;
  35. -o-transition: -o-transform 1s;
  36. transition: transform 1s;
  37. }
  38. .animated{
  39. -webkit-transition:margin-left 0.2s ease-in-out;
  40. -moz-transition:margin-left 0.2s ease-in-out;
  41. -o-transition:margin-left 0.2s ease-in-out;
  42. -ms-transition:margin-left 0.2s ease-in-out;
  43. transition:margin-left 0.2s ease-in-out;
  44. }
  45. .sample-docs{
  46. margin-top:20px;
  47. width:942px;
  48. /* height:600px; */
  49. height:35vw;
  50. }
  51. .sample-docs .page{
  52. width:471px;
  53. height:600px;
  54. background:white;
  55. -webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
  56. -moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
  57. -ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
  58. -o-box-shadow:0 0 20px rgba(0,0,0,0.2);
  59. box-shadow:0 0 20px rgba(0,0,0,0.2);
  60. }
  61. /* .sample-docs .hard{
  62. background-image:url(../pics/covers.jpg);
  63. } */
  64. .sample-docs .p2{
  65. background-position:-471px 0;
  66. }
  67. .sample-docs .p28{
  68. background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
  69. background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
  70. background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
  71. background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
  72. background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
  73. background-image:linear-gradient(left, #fff 95%, #dadada 100%);
  74. }
  75. /* .sample-docs .p189{
  76. background-position:-942px 0;
  77. }
  78. .sample-docs .p190{
  79. background-position:-1413px 0;
  80. } */
  81. .sample-docs .even .gradient{
  82. position:absolute;
  83. top:0;
  84. left:2px;
  85. width:100%;
  86. height:100%;
  87. background-image:url(../pics/right-border.png);
  88. background-position:right top;
  89. background-repeat: repeat-y;
  90. /* background-repeat: no-repeat; */
  91. background-size: auto 100%;
  92. }
  93. .sample-docs .odd .gradient{
  94. position:absolute;
  95. top:0;
  96. left:-4px;
  97. width:100%;
  98. height:100%;
  99. background-image:url(../pics/left-border.png);
  100. background-position:left top;
  101. background-repeat: repeat-y;
  102. /* background-repeat: no-repeat; */
  103. background-size: auto 100%;
  104. }
  105. .sample-docs .page-wrapper{
  106. -webkit-perspective:2000px;
  107. -moz-perspective: 2000px;
  108. -ms-perspective: 2000px;
  109. perspective: 2000px;
  110. }
  111. .sample-docs .loader{
  112. background-image:url(../pics/loader.gif);
  113. width:22px;
  114. height:22px;
  115. position:absolute;
  116. top:280px;
  117. left:219px;
  118. }
  119. .sample-docs .shadow{
  120. -webkit-transition: -webkit-box-shadow 0.5s;
  121. -moz-transition: -moz-box-shadow 0.5s;
  122. -o-transition: -webkit-box-shadow 0.5s;
  123. -ms-transition: -ms-box-shadow 0.5s;
  124. -webkit-box-shadow:0 0 20px #ccc;
  125. -moz-box-shadow:0 0 20px #ccc;
  126. -o-box-shadow:0 0 20px #ccc;
  127. -ms-box-shadow:0 0 20px #ccc;
  128. box-shadow:0 0 20px #ccc;
  129. }
  130. .sample-docs .tabs{
  131. width:942px;
  132. height:22px;
  133. top:-22px;
  134. position:relative;
  135. z-index:1;
  136. }
  137. .sample-docs .tabs > div{
  138. width:461px;
  139. height:22px;
  140. float:left;
  141. }
  142. .sample-docs .tabs .left{
  143. text-align:left;
  144. margin-left:10px;
  145. }
  146. .sample-docs .tabs .right{
  147. text-align:right;
  148. margin-right:10px;
  149. }
  150. .sample-docs .tabs a{
  151. color:black;
  152. -webkit-border-image: url(../pics/tab-off.png) 5 20 5 20 repeat stretch;
  153. border-width: 5px 20px 5px 20px;
  154. display:inline-block;
  155. font:bold 11px arial;
  156. text-shadow:1px 1px 0 #ddd;
  157. color:#333;
  158. line-height:12px;
  159. text-decoration:none;
  160. }
  161. .sample-docs .tabs .on,
  162. .sample-docs .tabs .on:hover{
  163. -webkit-border-image: url(../pics/tab-on.png) 5 20 5 20 repeat stretch;
  164. cursor:default;
  165. }
  166. .sample-docs .tabs a:hover{
  167. color:black;
  168. text-decoration: none;
  169. cursor:pointer;
  170. -webkit-border-image: url(../pics/tab-hover.png) 5 20 5 20 repeat stretch;
  171. }
  172. /* 修改进度条样式 */
  173. .progress-bar {
  174. position: relative;
  175. }
  176. .progress-bar .left-des {
  177. position:absolute;top:0;left:0
  178. }
  179. .progress-bar .right-des {
  180. position: absolute;top:0;right:0
  181. }
  182. .progress-bar .left-des .pcTxt {
  183. font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;color: #DFB057;line-height: 30px;display:inline-block;
  184. }
  185. .progress-bar .right-des .pcTxt {
  186. font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;color: #DFB057;line-height: 30px;display:inline-block;
  187. }
  188. .progress-bar .right-des .pcTxt .txt {
  189. color:#FFFFFF;
  190. }
  191. .turnjs-slider {
  192. width: 960px;
  193. padding:50px 0;
  194. background:rgba(0,0,0, 0);
  195. }
  196. .turnjs-slider .ui-slider-horizontal {
  197. width: 960px;
  198. background: #DFB057;
  199. border-radius:5px;
  200. /* 单独处理进度条 和 圆 层级问题 */
  201. z-index: 0;
  202. }
  203. .turnjs-slider .ui-slider-horizontal {
  204. margin:0;
  205. }
  206. .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
  207. margin-top: -9px;
  208. margin-left: -11px;
  209. }
  210. .turnjs-slider .ui-slider-handle {
  211. width: 15px;
  212. height: 15px;
  213. opacity: 1;
  214. border-radius: 50%;
  215. background: #A00D11;
  216. border: 6px solid #DFB057;
  217. z-index:9999;
  218. }
  219. /*******************************************************************************手机端***************************************************************************************************/
  220. @media screen and (max-width: 1024px) {
  221. body{
  222. background: url('../pics/mobile-bg.png');
  223. background-size: 100% 100%;
  224. margin:0;
  225. padding:0;
  226. overflow:hidden;
  227. width: 100%;
  228. height: 100%;
  229. }
  230. .logo {
  231. width: 35vw;
  232. height: 10vw;
  233. background: url('../pics/mobile-logo.png') center center no-repeat;
  234. background-size: 100% auto;
  235. position: fixed;
  236. left:50%;
  237. transform: translateX(-50%);
  238. top: 20px;
  239. }
  240. #canvas{
  241. width: 100%;
  242. height: 100%;
  243. margin: 0 auto 0;
  244. }
  245. #wrapper {
  246. width: 100%;
  247. height: 100%;
  248. margin: 80px auto 0;
  249. overflow-y: auto;
  250. }
  251. #book-zoom{
  252. width: 100%;
  253. height: 100%;
  254. }
  255. .sample-docs{
  256. width: 82%!important;
  257. text-align: center;
  258. height: 100%;
  259. /* height:400px; */
  260. margin: 0 auto!important;
  261. }
  262. .sample-docs .page-wrapper {
  263. height:100%;
  264. }
  265. .sample-docs .page-wrapper .page {
  266. height:100%;
  267. }
  268. .sample-docs .page-wrapper .page img {
  269. height: 100%;
  270. }
  271. .sample-docs .hard{
  272. background: none;
  273. /* background:url(../pics/bg.jpg) center center no-repeat; */
  274. /* background-size: 100% 100%; */
  275. }
  276. .progress-bar {
  277. position: fixed;
  278. bottom: 0;
  279. left: 50%;
  280. transform: translateX(-50%);
  281. width: 80%;
  282. }
  283. .progress-bar .left-des {
  284. position:absolute;
  285. top:-20px;
  286. }
  287. .progress-bar .right-des {
  288. position: absolute;
  289. top:-20px;
  290. right:0;
  291. }
  292. .progress-bar .left-des .pcTxt {
  293. font-size: 12px;
  294. font-family: Microsoft YaHei UI;
  295. font-weight: 400;
  296. line-height: 40px;
  297. color: #DBA761;
  298. opacity: 1;
  299. /* transform: scale(0.9); */
  300. }
  301. .progress-bar .right-des .pcTxt {
  302. font-size: 12px;
  303. font-family: Microsoft YaHei UI;
  304. font-weight: 400;
  305. line-height: 40px;
  306. color: #DBA761;
  307. opacity: 1;
  308. transform: scale(0.9);
  309. }
  310. /* 修改进度条样式 */
  311. .turnjs-slider {
  312. /* width: 72vw; */
  313. width: 100%;
  314. padding:25px 0;
  315. background:rgba(0,0,0, 0);
  316. }
  317. .turnjs-slider .ui-slider-horizontal {
  318. /* width: 72vw; */
  319. width: 100%;
  320. margin:0;
  321. background: #DFB057;
  322. height: 2vw;
  323. border-radius:15px;
  324. }
  325. .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
  326. margin-left: -10px;
  327. }
  328. .turnjs-slider .ui-slider-handle {
  329. width: 4vw;
  330. height: 4vw;
  331. opacity: 1;
  332. border-radius: 50%;
  333. background: #A00D11;
  334. border: 6px solid #DFB057;
  335. z-index:9999;
  336. }
  337. }
  338. @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  339. #canvas{
  340. margin: 200px auto;
  341. overflow-y: auto;
  342. }
  343. .sample-docs {
  344. width: 60%!important;
  345. }
  346. .progress-bar {
  347. margin:40px auto!important;
  348. }
  349. .progress-bar .left-des .pcTxt ,.progress-bar .right-des .pcTxt {
  350. font-size: 20px;
  351. }
  352. .turnjs-slider {
  353. padding:70px 0;
  354. }
  355. .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
  356. margin-top:-14px;
  357. }
  358. }
  359. @media all and (device-width: 1024px) and (device-height: 1366px) and (orientation:portrait) {
  360. #canvas{
  361. margin: 250px auto;
  362. overflow-y: auto;
  363. }
  364. .sample-docs {
  365. width: 60%!important;
  366. }
  367. .progress-bar {
  368. margin:50px auto!important;
  369. }
  370. .progress-bar .left-des .pcTxt ,.progress-bar .right-des .pcTxt {
  371. font-size: 30px;
  372. }
  373. .turnjs-slider {
  374. padding:80px 0;
  375. }
  376. .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
  377. margin-top:-14px;
  378. }
  379. }
  380. /*
  381. @media all and (device-width: 320px) and (device-height: 568px) and (orientation:portrait) {
  382. #canvas{
  383. margin: 80px auto;
  384. }
  385. .sample-docs {
  386. height: 300px;
  387. }
  388. .progress-bar {
  389. margin:20px auto!important;
  390. }
  391. .progress-bar .left-des .pcTxt ,.progress-bar .right-des .pcTxt {
  392. font-size: 12px;
  393. }
  394. .turnjs-slider {
  395. padding:50px 0;
  396. }
  397. .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
  398. margin-top:-10px;
  399. }
  400. } */