kancloud.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  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-navg:after {
  134. content: '.';
  135. display: block;
  136. width: 0;
  137. height: 0;
  138. line-height: 9;
  139. overflow: hidden;
  140. clear: both;
  141. visibility: hidden
  142. }
  143. .m-manual .manual-tab .tab-navg .navg-item {
  144. font-size: 14px;
  145. padding: 0 9px;
  146. cursor: pointer;
  147. float: left;
  148. height: 30px;
  149. line-height: 30px;
  150. color: #999
  151. }
  152. .m-manual .manual-tab .tab-navg .navg-item .fa {
  153. margin-right: 4px;
  154. color: #aaa
  155. }
  156. .m-manual .manual-tab .tab-navg .navg-item .text {
  157. font-weight: 200
  158. }
  159. .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 {
  160. color: #333
  161. }
  162. .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 {
  163. color: #333
  164. }
  165. .m-manual .manual-catalog {
  166. display: block !important;
  167. }
  168. .m-manual .manual-tab .tab-navg .navg-item.active {
  169. border-bottom: 1px solid #fafafa;
  170. margin-bottom: -1px;
  171. border-left: 1px solid #ddd;
  172. border-right: 1px solid #ddd;
  173. padding-left: 8px;
  174. padding-right: 8px
  175. }
  176. .m-manual .manual-tab .tab-item {
  177. display: none;
  178. position: absolute;
  179. top: 31px;
  180. bottom: 0;
  181. left: 0;
  182. right: 0;
  183. overflow-y: auto;
  184. background-color: #fafafa;
  185. margin-bottom: 35px;
  186. }
  187. .m-manual .manual-tab .tab-item.active {
  188. display: block
  189. }
  190. .m-manual .manual-left .m-copyright {
  191. border-top: 0;
  192. background: #fafafa;
  193. border-top: 1px solid #ccc;
  194. opacity: 1;
  195. filter: alpha(opacity=100);
  196. position: absolute;
  197. bottom: 0;
  198. margin: 0;
  199. font-size: 12px;
  200. z-index: 999;
  201. height: auto;
  202. width: 100%;
  203. padding: 5px 0;
  204. text-align: center;
  205. line-height: 24px
  206. }
  207. .m-manual .manual-right {
  208. position: absolute;
  209. left: 280px;
  210. top: 55px;
  211. z-index: 300;
  212. overflow-y: auto;
  213. bottom: 0;
  214. right: 0;
  215. transition-property: top;
  216. transition-duration: .3s;
  217. transition-timing-function: linear;
  218. transition-delay: 0s;
  219. -moz-transition-property: top;
  220. -moz-transition-duration: .3s;
  221. -moz-transition-timing-function: linear;
  222. -moz-transition-delay: 0s;
  223. -webkit-transition-property: top;
  224. -webkit-transition-duration: .3s;
  225. -webkit-transition-timing-function: linear;
  226. -webkit-transition-delay: 0s;
  227. -o-transition-property: top;
  228. -o-transition-duration: .3s;
  229. -o-transition-timing-function: linear;
  230. -o-transition-delay: 0s
  231. }
  232. .m-manual .manual-right .manual-article{
  233. background: #ffffff;
  234. }
  235. .manual-article .article-head {
  236. position: relative;
  237. zoom:1;padding: 10px 20px
  238. }
  239. .manual-article .article-head h1 {
  240. margin: 0;
  241. font-size: 20px;
  242. font-weight: 200;
  243. text-align: center;
  244. line-height: 30px;
  245. overflow: hidden;
  246. text-overflow: ellipsis;
  247. white-space: nowrap;
  248. color: #7e888b
  249. }
  250. .manual-article .article-content{
  251. max-width: 980px;
  252. margin-left: auto!important;
  253. margin-right: auto!important
  254. }
  255. .manual-article .article-content .article-body{
  256. min-height: 90px;
  257. padding: 5px;
  258. }
  259. .m-manual .manual-progress {
  260. position: fixed;
  261. top: 54px;
  262. left: 0;
  263. right: 0;
  264. height: 1px;
  265. z-index: 302;
  266. background-color: #ddd;
  267. transition-property: top;
  268. transition-duration: .3s;
  269. transition-timing-function: linear;
  270. transition-delay: 0s;
  271. -moz-transition-property: top;
  272. -moz-transition-duration: .3s;
  273. -moz-transition-timing-function: linear;
  274. -moz-transition-delay: 0s;
  275. -webkit-transition-property: top;
  276. -webkit-transition-duration: .3s;
  277. -webkit-transition-timing-function: linear;
  278. -webkit-transition-delay: 0s;
  279. -o-transition-property: top;
  280. -o-transition-duration: .3s;
  281. -o-transition-timing-function: linear;
  282. -o-transition-delay: 0s
  283. }
  284. .m-manual .manual-progress .progress-bar {
  285. display: block;
  286. background-color: #136ec2;
  287. height: 100%
  288. }
  289. .editor-content {
  290. line-height: 1.7em;
  291. font-size: 14px
  292. }
  293. .editor-content p{
  294. margin-bottom: 14px;
  295. line-height: 1.7em;
  296. font-size: 1.3rem;
  297. color: #5D5D5D;
  298. }
  299. .editor-content a {
  300. color: #3eb1d0
  301. }
  302. .editor-content h1 {
  303. font-size: 1.7rem;
  304. line-height: 1.2
  305. }
  306. .editor-content h2 {
  307. padding-bottom: 0.3em;
  308. font-size: 1.6rem;
  309. line-height: 2.5em;
  310. border-bottom: 1px solid #eee
  311. }
  312. .editor-content h3 {
  313. font-size: 1.65rem;
  314. line-height: 2em;
  315. border-bottom: 1px solid #eee
  316. }
  317. .editor-content h4 {
  318. font-size: 1.5rem
  319. }
  320. .editor-content h5 {
  321. font-size: 1.45em
  322. }
  323. .editor-content h6 {
  324. font-size: 1.4em;
  325. color: #777
  326. }
  327. .editor-content br {
  328. display: block;
  329. margin: .2em
  330. }
  331. .editor-content hr {
  332. border: 0;
  333. border-bottom: 1px solid #ddd
  334. }
  335. .editor-content ul {
  336. padding-left: 28px
  337. }
  338. .editor-content ol {
  339. padding-left: 28px
  340. }
  341. .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 {
  342. margin-bottom: 14px
  343. }
  344. .editor-content table {
  345. border-collapse: collapse;
  346. table-layout: fixed;
  347. display: block;
  348. width: 100%;
  349. overflow: auto;
  350. word-break: keep-all;
  351. margin: 10px 0
  352. }
  353. .editor-content th {
  354. text-align: left
  355. }
  356. .editor-content table thead tr{
  357. background-color: #0088CC;
  358. color: #ffffff;
  359. }
  360. .editor-content table tr:nth-child(2n) {
  361. background-color: #f8f8f8
  362. }
  363. .editor-content table td,.editor-content table th {
  364. padding: 6px 13px;
  365. border: 1px solid #ddd;
  366. }
  367. .editor-content img {
  368. max-width: 100%
  369. }
  370. .editor-content table pre {
  371. margin-bottom: 0
  372. }
  373. .editor-content table p {
  374. margin: 0
  375. }
  376. .editor-content blockquote {
  377. padding: 5px 5px 5px 15px;
  378. color: #777;
  379. border-left: 4px solid #ddd
  380. }
  381. .editor-content blockquote.info {
  382. border-left-color: #5bc0de;
  383. color: #5bc0de;
  384. background-color: #f4f8fa
  385. }
  386. .editor-content blockquote.warning {
  387. background-color: #fcf8f2;
  388. border-color: #f0ad4e;
  389. color: #f0ad4e
  390. }
  391. .editor-content blockquote.danger {
  392. color: #d9534f;
  393. background-color: #fdf7f7;
  394. border-color: #d9534f
  395. }
  396. .editor-content blockquote.success {
  397. background-color: #f3f8f3;
  398. border-color: #50af51;
  399. color: #50af51
  400. }
  401. .editor-content blockquote>:last-child {
  402. margin-bottom: 0
  403. }
  404. .editor-content .markdown-toc-list ul:only-child {
  405. padding-left: 0;
  406. margin-bottom: 0
  407. }
  408. .editor-content pre{
  409. border: 0;
  410. margin-bottom:14px;
  411. }
  412. .editor-content code, .editor-content pre {
  413. border-radius: 0;
  414. font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
  415. }
  416. .editor-content pre>code{
  417. word-break: break-all;
  418. white-space: inherit;
  419. }
  420. .editor-content blockquote {
  421. border-color: inherit;
  422. color: inherit;
  423. background: 0
  424. }
  425. .hljs-line-numbers {
  426. text-align: right;
  427. border-right: 1px solid #ccc;
  428. color: #999;
  429. -webkit-touch-callout: none;
  430. -webkit-user-select: none;
  431. -khtml-user-select: none;
  432. -moz-user-select: none;
  433. -ms-user-select: none;
  434. user-select: none;
  435. }
  436. .editor-content .markdown-toc{
  437. padding: 15px 5px;
  438. background-color: #FFFFFF;
  439. line-height: 25px;
  440. border: 1px solid #CCCCCC;
  441. width: 300px;
  442. float: right;
  443. overflow-x: auto;
  444. margin: 0 0 10px 10px;
  445. }
  446. .http-method .default{
  447. width: 70px;
  448. display: inline-block;
  449. background-color: #333333;
  450. -webkit-border-radius: 3px;
  451. border-radius: 3px;
  452. vertical-align: middle;
  453. margin-bottom: 3px;
  454. margin-right: 15px;
  455. color: #FFF !important;
  456. font-size: 11px;
  457. height: 24px;
  458. line-height: 24px;
  459. text-transform: uppercase;
  460. text-align: center;
  461. -webkit-box-sizing: border-box;
  462. -moz-box-sizing: border-box;
  463. box-sizing: border-box;
  464. }
  465. .http-method .post{
  466. background-color: #F47023 !important;
  467. }
  468. .http-method .get{
  469. background-color:#27AE60 !important;
  470. }
  471. .http-method .put{
  472. background-color:#4A90E2!important;
  473. }
  474. .http-method .del{
  475. background-color:red!important;
  476. }
  477. .http-method .trace{
  478. background-color:#e09d43 !important;
  479. }
  480. @media screen and (max-width: 840px) {
  481. .m-manual.manual-reader {
  482. font-size:12px;
  483. min-width: initial
  484. }
  485. .m-manual.manual-reader .manual-head {
  486. min-width: initial
  487. }
  488. .m-manual.manual-reader .manual-head .manual-menu{
  489. display: none;
  490. }
  491. .m-manual.manual-reader .manual-body {
  492. padding-left: 0
  493. }
  494. .m-manual.manual-reader .manual-left {
  495. width: 80%;
  496. max-width: 360px;
  497. left: -80%;
  498. top: 0;
  499. z-index: 4000
  500. }
  501. .m-manual.manual-reader .manual-head .pull-left {
  502. right: 0;
  503. left: 0;
  504. position: relative
  505. }
  506. .m-manual.manual-reader .manual-head .pull-left .slidebar {
  507. display: inline-block;
  508. /*position: absolute;*/
  509. /*left: 0;*/
  510. /*top: 0;*/
  511. /*font-size: 20px*/
  512. }
  513. .m-manual.manual-reader .manual-head .pull-left .slidebar i {
  514. display: inline-block;
  515. vertical-align: top;
  516. margin-top: 20px;
  517. line-height: 100%
  518. }
  519. .m-manual.manual-reader .manual-head .pull-left .manual-title {
  520. padding-left: 30px;
  521. height: 54px;
  522. line-height: 54px;
  523. display: block;
  524. white-space: nowrap;
  525. text-overflow: ellipsis;
  526. overflow: hidden
  527. }
  528. .m-manual.manual-reader .manual-navg {
  529. display: block
  530. }
  531. .m-manual.manual-reader .manual-head .left .manual-navg {
  532. margin-left: 36px;
  533. margin-right: 36px
  534. }
  535. .m-manual.manual-reader .manual-navg .title {
  536. float: none;
  537. text-align: center;
  538. display: block
  539. }
  540. .m-manual.manual-reader .manual-tab .tab-util {
  541. display: none
  542. }
  543. .m-manual.manual-reader .article-view .head-util {
  544. display: none
  545. }
  546. .m-manual.manual-reader .article-jump .jump-up,.m-manual.manual-reader .article-jump .jump-down {
  547. float: none;
  548. display: block
  549. }
  550. .m-manual.manual-reader .m-article .think-loading.loading-ripple {
  551. margin-left: -48px
  552. }
  553. .m-manual.manual-reader .manual-right {
  554. left: 0
  555. }
  556. .m-manual.manual-reader.manual-auto-close .manual-head {
  557. top: -55px
  558. }
  559. .m-manual.manual-reader.manual-auto-close .manual-progress {
  560. top: 0
  561. }
  562. .m-manual.manual-reader.manual-auto-open .manual-head {
  563. top: 0
  564. }
  565. .m-manual.manual-reader .manual-article .article-view {
  566. padding: 0 12px
  567. }
  568. .m-manual.manual-reader .manual-article .article-comment {
  569. padding: 0 12px
  570. }
  571. .m-manual.manual-reader .manual-article .article-head{
  572. display: none
  573. }
  574. .m-manual.manual-reader .manual-article .editor-content .markdown-toc{
  575. display: none;
  576. }
  577. .m-manual.manual-reader .manual-mask {
  578. position: fixed;
  579. top: 0;
  580. left: 0;
  581. right: 0;
  582. bottom: 0;
  583. z-index: -10;
  584. background-color: #000;
  585. opacity: 0
  586. }
  587. .m-manual.manual-reader.manual-mobile-show-left .manual-left {
  588. left: 0;
  589. z-index: 3001
  590. }
  591. .m-manual.manual-reader.manual-mobile-show-left .manual-mask {
  592. opacity: .3;
  593. z-index: 3000
  594. }
  595. }