index.css 5.3 KB

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