content-script.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194
  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 input#sort_desc {
  361. margin-right: 0;
  362. }
  363. html.fh-jf .x-toolbar .x-sort {
  364. display: inline;
  365. margin: 0;
  366. }
  367. html.fh-jf .x-toolbar .x-split {
  368. margin: 0 5px;
  369. color: #ccc;
  370. display: inline;
  371. }
  372. html.fh-jf .x-toolbar label {
  373. font-weight: normal;
  374. margin-bottom: 0;
  375. }
  376. html.fh-jf .x-toolbar img {
  377. vertical-align: middle;
  378. }
  379. html.fh-jf .x-toolbar .x-a-title {
  380. font-size: 14px;
  381. color: blue;
  382. text-decoration: none;
  383. font-weight: bold;
  384. }
  385. html.fh-jf .x-toolbar .x-b-title {
  386. font-size: 14px;
  387. font-weight: bold;
  388. }
  389. html.fh-jf .x-toolbar.t-collapse {
  390. position: fixed;
  391. left: 100%;
  392. margin-left: -24px;
  393. width: 10000px;
  394. top: -10px;
  395. }
  396. html.fh-jf .x-toolbar.t-collapse .fe-feedback {
  397. float: left;
  398. margin-left: -10px;
  399. margin-right: 20px;
  400. }
  401. html.fh-jf .x-toolbar.t-collapse .fe-feedback .x-settings{
  402. display: none;
  403. }
  404. html.fh-jf .mod-json .format-item button {
  405. width: 80px;
  406. height: 30px;
  407. float: right;
  408. }
  409. html.fh-jf .mod-contentscript {
  410. width: auto;
  411. }
  412. #optionBar {
  413. display: inline-block !important;
  414. position: static !important;
  415. }
  416. html.fh-jf body>#optionBar ,
  417. html.fh-jf body>#jfContent {
  418. display: none !important;
  419. }
  420. #formatTips {
  421. color: #888;
  422. font-size: 14px;
  423. display: block;
  424. position: absolute;
  425. top: 0px;
  426. left: 0px;
  427. }
  428. #jsonSource {
  429. height: 120px;
  430. }
  431. html.fh-jf .mod-json .callback-name {
  432. font-weight: bolder;
  433. color: #a00;
  434. }
  435. #errorMsg {
  436. margin-top: 10px;
  437. float: left;
  438. color: #f00;
  439. }
  440. #statusBar {
  441. position: fixed;
  442. bottom: 0;
  443. left: 0;
  444. right: 0;
  445. background: #f5f5f5;
  446. border-top:1px solid #f4f4f4;
  447. font-size: 12px;
  448. font-weight: bold;
  449. padding: 2px 10px 2px 2px;
  450. z-index: 10
  451. }
  452. html.fh-jf .hide-status-bar #statusBar {
  453. width:0;
  454. height:0;
  455. opacity: 0;
  456. }
  457. /* JSON Path 语言选择器容器 */
  458. #jsonPathContainer {
  459. display: flex;
  460. align-items: center;
  461. gap: 10px;
  462. flex-wrap: wrap;
  463. }
  464. /* 语言选择下拉框样式 */
  465. #jsonPathLangSelector {
  466. background: #fff;
  467. border: 1px solid #ccc;
  468. border-radius: 3px;
  469. padding: 2px 5px;
  470. font-size: 11px;
  471. color: #333;
  472. outline: none;
  473. cursor: pointer;
  474. min-width: 80px;
  475. }
  476. #jsonPathLangSelector:hover {
  477. border-color: #999;
  478. }
  479. #jsonPathLangSelector:focus {
  480. border-color: #0066cc;
  481. box-shadow: 0 0 3px rgba(0, 102, 204, 0.3);
  482. }
  483. /* JSON路径显示样式优化 */
  484. #jsonPath {
  485. cursor: default;
  486. font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  487. background: #f8f8f8;
  488. padding: 3px 8px;
  489. border-radius: 3px;
  490. border: 1px solid #e0e0e0;
  491. font-size: 11px;
  492. word-break: break-all;
  493. max-width: calc(100vw - 200px);
  494. overflow-x: auto;
  495. white-space: nowrap;
  496. }
  497. html.fh-jf .boxOpt {
  498. position: absolute;
  499. right: 0;
  500. top:-1px;
  501. background: -webkit-linear-gradient(#fafafa,#f4f4f4 40%,#e5e5e5);
  502. color: #888;
  503. border:1px solid #ddd;
  504. user-select: none;
  505. font-weight: normal;
  506. z-index: 1000;
  507. }
  508. html.fh-jf .boxOpt a {
  509. cursor: pointer;
  510. margin: 0 5px;
  511. font-size: 12px;
  512. color: #666;
  513. text-decoration: none;
  514. }
  515. html.fh-jf .boxOpt a:hover {
  516. color:#000;
  517. text-decoration: none;
  518. }
  519. html.fh-jf .fe-feedback {
  520. font-size: 12px;
  521. padding-top: 3px;
  522. color: #888;
  523. float: right;
  524. cursor: pointer;
  525. font-weight: bold;
  526. position: relative;
  527. top: -2px;
  528. }
  529. .fe-feedback a {
  530. color: #888;
  531. text-decoration: none;
  532. text-align: left;
  533. margin-right: 5px;
  534. }
  535. .fe-feedback a:hover {
  536. color: #c00;
  537. }
  538. html.fh-jf svg:not(:root) {
  539. overflow: hidden;
  540. }
  541. .fe-feedback svg {
  542. vertical-align: text-bottom;
  543. display: inline-block;
  544. fill: currentColor;
  545. }
  546. .fe-feedback img {
  547. opacity: 0.6;
  548. position: relative;
  549. top: 1px;
  550. }
  551. .fe-feedback a:focus {
  552. outline: none;
  553. }
  554. .fe-feedback a:hover img {
  555. opacity: 1.0;
  556. }
  557. .fe-feedback .x-settings {
  558. cursor: pointer;
  559. margin-right: 10px;
  560. }
  561. .fe-feedback .x-settings:hover {
  562. color: #c00;
  563. }
  564. #fehelper_alertmsg {
  565. font-family: "monospace", "微软雅黑";
  566. }
  567. #aLinkDownload {
  568. position: absolute;
  569. top:-10000px;
  570. left:-10000px;
  571. }
  572. /*设置面板*/
  573. .mod-setting-panel {
  574. position: absolute;
  575. top: 43px;
  576. right: 0;
  577. z-index:10000;
  578. width:300px;
  579. background:#f1f1f1;
  580. padding:0 20px 20px;
  581. border:1px solid #ddd;
  582. border-radius: 4px;
  583. font-size:12px;
  584. color:#454545;
  585. box-shadow: 2px 2px #f9f9f9;
  586. }
  587. .mod-setting-panel h4 {
  588. border-bottom: 1px solid #ccc;
  589. padding-bottom: 4px;
  590. margin:20px 0 10px;
  591. }
  592. .mod-setting-panel input[name="maxlength"] {
  593. width:50px;
  594. background: #fff;
  595. border: 1px solid #eee;
  596. }
  597. .mod-setting-panel ul {
  598. margin:0;
  599. padding:0 10px;
  600. }
  601. .mod-setting-panel li {
  602. padding:2px 0;
  603. list-style: none;
  604. }
  605. .mod-setting-panel li:hover {
  606. color:#600;
  607. }
  608. .mod-setting-panel ol {
  609. padding:0 0 0 10px;
  610. }
  611. .mod-setting-panel .btns {
  612. margin-top:20px;
  613. }
  614. .mod-setting-panel input[name="reset"] {
  615. margin-left:20px;
  616. }
  617. .mod-setting-panel form {
  618. margin:0;
  619. padding:0;
  620. }
  621. .t-collapse .mod-setting-panel {
  622. position: fixed;
  623. right: 8px;
  624. }
  625. .fe-feedback>a.x-other-tools {
  626. margin: 1px 0 0;
  627. font-size: 12px;
  628. cursor: pointer;
  629. text-decoration: none;
  630. -webkit-user-select: none;
  631. user-select: none;
  632. color: #333;
  633. float: right;
  634. background-color: #f5f8ff;
  635. padding: 3px 10px;
  636. border-radius: 15px;
  637. border: 1px solid #d0d9ff;
  638. transition: all 0.3s ease;
  639. display: flex;
  640. align-items: center;
  641. position: relative;
  642. top: -2px;
  643. }
  644. .fe-feedback>a.x-other-tools-us {
  645. display: none;
  646. }
  647. .fe-feedback>.x-donate-link {
  648. line-height: 18px;
  649. color: #2563eb;
  650. cursor: pointer;
  651. text-decoration: none;
  652. border: none;
  653. white-space: nowrap;
  654. margin-right: auto;
  655. border-radius: 20px;
  656. background-color: #eff6ff;
  657. transition: all 0.2s ease;
  658. display: inline-flex;
  659. align-items: center;
  660. box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
  661. padding: 4px 12px;
  662. margin: 0 10px;
  663. font-size: 12px;
  664. font-weight: normal;
  665. }
  666. .fe-feedback>.x-donate-link-us {
  667. display: none;
  668. }
  669. .fe-feedback>.x-donate-link a{
  670. color: #333;
  671. text-decoration: none;
  672. }
  673. .fe-feedback>.x-donate-link:hover {
  674. background-color: #dbeafe;
  675. color: #1d4ed8;
  676. text-decoration: none;
  677. box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
  678. transform: translateY(-1px);
  679. }
  680. .fe-feedback>a.x-other-tools .icon-plus-circle {
  681. display: inline-block;
  682. width: 16px;
  683. height: 16px;
  684. background-size: contain;
  685. font-size: 16px;
  686. font-style: normal;
  687. line-height: 14px;
  688. margin-right: 0px;
  689. }
  690. .fe-feedback>a.x-other-tools .tool-market-badge {
  691. display: inline-block;
  692. background-color: #4d89fe;
  693. color: white;
  694. padding: 2px 6px;
  695. border-radius: 10px;
  696. margin-left: 5px;
  697. font-size: 12px;
  698. font-weight: bold;
  699. }
  700. .fe-feedback>a.x-other-tools:hover {
  701. color: #333;
  702. background-color: #e6edff;
  703. box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  704. transform: translateY(-1px);
  705. }
  706. /*================ 皮肤:theme-default ===================*/
  707. html.fh-jf body.theme-default {
  708. background-color: #fff;
  709. }
  710. .theme-default .item .key {
  711. color: #000;
  712. }
  713. .theme-default .item .kv-list {
  714. border-left: 1px dashed #bbb;
  715. }
  716. .theme-default .item .string {
  717. color: #0B7500;
  718. }
  719. .theme-default .item .string a {
  720. color: #00b;
  721. text-decoration: underline;
  722. }
  723. .theme-default .item .string a:hover {
  724. color: #b00;
  725. }
  726. .theme-default .item .bool,
  727. .theme-default .item .null,
  728. .theme-default .item .number {
  729. font-weight: bold;
  730. color: #ff6b00
  731. }
  732. .theme-default .item .number {
  733. color:#1A01CC;
  734. }
  735. .theme-default .item .item-object:hover > span,
  736. .theme-default .item .item-array:hover > span,
  737. .theme-default .item .item-block:hover > span{
  738. font-weight: bold;
  739. color: #f00;
  740. }
  741. .theme-default .item .item-line:hover,
  742. .theme-default .item-line.x-selected{
  743. background: #f9f9f9;
  744. }
  745. .theme-default .item .item-line:hover span ,
  746. .theme-default .item.x-selected>span {
  747. font-weight: bolder;
  748. background: #ff5;
  749. }
  750. /*================ 皮肤:theme-simple ===================*/
  751. .theme-simple .rootItem {
  752. white-space: pre !important;
  753. color: #000;
  754. }
  755. /*================ 皮肤:theme-light ===================*/
  756. .theme-light .item .key {
  757. color: #4d4d4c;
  758. }
  759. .theme-light .item .kv-list {
  760. border-left: 1px dashed #f1f1f1;
  761. }
  762. .theme-light .item .string {
  763. color: #718c00;
  764. }
  765. .theme-light .item .string a {
  766. color: #00b;
  767. text-decoration: underline;
  768. }
  769. .theme-light .item .string a:hover {
  770. color: #b00;
  771. }
  772. .theme-light .item .brace {
  773. font-weight: normal;
  774. }
  775. .theme-light .item .bool,
  776. .theme-light .item .null,
  777. .theme-light .item .number {
  778. font-weight: bold;
  779. color: #f5871f
  780. }
  781. .theme-light .item .number {
  782. color:#ff7c00;
  783. }
  784. .theme-light .item .item-object:hover > span,
  785. .theme-light .item .item-array:hover > span,
  786. .theme-light .item .item-block:hover > span{
  787. }
  788. .theme-light .item .item-line:hover,
  789. .theme-light .item-line.x-selected {
  790. background: #f7f3f3;
  791. }
  792. .theme-light .item .item-line:hover span ,
  793. .theme-light .item.x-selected>span {
  794. font-weight: bolder;
  795. background: #f7f3f3;
  796. }
  797. .theme-light .item .quote {
  798. color:#ccc;
  799. }
  800. /*================ 皮肤:theme-dark ===================*/
  801. .theme-dark {
  802. background:#000;
  803. }
  804. html.fh-jf .theme-dark .x-toolbar {
  805. background: -webkit-linear-gradient(#222,#222,#111);
  806. border: 1px solid #333;
  807. border-bottom-color: #363636;
  808. color:#ddd;
  809. }
  810. html.fh-jf .theme-dark .x-toolbar .x-a-title {
  811. color:#48b;
  812. }
  813. html.fh-jf .theme-dark .xjf-btn {
  814. background:-webkit-linear-gradient(#222,#222,#111);
  815. border:1px solid #444;
  816. color:#ddd;
  817. }
  818. html.fh-jf .theme-dark .xjf-btn:hover {
  819. background:-webkit-linear-gradient(#333,#333,#222);
  820. }
  821. html.fh-jf .theme-dark #statusBar {
  822. background: #333;
  823. color: #ddd;
  824. border-top: 1px solid #555;
  825. }
  826. /* 深色主题的JSON路径组件适配 */
  827. html.fh-jf .theme-dark #jsonPathLangSelector {
  828. background: #333;
  829. border-color: #555;
  830. color: #ccc;
  831. }
  832. html.fh-jf .theme-dark #jsonPathLangSelector:hover {
  833. border-color: #777;
  834. }
  835. html.fh-jf .theme-dark #jsonPathLangSelector:focus {
  836. border-color: #0066cc;
  837. }
  838. html.fh-jf .theme-dark #jsonPath {
  839. background: #2a2a2a;
  840. border-color: #444;
  841. color: #ccc;
  842. }
  843. html.fh-jf .theme-dark .boxOpt {
  844. background: -webkit-linear-gradient(#222,#222,#111);
  845. border: 1px solid #333;
  846. }
  847. html.fh-jf .theme-dark .boxOpt a:hover {
  848. color:#eee;
  849. }
  850. html.fh-jf .theme-dark .mod-setting-panel {
  851. background: #222;
  852. color: #fff;
  853. border-color: #444;
  854. box-shadow: 1px 1px #111;
  855. }
  856. html.fh-jf .theme-dark .mod-setting-panel li:hover {
  857. color:#ff0;
  858. }
  859. html.fh-jf .theme-dark .mod-setting-panel input[name="maxlength"] {
  860. background: #000;
  861. border: 1px solid #555;
  862. color: #fff;
  863. }
  864. html.fh-jf .theme-dark .item .key {
  865. color: #fff;
  866. }
  867. html.fh-jf .theme-dark .item .kv-list {
  868. border-left: 1px dashed #222;
  869. }
  870. html.fh-jf .theme-dark .item .string {
  871. color: #0f0;
  872. }
  873. html.fh-jf .theme-dark .item .string a {
  874. color: #369ad6;
  875. text-decoration: underline;
  876. }
  877. html.fh-jf .theme-dark .item .string a:hover {
  878. color: #b00;
  879. }
  880. html.fh-jf .theme-dark .item .brace,
  881. html.fh-jf .theme-dark .item .colon,
  882. html.fh-jf .theme-dark .item .comma{
  883. color:#eaeaea;
  884. }
  885. html.fh-jf .theme-dark .item .bool,
  886. html.fh-jf .theme-dark .item .null,
  887. html.fh-jf .theme-dark .item .number {
  888. font-weight: bold;
  889. color: #f00
  890. }
  891. html.fh-jf .theme-dark .item .item-object:hover > span,
  892. html.fh-jf .theme-dark .item .item-array:hover > span,
  893. html.fh-jf .theme-dark .item .item-block:hover > span{
  894. font-weight: bold;
  895. color: orange;
  896. }
  897. html.fh-jf .theme-dark .item .item-line:hover,
  898. html.fh-jf .theme-dark .item-line.x-selected {
  899. background: #111;
  900. }
  901. html.fh-jf .theme-dark .item .item-line:hover span ,
  902. html.fh-jf .theme-dark .item.x-selected>span {
  903. font-weight: bolder;
  904. background: #444;
  905. }
  906. html.fh-jf .theme-dark .item .quote {
  907. color:#eaeaea;
  908. }
  909. html.fh-jf .theme-dark .item .expand {
  910. color:#fff;
  911. }
  912. html.fh-jf .theme-dark .x-donate-link {
  913. background-color: #222;
  914. border: 1px solid #444;
  915. color: #ddd;
  916. }
  917. html.fh-jf .theme-dark .x-donate-link:hover {
  918. background-color: #333;
  919. }
  920. html.fh-jf .theme-dark .x-donate-link a {
  921. color: #ddd;
  922. }
  923. html.fh-jf .theme-dark .x-other-tools {
  924. background-color: #222;
  925. border: 1px solid #444;
  926. color: #ddd;
  927. }
  928. /*================ 皮肤:theme-vscode ===================*/
  929. /* VSCode主题的JSON路径组件适配 */
  930. .theme-vscode #jsonPathLangSelector {
  931. background: #f8f8f8;
  932. border-color: #ccc;
  933. color: #333;
  934. }
  935. .theme-vscode #jsonPath {
  936. background: #f8f8f8;
  937. border-color: #ddd;
  938. color: #333;
  939. }
  940. .theme-vscode .item .key {
  941. color: #f00;
  942. }
  943. .theme-vscode .item .quote {
  944. color:#eaa;
  945. }
  946. .theme-vscode .item .kv-list {
  947. border-left: 1px dashed #f1f1f1;
  948. }
  949. .theme-vscode .item .string {
  950. color: #a31515;
  951. }
  952. .theme-vscode .item .string a {
  953. color: #00b;
  954. text-decoration: underline;
  955. }
  956. .theme-vscode .item .string a:hover {
  957. color: #b00;
  958. }
  959. .theme-vscode .item .brace {
  960. font-weight: normal;
  961. }
  962. .theme-vscode .item .bool,
  963. .theme-vscode .item .null,
  964. .theme-vscode .item .number {
  965. font-weight: bold;
  966. color: #a31515
  967. }
  968. .theme-vscode .item .number {
  969. color: blue;
  970. }
  971. .theme-vscode .item .item-line:hover,
  972. .theme-vscode .item-line.x-selected {
  973. background: #f7f3f3;
  974. }
  975. .theme-vscode .item .item-line:hover span ,
  976. .theme-vscode .item.x-selected>span {
  977. font-weight: bolder;
  978. background: #f7f3f3;
  979. }
  980. /*================ 皮肤:theme-github ===================*/
  981. /* GitHub主题的JSON路径组件适配 */
  982. .theme-github #jsonPathLangSelector {
  983. background: #fff;
  984. border-color: #d1d5da;
  985. color: #24292e;
  986. }
  987. .theme-github #jsonPath {
  988. background: #f6f8fa;
  989. border-color: #d1d5da;
  990. color: #24292e;
  991. }
  992. .theme-github {
  993. background: #f8f8f8;
  994. }
  995. .theme-github .item .key {
  996. color: #333;
  997. }
  998. .theme-github .item .quote {
  999. color:#aaa;
  1000. }
  1001. .theme-github .item .kv-list {
  1002. border-left: 1px dashed #e8e8e8;
  1003. }
  1004. .theme-github .item .string {
  1005. color: #d14;
  1006. }
  1007. .theme-github .item .string a {
  1008. color: #00b;
  1009. text-decoration: underline;
  1010. }
  1011. .theme-github .item .string a:hover {
  1012. color: #b00;
  1013. }
  1014. .theme-github .item .brace {
  1015. font-weight: normal;
  1016. }
  1017. .theme-github .item .bool,
  1018. .theme-github .item .null,
  1019. .theme-github .item .number {
  1020. font-weight: bold;
  1021. color: #008080
  1022. }
  1023. .theme-github .item .number {
  1024. color: blue;
  1025. }
  1026. .theme-github .item .item-line:hover,
  1027. .theme-github .item-line.x-selected {
  1028. background: #f7f3f3;
  1029. }
  1030. .theme-github .item .item-line:hover span ,
  1031. .theme-github .item.x-selected>span {
  1032. font-weight: bolder;
  1033. background: #f7f3f3;
  1034. }
  1035. /*================ 皮肤:theme-vegetarian ===================*/
  1036. .theme-vegetarian .item-line.x-selected {
  1037. background: #f9f9f9;
  1038. }
  1039. .fh-jf .json-formatter-container {display: none;}
  1040. .t-collapse .fe-feedback {
  1041. height: 20px;
  1042. }
  1043. .t-collapse .fe-feedback #toggleBtn{
  1044. padding-bottom: 20px;
  1045. }