index.css 911 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @import url("../static/vendor/codemirror/codemirror.css");
  2. @import url("../static/css/bootstrap.min.css");
  3. body {
  4. background-color: #fff;
  5. }
  6. .wp-json {
  7. width:auto;
  8. }
  9. .wp-json .mod-json {
  10. position: absolute;
  11. top: 60px;
  12. bottom: 0;
  13. right:20px;
  14. left:20px;
  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 {
  26. height: auto;
  27. }
  28. .wp-json .CodeMirror-scroll {
  29. min-height: 550px;
  30. }
  31. .box-wrapper-left {
  32. height: 100%;
  33. padding:0 5px 0 0;
  34. }
  35. .box-wrapper-right {
  36. height: 100%;
  37. padding:0 0 0 5px;
  38. }
  39. #jsonSourceLeft, #jsonSourceRight, .CodeMirror {
  40. height: calc(100%);
  41. font-size: 10px;
  42. }
  43. .x-error {
  44. float: right;
  45. color: #0c0;
  46. font-size: 14px;
  47. }
  48. .x-error.x-hlt {
  49. color:#f00;
  50. }