fe-jsonformat.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. #jfContent{-webkit-user-select:text;margin:0;}
  2. #optionBar{-webkit-user-select:none;display:block;position:absolute;top:0px;right:0px}
  3. #buttonFormatted,#buttonPlain,#btnDownload,#buttonCollapseAll{-webkit-border-radius:2px;-webkit-box-shadow:0px 1px 3px rgba(0,0,0,0.1);
  4. -webkit-user-select:none;background:-webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);outline: none;
  5. border:1px solid #aaa;color:#444;font-size:12px;margin-bottom:0px;min-width:4em;padding:3px 0;
  6. position:relative;z-index:10;display:inline-block;width:80px;
  7. text-shadow:1px 1px rgba(255,255,255,0.3)}
  8. #buttonCollapseAll{margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0;border-left:0;}
  9. #buttonFormatted{margin-right:0;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}
  10. #btnDownload {
  11. padding: 4px 10px;
  12. text-decoration: none;
  13. color: #454545;
  14. margin-right: 10px;
  15. display: inline-block;
  16. }
  17. #buttonFormatted:hover,#buttonPlain:hover,#btnDownload:hover{-webkit-box-shadow:0px 1px 3px rgba(0,0,0,0.2);
  18. background:#ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);border-color:#999;color:#222}
  19. #buttonFormatted:active,#buttonPlain:active{-webkit-box-shadow:inset 0px 1px 3px rgba(0,0,0,0.2);
  20. background:#ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);color:#333}
  21. #buttonFormatted.selected,#buttonPlain.selected,#buttonCollapseAll.selected{-webkit-box-shadow:inset 0px 1px 5px rgba(0,0,0,0.2);
  22. background:#ebebeb -webkit-linear-gradient(#e4e4e4, #dfdfdf 40%, #dcdcdc);color:#333}
  23. #jsonpOpener,#jsonpCloser{padding:4px 0 0 8px;color:black;margin-bottom:-6px}
  24. #jsonpCloser{margin-top:0}
  25. #formattedJson{padding-left:28px;padding-top:6px}pre{padding:36px 5px 5px 5px}
  26. .kvov{display:block;padding-left:20px;margin-left:-20px;position:relative;padding-top: 2px;}
  27. #jfContent .kvov .s a {
  28. color:#00b;text-decoration: underline;
  29. }
  30. #jfContent .kvov .s a:hover {
  31. color:#b00;
  32. }
  33. .collapsed{white-space:nowrap}.collapsed>.blockInner{display:none}
  34. .collapsed>.ell:after{content:"\2026";font-weight:bold}
  35. .collapsed>.ell{margin:0 4px;color:#888}
  36. .collapsed .kvov{display:inline}
  37. .e{width:20px;height:18px;display:block;position:absolute;left:-2px;top:1px;z-index:5;
  38. background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYGBgOADE%2F3Hgw0DM4IRHgSsDFOzFInmMAQnY49ONzZRjDFiADT7dMLALiE8y4AGW6LoBAgwAuIkf%2F%2FB7O9sAAAAASUVORK5CYII%3D");
  39. background-repeat:no-repeat;background-position:center center;display:block;opacity:0.15}
  40. .collapsed>.e{-webkit-transform:rotate(-90deg);width:18px;height:20px;left:0px;top:0px}
  41. .e:hover{opacity:0.35}.e:active{opacity:0.5}.collapsed .kvov .e{display:none}
  42. .blockInner{display:block;padding-left:24px;border-left:1px dotted #bbb;margin-left:2px}
  43. #formattedJson,#jsonpOpener,#jsonpCloser{color:#333;font:13px/18px monospace}
  44. #formattedJson{color:#444}.b{font-weight:bold}.s{color:#0B7500;word-wrap:break-word}
  45. #jfContent a:link,#jfContent a:visited{text-decoration:none;color:inherit}
  46. #jfContent a:hover,#jfContent a:active{text-decoration:underline;color:#050}
  47. .bl,.nl,.n{font-weight:bold;color:#1A01CC}.k{color:black}
  48. #formattingMsg{font:13px "Lucida Grande", "Segoe UI", "Tahoma";padding:10px 0 0 8px;margin:0;color:#333;display:none;}
  49. #formattingMsg>svg{margin:0 7px;position:relative;top:1px}
  50. [hidden]{display:none !important}
  51. #jfContentspan{white-space:pre-wrap}
  52. @-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}
  53. #spinner{-webkit-animation:spin 1s 0 infinite}*{-webkit-font-smoothing:antialiased}
  54. #jfContent .x-json-tips {
  55. color:red;
  56. }
  57. #jfContent_pre {padding:0;margin:0;
  58. word-break:break-word;
  59. }
  60. html {
  61. background: #f9f9f9;
  62. font-size: 14px;
  63. color:#333;
  64. direction: ltr;
  65. }
  66. html body {
  67. background: inherit;
  68. direction: inherit;
  69. cursor: default;
  70. }
  71. .mod-json {
  72. width:980px;
  73. margin:0 auto;
  74. position: relative;
  75. }
  76. .mod-json fieldset {
  77. border : 1px solid #bbb;
  78. margin:0 0 10px;
  79. }
  80. .mod-json fieldset legend {
  81. padding:0 5px;
  82. color:red;
  83. }
  84. .mod-json .format-item {
  85. line-height: 16px;
  86. }
  87. .mod-json .format-item textarea{
  88. width:945px;
  89. height:120px;
  90. padding:2px 5px;
  91. margin:0 auto;
  92. resize:none;
  93. border-color: #ccc;
  94. }
  95. .mod-json .format-item button{
  96. width:80px;
  97. height:30px;
  98. float: right;
  99. }
  100. .mod-json .rst-item {
  101. position: relative;
  102. padding-top:30px;
  103. }
  104. .mod-contentscript {
  105. width: auto;
  106. }
  107. #formatTips {
  108. color: #888;
  109. font-size: 14px;
  110. display: block;
  111. position: absolute;
  112. top: 0px;
  113. left: 0px;
  114. }
  115. .mod-json .callback-name {
  116. font-weight: bolder;
  117. color: #a00;
  118. }
  119. /* ref fe-endecode.css */
  120. .-e-btn {
  121. float:right;
  122. height:30px;
  123. width:70px;
  124. font-size:13px;
  125. padding:5px;
  126. cursor:pointer;
  127. background: #f1f1f1;
  128. border: 1px solid #aaa;
  129. color: #b00;
  130. margin-top: 6px;
  131. }
  132. .-e-x-btn .-e-btn:hover {
  133. background: #fff;
  134. }
  135. /* ref fe-endecode.css END */
  136. #jfContent .x-hover {
  137. outline:1px solid #cdc;
  138. background: #fff;
  139. }
  140. #jfContent .x-outline {
  141. outline:1px solid #8ac;
  142. box-shadow: rgba(100, 100, 100, 0.4) -3px 3px 5px;
  143. font-weight: bold;
  144. background-color: #fffff8;
  145. }
  146. #errorMsg {
  147. margin-top: 10px;
  148. float: left;
  149. color: #f00;
  150. }