UNPKG

17.8 kBCSSView Raw
1.book .book-summary{
2 position:static;
3 float:left;
4 width:0px;
5 border-right: 0px;
6 padding-top: 30px;
7 overflow: auto;
8 background: #fff;
9 -webkit-transition: width 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
10 -moz-transition: width 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
11 -o-transition: width 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
12 transition: width 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
13
14}
15/*.book .book-summary:after{
16 display: block;
17 content: " ";
18 height: 0;
19 clear: both;
20 overflow: hidden;
21 visibility: hidden;
22}*/
23
24
25.book .book-summary.fix{
26 position:fixed;
27}
28.book.with-summary .book-summary, .book.with-summary .book-summary.fix{
29 width:240px;
30 /*border-right: 1px solid #e3e3e3;*/
31 overflow: hidden;
32
33}
34
35.book .book-summary ul.summary{
36 /*临时调*/
37 /*position:relative;*/
38 position:absolute;
39}
40
41.container-div{
42 position: relative;
43 overflow: hidden;
44}
45
46.book .book-summary ul.summary li.active>a{
47 color:#2db7f5;
48}
49
50
51.book .book-body .page-wrapper .page-inner{
52 max-width: 1000px;
53 margin: 0px 50px;
54 padding-bottom: 50px;
55}
56
57.book .book-body .navigation{
58 height: 50px;
59 top: auto;
60}
61
62.example-head{
63 font-weight: bold;
64 font-size: 1.2em;
65 height: 40px;
66}
67
68html{
69 height:100% !important;
70}
71
72.book .book-body, .book .book-body .body-inner{
73 overflow-y: visible;
74 position:relative;
75}
76.book .book-body{
77 position:static;
78}
79.book.with-summary .book-body .body-inner{
80 border-left:1px solid #e3e3e3;
81}
82
83.book .book-body .page-wrapper .page-inner section.normal{
84 font-size: 14px;
85}
86.book{
87 height: auto;
88}
89
90.book .book-body .page-wrapper .page-inner section.normal pre{
91 border: 1px solid #ddd;
92}
93
94.example-content{
95 position: relative;
96 padding: 10px;
97 background: #fff;
98 border: 1px solid #ddd;
99 border-bottom: 0px;
100}
101
102.example-content.ex-hide{
103 display: none;
104}
105
106.example-content:after{
107 display:block;
108 content:" ";
109 height:0;
110 clear:both;
111 overflow:hidden;
112 visibility:hidden;
113}
114
115/*wd*/
116@media (min-width:600px){
117 .book.with-summary .book-body{
118 padding-left: 240px;
119 }
120}
121
122/*调整*/
123.book.with-summary .book-body{
124 /*position: relative;*/
125 position:static;
126 padding-left:240px;
127}
128/*.book .book-summary .book-search{
129 display: none;
130}*/
131.book .book-summary .book-search,.book.with-search .book-summary .book-search{
132 z-index:99;
133 width:240px;
134}
135
136.book.with-search .book-summary .book-search{
137 top:-50px;
138}
139.book.with-summary.with-search .book-summary .book-search{
140 top:0px;
141 border-bottom:1px solid #eee;
142}
143
144
145body{
146 display: none;
147}
148
149.banner {
150 width: 100%;
151 overflow: hidden;
152 background-color: #0088cc;
153}
154.head-area.normal {
155 background-color: #fff;
156}
157.banner-content {
158 margin: 0 auto;
159 padding: 30px 0px 10px 0px;
160 color: #fff;
161}
162.banner-content h1 {
163 font-size: 30px;
164}
165
166.book .book-summary ul.summary li a, .book .book-summary ul.summary li span{
167 /*padding-left:0px;*/
168 font-size: 14px;
169 opaicty:1;
170 filter:alpha(opacity=100);
171}
172
173.book .book-body{
174 padding-left:0px;
175 -webkit-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
176 -moz-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
177 -o-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
178 transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
179}
180
181.book .book-body .page-wrapper .page-inner section.normal h1{
182 font-size: 24px;
183 font-family: 微软雅黑,Helvetica Neue,Helvetica,STHeiTi,sans-serif;
184 font-weight: normal;
185}
186
187.book .book-body .page-wrapper .page-inner section.normal h2{
188 font-size: 20px;
189 font-family: 微软雅黑,Helvetica Neue,Helvetica,STHeiTi,sans-serif;
190 font-weight: normal;
191}
192
193.book .book-body .page-wrapper .page-inner section.normal h3{
194 font-size: 18px;
195 font-family: 微软雅黑,Helvetica Neue,Helvetica,STHeiTi,sans-serif;
196 font-weight: normal;
197}
198
199.book .book-body .page-wrapper .page-inner section.normal p{
200 font-size:14px;
201}
202
203#anchors-navbar{
204 top: 240px;
205}
206
207.book .book-body .page-wrapper .page-inner section.normal .u-pagination > .active > a {
208 z-index: 2;
209 color: #fff;
210 cursor: default;
211 background-color: rgb(27,174,222);
212 border-color: rgb(27,174,222);
213}
214
215 .book .book-body .page-wrapper .page-inner section.normal .u-menu{
216 padding: 8px 0;
217 margin: 0px;
218}
219
220.book .book-body .page-wrapper .page-inner section.normal .u-pagination > .active > a, .book .book-body .page-wrapper .page-inner section.normal .u-pagination > .active > span, .book .book-body .page-wrapper .page-inner section.normal .u-pagination > .active > a:hover,.book .book-body .page-wrapper .page-inner section.normal .u-pagination > .active > span:hover,.book .book-body .page-wrapper .page-inner section.normal .u- pagination > .active > a:focus,.book .book-body .page-wrapper .page-inner section.normal .u-pagination > .active > span:focus {
221 z-index: 2;
222 color: #fff;
223 cursor: default;
224 background-color: rgb(27,174,222);
225 border-color: rgb(27,174,222);
226}
227
228.book .book-body .page-wrapper .page-inner section.normal table td, .book .book-body .page-wrapper .page-inner section.normal table th{
229 border:none;
230}
231.book .book-body .page-wrapper .page-inner section.normal table tr{
232 border-top: 1px solid rgb(224,224,224);
233}
234.book .book-body .page-wrapper .page-inner section.normal table thead tr{
235 border:none;
236}
237table.u-table-base.u-table-striped thead tr{
238 border:none;
239}
240.book .book-body .page-wrapper .page-inner section.normal table th{
241 text-align: left;
242 font-weight: 500;
243}
244.book .book-body .page-wrapper .page-inner section.normal table tbody tr:nth-child(2n+1){
245 background-color: rgba(238,238,238,.3);
246}
247.book .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n){
248 background: none;
249}
250.u-table tbody tr.is-selected {
251 background-color: #C4EAF6!important;
252}
253.book .book-body .page-wrapper .page-inner section.normal .u-table tbody tr:nth-child(2n+1){
254 background: none;
255}
256.book .book-body .page-wrapper .page-inner section.normal .u-table tr{
257 background-color: #eee;
258}
259.book .book-body .page-wrapper .page-inner section.normal .u-table-base tbody tr:nth-child(2n+1){
260 background: none;
261}
262
263
264.book .book-body .page-wrapper .page-inner section.normal .u-table tbody tr:hover{
265 background-color: #E9F7FC;
266}
267
268// img
269
270.book .book-body .page-wrapper .page-inner section.normal img.img-bordered-primary {
271 border: 1px solid rgb(63,81,181);
272}
273
274.book .book-body .page-wrapper .page-inner section.normal img.img-bordered-orange {
275 border: 1px solid rgb(255,152,0);
276}
277
278.book .book-body .page-wrapper .page-inner section.normal img.img-bordered-green {
279 border: 1px solid rgb(76,175,80);
280}
281
282.u-message .u-msg-close{
283 top: 12px !important;
284 right: 15px !important;
285}
286.u-breadcrumb{
287 padding: 8px 10px !important;
288 margin-bottom: 10px !important;
289 list-style: none;
290 background-color: transparent;
291 border-radius: 3px;
292}
293
294
295
296.book .book-body .navigation.navigation-prev,.book .book-body .navigation.navigation-next{
297 display: none;
298}
299
300/*返回顶部*/
301#goTop,#anchors-navbar{
302 position: fixed;
303 border: 1px solid #2db7f5;
304 z-index: 99;
305 cursor: pointer;
306 padding: 5px 10px;
307 box-shadow: none;
308 color:#2db7f5;
309 background-color: transparent;
310 right:20px;
311}
312#goTop{
313 bottom:15px;
314}
315/*锚点*/
316#anchors-navbar{
317 top: 257px;
318}
319#anchors-navbar:hover{
320 background: #fff;
321}
322
323/*代码高亮背景*/
324body .book .book-body .page-wrapper .page-inner section.normal pre .hljs, body .book .book-body .page-wrapper .page-inner section.normal code .hljs{
325 background: transparent;
326}
327
328/*list style*/
329.book .book-body .page-wrapper .page-inner section.normal>ul>li{
330 list-style-type: disc;
331}
332
333.book .book-body .page-wrapper .page-inner section.normal>ul>li>ul>li{
334 list-style-type: circle;
335}
336
337/*left mobile show*/
338.book .book-header h1{
339 display: none;
340}
341.book .book-header .btn{
342 border:0px;
343}
344.book .book-header .pull-right{
345 display: none;
346}
347
348/*left secondary menu*/
349.book .book-summary ul.summary li span{
350 cursor: pointer;
351 /*padding-left:30px;*/
352 opacity: 1;
353 filter:alpha(opacity=100);
354}
355.book .book-summary ul.summary li span:hover{
356 color:#008cff;
357}
358.book .book-summary ul.summary li span b {
359 display: none;
360 position:absolute;
361 left:0;
362}
363.book .book-summary ul.summary li span i{
364 left:0px;
365 top:10px;
366 width:100%;
367}
368
369.book .book-summary ul.summary > li.chapter > a,
370.book .book-summary ul.summary > li.chapter > span{
371 font-size:14px;
372}
373
374.book .book-summary ul.summary ul.articles li{
375 font-size:14px;
376 border-left:1px solid #ddd;
377 margin-left:10px;
378}
379
380
381.book .book-summary .exc-trigger{
382 left:0px;
383 top:8px;
384}
385.book .book-body .page-wrapper .page-inner section.normal .u-menu li a{
386 color: #333;
387}
388.book .book-body .page-wrapper .page-inner section.normal .u-menu li:hover > a{
389 color: #fff;
390 text-decoration: none;
391}
392.book .book-body .page-wrapper .page-inner section.normal .u-table-hover tbody tr:hover{
393 background: #eee;
394}
395.book .book-body .page-wrapper .page-inner section.normal .u-table-striped tbody tr:nth-child(2n+1){
396 background: rgba(238,238,238,.3);
397}
398/*.book .book-body .page-wrapper .page-inner section.normal table thead th :last-child{
399 text-align: right;
400}
401.book .book-body .page-wrapper .page-inner section.normal table tbody td:last-child{
402 text-align: right;
403}*/
404h3.u-panel-title{
405 margin:0!important;
406}
407.u-panel .u-panel-body>h4{
408 margin-top:0!important;
409 margin-bottom: 10px!important;
410}
411.tooltip-primary.top .tooltip-arrow {
412 border-top-color: rgb(63,81,181) !important;
413}
414.tooltip-info.top .tooltip-arrow {
415 border-top-color: rgb(0,188,212) !important;
416}
417.tooltip-warning.top .tooltip-arrow {
418 border-top-color: rgb(255,152,0) !important;
419}
420.tooltip-success.top .tooltip-arrow {
421 border-top-color: rgb(76,175,80) !important;
422}
423.tooltip-danger.top .tooltip-arrow {
424 border-top-color: rgb(244,67,54) !important;
425}
426.tooltip.top .tooltip-arrow{
427 bottom: 1px!important;
428}
429.tooltip.bottom .tooltip-arrow{
430 top: 1px !important
431}
432.tooltip.right .tooltip-arrow{
433 left: 1px !important;
434}
435.tooltip.right .tooltip-arrow{
436 border-right-color: #3f51b5 !important;
437}
438.tooltip.left .tooltip-arrow{
439 border-left-color: #3f51b5 !important;
440}
441.tooltip.top .tooltip-arrow{
442 border-top-color: #3f51b5 !important;
443}
444.tooltip.bottom .tooltip-arrow{
445 border-bottom-color: #3f51b5 !important;
446}
447
448/*main nav change distance*/
449header.navbar .logo{
450 margin-right:10px;
451}
452
453.book .book-body .page-wrapper .page-inner section.normal hr{
454 height:1px;
455}
456
457.book .book-body .page-wrapper .page-inner section.normal .u-tabs.is-upgraded .u-tabs__tab.is-active{
458 color:rgba(0,0,0, 0.87);
459}
460
461.book .book-body .page-wrapper .page-inner section.normal .u-tabs-pill .u-tabs__tab.is-active{
462 color:#fff !important;
463 background-color:rgb(63,81,181);
464
465}
466
467.copyright p{
468 padding-top:20px;
469 margin-bottom:20px;
470}
471
472/*调整内页右侧导航Bug*/
473.nav-body .mCSB_inside > .mCSB_container{
474 margin-right:0px;
475}
476
477.book .book-body .page-wrapper .page-inner section.normal .examples-code{
478 clear:both;
479}
480
481/*字体图标*/
482/* 清除浮动 */
483.ks-clear:after, .clear:after {
484 content: '\20';
485 display: block;
486 height: 0;
487 clear: both;
488}
489.ks-clear, .clear {
490 *zoom: 1;
491}
492
493
494.main h1{font-size:36px; color:#333; text-align:left;margin-bottom:30px; border-bottom: 1px solid #eee;}
495
496.helps{margin-top:40px;}
497.helps pre{
498 padding:20px;
499 margin:10px 0;
500 border:solid 1px #e7e1cd;
501 background-color: #fffdef;
502 overflow: auto;
503}
504
505.icon_lists li{
506 float:left;
507 width: 150px;
508 height:210px;
509 text-align: center;
510}
511.icon_lists .icon{
512 font-size: 42px;
513 line-height: 100px;
514 margin: 10px 0;
515 color:#333;
516 -webkit-transition: font-size 0.25s ease-out 0s;
517 -moz-transition: font-size 0.25s ease-out 0s;
518 transition: font-size 0.25s ease-out 0s;
519
520}
521.icon_lists .icon:hover{
522 font-size: 100px;
523}
524
525/*mobile style*/
526@media screen and (max-width:600px) {
527 #anchors-navbar,#goTop{
528 display: none;
529 }
530 .book.with-summary .book-body{
531 transform:none;
532 /*-webkit-transform: translate(calc(240px),0);
533 -moz-transform: translate(calc(240px),0);
534 -ms-transform: translate(calc(240px),0);
535 -o-transform: translate(calc(240px),0);
536 transform: translate(calc(240px),0);*/
537 -webkit-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
538 -moz-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
539 -o-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
540 transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
541 }
542
543 /*mobile content*/
544 .book .book-body .page-wrapper .page-inner{
545 margin:0px;
546 }
547 .book .book-body .page-wrapper .page-inner section{
548 padding:5px;
549 }
550 .book .book-header{
551 padding:0px;
552 }
553 .book .book-header .btn{
554 padding:0 15px 0 0;
555 }
556
557}
558.book .book-body .page-wrapper .page-inner section.normal .navbar-brand{
559 min-width: 100px;
560 padding-right: 0;
561}
562.book .book-body .page-wrapper .page-inner section.normal .u-navlayout-header a{
563 color: #fff;
564 text-decoration: none;
565}
566.book .book-body .page-wrapper .page-inner section.normal .u-navlayout-header .u-navlayout-toolbar li .u-topic{
567 font-size:20px;
568}
569.book .book-body .page-wrapper .page-inner section.normal .inverse .u-navlayout-header a{
570 color: #000;
571 text-decoration: none;
572}
573.book .book-body .page-wrapper .page-inner section.normal .u-menu-item:hover > a{
574 color: #262626 !important;
575}
576
577.book .book-body .page-wrapper .page-inner section.normal h4{
578 font-size:1.0em;
579}
580
581
582
583.u-menu-item:hover{
584 text-decoration: none;
585 background-color: #f5f5f5;
586}
587.u-menu-item{
588 line-height: 20px !important;
589}
590.book .book-body .page-wrapper .page-inner section.normal .u-media .u-media-heading{
591 margin-top: 0;
592 margin-bottom: 5px;
593 font-size: 18px;
594 font-weight: 500;
595}
596.example-content .u-list-group{
597 width: 400px;
598}
599.u-list-group .u-list-group-item {
600 position: relative;
601 display: block;
602 padding: 10px 15px;
603 margin-bottom: -1px;
604 background-color: #fff;
605 border: 1px solid #ddd;
606}
607.u-list-group-item > .u-badge{
608 margin-top: 13px;
609}
610.book .book-body .page-wrapper .page-inner section.normal .u-list-group a{
611 text-decoration: none;
612 color: #000;
613 box-shadow: none;
614}
615.book .book-body .page-wrapper .page-inner section.normal .u-list-group a:hover{
616 color: #555;
617 background-color: #f5f5f5;
618}
619.book .book-body .page-wrapper .page-inner section.normal .u-list-group .u-list-group-item.active,.book .book-body .page-wrapper .page-inner section.normal .u-list-group .u-list-group-item.active:hover,.book .book-body .page-wrapper .page-inner section.normal .u-list-group .u-list-group-item.active:focus{
620 z-index: 2;
621 color: #fff;
622 background-color: #337ab7;
623 border-color: #337ab7;
624}
625.book .book-body .page-wrapper .page-inner section.normal .u-gallery-item a{
626 text-decoration: none;
627 color: #000;
628}
629.u-gallery-title {
630 margin-top: 10px;
631 font-weight: 400;
632 font-size: 14px !important;
633 display: block;
634 word-wrap: normal;
635 text-overflow: ellipsis;
636 white-space: nowrap;
637 overflow: hidden;
638 color: #555;
639 margin-top: 8px !important;
640 margin-bottom: 3px !important;
641}
642.u-gallery-desc {
643 color: #999;
644 font-size: 12px !important;
645}
646.u-gallery-overlay .u-gallery-item {
647 position: relative;
648}
649.u-gallery-overlay .u-gallery-title {
650 font-weight: 400;
651 font-size: 1.4rem;
652 color: #FFF;
653 position: absolute;
654 bottom: 0;
655 width: 100%;
656 background-color: rgba(0,0,0,.5);
657 text-indent: 5px;
658 height: 30px;
659 line-height: 30px;
660 display: block;
661 word-wrap: normal;
662 text-overflow: ellipsis;
663 white-space: nowrap;
664 overflow: hidden;
665}
666.u-gallery-overlay .u-gallery-desc {
667 display: none;
668}
669.u-gallery-bordered .u-gallery-item {
670 -webkit-box-shadow: 0 0 3px rgba(0,0,0,.35);
671 box-shadow: 0 0 3px rgba(0,0,0,.35);
672 padding: 5px;
673}
674.u-gallery-bordered .u-gallery-title {
675 margin-top: 10px;
676 font-weight: 400;
677 font-size: 1.4rem;
678 color: #555;
679 display: block;
680 word-wrap: normal;
681 text-overflow: ellipsis;
682 white-space: nowrap;
683 overflow: hidden;
684}
685.u-gallery-imgbordered .u-gallery-item img {
686 width: 100%;
687 height: auto;
688 border: 3px solid #FFF !important;
689 -webkit-box-shadow: 0 0 3px rgba(0,0,0,.35) !important;
690 box-shadow: 0 0 3px rgba(0,0,0,.35) !important;
691}
\No newline at end of file