index.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. @import url("../static/css/bootstrap.min.css");
  2. @import url("../static/vendor/codemirror/codemirror.css");
  3. ul {
  4. margin: 0;
  5. padding: 0;
  6. }
  7. ul.box-tools li {
  8. list-style: none;
  9. float: left;
  10. font-size: 14px;
  11. margin: 10px 20px 10px 0;
  12. border: 1px solid #ccc;
  13. padding: 20px 15px 10px;
  14. border-radius: 10px;
  15. background: #fefefe;
  16. width: 400px;
  17. box-shadow: 2px 2px #f2f2f2;
  18. height: 154px;
  19. user-select: none;
  20. }
  21. ul.box-tools li i.x-icon {
  22. float: left;
  23. font-size: 30pt;
  24. font-style: normal;
  25. display: block;
  26. width: 60px;
  27. height: 60px;
  28. text-align: center;
  29. color: red;
  30. border: 1px solid #ddd;
  31. background: #fff;
  32. border-radius: 4px;
  33. box-shadow: 2px 2px #eee;
  34. }
  35. ul.box-tools li .x-infos {
  36. margin-left: 80px;
  37. height: 90px;
  38. overflow: hidden;
  39. }
  40. ul.box-tools li .x-tips {
  41. margin-top: 10px;
  42. color: #888;
  43. font-size: 12px;
  44. }
  45. ul.box-tools li .x-btns {
  46. border-top: 1px solid #eee;
  47. padding-top: 10px;
  48. }
  49. .given-icons {
  50. width: 70%;
  51. margin: 0 auto;
  52. box-sizing: border-box;
  53. font-size: 18px;
  54. word-break: break-all;
  55. background: #fff;
  56. border: 1px solid #aaa;
  57. border-radius: 10px;
  58. padding: 10px 10px 10px 20px;
  59. position: fixed;
  60. top: 120px;
  61. left: 15%;
  62. box-shadow: 4px 4px #eee;
  63. z-index: 100;
  64. }
  65. .given-icons h3 {
  66. color: #48b;
  67. margin:0;
  68. }
  69. .given-icons .the-icons i {
  70. font-style: normal;
  71. padding: 5px;
  72. cursor: default;
  73. }
  74. .given-icons .the-icons i:hover {
  75. color: #f00;
  76. background: #ff0;
  77. }
  78. .given-icons .x-close {
  79. position: absolute;
  80. top: 10px;
  81. right: 10px;
  82. color: #f00;
  83. cursor: pointer;
  84. font-size: 14px;
  85. }
  86. .given-icons .x-close:hover {
  87. color: #b00;
  88. }
  89. ul.box-tools li.x-addtool {
  90. width: 154px;
  91. border-radius: 78px;
  92. text-align: center;
  93. font-size: 120pt;
  94. line-height: 120px;
  95. color: #eee;
  96. text-shadow: 5px 4px #fff;
  97. background: #fcfcfc;
  98. border-color: #eee;
  99. }
  100. ul.box-tools li.x-addtool:hover {
  101. color: #ccc;
  102. cursor: pointer;
  103. border-color: #ccc;
  104. background: #f5f5f5;
  105. }
  106. .x-mask {
  107. position: absolute;
  108. top: 0;
  109. left: 0;
  110. bottom: 0;
  111. right: 0;
  112. background: #000;
  113. opacity: 0.4;
  114. }
  115. .fh-editor .x-editor-container {
  116. width: 90%;
  117. margin: 0 auto;
  118. position: absolute;
  119. left: 5%;
  120. top: 40px;
  121. height: calc(100% - 60px);
  122. border: 1px solid #aaa;
  123. border-radius: 4px;
  124. box-shadow: 3px 3px #aaa;
  125. }
  126. .fh-editor .x-editor-container .x-topbar {
  127. background: #f5f5f5;
  128. height: 30px;
  129. border-radius: 4px 4px 0 0;
  130. line-height: 30px;
  131. padding: 0 10px 0 10px;
  132. }
  133. .fh-editor .x-editor-container .x-leftside {
  134. background: #fff;
  135. width: 250px;
  136. height: calc(100% - 30px);
  137. float: left;
  138. border-radius: 0 0 0 4px;
  139. border-top: 1px solid #ddd;
  140. overflow-x: hidden;
  141. overflow-y: auto;
  142. }
  143. .fh-editor .x-editor-container .x-rightside {
  144. position: absolute;
  145. left: 250px;
  146. right: 0;
  147. top: 30px;
  148. bottom: 0;
  149. }
  150. .fh-editor .x-editor-container .CodeMirror {
  151. width: 100%;
  152. height: 100%;
  153. border-radius: 0 0 4px 0;
  154. }
  155. .fh-editor .x-editor-container .x-topbar .x-icon {
  156. color: #f00;
  157. font-style: normal;
  158. }
  159. .fh-editor .x-editor-container .x-topbar .x-close {
  160. color: #f00;
  161. font-size: 14px;
  162. cursor: pointer;
  163. }
  164. .fh-editor .x-editor-container .x-topbar .x-close:hover {
  165. text-decoration: underline;
  166. }
  167. .fh-editor .x-editor-container .x-topbar .x-save {
  168. color: #48b;
  169. }
  170. .fh-editor .x-editor-container .x-topbar .x-save:hover {
  171. color: #68b;
  172. }
  173. ul.box-files li {
  174. list-style: none;
  175. user-select: none;
  176. padding: 0 2px 0 10px;
  177. border-bottom: 1px solid #f2f2f2;
  178. height: 26px;
  179. line-height: 26px;
  180. font-size: 14px;
  181. cursor: default;
  182. position: relative;
  183. }
  184. ul.box-files li.x-selected:after {
  185. content: '\2714';
  186. position: absolute;
  187. right: 10px;
  188. }
  189. ul.box-files li:hover {
  190. background: #eee;
  191. }
  192. ul.box-files li .x-delete {
  193. position: absolute;
  194. right: 30px;
  195. top:0;
  196. font-size: 12px;
  197. color: #48b;
  198. text-decoration: underline;
  199. display: none;
  200. cursor: pointer;
  201. }
  202. ul.box-files li .x-delete:hover {
  203. color: #f00;
  204. }
  205. ul.box-files li:hover .x-delete {
  206. display: inline-block;
  207. }
  208. ul.box-files li .x-folder {
  209. color: #ddd;
  210. font-style: italic;
  211. }
  212. ul.box-files li .x-file {
  213. word-break: keep-all;
  214. white-space: nowrap;
  215. }
  216. ul.box-files li.x-tools {
  217. border-bottom: none;
  218. padding: 10px 2px 0 10px
  219. }
  220. ul.box-files li.x-tools:hover {
  221. background: transparent;
  222. }
  223. .x-new-tool-form form {
  224. width: 600px;
  225. position: absolute;
  226. top: 130px;
  227. left: calc(50% - 300px);
  228. background: #fff;
  229. padding: 10px;
  230. border: 1px solid #aaa;
  231. border-radius: 6px;
  232. }
  233. #fehelper_alertmsg {
  234. position: fixed;
  235. top: 0;
  236. left: 0;
  237. right: 0;
  238. z-index: 1000000;
  239. background: #000;
  240. display: inline-block;
  241. color: #fff;
  242. text-align: center;
  243. padding: 10px 10px;
  244. margin: 0 auto;
  245. font-size: 14px;
  246. border-bottom: 1px solid #aaa;
  247. }
  248. [v-cloak] {
  249. display: none;
  250. }