kancloud.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. html,body {
  2. height: 100%;
  3. font-size: 12px;
  4. }
  5. body,form,ul,ol,table,input,button,p,h1,h2,h3,h4,h5,h6,blockquote,pre,dl,dt,dd,div,span,b,i {
  6. margin: 0;
  7. padding: 0;
  8. -webkit-tap-highlight-color: transparent;
  9. }
  10. body {
  11. color: #222;
  12. background-color: #fff;
  13. font-size: 14px;
  14. word-wrap: break-word;
  15. line-height: 1em;
  16. }
  17. input,select,textarea,button,body,code {
  18. font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif
  19. }
  20. h1 {
  21. font-size: 2.25em;
  22. font-weight: 500;
  23. }
  24. h2 {
  25. font-size: 1.75em;
  26. font-weight: 500;
  27. }
  28. h3 {
  29. font-size: 1.5em;
  30. font-weight: 500
  31. }
  32. h4 {
  33. font-size: 1.2em;
  34. font-weight: 300
  35. }
  36. h5 {
  37. font-size: 1.0em;
  38. font-weight: 300
  39. }
  40. h6 {
  41. font-size: .8em;
  42. font-weight: 200
  43. }
  44. .m-manual:not(.manual-mobile) ::-webkit-scrollbar {
  45. height: 10px;
  46. width: 7px;
  47. background: rgba(0,0,0,.1);
  48. }
  49. .m-manual:not(.manual-mobile) ::-webkit-scrollbar:hover {
  50. background: rgba(0,0,0,.2)
  51. }
  52. .m-manual:not(.manual-mobile) ::-webkit-scrollbar-thumb {
  53. background: rgba(0,0,0,.3);
  54. -webkit-border-radius: 6px;
  55. -moz-border-radius: 6px;
  56. -ms-border-radius: 6px;
  57. -o-border-radius: 6px;
  58. border-radius: 6px
  59. }
  60. .m-manual:not(.manual-mobile)::-webkit-scrollbar-thumb:hover {
  61. -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
  62. -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
  63. -ms-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
  64. -o-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
  65. box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
  66. background-color: rgba(0,0,0,.4)
  67. }
  68. .m-manual.manual-reader .manual-head .slidebar {
  69. display: none
  70. }
  71. .m-manual .manual-head {
  72. min-width: 980px;
  73. height: 54px;
  74. line-height: 54px;
  75. padding: 0 .8em;
  76. z-index: 900;
  77. position: fixed;
  78. top: 0;
  79. left: 0;
  80. right: 0;
  81. background-color: #fff;
  82. transition-property: top;
  83. transition-duration: .3s;
  84. transition-timing-function: linear;
  85. transition-delay: 0s;
  86. -moz-transition-property: top;
  87. -moz-transition-duration: .3s;
  88. -moz-transition-timing-function: linear;
  89. -moz-transition-delay: 0s;
  90. -webkit-transition-property: top;
  91. -webkit-transition-duration: .3s;
  92. -webkit-transition-timing-function: linear;
  93. -webkit-transition-delay: 0s;
  94. -o-transition-property: top;
  95. -o-transition-duration: .3s;
  96. -o-transition-timing-function: linear;
  97. -o-transition-delay: 0s
  98. }
  99. .m-manual .slidebar{
  100. display: none;
  101. }
  102. .m-manual .manual-head .manual-title{
  103. display: inline-block;
  104. height: 30px;
  105. line-height: 54px;
  106. color: #333;
  107. font-size: 16px;
  108. font-weight: bold;
  109. }
  110. .m-manual .manual-tab {
  111. position: absolute;
  112. top: 0;
  113. bottom: 0;
  114. left: 0;
  115. right: 0
  116. }
  117. .m-manual .manual-left {
  118. position: absolute;
  119. left: 0;
  120. top: 55px;
  121. z-index: 301;
  122. bottom: 0;
  123. width: 279px;
  124. border-right: 1px solid #ddd;
  125. background-color: #fafafa;
  126. }
  127. .m-manual .manual-tab .tab-navg {
  128. zoom:1;border-bottom: 1px solid #ddd
  129. }
  130. .m-manual .manual-tab .tab-navg {
  131. zoom:1;border-bottom: 1px solid #ddd
  132. }
  133. .m-manual .manual-tab .tab-util {
  134. position: absolute;
  135. top: 50%;
  136. right: -14px
  137. }
  138. .m-manual .manual-tab .tab-util .item {
  139. color: #999;
  140. cursor: pointer;
  141. height: 24px;
  142. line-height: 24px;
  143. display: inline-block;
  144. margin-top: 4px
  145. }
  146. .manual-fullscreen-switch {
  147. display: block
  148. }
  149. .manual-fullscreen-switch .open,.manual-fullscreen-switch .close {
  150. display: inline-block;
  151. width: 30px;
  152. height: 30px;
  153. cursor: pointer;
  154. background-color: #5cb85c;
  155. border-radius: 50%;
  156. color: #fff;
  157. position: relative;
  158. font-size: 16px;
  159. vertical-align: top;
  160. opacity : 1;
  161. text-shadow:none;
  162. font-weight: 400;
  163. }
  164. .manual-fullscreen-switch .open:hover,.manual-fullscreen-switch .close:hover {
  165. background-color: #449d44;
  166. }
  167. .manual-fullscreen-switch .open:before,.manual-fullscreen-switch .close:before {
  168. position: absolute;
  169. top: 7px;
  170. right: 5px;
  171. }
  172. .manual-fullscreen-switch .open {
  173. display: none;
  174. }
  175. .m-manual.manual-fullscreen-active .manual-fullscreen-switch {
  176. /*margin-top: 30px;*/
  177. }
  178. .m-manual.manual-fullscreen-active .manual-fullscreen-switch .open {
  179. display: inline-block;
  180. }
  181. .m-manual.manual-fullscreen-active .manual-fullscreen-switch .close {
  182. display: none;
  183. }
  184. .m-manual.manual-fullscreen-active .manual-left .m-copyright,.m-manual.manual-fullscreen-active .manual-left .tab-navg,.m-manual.manual-fullscreen-active .manual-left .tab-wrap{
  185. display: none;
  186. }
  187. .m-manual.manual-fullscreen-active .manual-left{
  188. width: 0px;
  189. }
  190. .m-manual .manual-tab .tab-navg:after {
  191. content: '.';
  192. display: block;
  193. width: 0;
  194. height: 0;
  195. line-height: 9;
  196. overflow: hidden;
  197. clear: both;
  198. visibility: hidden;
  199. }
  200. .m-manual .manual-tab .tab-navg .navg-item {
  201. font-size: 14px;
  202. padding: 0 9px;
  203. cursor: pointer;
  204. float: left;
  205. height: 30px;
  206. line-height: 30px;
  207. color: #999
  208. }
  209. .m-manual .manual-tab .tab-navg .navg-item .fa {
  210. margin-right: 4px;
  211. color: #aaa
  212. }
  213. .m-manual .manual-tab .tab-navg .navg-item .text {
  214. font-weight: 200
  215. }
  216. .m-manual .manual-tab .tab-navg .navg-item.active,.m-manual .manual-tab .tab-navg .navg-item.active:hover,.m-manual .manual-tab .tab-navg .navg-item:hover {
  217. color: #333
  218. }
  219. .m-manual .manual-tab .tab-navg .navg-item.active .icon,.m-manual .manual-tab .tab-navg .navg-item.active:hover .icon,.m-manual .manual-tab .tab-navg .navg-item:hover .icon {
  220. color: #333
  221. }
  222. .m-manual .manual-catalog {
  223. display: block !important;
  224. }
  225. .m-manual .manual-tab .tab-navg .navg-item.active {
  226. border-bottom: 1px solid #fafafa;
  227. margin-bottom: -1px;
  228. border-left: 1px solid #ddd;
  229. border-right: 1px solid #ddd;
  230. padding-left: 8px;
  231. padding-right: 8px
  232. }
  233. .m-manual .manual-tab .tab-item {
  234. display: none;
  235. position: absolute;
  236. top: 31px;
  237. bottom: 0;
  238. left: 0;
  239. right: 0;
  240. overflow-y: auto;
  241. background-color: #fafafa;
  242. margin-bottom: 35px;
  243. }
  244. .m-manual .manual-tab .tab-item.active {
  245. display: block
  246. }
  247. .m-manual .manual-left .m-copyright {
  248. border-top: 0;
  249. background: #fafafa;
  250. border-top: 1px solid #ccc;
  251. opacity: 1;
  252. filter: alpha(opacity=100);
  253. position: absolute;
  254. bottom: 0;
  255. margin: 0;
  256. font-size: 12px;
  257. z-index: 999;
  258. height: auto;
  259. width: 100%;
  260. padding: 5px 0;
  261. text-align: center;
  262. line-height: 24px
  263. }
  264. .m-manual .manual-right {
  265. position: absolute;
  266. left: 280px;
  267. top: 55px;
  268. z-index: 300;
  269. overflow-y: auto;
  270. bottom: 0;
  271. right: 0;
  272. transition-property: top;
  273. transition-duration: .3s;
  274. transition-timing-function: linear;
  275. transition-delay: 0s;
  276. -moz-transition-property: top;
  277. -moz-transition-duration: .3s;
  278. -moz-transition-timing-function: linear;
  279. -moz-transition-delay: 0s;
  280. -webkit-transition-property: top;
  281. -webkit-transition-duration: .3s;
  282. -webkit-transition-timing-function: linear;
  283. -webkit-transition-delay: 0s;
  284. -o-transition-property: top;
  285. -o-transition-duration: .3s;
  286. -o-transition-timing-function: linear;
  287. -o-transition-delay: 0s
  288. }
  289. .m-manual.manual-fullscreen-active .manual-right{
  290. left: 0;
  291. }
  292. .m-manual .manual-right .manual-article{
  293. background: #ffffff;
  294. }
  295. .manual-article .article-head {
  296. position: relative;
  297. zoom:1;padding: 10px 20px
  298. }
  299. .manual-article .article-head h1 {
  300. margin: 0;
  301. font-size: 20px;
  302. font-weight: 200;
  303. text-align: center;
  304. line-height: 30px;
  305. overflow: hidden;
  306. text-overflow: ellipsis;
  307. white-space: nowrap;
  308. color: #7e888b
  309. }
  310. .manual-article .article-content{
  311. min-width: 980px;
  312. max-width: 98%;
  313. padding: 10px 20px;
  314. margin-left: auto!important;
  315. margin-right: auto!important
  316. }
  317. .manual-article .article-content .article-body{
  318. min-height: 90px;
  319. padding: 5px;
  320. }
  321. .m-manual .manual-progress {
  322. position: fixed;
  323. top: 54px;
  324. left: 0;
  325. right: 0;
  326. height: 1px;
  327. z-index: 302;
  328. background-color: #ddd;
  329. transition-property: top;
  330. transition-duration: .3s;
  331. transition-timing-function: linear;
  332. transition-delay: 0s;
  333. -moz-transition-property: top;
  334. -moz-transition-duration: .3s;
  335. -moz-transition-timing-function: linear;
  336. -moz-transition-delay: 0s;
  337. -webkit-transition-property: top;
  338. -webkit-transition-duration: .3s;
  339. -webkit-transition-timing-function: linear;
  340. -webkit-transition-delay: 0s;
  341. -o-transition-property: top;
  342. -o-transition-duration: .3s;
  343. -o-transition-timing-function: linear;
  344. -o-transition-delay: 0s
  345. }
  346. .m-manual .manual-progress .progress-bar {
  347. display: block;
  348. background-color: #136ec2;
  349. height: 100%
  350. }
  351. .m-comment{
  352. margin: 30px auto 70px auto;
  353. }
  354. .m-comment .comment-result .title {
  355. display: block;
  356. font-size: 16px;
  357. padding-bottom: 6px;
  358. line-height: 1.5em;
  359. border-bottom: 1px solid #ddddd9;
  360. margin-bottom: 10px;
  361. }
  362. .w-textarea.textarea-full {
  363. display: block;
  364. }
  365. .w-fragment.fragment-tip {
  366. color: #999;
  367. }
  368. .w-textarea .textarea-input {
  369. font-size: 14px;
  370. padding: 5px 10px;
  371. border-radius: 3px;
  372. border: 1px solid #ccc;
  373. line-height: 1.7em;
  374. font-weight: 200;
  375. }
  376. .m-comment .comment-post .form .enter textarea {
  377. resize: none;
  378. min-height: 72px;
  379. overflow: hidden;
  380. width: 100%;
  381. }
  382. .editor-content {
  383. line-height: 1.7em;
  384. font-size: 14px
  385. }
  386. .editor-content p{
  387. margin-bottom: 14px;
  388. line-height: 1.7em;
  389. font-size: 1.3rem;
  390. color: #5D5D5D;
  391. }
  392. .editor-content a {
  393. color: #3eb1d0
  394. }
  395. .editor-content h1 {
  396. font-size: 1.7rem;
  397. line-height: 1.2
  398. }
  399. .editor-content h2 {
  400. padding-bottom: 0.3em;
  401. font-size: 1.6rem;
  402. line-height: 2.5em;
  403. border-bottom: 1px solid #eee
  404. }
  405. .editor-content h3 {
  406. font-size: 1.65rem;
  407. line-height: 2em;
  408. border-bottom: 1px solid #eee
  409. }
  410. .editor-content h4 {
  411. font-size: 1.5rem
  412. }
  413. .editor-content h5 {
  414. font-size: 1.45em
  415. }
  416. .editor-content h6 {
  417. font-size: 1.4em;
  418. color: #777
  419. }
  420. .editor-content br {
  421. display: block;
  422. margin: .2em
  423. }
  424. .editor-content hr {
  425. border: 0;
  426. border-bottom: 1px solid #ddd
  427. }
  428. .editor-content ul {
  429. padding-left: 28px
  430. }
  431. .editor-content ol {
  432. padding-left: 28px
  433. }
  434. .editor-content h1,.editor-content h2,.editor-content h3,.editor-content h4,.editor-content h5,.editor-content h6,.editor-content p,.editor-content ul,.editor-content ol,.editor-content blockquote,.teditor-content pre,.editor-content table {
  435. margin-bottom: 14px
  436. }
  437. .editor-content table {
  438. border-collapse: collapse;
  439. table-layout: fixed;
  440. display: block;
  441. width: 100%;
  442. overflow: auto;
  443. word-break: keep-all;
  444. margin: 10px 0
  445. }
  446. .editor-content th {
  447. text-align: left
  448. }
  449. .editor-content table thead tr{
  450. background-color: #0088CC;
  451. color: #ffffff;
  452. }
  453. .editor-content table tr:nth-child(2n) {
  454. background-color: #f8f8f8
  455. }
  456. .editor-content table td,.editor-content table th {
  457. padding: 6px 13px;
  458. border: 1px solid #ddd;
  459. }
  460. .editor-content img {
  461. max-width: 100%
  462. }
  463. .editor-content table pre {
  464. margin-bottom: 0
  465. }
  466. .editor-content table p {
  467. margin: 0
  468. }
  469. .editor-content blockquote {
  470. padding: 5px 5px 5px 15px;
  471. color: #777;
  472. border-left: 4px solid #ddd
  473. }
  474. .editor-content blockquote.info {
  475. border-left-color: #5bc0de;
  476. color: #5bc0de;
  477. background-color: #f4f8fa
  478. }
  479. .editor-content blockquote.warning {
  480. background-color: #fcf8f2;
  481. border-color: #f0ad4e;
  482. color: #f0ad4e
  483. }
  484. .editor-content blockquote.danger {
  485. color: #d9534f;
  486. background-color: #fdf7f7;
  487. border-color: #d9534f
  488. }
  489. .editor-content blockquote.success {
  490. background-color: #f3f8f3;
  491. border-color: #50af51;
  492. color: #50af51
  493. }
  494. .editor-content blockquote>:last-child {
  495. margin-bottom: 0
  496. }
  497. .editor-content .markdown-toc-list ul:only-child {
  498. padding-left: 0;
  499. margin-bottom: 0
  500. }
  501. .editor-content pre{
  502. border: 0;
  503. margin-bottom:14px;
  504. }
  505. .editor-content code, .editor-content pre {
  506. border-radius: 0;
  507. font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
  508. }
  509. .editor-content pre>code{
  510. word-break: break-all;
  511. white-space: inherit;
  512. }
  513. .editor-content blockquote {
  514. border-color: inherit;
  515. color: inherit;
  516. background: 0
  517. }
  518. .hljs-line-numbers {
  519. text-align: right;
  520. border-right: 1px solid #ccc;
  521. color: #999;
  522. -webkit-touch-callout: none;
  523. -webkit-user-select: none;
  524. -khtml-user-select: none;
  525. -moz-user-select: none;
  526. -ms-user-select: none;
  527. user-select: none;
  528. }
  529. .editor-content .markdown-toc{
  530. padding: 15px 5px;
  531. background-color: #FFFFFF;
  532. line-height: 25px;
  533. border: 1px solid #CCCCCC;
  534. width: 300px;
  535. float: right;
  536. overflow-x: auto;
  537. margin: 0 0 10px 10px;
  538. }
  539. .http-method .default{
  540. width: 70px;
  541. display: inline-block;
  542. background-color: #333333;
  543. -webkit-border-radius: 3px;
  544. border-radius: 3px;
  545. vertical-align: middle;
  546. margin-bottom: 3px;
  547. margin-right: 15px;
  548. color: #FFF !important;
  549. font-size: 11px;
  550. height: 24px;
  551. line-height: 24px;
  552. text-transform: uppercase;
  553. text-align: center;
  554. -webkit-box-sizing: border-box;
  555. -moz-box-sizing: border-box;
  556. box-sizing: border-box;
  557. }
  558. .http-method .post{
  559. background-color: #F47023 !important;
  560. }
  561. .http-method .get{
  562. background-color:#27AE60 !important;
  563. }
  564. .http-method .put{
  565. background-color:#4A90E2!important;
  566. }
  567. .http-method .del{
  568. background-color:red!important;
  569. }
  570. .http-method .trace{
  571. background-color:#e09d43 !important;
  572. }
  573. @media screen and (max-width: 840px) {
  574. .m-manual.manual-reader {
  575. font-size:12px;
  576. min-width: initial
  577. }
  578. .m-manual.manual-reader .manual-head {
  579. min-width: initial
  580. }
  581. .m-manual.manual-reader .manual-head .manual-menu{
  582. display: none;
  583. }
  584. .m-manual.manual-reader .manual-body {
  585. padding-left: 0
  586. }
  587. .m-manual.manual-reader .manual-left {
  588. width: 80%;
  589. max-width: 360px;
  590. left: -80%;
  591. top: 0;
  592. z-index: 4000
  593. }
  594. .m-manual.manual-reader .manual-head .pull-left {
  595. right: 0;
  596. left: 0;
  597. position: relative
  598. }
  599. .m-manual.manual-reader .manual-head .pull-left .slidebar {
  600. display: inline-block;
  601. /*position: absolute;*/
  602. /*left: 0;*/
  603. /*top: 0;*/
  604. /*font-size: 20px*/
  605. }
  606. .m-manual.manual-reader .manual-head .pull-left .slidebar i {
  607. display: inline-block;
  608. vertical-align: top;
  609. margin-top: 20px;
  610. line-height: 100%
  611. }
  612. .m-manual.manual-reader .manual-head .pull-left .manual-title {
  613. padding-left: 30px;
  614. height: 54px;
  615. line-height: 54px;
  616. display: block;
  617. white-space: nowrap;
  618. text-overflow: ellipsis;
  619. overflow: hidden
  620. }
  621. .m-manual.manual-reader .manual-navg {
  622. display: block
  623. }
  624. .m-manual.manual-reader .manual-head .left .manual-navg {
  625. margin-left: 36px;
  626. margin-right: 36px
  627. }
  628. .m-manual.manual-reader .manual-navg .title {
  629. float: none;
  630. text-align: center;
  631. display: block
  632. }
  633. .m-manual.manual-reader .manual-tab .tab-util {
  634. display: none
  635. }
  636. .m-manual.manual-reader .article-view .head-util {
  637. display: none
  638. }
  639. .m-manual.manual-reader .article-jump .jump-up,.m-manual.manual-reader .article-jump .jump-down {
  640. float: none;
  641. display: block
  642. }
  643. .m-manual.manual-reader .m-article .think-loading.loading-ripple {
  644. margin-left: -48px
  645. }
  646. .m-manual.manual-reader .manual-right {
  647. left: 0
  648. }
  649. .m-manual.manual-reader.manual-auto-close .manual-head {
  650. top: -55px
  651. }
  652. .m-manual.manual-reader.manual-auto-close .manual-progress {
  653. top: 0
  654. }
  655. .m-manual.manual-reader.manual-auto-open .manual-head {
  656. top: 0
  657. }
  658. .m-manual.manual-reader .manual-article .article-view {
  659. padding: 0 12px
  660. }
  661. .m-manual.manual-reader .manual-article .article-comment {
  662. padding: 0 12px
  663. }
  664. .m-manual.manual-reader .manual-article .article-head{
  665. display: none
  666. }
  667. .m-manual.manual-reader .manual-article .editor-content .markdown-toc{
  668. display: none;
  669. }
  670. .m-manual.manual-reader .manual-mask {
  671. position: fixed;
  672. top: 0;
  673. left: 0;
  674. right: 0;
  675. bottom: 0;
  676. z-index: -10;
  677. background-color: #000;
  678. opacity: 0
  679. }
  680. .m-manual.manual-reader.manual-mobile-show-left .manual-left {
  681. left: 0;
  682. z-index: 3001
  683. }
  684. .m-manual.manual-reader.manual-mobile-show-left .manual-mask {
  685. opacity: .3;
  686. z-index: 3000
  687. }
  688. }