bootstrap-markdown.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. @charset "UTF-8";
  2. .md-editor {
  3. display: block;
  4. border: 1px solid #e4eaec;
  5. border-radius: 0.215rem; }
  6. .md-editor > .md-header, .md-editor .md-footer {
  7. display: block;
  8. padding: 6px 4px;
  9. background: #f3f7f9;
  10. border-radius: 0.215rem 0.215rem 0 0; }
  11. .md-editor > .md-header {
  12. margin: 0; }
  13. .md-editor > .md-preview {
  14. min-height: 8px;
  15. padding: 10px;
  16. overflow: auto;
  17. background: #fff;
  18. border-top: 1px dashed transparent;
  19. border-bottom: 1px solid transparent;
  20. border-radius: 0 0 0.215rem 0.215rem; }
  21. .md-editor > textarea {
  22. display: block;
  23. width: 100%;
  24. padding: 10px;
  25. margin: 0;
  26. font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  27. font-size: 1rem;
  28. background: #fff;
  29. border: 0;
  30. border-top: 1px dashed transparent;
  31. border-bottom: 1px solid transparent;
  32. border-radius: 0 0 0.215rem 0.215rem;
  33. outline: 0;
  34. box-shadow: none; }
  35. .md-editor > textarea:focus {
  36. background: #fff;
  37. box-shadow: none; }
  38. .md-editor.active {
  39. border-color: #e4eaec;
  40. outline: 0; }
  41. .md-editor .md-controls {
  42. float: right;
  43. padding: 3px; }
  44. .md-editor .md-controls .md-control {
  45. right: 5px;
  46. padding: 3px 3px 3px 10px;
  47. color: #e4eaec; }
  48. .md-editor .md-controls .md-control:hover {
  49. color: #76838f; }
  50. .md-editor.md-fullscreen-mode {
  51. position: fixed;
  52. top: 0;
  53. left: 0;
  54. z-index: 9999;
  55. width: 100%;
  56. height: 100%;
  57. padding: 60px 30px 15px;
  58. background: #fff !important;
  59. border: 0 !important; }
  60. .md-editor.md-fullscreen-mode .md-footer {
  61. display: none; }
  62. .md-editor.md-fullscreen-mode .md-input, .md-editor.md-fullscreen-mode .md-preview {
  63. height: 100% !important;
  64. padding: 20px !important;
  65. margin: 0 auto !important;
  66. font-size: 20px !important;
  67. line-height: 1.6em !important;
  68. color: #999;
  69. resize: none !important;
  70. background: #fff !important;
  71. border: 0 !important;
  72. box-shadow: none !important; }
  73. .md-editor.md-fullscreen-mode .md-preview {
  74. overflow: auto;
  75. color: #333; }
  76. .md-editor.md-fullscreen-mode .md-input:hover, .md-editor.md-fullscreen-mode .md-input:focus {
  77. color: #333;
  78. background: #fff !important; }
  79. .md-editor.md-fullscreen-mode .md-header {
  80. position: fixed;
  81. top: 20px;
  82. width: 100%;
  83. text-align: center;
  84. background: none; }
  85. .md-editor.md-fullscreen-mode .btn-group {
  86. float: none; }
  87. .md-editor.md-fullscreen-mode .btn {
  88. color: #b3b3b3;
  89. background: none;
  90. border: 0; }
  91. .md-editor.md-fullscreen-mode .btn:hover, .md-editor.md-fullscreen-mode .btn:focus, .md-editor.md-fullscreen-mode .btn.active, .md-editor.md-fullscreen-mode .btn:active {
  92. color: #333;
  93. box-shadow: none; }
  94. .md-editor.md-fullscreen-mode .md-fullscreen-controls {
  95. position: absolute;
  96. top: 20px;
  97. right: 20px;
  98. z-index: 1002;
  99. display: block;
  100. text-align: right; }
  101. .md-editor.md-fullscreen-mode .md-fullscreen-controls a {
  102. width: 30px;
  103. height: 30px;
  104. margin: 10px;
  105. clear: right;
  106. color: #b3b3b3;
  107. text-align: center; }
  108. .md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover {
  109. color: #333;
  110. text-decoration: none; }
  111. .md-editor.md-fullscreen-mode .md-editor {
  112. position: relative;
  113. height: 100% !important; }
  114. .md-editor .md-fullscreen-controls {
  115. display: none; }
  116. .md-nooverflow {
  117. position: fixed;
  118. width: 100%;
  119. overflow: hidden; }
  120. .md-editor .btn-toolbar .btn-group {
  121. position: relative;
  122. margin-left: 20px; }
  123. .md-editor .btn-toolbar .btn-group:first-child {
  124. margin-left: 0; }
  125. .md-editor .btn-toolbar .btn-group:first-child:after {
  126. display: none; }
  127. .md-editor .btn-toolbar .btn-group:after {
  128. position: absolute;
  129. top: 2px;
  130. left: -17px;
  131. width: 2px;
  132. height: 30px;
  133. margin: 0 5px;
  134. content: "";
  135. background: #e4eaec; }
  136. .md-editor .btn-toolbar .btn-group .btn-default {
  137. color: #a3afb7;
  138. background-color: transparent;
  139. background-image: none;
  140. border: none;
  141. box-shadow: none; }
  142. .md-editor .btn-toolbar .btn-group .btn-default:hover {
  143. color: #37474f;
  144. background-color: transparent;
  145. background-image: none;
  146. border: none;
  147. box-shadow: none; }
  148. .md-editor .btn-toolbar .btn-group .btn-default.active, .md-editor .btn-toolbar .btn-group .btn-default:active {
  149. color: #37474f;
  150. background-color: transparent;
  151. background-image: none;
  152. border: none;
  153. box-shadow: none; }
  154. .md-footer .icon-ok {
  155. font-family: "Web Icons"; }
  156. .md-footer .icon-ok:before {
  157. content: ""; }