index.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. @import url("../static/vendor/codemirror/codemirror.css");
  2. @import url("../static/css/bootstrap.min.css");
  3. .wp-json {
  4. width:auto;
  5. }
  6. .wp-json .mod-json {
  7. position: absolute;
  8. top: 40px;
  9. bottom: 0;
  10. right:0;
  11. left:0;
  12. }
  13. body[browser-extension] .wp-json .mod-json {
  14. top: 60px;
  15. }
  16. .wp-json .mod-json .panel-txt {
  17. position: absolute;
  18. width: 500px;
  19. top: 15px;
  20. bottom: 0;
  21. }
  22. .wp-json .panel-body {
  23. padding:15px 0;
  24. }
  25. .wp-json .CodeMirror-scroll {
  26. min-height: 550px;
  27. }
  28. .json-examples {
  29. margin: 0 15px 10px 15px;
  30. padding-bottom: 10px;
  31. border-bottom: 1px solid #eee;
  32. display: flex;
  33. align-items: center;
  34. }
  35. .json-examples span {
  36. font-size: 14px;
  37. color: #666;
  38. margin-right: 10px;
  39. }
  40. .json-examples a {
  41. display: inline-block;
  42. margin-right: 15px;
  43. color: #337ab7;
  44. text-decoration: none;
  45. font-size: 14px;
  46. }
  47. .json-examples a:hover {
  48. color: #23527c;
  49. text-decoration: underline;
  50. }
  51. .result-display {
  52. margin-left: auto !important;
  53. font-size: 14px !important;
  54. white-space: nowrap;
  55. }
  56. .box-wrapper-left {
  57. height: 90%;
  58. padding:0 5px 0 0;
  59. }
  60. .box-wrapper-right {
  61. height: 90%;
  62. padding:0 0 0 5px;
  63. }
  64. #jsonSourceLeft, #jsonSourceRight, .CodeMirror {
  65. height: calc(100%);
  66. font-size: 10px;
  67. }
  68. .x-error {
  69. color: #1f0606;
  70. font-size: 12px;
  71. margin-left: 30px;
  72. }
  73. .x-error .x-hlt {
  74. color:#f00;
  75. font-weight: bold;
  76. }
  77. .x-error .x-hlt1 {
  78. color:#f00;
  79. }
  80. /* 探索更多工具样式 */
  81. .panel-title>a.x-other-tools {
  82. margin: 1px 0 0;
  83. font-size: 13px;
  84. cursor: pointer;
  85. text-decoration: none;
  86. -webkit-user-select: none;
  87. user-select: none;
  88. color: #333;
  89. float: right;
  90. background-color: #f5f8ff;
  91. padding: 5px 10px;
  92. border-radius: 15px;
  93. border: 1px solid #d0d9ff;
  94. transition: all 0.3s ease;
  95. display: flex;
  96. align-items: center;
  97. position: relative;
  98. top: -6px;
  99. }
  100. .panel-title>a.x-other-tools .icon-plus-circle {
  101. display: inline-block;
  102. width: 16px;
  103. height: 16px;
  104. background: url(../static/img/plus-circle.svg) no-repeat center center;
  105. background-size: contain;
  106. margin-right: 5px;
  107. }
  108. .panel-title>a.x-other-tools .tool-market-badge {
  109. display: inline-block;
  110. background-color: #4d89fe;
  111. color: white;
  112. padding: 2px 6px;
  113. border-radius: 10px;
  114. margin-left: 5px;
  115. font-size: 12px;
  116. font-weight: bold;
  117. }
  118. .panel-title>a.x-other-tools:hover {
  119. color: #333;
  120. background-color: #e6edff;
  121. box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  122. transform: translateY(-1px);
  123. }