content-script.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191
  1. #jfContent {
  2. -webkit-user-select: text;
  3. margin: 0;
  4. }
  5. .xjf-btn {
  6. cursor: pointer;
  7. -webkit-border-radius: 2px;
  8. -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  9. -webkit-user-select: none;
  10. background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
  11. outline: none;
  12. border: 1px solid #aaa;
  13. color: #444;
  14. font-size: 12px;
  15. margin-bottom: 0px;
  16. min-width: 4em;
  17. position: relative;
  18. z-index: 10;
  19. display: inline-block;
  20. padding: 2px 10px;
  21. text-shadow: 1px 1px rgba(255, 255, 255, 0.3)
  22. }
  23. .xjf-btn-mid, .xjf-btn-right {
  24. margin-left: 0;
  25. border-top-left-radius: 0;
  26. border-bottom-left-radius: 0;
  27. }
  28. .xjf-btn-mid, .xjf-btn-left {
  29. margin-right: 0;
  30. border-top-right-radius: 0;
  31. border-bottom-right-radius: 0;
  32. border-right: none
  33. }
  34. .xjf-btn:hover {
  35. -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
  36. background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
  37. border-color: #999;
  38. color: #222
  39. }
  40. .xjf-btn:active {
  41. -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
  42. background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);
  43. color: #333
  44. }
  45. .xjf-btn.selected {
  46. -webkit-box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.2);
  47. background: #ebebeb -webkit-linear-gradient(#e4e4e4, #dfdfdf 40%, #dcdcdc);
  48. color: #333
  49. }
  50. #jsonpOpener, #jsonpCloser {
  51. padding: 4px 0 0 8px;
  52. color: black;
  53. margin-bottom: -6px
  54. }
  55. #jsonpCloser {
  56. margin-top: 0
  57. }
  58. #formattedJson {
  59. padding-left: 21px;
  60. padding-top: 6px
  61. }
  62. html.fh-jf pre {
  63. /* padding: 36px 5px 5px 5px */
  64. }
  65. #jfContent {
  66. margin-bottom: 25px;
  67. }
  68. /*================json format style start===================*/
  69. html.fh-jf .item {
  70. display: block;
  71. padding-left: 20px;
  72. margin-left: -20px;
  73. position: relative;
  74. padding-top:1px;
  75. padding-bottom: 1px;
  76. }
  77. /* 行悬停效果 - 使用JavaScript控制的类 */
  78. html.fh-jf .item.fh-hover {
  79. background-color: rgba(0, 0, 0, 0.02);
  80. border-radius: 2px;
  81. }
  82. /* 深色主题悬停效果 */
  83. html.fh-jf .theme-dark .item.fh-hover {
  84. background-color: rgba(255, 255, 255, 0.02);
  85. }
  86. /* VS Code主题悬停效果 */
  87. html.fh-jf .theme-vscode .item.fh-hover {
  88. background-color: rgba(255, 255, 255, 0.02);
  89. }
  90. /* GitHub主题悬停效果 */
  91. html.fh-jf .theme-github .item.fh-hover {
  92. background-color: rgba(0, 0, 0, 0.02);
  93. }
  94. /* Light主题悬停效果 */
  95. html.fh-jf .theme-light .item.fh-hover {
  96. background-color: rgba(0, 0, 0, 0.02);
  97. }
  98. html.fh-jf .item .kv-list {
  99. display: block;
  100. padding-left: 24px;
  101. border-left: 1px dashed #bbb;
  102. margin-left: 2px
  103. }
  104. /* 紧凑格式样式 */
  105. html.fh-jf .item-line {
  106. display: flex;
  107. align-items: center;
  108. flex-wrap: nowrap;
  109. white-space: nowrap;
  110. }
  111. html.fh-jf .item-line .key {
  112. margin-right: 2px;
  113. flex-shrink: 0;
  114. }
  115. html.fh-jf .item-line .colon {
  116. margin-right: 2px;
  117. flex-shrink: 0;
  118. }
  119. html.fh-jf .item-line .comma {
  120. margin-left: 2px;
  121. flex-shrink: 0;
  122. }
  123. html.fh-jf .item-line .string,
  124. html.fh-jf .item-line .number,
  125. html.fh-jf .item-line .bool,
  126. html.fh-jf .item-line .null {
  127. flex-shrink: 1;
  128. min-width: 0;
  129. }
  130. /* 数组样式 - 完全展开显示 */
  131. html.fh-jf .item-array .kv-list {
  132. display: block;
  133. padding-left: 24px;
  134. border-left: 1px dashed #bbb;
  135. margin-left: 2px;
  136. }
  137. html.fh-jf .item-array .item-array-element {
  138. display: block;
  139. padding-left: 0;
  140. margin-left: 0;
  141. }
  142. html.fh-jf .item .string {
  143. word-wrap: break-word;
  144. white-space: pre-wrap;
  145. }
  146. /* 紧凑格式下的字符串样式 */
  147. html.fh-jf .item-line .string {
  148. white-space: nowrap;
  149. overflow: hidden;
  150. text-overflow: ellipsis;
  151. max-width: 200px;
  152. }
  153. html.fh-jf .item .string a {
  154. text-decoration: underline;
  155. }
  156. html.fh-jf .item .string a:hover {
  157. color: #b00;
  158. }
  159. html.fh-jf .item .brace {
  160. font-weight: bold;
  161. }
  162. html.fh-jf .item .expand {
  163. width: 20px;
  164. height: 18px;
  165. display: inline-block;
  166. position: absolute;
  167. left: -20px;
  168. top: 2px;
  169. z-index: 5;
  170. opacity: 0.35;
  171. -webkit-user-select: none;
  172. cursor: pointer;
  173. }
  174. /* 当展开按钮在key前面时 */
  175. html.fh-jf .item > .expand:first-child {
  176. position: absolute;
  177. left: 4px;
  178. top: 2px;
  179. }
  180. /* 根级对象和数组的展开按钮 */
  181. html.fh-jf .item-object > .expand:first-child,
  182. html.fh-jf .item-array > .expand:first-child {
  183. position: absolute;
  184. left: 4px;
  185. top: 2px;
  186. }
  187. /* 数组块元素的展开按钮 */
  188. html.fh-jf .item.item-array .item-array-element > .expand:first-child {
  189. position: absolute;
  190. left: -16px;
  191. top: 2px;
  192. }
  193. html.fh-jf .item.item-array .item-array-element.collapsed > .expand:first-child {
  194. top: -4px;
  195. left: -20px;
  196. }
  197. html.fh-jf .item .expand:after {
  198. content: "\25bc";
  199. }
  200. html.fh-jf .item .expand:hover {
  201. opacity: 0.35
  202. }
  203. html.fh-jf .item .expand:active {
  204. opacity: 0.5
  205. }
  206. html.fh-jf .item.collapsed {
  207. white-space: nowrap
  208. }
  209. html.fh-jf .item.collapsed > .kv-list {
  210. display: none
  211. }
  212. html.fh-jf .item.collapsed .item .expand {
  213. display: none
  214. }
  215. html.fh-jf .item.collapsed > .ellipsis:after {
  216. content: "\2026";
  217. font-weight: bold
  218. }
  219. html.fh-jf .item.collapsed > .ellipsis {
  220. margin: 0 4px;
  221. color: #888
  222. }
  223. html.fh-jf .item.collapsed .item {
  224. display: inline
  225. }
  226. html.fh-jf .item.collapsed > .expand {
  227. -webkit-transform: rotate(-90deg);
  228. top: -4px;
  229. left: -2px;
  230. }
  231. html.fh-jf .remove-quote .quote {
  232. display: none;
  233. }
  234. /* 展开按钮在key前面时不影响后续元素 */
  235. html.fh-jf .item > .expand:first-child + .quote {
  236. margin-left: 0;
  237. }
  238. /*================json format style end===================*/
  239. #formattedJson, #jsonpOpener, #jsonpCloser {
  240. color: #333;
  241. font: 14px/18px monospace;
  242. }
  243. #formattedJson {
  244. color: #444
  245. }
  246. #formattingMsg {
  247. position: absolute;
  248. top: calc(40vh);
  249. left: calc(45vw);
  250. z-index: 100;
  251. display: none;
  252. }
  253. #formattingMsg .x-loading {
  254. width: 12px;
  255. height: 12px;
  256. border: 1px solid #f00;
  257. border-radius: 50%;
  258. box-shadow: 0 0 10px 2px;
  259. color: #cc0000;
  260. border-right-color: transparent;
  261. border-top-color: transparent;
  262. animation: spin-right 1s linear infinite normal;
  263. animation-delay: 0s;
  264. margin: 0 5px 0 0;
  265. display: inline-block;
  266. }
  267. #formattingMsg .x-loading:before {
  268. display: block;
  269. width: 8px;
  270. height: 8px;
  271. margin: 1px;
  272. border: 2px solid #f00;
  273. content: " ";
  274. border-radius: 50%;
  275. border-left-color: transparent;
  276. border-bottom-color: transparent;
  277. }
  278. @keyframes spin-right {
  279. from {
  280. transform: rotate(0deg);
  281. opacity: 0.2;
  282. }
  283. 50% {
  284. transform: rotate(180deg);
  285. opacity: 1.0;
  286. }
  287. to {
  288. transform: rotate(360deg);
  289. opacity: 0.2;
  290. }
  291. }
  292. [hidden] {
  293. display: none !important
  294. }
  295. #jfContentspan {
  296. white-space: pre-wrap
  297. }
  298. @-webkit-keyframes spin {
  299. from {
  300. -webkit-transform: rotate(0deg)
  301. }
  302. to {
  303. -webkit-transform: rotate(360deg)
  304. }
  305. }
  306. #spinner {
  307. -webkit-animation: spin 1s 0 infinite
  308. }
  309. html.fh-jf * {
  310. -webkit-font-smoothing: antialiased
  311. }
  312. #jfContent .x-json-tips {
  313. color: red;
  314. }
  315. #jfContent_pre {
  316. padding: 0;
  317. margin: 0;
  318. word-break: break-all;
  319. }
  320. html.fh-jf {
  321. font-size: 14px;
  322. color: #333;
  323. direction: ltr;
  324. }
  325. html.fh-jf body {
  326. direction: inherit;
  327. margin: 0;
  328. }
  329. html.fh-jf body {
  330. padding: 0 8px;
  331. }
  332. /* 工具栏 */
  333. html.fh-jf .x-toolbar {
  334. background-color: #f5f5f5;
  335. background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
  336. margin: 0 0 10px ;
  337. border: 1px solid #ddd;
  338. border-bottom-color: #ccc;
  339. border-radius: 4px;
  340. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  341. box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  342. padding: 10px 15px;
  343. position: sticky;
  344. top: 0;
  345. z-index: 10000;
  346. font-size: 12px;
  347. user-select: none;
  348. }
  349. html.fh-jf .x-toolbar .x-stitle {
  350. font-weight: 700;
  351. }
  352. html.fh-jf .x-toolbar .x-sort input {
  353. margin-right: 10px;
  354. position: relative;
  355. top: 2px;
  356. }
  357. html.fh-jf .x-toolbar span {
  358. white-space: normal !important;
  359. }
  360. html.fh-jf .x-toolbar .x-sort {
  361. display: inline;
  362. margin: 0;
  363. }
  364. html.fh-jf .x-toolbar .x-split {
  365. margin: 0 5px;
  366. color: #ccc;
  367. display: inline;
  368. }
  369. html.fh-jf .x-toolbar label {
  370. font-weight: normal;
  371. margin-bottom: 0;
  372. }
  373. html.fh-jf .x-toolbar img {
  374. vertical-align: middle;
  375. }
  376. html.fh-jf .x-toolbar .x-a-title {
  377. font-size: 14px;
  378. color: blue;
  379. text-decoration: none;
  380. font-weight: bold;
  381. }
  382. html.fh-jf .x-toolbar .x-b-title {
  383. font-size: 14px;
  384. font-weight: bold;
  385. }
  386. html.fh-jf .x-toolbar.t-collapse {
  387. position: fixed;
  388. left: 100%;
  389. margin-left: -24px;
  390. width: 10000px;
  391. top: -10px;
  392. }
  393. html.fh-jf .x-toolbar.t-collapse .fe-feedback {
  394. float: left;
  395. margin-left: -10px;
  396. margin-right: 20px;
  397. }
  398. html.fh-jf .x-toolbar.t-collapse .fe-feedback .x-settings{
  399. display: none;
  400. }
  401. html.fh-jf .mod-json .format-item button {
  402. width: 80px;
  403. height: 30px;
  404. float: right;
  405. }
  406. html.fh-jf .mod-contentscript {
  407. width: auto;
  408. }
  409. #optionBar {
  410. display: inline-block !important;
  411. position: static !important;
  412. }
  413. html.fh-jf body>#optionBar ,
  414. html.fh-jf body>#jfContent {
  415. display: none !important;
  416. }
  417. #formatTips {
  418. color: #888;
  419. font-size: 14px;
  420. display: block;
  421. position: absolute;
  422. top: 0px;
  423. left: 0px;
  424. }
  425. #jsonSource {
  426. height: 120px;
  427. }
  428. html.fh-jf .mod-json .callback-name {
  429. font-weight: bolder;
  430. color: #a00;
  431. }
  432. #errorMsg {
  433. margin-top: 10px;
  434. float: left;
  435. color: #f00;
  436. }
  437. #statusBar {
  438. position: fixed;
  439. bottom: 0;
  440. left: 0;
  441. right: 0;
  442. background: #f5f5f5;
  443. border-top:1px solid #f4f4f4;
  444. font-size: 12px;
  445. font-weight: bold;
  446. padding: 2px 10px 2px 2px;
  447. z-index: 10
  448. }
  449. html.fh-jf .hide-status-bar #statusBar {
  450. width:0;
  451. height:0;
  452. opacity: 0;
  453. }
  454. /* JSON Path 语言选择器容器 */
  455. #jsonPathContainer {
  456. display: flex;
  457. align-items: center;
  458. gap: 10px;
  459. flex-wrap: wrap;
  460. }
  461. /* 语言选择下拉框样式 */
  462. #jsonPathLangSelector {
  463. background: #fff;
  464. border: 1px solid #ccc;
  465. border-radius: 3px;
  466. padding: 2px 5px;
  467. font-size: 11px;
  468. color: #333;
  469. outline: none;
  470. cursor: pointer;
  471. min-width: 80px;
  472. }
  473. #jsonPathLangSelector:hover {
  474. border-color: #999;
  475. }
  476. #jsonPathLangSelector:focus {
  477. border-color: #0066cc;
  478. box-shadow: 0 0 3px rgba(0, 102, 204, 0.3);
  479. }
  480. /* JSON路径显示样式优化 */
  481. #jsonPath {
  482. cursor: default;
  483. font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  484. background: #f8f8f8;
  485. padding: 3px 8px;
  486. border-radius: 3px;
  487. border: 1px solid #e0e0e0;
  488. font-size: 11px;
  489. word-break: break-all;
  490. max-width: calc(100vw - 200px);
  491. overflow-x: auto;
  492. white-space: nowrap;
  493. }
  494. html.fh-jf .boxOpt {
  495. position: absolute;
  496. right: 0;
  497. top:-1px;
  498. background: -webkit-linear-gradient(#fafafa,#f4f4f4 40%,#e5e5e5);
  499. color: #888;
  500. border:1px solid #ddd;
  501. user-select: none;
  502. font-weight: normal;
  503. z-index: 1000;
  504. }
  505. html.fh-jf .boxOpt a {
  506. cursor: pointer;
  507. margin: 0 5px;
  508. font-size: 12px;
  509. color: #666;
  510. text-decoration: none;
  511. }
  512. html.fh-jf .boxOpt a:hover {
  513. color:#000;
  514. text-decoration: none;
  515. }
  516. html.fh-jf .fe-feedback {
  517. font-size: 12px;
  518. padding-top: 3px;
  519. color: #888;
  520. float: right;
  521. cursor: pointer;
  522. font-weight: bold;
  523. position: relative;
  524. top: -2px;
  525. }
  526. .fe-feedback a {
  527. color: #888;
  528. text-decoration: none;
  529. text-align: left;
  530. margin-right: 5px;
  531. }
  532. .fe-feedback a:hover {
  533. color: #c00;
  534. }
  535. html.fh-jf svg:not(:root) {
  536. overflow: hidden;
  537. }
  538. .fe-feedback svg {
  539. vertical-align: text-bottom;
  540. display: inline-block;
  541. fill: currentColor;
  542. }
  543. .fe-feedback img {
  544. opacity: 0.6;
  545. position: relative;
  546. top: 1px;
  547. }
  548. .fe-feedback a:focus {
  549. outline: none;
  550. }
  551. .fe-feedback a:hover img {
  552. opacity: 1.0;
  553. }
  554. .fe-feedback .x-settings {
  555. cursor: pointer;
  556. margin-right: 10px;
  557. }
  558. .fe-feedback .x-settings:hover {
  559. color: #c00;
  560. }
  561. #fehelper_alertmsg {
  562. font-family: "monospace", "微软雅黑";
  563. }
  564. #aLinkDownload {
  565. position: absolute;
  566. top:-10000px;
  567. left:-10000px;
  568. }
  569. /*设置面板*/
  570. .mod-setting-panel {
  571. position: absolute;
  572. top: 43px;
  573. right: 0;
  574. z-index:10000;
  575. width:300px;
  576. background:#f1f1f1;
  577. padding:0 20px 20px;
  578. border:1px solid #ddd;
  579. border-radius: 4px;
  580. font-size:12px;
  581. color:#454545;
  582. box-shadow: 2px 2px #f9f9f9;
  583. }
  584. .mod-setting-panel h4 {
  585. border-bottom: 1px solid #ccc;
  586. padding-bottom: 4px;
  587. margin:20px 0 10px;
  588. }
  589. .mod-setting-panel input[name="maxlength"] {
  590. width:50px;
  591. background: #fff;
  592. border: 1px solid #eee;
  593. }
  594. .mod-setting-panel ul {
  595. margin:0;
  596. padding:0 10px;
  597. }
  598. .mod-setting-panel li {
  599. padding:2px 0;
  600. list-style: none;
  601. }
  602. .mod-setting-panel li:hover {
  603. color:#600;
  604. }
  605. .mod-setting-panel ol {
  606. padding:0 0 0 10px;
  607. }
  608. .mod-setting-panel .btns {
  609. margin-top:20px;
  610. }
  611. .mod-setting-panel input[name="reset"] {
  612. margin-left:20px;
  613. }
  614. .mod-setting-panel form {
  615. margin:0;
  616. padding:0;
  617. }
  618. .t-collapse .mod-setting-panel {
  619. position: fixed;
  620. right: 8px;
  621. }
  622. .fe-feedback>a.x-other-tools {
  623. margin: 1px 0 0;
  624. font-size: 12px;
  625. cursor: pointer;
  626. text-decoration: none;
  627. -webkit-user-select: none;
  628. user-select: none;
  629. color: #333;
  630. float: right;
  631. background-color: #f5f8ff;
  632. padding: 3px 10px;
  633. border-radius: 15px;
  634. border: 1px solid #d0d9ff;
  635. transition: all 0.3s ease;
  636. display: flex;
  637. align-items: center;
  638. position: relative;
  639. top: -2px;
  640. }
  641. .fe-feedback>a.x-other-tools-us {
  642. display: none;
  643. }
  644. .fe-feedback>.x-donate-link {
  645. line-height: 18px;
  646. color: #2563eb;
  647. cursor: pointer;
  648. text-decoration: none;
  649. border: none;
  650. white-space: nowrap;
  651. margin-right: auto;
  652. border-radius: 20px;
  653. background-color: #eff6ff;
  654. transition: all 0.2s ease;
  655. display: inline-flex;
  656. align-items: center;
  657. box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
  658. padding: 4px 12px;
  659. margin: 0 10px;
  660. font-size: 12px;
  661. font-weight: normal;
  662. }
  663. .fe-feedback>.x-donate-link-us {
  664. display: none;
  665. }
  666. .fe-feedback>.x-donate-link a{
  667. color: #333;
  668. text-decoration: none;
  669. }
  670. .fe-feedback>.x-donate-link:hover {
  671. background-color: #dbeafe;
  672. color: #1d4ed8;
  673. text-decoration: none;
  674. box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
  675. transform: translateY(-1px);
  676. }
  677. .fe-feedback>a.x-other-tools .icon-plus-circle {
  678. display: inline-block;
  679. width: 16px;
  680. height: 16px;
  681. background-size: contain;
  682. font-size: 16px;
  683. font-style: normal;
  684. line-height: 14px;
  685. margin-right: 0px;
  686. }
  687. .fe-feedback>a.x-other-tools .tool-market-badge {
  688. display: inline-block;
  689. background-color: #4d89fe;
  690. color: white;
  691. padding: 2px 6px;
  692. border-radius: 10px;
  693. margin-left: 5px;
  694. font-size: 12px;
  695. font-weight: bold;
  696. }
  697. .fe-feedback>a.x-other-tools:hover {
  698. color: #333;
  699. background-color: #e6edff;
  700. box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  701. transform: translateY(-1px);
  702. }
  703. /*================ 皮肤:theme-default ===================*/
  704. html.fh-jf body.theme-default {
  705. background-color: #fff;
  706. }
  707. .theme-default .item .key {
  708. color: #000;
  709. }
  710. .theme-default .item .kv-list {
  711. border-left: 1px dashed #bbb;
  712. }
  713. .theme-default .item .string {
  714. color: #0B7500;
  715. }
  716. .theme-default .item .string a {
  717. color: #00b;
  718. text-decoration: underline;
  719. }
  720. .theme-default .item .string a:hover {
  721. color: #b00;
  722. }
  723. .theme-default .item .bool,
  724. .theme-default .item .null,
  725. .theme-default .item .number {
  726. font-weight: bold;
  727. color: #ff6b00
  728. }
  729. .theme-default .item .number {
  730. color:#1A01CC;
  731. }
  732. .theme-default .item .item-object:hover > span,
  733. .theme-default .item .item-array:hover > span,
  734. .theme-default .item .item-block:hover > span{
  735. font-weight: bold;
  736. color: #f00;
  737. }
  738. .theme-default .item .item-line:hover,
  739. .theme-default .item-line.x-selected{
  740. background: #f9f9f9;
  741. }
  742. .theme-default .item .item-line:hover span ,
  743. .theme-default .item.x-selected>span {
  744. font-weight: bolder;
  745. background: #ff5;
  746. }
  747. /*================ 皮肤:theme-simple ===================*/
  748. .theme-simple .rootItem {
  749. white-space: pre !important;
  750. color: #000;
  751. }
  752. /*================ 皮肤:theme-light ===================*/
  753. .theme-light .item .key {
  754. color: #4d4d4c;
  755. }
  756. .theme-light .item .kv-list {
  757. border-left: 1px dashed #f1f1f1;
  758. }
  759. .theme-light .item .string {
  760. color: #718c00;
  761. }
  762. .theme-light .item .string a {
  763. color: #00b;
  764. text-decoration: underline;
  765. }
  766. .theme-light .item .string a:hover {
  767. color: #b00;
  768. }
  769. .theme-light .item .brace {
  770. font-weight: normal;
  771. }
  772. .theme-light .item .bool,
  773. .theme-light .item .null,
  774. .theme-light .item .number {
  775. font-weight: bold;
  776. color: #f5871f
  777. }
  778. .theme-light .item .number {
  779. color:#ff7c00;
  780. }
  781. .theme-light .item .item-object:hover > span,
  782. .theme-light .item .item-array:hover > span,
  783. .theme-light .item .item-block:hover > span{
  784. }
  785. .theme-light .item .item-line:hover,
  786. .theme-light .item-line.x-selected {
  787. background: #f7f3f3;
  788. }
  789. .theme-light .item .item-line:hover span ,
  790. .theme-light .item.x-selected>span {
  791. font-weight: bolder;
  792. background: #f7f3f3;
  793. }
  794. .theme-light .item .quote {
  795. color:#ccc;
  796. }
  797. /*================ 皮肤:theme-dark ===================*/
  798. .theme-dark {
  799. background:#000;
  800. }
  801. html.fh-jf .theme-dark .x-toolbar {
  802. background: -webkit-linear-gradient(#222,#222,#111);
  803. border: 1px solid #333;
  804. border-bottom-color: #363636;
  805. color:#ddd;
  806. }
  807. html.fh-jf .theme-dark .x-toolbar .x-a-title {
  808. color:#48b;
  809. }
  810. html.fh-jf .theme-dark .xjf-btn {
  811. background:-webkit-linear-gradient(#222,#222,#111);
  812. border:1px solid #444;
  813. color:#ddd;
  814. }
  815. html.fh-jf .theme-dark .xjf-btn:hover {
  816. background:-webkit-linear-gradient(#333,#333,#222);
  817. }
  818. html.fh-jf .theme-dark #statusBar {
  819. background: #333;
  820. color: #ddd;
  821. border-top: 1px solid #555;
  822. }
  823. /* 深色主题的JSON路径组件适配 */
  824. html.fh-jf .theme-dark #jsonPathLangSelector {
  825. background: #333;
  826. border-color: #555;
  827. color: #ccc;
  828. }
  829. html.fh-jf .theme-dark #jsonPathLangSelector:hover {
  830. border-color: #777;
  831. }
  832. html.fh-jf .theme-dark #jsonPathLangSelector:focus {
  833. border-color: #0066cc;
  834. }
  835. html.fh-jf .theme-dark #jsonPath {
  836. background: #2a2a2a;
  837. border-color: #444;
  838. color: #ccc;
  839. }
  840. html.fh-jf .theme-dark .boxOpt {
  841. background: -webkit-linear-gradient(#222,#222,#111);
  842. border: 1px solid #333;
  843. }
  844. html.fh-jf .theme-dark .boxOpt a:hover {
  845. color:#eee;
  846. }
  847. html.fh-jf .theme-dark .mod-setting-panel {
  848. background: #222;
  849. color: #fff;
  850. border-color: #444;
  851. box-shadow: 1px 1px #111;
  852. }
  853. html.fh-jf .theme-dark .mod-setting-panel li:hover {
  854. color:#ff0;
  855. }
  856. html.fh-jf .theme-dark .mod-setting-panel input[name="maxlength"] {
  857. background: #000;
  858. border: 1px solid #555;
  859. color: #fff;
  860. }
  861. html.fh-jf .theme-dark .item .key {
  862. color: #fff;
  863. }
  864. html.fh-jf .theme-dark .item .kv-list {
  865. border-left: 1px dashed #222;
  866. }
  867. html.fh-jf .theme-dark .item .string {
  868. color: #0f0;
  869. }
  870. html.fh-jf .theme-dark .item .string a {
  871. color: #369ad6;
  872. text-decoration: underline;
  873. }
  874. html.fh-jf .theme-dark .item .string a:hover {
  875. color: #b00;
  876. }
  877. html.fh-jf .theme-dark .item .brace,
  878. html.fh-jf .theme-dark .item .colon,
  879. html.fh-jf .theme-dark .item .comma{
  880. color:#eaeaea;
  881. }
  882. html.fh-jf .theme-dark .item .bool,
  883. html.fh-jf .theme-dark .item .null,
  884. html.fh-jf .theme-dark .item .number {
  885. font-weight: bold;
  886. color: #f00
  887. }
  888. html.fh-jf .theme-dark .item .item-object:hover > span,
  889. html.fh-jf .theme-dark .item .item-array:hover > span,
  890. html.fh-jf .theme-dark .item .item-block:hover > span{
  891. font-weight: bold;
  892. color: orange;
  893. }
  894. html.fh-jf .theme-dark .item .item-line:hover,
  895. html.fh-jf .theme-dark .item-line.x-selected {
  896. background: #111;
  897. }
  898. html.fh-jf .theme-dark .item .item-line:hover span ,
  899. html.fh-jf .theme-dark .item.x-selected>span {
  900. font-weight: bolder;
  901. background: #444;
  902. }
  903. html.fh-jf .theme-dark .item .quote {
  904. color:#eaeaea;
  905. }
  906. html.fh-jf .theme-dark .item .expand {
  907. color:#fff;
  908. }
  909. html.fh-jf .theme-dark .x-donate-link {
  910. background-color: #222;
  911. border: 1px solid #444;
  912. color: #ddd;
  913. }
  914. html.fh-jf .theme-dark .x-donate-link:hover {
  915. background-color: #333;
  916. }
  917. html.fh-jf .theme-dark .x-donate-link a {
  918. color: #ddd;
  919. }
  920. html.fh-jf .theme-dark .x-other-tools {
  921. background-color: #222;
  922. border: 1px solid #444;
  923. color: #ddd;
  924. }
  925. /*================ 皮肤:theme-vscode ===================*/
  926. /* VSCode主题的JSON路径组件适配 */
  927. .theme-vscode #jsonPathLangSelector {
  928. background: #f8f8f8;
  929. border-color: #ccc;
  930. color: #333;
  931. }
  932. .theme-vscode #jsonPath {
  933. background: #f8f8f8;
  934. border-color: #ddd;
  935. color: #333;
  936. }
  937. .theme-vscode .item .key {
  938. color: #f00;
  939. }
  940. .theme-vscode .item .quote {
  941. color:#eaa;
  942. }
  943. .theme-vscode .item .kv-list {
  944. border-left: 1px dashed #f1f1f1;
  945. }
  946. .theme-vscode .item .string {
  947. color: #a31515;
  948. }
  949. .theme-vscode .item .string a {
  950. color: #00b;
  951. text-decoration: underline;
  952. }
  953. .theme-vscode .item .string a:hover {
  954. color: #b00;
  955. }
  956. .theme-vscode .item .brace {
  957. font-weight: normal;
  958. }
  959. .theme-vscode .item .bool,
  960. .theme-vscode .item .null,
  961. .theme-vscode .item .number {
  962. font-weight: bold;
  963. color: #a31515
  964. }
  965. .theme-vscode .item .number {
  966. color: blue;
  967. }
  968. .theme-vscode .item .item-line:hover,
  969. .theme-vscode .item-line.x-selected {
  970. background: #f7f3f3;
  971. }
  972. .theme-vscode .item .item-line:hover span ,
  973. .theme-vscode .item.x-selected>span {
  974. font-weight: bolder;
  975. background: #f7f3f3;
  976. }
  977. /*================ 皮肤:theme-github ===================*/
  978. /* GitHub主题的JSON路径组件适配 */
  979. .theme-github #jsonPathLangSelector {
  980. background: #fff;
  981. border-color: #d1d5da;
  982. color: #24292e;
  983. }
  984. .theme-github #jsonPath {
  985. background: #f6f8fa;
  986. border-color: #d1d5da;
  987. color: #24292e;
  988. }
  989. .theme-github {
  990. background: #f8f8f8;
  991. }
  992. .theme-github .item .key {
  993. color: #333;
  994. }
  995. .theme-github .item .quote {
  996. color:#aaa;
  997. }
  998. .theme-github .item .kv-list {
  999. border-left: 1px dashed #e8e8e8;
  1000. }
  1001. .theme-github .item .string {
  1002. color: #d14;
  1003. }
  1004. .theme-github .item .string a {
  1005. color: #00b;
  1006. text-decoration: underline;
  1007. }
  1008. .theme-github .item .string a:hover {
  1009. color: #b00;
  1010. }
  1011. .theme-github .item .brace {
  1012. font-weight: normal;
  1013. }
  1014. .theme-github .item .bool,
  1015. .theme-github .item .null,
  1016. .theme-github .item .number {
  1017. font-weight: bold;
  1018. color: #008080
  1019. }
  1020. .theme-github .item .number {
  1021. color: blue;
  1022. }
  1023. .theme-github .item .item-line:hover,
  1024. .theme-github .item-line.x-selected {
  1025. background: #f7f3f3;
  1026. }
  1027. .theme-github .item .item-line:hover span ,
  1028. .theme-github .item.x-selected>span {
  1029. font-weight: bolder;
  1030. background: #f7f3f3;
  1031. }
  1032. /*================ 皮肤:theme-vegetarian ===================*/
  1033. .theme-vegetarian .item-line.x-selected {
  1034. background: #f9f9f9;
  1035. }
  1036. .fh-jf .json-formatter-container {display: none;}
  1037. .t-collapse .fe-feedback {
  1038. height: 20px;
  1039. }
  1040. .t-collapse .fe-feedback #toggleBtn{
  1041. padding-bottom: 20px;
  1042. }