index.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. @import url("../static/css/bootstrap.min.css");
  2. @import url("../static/vendor/highlight/github.css");
  3. html,body {
  4. background: #fff;
  5. }
  6. .wrapper {
  7. width:auto;
  8. }
  9. .table {
  10. font-size: 14px;
  11. }
  12. .mod-inputs {
  13. padding: 20px;
  14. background-color: #f5f5f5;
  15. border-radius: 6px;
  16. border: 1px solid #eee;
  17. }
  18. .x-res-item {
  19. margin: 5px 0;
  20. }
  21. .box-prompt {
  22. position:fixed;
  23. bottom:10px;
  24. left:10px;
  25. right:10px;
  26. padding:10px;
  27. margin: 10px;
  28. background-color: darkslategray;
  29. }
  30. .box-prompt .form-control {
  31. height:100px;
  32. padding:6px;
  33. }
  34. .box-result {
  35. position: fixed;
  36. bottom: 150px;
  37. top: 70px;
  38. left: 10px;
  39. right: 10px;
  40. margin: 10px;
  41. background-color: #fafafa;
  42. border-color: #ccc;
  43. overflow: auto;
  44. }
  45. .btn-chat {
  46. position:absolute;
  47. top:76px;
  48. right:10px;
  49. height:44px;
  50. width:50px;
  51. }
  52. .box-tips {
  53. margin: 0 15px 0 0;
  54. }
  55. ul.x-demos {
  56. margin: 30px 0 10px 0;
  57. padding: 0;
  58. }
  59. ul.x-demos li {
  60. position: relative;
  61. display: flex;
  62. flex-shrink: 0;
  63. flex-grow: 0;
  64. overflow: hidden;
  65. box-sizing: border-box;
  66. border-radius: 8px;
  67. flex-direction: column;
  68. padding: 12px;
  69. background-image: linear-gradient(to right, rgba(248, 160, 255, 0.098), rgba(71, 185, 255, 0.098));
  70. align-items: flex-start;
  71. justify-content: flex-start;
  72. margin: 0px 0px 8px;
  73. width: 100%;
  74. height: auto;
  75. cursor: pointer;
  76. -webkit-box-flex: 0;
  77. -webkit-box-orient: vertical;
  78. -webkit-box-direction: normal;
  79. -webkit-box-align: start;
  80. -webkit-box-pack: start;
  81. }
  82. ul.x-demos li:hover {
  83. color:#f00;
  84. }
  85. .x-loading{
  86. margin: 0 auto;
  87. width: 200px;
  88. position: absolute;
  89. left: calc(50% - 100px);
  90. top: calc(50% - 100px);
  91. }
  92. .x-loading-inline{
  93. width: 60px;
  94. }
  95. .x-hr {
  96. margin: 10px 0;
  97. }
  98. .box-message {
  99. margin: 10px 15px 10px 0;
  100. border:1px solid #eee;
  101. }
  102. .box-message table {
  103. width: 100%;
  104. table-layout: fixed;
  105. }
  106. .box-message table td{
  107. padding: 10px 5px;
  108. vertical-align: top;
  109. }
  110. .box-message .td-content {
  111. word-break: break-all;
  112. white-space: pre-wrap;
  113. max-width: 100%;
  114. }
  115. .x-from-fh {
  116. border: 1px solid #eee;
  117. border-width: 1px 0 1px;
  118. background: #f9f9f9;
  119. }
  120. .td-icon {
  121. padding-right: 0 !important;
  122. }
  123. .td-icon img {
  124. width:16px;
  125. }
  126. .td-icon.x-me img {
  127. border: 1px solid #f00;
  128. border-radius: 16px;
  129. }
  130. b.x-time {
  131. font-weight: normal;
  132. color: #999;
  133. }
  134. .x-xcontent {
  135. margin-top: 6px;
  136. }
  137. .x-xcontent p {
  138. margin:0 0 2px 0;
  139. }
  140. .x-toolbox {
  141. font-size: 12px;
  142. text-align: right;
  143. float: right;
  144. color: #48b;
  145. }
  146. .x-toolbox .x-line {
  147. font-size: 12px;
  148. margin-left: 10px;
  149. color: #bbb;
  150. }
  151. .x-toolbox .x-tooltip:hover {
  152. color: red;
  153. cursor: pointer;
  154. }
  155. h3.panel-title {
  156. position: relative;
  157. }
  158. .box-setting {
  159. border: 1px solid #ccc;
  160. border-radius: 4px;
  161. background-color: #fff;
  162. position: absolute;
  163. top: 27px;
  164. right: -16px;
  165. z-index: 100;
  166. padding: 5px;
  167. font-size: 14px;
  168. line-height: 26px;
  169. }
  170. .box-setting label {
  171. font-weight: normal;
  172. margin-left: 5px;
  173. margin-right: 20px;
  174. }
  175. .box-setting .x-sure {
  176. text-align: right;
  177. }
  178. .box-setting .x-sure button {
  179. position: relative;
  180. right: -30px;
  181. }
  182. #pageContainer fieldset {
  183. padding: 10px;
  184. margin: 10px;
  185. border: 1px solid #ddd;
  186. }
  187. #pageContainer legend {
  188. width: auto;
  189. padding: 0 10px;
  190. margin-bottom: 0px;
  191. font-size: 14px;
  192. color: #333;
  193. border: 0;
  194. border-bottom: 0;
  195. }
  196. .resp-error {
  197. color:red;
  198. }
  199. .x-xcontent table {
  200. width: auto;
  201. }
  202. .x-xcontent table th {
  203. border: 1px solid #ccc;
  204. text-align: center;
  205. padding: 10px;
  206. background: #eee;
  207. }
  208. .x-xcontent table td {
  209. border: 1px solid #ccc;
  210. }
  211. .x-donate-link {
  212. right: 210px;
  213. top: 0px;
  214. }
  215. .panel-title>a.x-other-tools {
  216. top: -2px;
  217. }
  218. .fh-history-sidebar {
  219. position: fixed;
  220. top: 0;
  221. left: 0;
  222. width: 280px;
  223. height: 100vh;
  224. background: #fff;
  225. border-right: 1px solid #eee;
  226. z-index: 10000;
  227. box-shadow: 2px 0 8px rgba(0,0,0,0.04);
  228. display: flex;
  229. flex-direction: column;
  230. }
  231. .fh-history-header {
  232. padding: 18px 16px 10px 16px;
  233. font-size: 18px;
  234. font-weight: bold;
  235. border-bottom: 1px solid #eee;
  236. display: flex;
  237. justify-content: space-between;
  238. align-items: center;
  239. }
  240. .fh-history-close {
  241. background: none;
  242. border: none;
  243. font-size: 16px;
  244. color: #888;
  245. cursor: pointer;
  246. }
  247. .fh-history-list {
  248. flex: 1;
  249. overflow-y: auto;
  250. padding: 12px 0 12px 0;
  251. }
  252. .fh-history-date {
  253. font-size: 14px;
  254. color: #888;
  255. margin: 10px 0 4px 18px;
  256. }
  257. .fh-history-list ul {
  258. list-style: none;
  259. margin: 0 0 0 8px;
  260. padding: 0;
  261. }
  262. .fh-history-list li {
  263. padding: 8px 18px;
  264. cursor: pointer;
  265. border-radius: 6px;
  266. transition: background 0.2s;
  267. font-size: 15px;
  268. color: #333;
  269. }
  270. .fh-history-list li:hover {
  271. background: #f5f7fa;
  272. }
  273. .fh-history-theme {
  274. font-weight: 500;
  275. color: #222;
  276. }
  277. .fh-main-shrink {
  278. margin-left: 280px !important;
  279. transition: margin-left 0.2s;
  280. }
  281. .fh-nav-btn {
  282. display: inline-block;
  283. margin-left: 18px;
  284. padding: 3px 14px 3px 10px;
  285. border-radius: 18px;
  286. background: #f5f7fa;
  287. color: #333;
  288. font-size: 12px;
  289. font-weight: normal;
  290. text-decoration: none;
  291. transition: background 0.2s, color 0.2s;
  292. border: 1px solid #e0e0e0;
  293. box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  294. vertical-align: middle;
  295. }
  296. .fh-nav-btn:hover {
  297. background: #e6f0ff;
  298. color: #1976d2;
  299. border-color: #b3d1ff;
  300. }
  301. .x-history-link .icon-clock {
  302. color: #1976d2;
  303. }
  304. .x-newchat-link .icon-plus-circle {
  305. color: #43a047;
  306. }
  307. td.td-icon {
  308. width: 40px;
  309. text-align: center;
  310. }
  311. td.td-content .x-xcontent.x-user-content {
  312. white-space: pre-wrap;
  313. }