UNPKG

17.9 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 > li.chapter > span{
375 cursor:not-allowed;
376 color:#999;
377}
378
379.book .book-summary ul.summary ul.articles li{
380 font-size:14px;
381 border-left:1px solid #ddd;
382 margin-left:10px;
383}
384
385
386.book .book-summary .exc-trigger{
387 left:0px;
388 top:8px;
389}
390.book .book-body .page-wrapper .page-inner section.normal .u-menu li a{
391 color: #333;
392}
393.book .book-body .page-wrapper .page-inner section.normal .u-menu li:hover > a{
394 color: #fff;
395 text-decoration: none;
396}
397.book .book-body .page-wrapper .page-inner section.normal .u-table-hover tbody tr:hover{
398 background: #eee;
399}
400.book .book-body .page-wrapper .page-inner section.normal .u-table-striped tbody tr:nth-child(2n+1){
401 background: rgba(238,238,238,.3);
402}
403/*.book .book-body .page-wrapper .page-inner section.normal table thead th :last-child{
404 text-align: right;
405}
406.book .book-body .page-wrapper .page-inner section.normal table tbody td:last-child{
407 text-align: right;
408}*/
409h3.u-panel-title{
410 margin:0!important;
411}
412.u-panel .u-panel-body>h4{
413 margin-top:0!important;
414 margin-bottom: 10px!important;
415}
416.tooltip-primary.top .tooltip-arrow {
417 border-top-color: rgb(63,81,181) !important;
418}
419.tooltip-info.top .tooltip-arrow {
420 border-top-color: rgb(0,188,212) !important;
421}
422.tooltip-warning.top .tooltip-arrow {
423 border-top-color: rgb(255,152,0) !important;
424}
425.tooltip-success.top .tooltip-arrow {
426 border-top-color: rgb(76,175,80) !important;
427}
428.tooltip-danger.top .tooltip-arrow {
429 border-top-color: rgb(244,67,54) !important;
430}
431.tooltip.top .tooltip-arrow{
432 bottom: 1px!important;
433}
434.tooltip.bottom .tooltip-arrow{
435 top: 1px !important
436}
437.tooltip.right .tooltip-arrow{
438 left: 1px !important;
439}
440.tooltip.right .tooltip-arrow{
441 border-right-color: #3f51b5 !important;
442}
443.tooltip.left .tooltip-arrow{
444 border-left-color: #3f51b5 !important;
445}
446.tooltip.top .tooltip-arrow{
447 border-top-color: #3f51b5 !important;
448}
449.tooltip.bottom .tooltip-arrow{
450 border-bottom-color: #3f51b5 !important;
451}
452
453/*main nav change distance*/
454header.navbar .logo{
455 margin-right:10px;
456}
457
458.book .book-body .page-wrapper .page-inner section.normal hr{
459 height:1px;
460}
461
462.book .book-body .page-wrapper .page-inner section.normal .u-tabs.is-upgraded .u-tabs__tab.is-active{
463 color:rgba(0,0,0, 0.87);
464}
465
466.book .book-body .page-wrapper .page-inner section.normal .u-tabs-pill .u-tabs__tab.is-active{
467 color:#fff !important;
468 background-color:rgb(63,81,181);
469
470}
471
472.copyright p{
473 padding-top:20px;
474 margin-bottom:20px;
475}
476
477/*调整内页右侧导航Bug*/
478.nav-body .mCSB_inside > .mCSB_container{
479 margin-right:0px;
480}
481
482.book .book-body .page-wrapper .page-inner section.normal .examples-code{
483 clear:both;
484}
485
486/*字体图标*/
487/* 清除浮动 */
488.ks-clear:after, .clear:after {
489 content: '\20';
490 display: block;
491 height: 0;
492 clear: both;
493}
494.ks-clear, .clear {
495 *zoom: 1;
496}
497
498
499.main h1{font-size:36px; color:#333; text-align:left;margin-bottom:30px; border-bottom: 1px solid #eee;}
500
501.helps{margin-top:40px;}
502.helps pre{
503 padding:20px;
504 margin:10px 0;
505 border:solid 1px #e7e1cd;
506 background-color: #fffdef;
507 overflow: auto;
508}
509
510.icon_lists li{
511 float:left;
512 width: 150px;
513 height:210px;
514 text-align: center;
515}
516.icon_lists .icon{
517 font-size: 42px;
518 line-height: 100px;
519 margin: 10px 0;
520 color:#333;
521 -webkit-transition: font-size 0.25s ease-out 0s;
522 -moz-transition: font-size 0.25s ease-out 0s;
523 transition: font-size 0.25s ease-out 0s;
524
525}
526.icon_lists .icon:hover{
527 font-size: 100px;
528}
529
530.scroll-nav .active{
531 background: none;
532}
533
534/*mobile style*/
535@media screen and (max-width:600px) {
536 #anchors-navbar,#goTop{
537 display: none;
538 }
539 .book.with-summary .book-body{
540 transform:none;
541 /*-webkit-transform: translate(calc(240px),0);
542 -moz-transform: translate(calc(240px),0);
543 -ms-transform: translate(calc(240px),0);
544 -o-transform: translate(calc(240px),0);
545 transform: translate(calc(240px),0);*/
546 -webkit-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
547 -moz-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
548 -o-transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
549 transition: padding-left 400ms cubic-bezier(0.785, 0.135, 0.150, 0.860) ,visibility 400ms;
550 }
551
552 /*mobile content*/
553 .book .book-body .page-wrapper .page-inner{
554 margin:0px;
555 }
556 .book .book-body .page-wrapper .page-inner section{
557 padding:5px;
558 }
559 .book .book-header{
560 padding:0px;
561 }
562 .book .book-header .btn{
563 padding:0 15px 0 0;
564 }
565
566}
567.book .book-body .page-wrapper .page-inner section.normal .navbar-brand{
568 min-width: 100px;
569 padding-right: 0;
570}
571.book .book-body .page-wrapper .page-inner section.normal .u-navlayout-header a{
572 color: #fff;
573 text-decoration: none;
574}
575.book .book-body .page-wrapper .page-inner section.normal .u-navlayout-header .u-navlayout-toolbar li .u-topic{
576 font-size:20px;
577}
578.book .book-body .page-wrapper .page-inner section.normal .inverse .u-navlayout-header a{
579 color: #000;
580 text-decoration: none;
581}
582.book .book-body .page-wrapper .page-inner section.normal .u-menu-item:hover > a{
583 color: #262626 !important;
584}
585
586.book .book-body .page-wrapper .page-inner section.normal h4{
587 font-size:1.0em;
588}
589
590
591
592.u-menu-item:hover{
593 text-decoration: none;
594 background-color: #f5f5f5;
595}
596.u-menu-item{
597 line-height: 20px !important;
598}
599.book .book-body .page-wrapper .page-inner section.normal .u-media .u-media-heading{
600 margin-top: 0;
601 margin-bottom: 5px;
602 font-size: 18px;
603 font-weight: 500;
604}
605.example-content .u-list-group{
606 width: 400px;
607}
608.u-list-group .u-list-group-item {
609 position: relative;
610 display: block;
611 padding: 10px 15px;
612 margin-bottom: -1px;
613 background-color: #fff;
614 border: 1px solid #ddd;
615}
616.u-list-group-item > .u-badge{
617 margin-top: 13px;
618}
619.book .book-body .page-wrapper .page-inner section.normal .u-list-group a{
620 text-decoration: none;
621 color: #000;
622 box-shadow: none;
623}
624.book .book-body .page-wrapper .page-inner section.normal .u-list-group a:hover{
625 color: #555;
626 background-color: #f5f5f5;
627}
628.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{
629 z-index: 2;
630 color: #fff;
631 background-color: #337ab7;
632 border-color: #337ab7;
633}
634.book .book-body .page-wrapper .page-inner section.normal .u-gallery-item a{
635 text-decoration: none;
636 color: #000;
637}
638.u-gallery-title {
639 margin-top: 10px;
640 font-weight: 400;
641 font-size: 14px !important;
642 display: block;
643 word-wrap: normal;
644 text-overflow: ellipsis;
645 white-space: nowrap;
646 overflow: hidden;
647 color: #555;
648 margin-top: 8px !important;
649 margin-bottom: 3px !important;
650}
651.u-gallery-desc {
652 color: #999;
653 font-size: 12px !important;
654}
655.u-gallery-overlay .u-gallery-item {
656 position: relative;
657}
658.u-gallery-overlay .u-gallery-title {
659 font-weight: 400;
660 font-size: 1.4rem;
661 color: #FFF;
662 position: absolute;
663 bottom: 0;
664 width: 100%;
665 background-color: rgba(0,0,0,.5);
666 text-indent: 5px;
667 height: 30px;
668 line-height: 30px;
669 display: block;
670 word-wrap: normal;
671 text-overflow: ellipsis;
672 white-space: nowrap;
673 overflow: hidden;
674}
675.u-gallery-overlay .u-gallery-desc {
676 display: none;
677}
678.u-gallery-bordered .u-gallery-item {
679 -webkit-box-shadow: 0 0 3px rgba(0,0,0,.35);
680 box-shadow: 0 0 3px rgba(0,0,0,.35);
681 padding: 5px;
682}
683.u-gallery-bordered .u-gallery-title {
684 margin-top: 10px;
685 font-weight: 400;
686 font-size: 1.4rem;
687 color: #555;
688 display: block;
689 word-wrap: normal;
690 text-overflow: ellipsis;
691 white-space: nowrap;
692 overflow: hidden;
693}
694.u-gallery-imgbordered .u-gallery-item img {
695 width: 100%;
696 height: auto;
697 border: 3px solid #FFF !important;
698 -webkit-box-shadow: 0 0 3px rgba(0,0,0,.35) !important;
699 box-shadow: 0 0 3px rgba(0,0,0,.35) !important;
700}
\No newline at end of file