docs.css 8.7 KB

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