content-script.css 23 KB

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