index.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @import url("../static/vendor/codemirror/codemirror.css");
  2. @import url("../static/css/bootstrap.min.css");
  3. @import url("./without-ui.css");
  4. body {
  5. background-color: #fff;
  6. }
  7. .wrapper {padding-right:0}
  8. .wp-json {
  9. width:auto;
  10. }
  11. .wp-json .mod-json {
  12. position: absolute;
  13. top: 60px;
  14. bottom: 0;
  15. right:0;
  16. left:20px;
  17. }
  18. .wp-json .mod-json .panel-txt {
  19. position: absolute;
  20. width: 500px;
  21. top: 15px;
  22. bottom: 0;
  23. }
  24. .wp-json .mod-json .rst-item {
  25. margin-left: 500px;
  26. position: relative;
  27. padding-top: 0;
  28. padding-bottom:20px;
  29. }
  30. #optionBar {
  31. position: fixed;
  32. top: 30px;
  33. right: 30px;
  34. }
  35. #jfContent_pre {
  36. display: none;
  37. padding: 10px;
  38. }
  39. #jsonSource,.CodeMirror {
  40. height: calc(100% - 50px);
  41. font-size: 10px;
  42. }
  43. #errorMsg {
  44. color: #f00;
  45. margin-left: 10px;
  46. float: right;
  47. }
  48. #jfContent {
  49. margin-right: 10px;
  50. }
  51. .x-placeholder {
  52. padding-top: 50px;
  53. text-align: center;
  54. }
  55. .x-placeholder img{
  56. width: 400px;
  57. opacity: 0.15;
  58. }
  59. .x-xdemo,a.x-xdemo {
  60. margin-left: 30px;
  61. font-size: 12px;
  62. color: blue;
  63. cursor: pointer;
  64. text-decoration: underline;
  65. }
  66. .x-xdemo:hover {
  67. text-decoration: underline;
  68. }
  69. #errorTips {
  70. position: fixed;
  71. left: 20px;
  72. bottom: 4px;
  73. z-index: 23;
  74. width: 500px;
  75. border-radius: 4px;
  76. box-shadow: 6px 5px 7px rgba(229, 163, 163, 0.4);
  77. background-color: #ffecf1;
  78. border: 1px solid #dbb2b2;
  79. overflow: auto;
  80. max-height: 98%;
  81. min-height: 100px;
  82. display: none;
  83. }
  84. #errorBtn {
  85. padding:5px 0 0 5px;
  86. font-size:16px;
  87. cursor:pointer;
  88. color:#e96969;
  89. left: 490px;
  90. background: #ffecf1;
  91. position: fixed;
  92. z-index: 100;
  93. }
  94. #errorBtn:hover {
  95. opacity:0.6;
  96. }
  97. #errorCode .errorEm {
  98. background-color:#ff921b;
  99. }
  100. #errorTarget {
  101. color:#000;
  102. background-color:#fff;
  103. }
  104. #errorCode {
  105. padding:0 10px 10px;
  106. word-break: break-all;
  107. margin-top: 30px;
  108. }
  109. #errorCode ol {
  110. padding:0 0 0 3em;
  111. }
  112. #errorCode .x-ph {
  113. color: #f00;
  114. font-weight: bold;
  115. }
  116. #tipsBox {
  117. color:#b4465c;
  118. padding: 6px 0 4px 2em;
  119. position: fixed;
  120. background-color: #ffecf1;
  121. width: 500px;
  122. }
  123. #errorCode ol li {
  124. padding:4px 7px 0;
  125. list-style-type: decimal;
  126. color:#b4465c;
  127. background-color:#fdf7f7;
  128. }
  129. #errorCode ol li div {
  130. color:#000;
  131. }
  132. input[type=checkbox] {
  133. margin-left: 20px;
  134. }
  135. .x-error {
  136. color:red;
  137. }
  138. /*layout-up-down:上下布局模式*/
  139. .wp-json .mod-json.layout-up-down {
  140. padding: 0;
  141. position: static;
  142. }
  143. .wp-json .mod-json.layout-up-down .panel-txt {
  144. position: static;
  145. width: 100%;
  146. height: 300px;
  147. margin: 2px 0;
  148. }
  149. .wp-json .mod-json.layout-up-down .rst-item {
  150. margin-left: 0;
  151. margin-right: 0;
  152. }
  153. .wp-json .mod-json.layout-up-down #optionBar {
  154. position: absolute;
  155. top: -40px;
  156. right:0;
  157. }
  158. .wp-json .mod-json.layout-up-down .x-placeholder {
  159. padding-top: 0;
  160. text-align: left;
  161. }
  162. #layoutBar {margin-left:30px}
  163. #btnLeftRight,#btnUpDown{
  164. -webkit-border-radius:2px;-webkit-box-shadow:0px 1px 3px rgba(0,0,0,0.1);
  165. -webkit-user-select:none;background:-webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);outline: none;
  166. border:1px solid #aaa;color:#444;font-size:12px;margin-bottom:0px;
  167. position:relative;z-index:10;display:inline-block;
  168. padding: 0 10px;
  169. height: 30px;
  170. text-shadow:1px 1px rgba(255,255,255,0.3)}
  171. #btnUpDown{margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0;border-left:0;}
  172. #btnLeftRight{margin-right:0;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}
  173. #btnLeftRight:hover,#btnUpDown:hover{-webkit-box-shadow:0px 1px 3px rgba(0,0,0,0.2);
  174. background:#ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);border-color:#999;color:#222}
  175. #btnLeftRight.selected, #btnUpDown.selected{-webkit-box-shadow:inset 0px 1px 5px rgba(0,0,0,0.2);
  176. background:#ebebeb -webkit-linear-gradient(#e4e4e4, #dfdfdf 40%, #dcdcdc);color:#333}