markdown.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. body {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. }
  8. ::-webkit-scrollbar,
  9. body .scrollbar-track-color {
  10. height: 9px;
  11. width: 7px;
  12. background: #E6E6E6;
  13. }
  14. ::-webkit-scrollbar:hover {
  15. background: #CCCCCC;
  16. }
  17. ::-webkit-scrollbar-thumb {
  18. background: #A2A2A2;
  19. -webkit-border-radius: 6px;
  20. -moz-border-radius: 6px;
  21. -ms-border-radius: 6px;
  22. -o-border-radius: 6px;
  23. border-radius: 6px;
  24. }
  25. .error-message {
  26. color: red;
  27. }
  28. .manual-head {
  29. padding: 5px 5px 5px 5px;
  30. position: fixed;
  31. width: 100%;
  32. }
  33. .manual-category {
  34. width: 280px;
  35. position: fixed;
  36. border-top: 1px solid #DDDDDD;
  37. bottom: 0;
  38. top: 40px;
  39. background-color: #FAFAFA;
  40. left: 0;
  41. right: 0;
  42. padding-bottom: 15px;
  43. overflow-y: auto;
  44. z-index: 999;
  45. }
  46. .manual-category .manual-nav {
  47. font-size: 14px;
  48. color: #333333;
  49. font-weight: 200;
  50. zoom: 1;
  51. border-bottom: 1px solid #ddd
  52. }
  53. .manual-category .manual-tree {
  54. margin-top: 10px;
  55. width: 280px;
  56. position: absolute;
  57. top: 30px;
  58. right: 0;
  59. left: 0;
  60. bottom: 0;
  61. overflow-y: auto;
  62. }
  63. .manual-category .manual-nav .nav-item {
  64. font-size: 14px;
  65. padding: 0 9px;
  66. cursor: pointer;
  67. float: left;
  68. height: 30px;
  69. line-height: 30px;
  70. color: #666;
  71. }
  72. .manual-category .manual-nav .nav-plus {
  73. color: #999;
  74. cursor: pointer;
  75. height: 24px;
  76. width: 24px;
  77. line-height: 24px;
  78. display: inline-block;
  79. margin-top: 4px
  80. }
  81. .manual-category .manual-nav .nav-plus:hover {
  82. color: #333333;
  83. }
  84. .manual-category .manual-nav .nav-item.active {
  85. border-bottom: 1px solid #fafafa;
  86. margin-bottom: -1px;
  87. border-left: 1px solid #ddd;
  88. border-right: 1px solid #ddd;
  89. padding-left: 8px;
  90. padding-right: 8px;
  91. }
  92. .manual-editor-container {
  93. position: absolute;
  94. left: 280px;
  95. top: 40px;
  96. right: 0;
  97. bottom: 0;
  98. overflow: hidden;
  99. border-top: 1px solid #DDDDDD;
  100. z-index: 999;
  101. }
  102. .manual-editor-container .manual-editormd {
  103. position: absolute;
  104. bottom: 30px;
  105. top: -1px;
  106. left: 0;
  107. right: 0;
  108. }
  109. .manual-editor-container .manual-editormd .manual-editormd-active,
  110. .manual-wangEditor,
  111. .manual-wangEditor .wangEditor-container,
  112. .manual-wangEditor .wangEditor-container .wangEditor-txt {
  113. position: absolute;
  114. top: 0;
  115. left: 0;
  116. right: 0;
  117. bottom: 0;
  118. }
  119. .manual-wangEditor,
  120. .manual-wangEditor .wangEditor-container {
  121. bottom: 15px;
  122. border-top: 0;
  123. overflow: hidden;
  124. }
  125. .manual-wangEditor .wangEditor-container .wangEditor-txt {
  126. top: 32px;
  127. }
  128. .manual-wangEditor .wangEditor-container .wangEditor-menu-container {
  129. position: fixed;
  130. z-index: 10000;
  131. }
  132. .manual-wangEditor .wangEditor-container .code-textarea {
  133. position: absolute;
  134. top: 32px;
  135. bottom: 0;
  136. left: 0;
  137. right: 0;
  138. }
  139. .btn-toolbar {
  140. position: absolute;
  141. }
  142. .editormd-group {
  143. float: left;
  144. height: 32px;
  145. margin-right: 10px;
  146. }
  147. .editormd-group a,
  148. .editormd-group .editor-item {
  149. float: left;
  150. }
  151. .editormd-group .change i {
  152. color: #ffffff;
  153. background-color: #44B036 !important;
  154. border: 1px #44B036 solid !important;
  155. }
  156. .editormd-group .change i:hover {
  157. background-color: #58CB48 !important;
  158. }
  159. .editormd-group .disabled i:hover {
  160. background: #ffffff !important;
  161. }
  162. .editormd-group a.disabled {
  163. border-color: #c9c9c9;
  164. opacity: .6;
  165. cursor: default
  166. }
  167. .editormd-group a>i {
  168. display: inline-block;
  169. width: 34px !important;
  170. height: 30px !important;
  171. line-height: 30px;
  172. text-align: center;
  173. color: #4b4b4b;
  174. border: 1px solid #ccc;
  175. background: #fff;
  176. border-radius: 4px;
  177. font-size: 15px
  178. }
  179. .editormd-group a>i.item {
  180. border-radius: 0;
  181. border-right: 0;
  182. }
  183. .editormd-group a>i.last {
  184. border-bottom-left-radius: 0;
  185. border-top-left-radius: 0;
  186. }
  187. .editormd-group a>i.first {
  188. border-right: 0;
  189. border-bottom-right-radius: 0;
  190. border-top-right-radius: 0;
  191. }
  192. .editormd-group a i:hover {
  193. background-color: #e4e4e4
  194. }
  195. .editormd-group a i:after {
  196. display: block;
  197. overflow: hidden;
  198. line-height: 30px;
  199. text-align: center;
  200. font-family: icomoon, Helvetica, Arial, sans-serif;
  201. font-style: normal;
  202. }
  203. .manual-editor-status {
  204. position: absolute;
  205. left: 0;
  206. right: 0;
  207. bottom: 0;
  208. height: 30px;
  209. overflow: hidden;
  210. border-left: 1px solid #DDDDDD;
  211. color: #555;
  212. background-color: #FAFAFA;
  213. z-index: 1000;
  214. line-height: 30px;
  215. }
  216. .manual-editor-status .item {
  217. display: inline-block;
  218. margin-right: 10px;
  219. margin-left: 10px;
  220. cursor: pointer;
  221. }
  222. /***************附件管理的样式*******************/
  223. .attach-drop-panel {
  224. display: block;
  225. position: relative;
  226. width: 100%;
  227. height: 100%;
  228. }
  229. .attach-drop-panel .webuploader-element-invisible {
  230. width: 500px;
  231. height: 100px;
  232. position: absolute;
  233. top: 0;
  234. }
  235. .attach-drop-panel .webuploader-pick {
  236. color: #ccc;
  237. text-align: center;
  238. margin: 20px 20px 15px !important;
  239. padding: 5px !important;
  240. font-size: 65px;
  241. cursor: pointer;
  242. border: 2px dotted #999;
  243. display: block !important;
  244. background: #ffffff;
  245. }
  246. .attach-drop-panel .webuploader-pick:hover {
  247. color: #333;
  248. border-color: #333;
  249. }
  250. .attach-list {
  251. background: #ffffff;
  252. font-size: 12px;
  253. }
  254. .attach-list .attach-item {
  255. padding: 8px 10px;
  256. line-height: 36px;
  257. border: 1px solid #ddd;
  258. border-bottom: none;
  259. border-top-left-radius: 3px;
  260. border-top-right-radius: 3px;
  261. }
  262. .attach-list .attach-item:last-child {
  263. border-bottom: 1px solid #ddd;
  264. border-bottom-left-radius: 3px;
  265. border-bottom-right-radius: 3px;
  266. }
  267. .attach-list .attach-item .progress {
  268. margin-top: 10px;
  269. margin-bottom: 10px;
  270. height: 10px;
  271. }
  272. .attach-list .attach-item .form-control {
  273. width: 60%;
  274. float: left;
  275. }
  276. .attach-list .attach-item .text {
  277. display: inline-block;
  278. padding: 0 15px;
  279. }
  280. .attach-list .attach-item .close {
  281. float: right;
  282. display: inline-block;
  283. padding: 8px 0;
  284. color: #586069;
  285. background: #ffffff;
  286. font-size: 16px;
  287. }
  288. .attach-list .attach-item .close:hover {
  289. color: #333;
  290. }
  291. /***********选择模板时的样式**************/
  292. .template-list .container {
  293. margin-top: 60px;
  294. margin-bottom: 40px;
  295. padding: 0 15px;
  296. box-sizing: border-box;
  297. }
  298. .template-list .container .section {
  299. position: relative;
  300. margin: 0 15px;
  301. padding-top: 60px;
  302. float: left;
  303. width: 150px;
  304. height: 236px;
  305. background: #fdfefe;
  306. border: 1px solid #ddddd9;
  307. text-align: center
  308. }
  309. .template-list .container .section>h3 a {
  310. font-size: 20px;
  311. font-weight: 200;
  312. text-decoration: none;
  313. color: #5d606b
  314. }
  315. .template-list .container .section>a {
  316. display: inline-block;
  317. position: absolute;
  318. left: 50%;
  319. top: -28px;
  320. width: 56px;
  321. height: 56px;
  322. margin-left: -28px
  323. }
  324. .template-list .container .section>a .fa {
  325. display: inline-block;
  326. width: 56px;
  327. height: 56px;
  328. background-color: #fbfefe;
  329. border: 1px solid #ddddd9;
  330. border-radius: 50%;
  331. line-height: 54px;
  332. font-size: 24px;
  333. color: #ddddd9
  334. }
  335. .template-list .container .section:hover {
  336. border-color: #44b035
  337. }
  338. .template-list .container .section:hover>a {
  339. background-color: #44b035;
  340. padding: 5px;
  341. border-radius: 50%;
  342. width: 66px;
  343. height: 66px;
  344. margin-left: -33px;
  345. top: -33px
  346. }
  347. .template-list .container .section:hover>a .fa {
  348. background-color: #78c56d;
  349. color: #fff;
  350. border: 0;
  351. line-height: 54px
  352. }
  353. .template-list .container .section ul {
  354. margin-top: 35px;
  355. padding-left: 0;
  356. list-style: none
  357. }
  358. .template-list .container .section ul li {
  359. margin-bottom: 10px;
  360. padding: 0 10px;
  361. line-height: 1.2;
  362. color: #8e8d8d
  363. }
  364. .markdown-category {
  365. width: 280px;
  366. position: fixed;
  367. border-top: 1px solid #DDDDDD;
  368. top: 0;
  369. bottom: 0;
  370. background-color: #FAFAFA;
  371. left: 0;
  372. right: 0;
  373. padding-bottom: 15px;
  374. overflow-y: auto;
  375. z-index: 999;
  376. }
  377. .markdown-category .markdown-nav {
  378. font-size: 14px;
  379. color: #333333;
  380. font-weight: 200;
  381. zoom: 1;
  382. border-bottom: 1px solid #ddd
  383. }
  384. .markdown-category .markdown-tree {
  385. margin-top: 0;
  386. width: 280px;
  387. position: absolute;
  388. top: 35px;
  389. right: 0;
  390. left: 0;
  391. bottom: 0;
  392. overflow-y: auto;
  393. }
  394. .markdown-category .editor-status.markdown-tree {
  395. bottom: 30px !important;
  396. }
  397. .markdown-category .markdown-nav .nav-item {
  398. font-size: 14px;
  399. padding: 0 9px;
  400. cursor: pointer;
  401. float: left;
  402. height: 35px;
  403. line-height: 30px;
  404. color: #666;
  405. }
  406. .markdown-category .markdown-nav .nav-plus {
  407. color: #999;
  408. cursor: pointer;
  409. height: 24px;
  410. width: 24px;
  411. line-height: 24px;
  412. display: inline-block;
  413. margin-top: 4px
  414. }
  415. .markdown-category .markdown-nav .nav-plus:hover {
  416. color: #333333;
  417. }
  418. .markdown-category .markdown-nav .nav-item.active {
  419. border-bottom: 1px solid #fafafa;
  420. margin-bottom: -1px;
  421. border-left: 1px solid #ddd;
  422. border-right: 1px solid #ddd;
  423. padding-left: 8px;
  424. padding-right: 8px;
  425. }
  426. .markdown-editor-container {
  427. position: absolute;
  428. left: 280px;
  429. right: 0;
  430. bottom: 0;
  431. overflow: hidden;
  432. border-top: 1px solid #DDDDDD;
  433. z-index: 999;
  434. }
  435. .markdown-editor-container .markdown-editormd {
  436. position: absolute;
  437. bottom: 30px;
  438. top: -1px;
  439. left: 0;
  440. right: 0;
  441. }
  442. .markdown-editor-status {
  443. position: absolute;
  444. left: 0;
  445. right: 0;
  446. bottom: 0;
  447. height: 30px;
  448. overflow: hidden;
  449. border-left: 1px solid #DDDDDD;
  450. color: #555;
  451. background-color: #FAFAFA;
  452. z-index: 1000;
  453. line-height: 30px;
  454. }
  455. .markdown-editor-status .item {
  456. display: inline-block;
  457. margin-right: 10px;
  458. margin-left: 10px;
  459. cursor: pointer;
  460. }
  461. iframe.cherry-dialog-iframe {
  462. width: 100%;
  463. height: 100%;
  464. }
  465. .manual-article.cherry {
  466. height: auto !important;
  467. }
  468. .manual-article.cherry .cherry-highlight-line {
  469. background-color: transparent !important;
  470. }
  471. .manual-article.cherry-markdown .toc {
  472. position: fixed;
  473. right: 50px;
  474. width: 260px;
  475. font-size: 12px;
  476. overflow: auto;
  477. border: 1px solid #e8e8e8;
  478. padding: 10px;
  479. border-radius: 6px;
  480. }
  481. /*@media screen and (min-width: 840px) {*/
  482. /* .markdown-article {*/
  483. /* margin-right: 200px !important;*/
  484. /* }*/
  485. /*}*/
  486. .markdown-article-head {
  487. width: unset !important;
  488. padding: unset !important;
  489. padding-top: 10px !important;
  490. }
  491. .markdown-title {
  492. padding: unset !important;
  493. width: 100% !important;
  494. }
  495. @media screen and (max-width: 839px) {
  496. .toc {
  497. display: none !important;
  498. }
  499. }