jsoneditor.css 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. .json-editor {
  2. margin-left: 10px;
  3. padding: 20px;
  4. }
  5. .json-editor.expanded .item {
  6. display: block !important;
  7. }
  8. .json-editor .property,
  9. .json-editor .value {
  10. border: none;
  11. -webkit-border-radius: 5px;
  12. -moz-border-radius: 5px;
  13. border-radius: 5px;
  14. padding: 3px;
  15. margin-right: 2px;
  16. }
  17. .json-editor .value {
  18. background-color: #ECF3C3;
  19. width: 600px;
  20. }
  21. .json-editor .property {
  22. width: 154px;
  23. background-color: #B1C639;
  24. color: white;
  25. font-weight: bold;
  26. text-shadow: 1px 1px 1px black;
  27. }
  28. .json-editor button.property {
  29. width: 160px;
  30. }
  31. .json-editor .editing {
  32. border: 1px solid gray;
  33. outline: none;
  34. }
  35. .json-editor .item {
  36. line-height: 20px;
  37. margin-top: 2px;
  38. }
  39. .json-editor .item:last-child {
  40. border-bottom: none;
  41. }
  42. .json-editor .item > .item {
  43. margin-left: 30px;
  44. display: none;
  45. }
  46. .json-editor .item.expanded > .item {
  47. display: block;
  48. }
  49. .json-editor .expander {
  50. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJCxMmIIjsHfkAAAHTSURBVDjLzZPLaxNRFMZ/ZzKTNs10xHUyYFsfsZC2IOii2ftHCKKx/0G1brQlFhShCzfuXXUjuHErKGiVpr6qYK0bGyMoyCRVq5Mwkzku8ja6c+GFA5f7ne87zwv/zXn2bgcAVRVVNf5i0usLIO3Lq/cfze2trdfra48yHbCFqnYDnZjNbafcdPbtxpMgn893BXYqPxZO5o5fNwwDAUSkL0NVRYEoarB65+6tY5mJswBGN5okfP9nhyxA2nVJp9N9b/Vana/VaidLszeKIIgIhghhGDI/fx7H2ceZ06ewrDhRt2YdEBBpg0rKdRm1bZxRm+TIMNnsFN/39iiXyyDd3vSd8q6/dGB8XI8cndR7Dx5qpKqNqGmqqsUXm3o4k9GxiYN6f/3p44EMFAUFyzRZLiyxMjzEpcuL2LbNxYUL+LU6cStOEAQ9BfQKNPkoUPE8wjDEr9UxrSFKpRKWFW/ytH+s5sCoVImAWCzG8pVC08myiFpYk6vyhwz0m+04aKPRchE8z/ttD5SRZJJEIlEZ2MSV26sc2p/afL5RnOrZjQ653afp6Zmg+ulDbu7cXLFPYO3lG2ZnJrlWWByLxUyr09jWfrRnvfvlc/nqjZv+P/uEvwD/VNrBXhv7BAAAAABJRU5ErkJggg==") no-repeat center center;
  51. width: 16px;
  52. height: 11px;
  53. display: inline-block;
  54. margin-left: -15px;
  55. cursor: pointer;
  56. }
  57. .json-editor .item.expanded > .expander {
  58. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sKBBAdNcQGwvUAAAGjSURBVDjLzZNNS1tREIafOfdGjcaA65hFKQUpWIWCLgwI3fQnFMGN0Z/QiqsWKVgKLrpx78pNoZv+BUU0WNRC/dgoTaFCMWnUNoZ7b6aLm5ycS+quix44cJiPd953Zg78N2fv9BwAVRVVNXdccWMBpP04PPvmnxwdfd7Z2hyxzpZXtVNocqpwkssPjx6XtoNisdgBOK/8WnxamHhrjEEAEUkwVFUUaDYjNj58XH88cn8OwHSqSbpe/22T3XTX1rhtUKtWLUtDIlAQEYwIURRZexgGGBEX2IryXb3S8uXyeQYzGYc/XN/cUC6XQTq9SQIQI4RhxPMXSzyZLtjmGYHS/iGzM89iQX8DUBQUUr7P6+VXrPb1MpjNAnBVq1G/bdCT6iEIAkeACxDno0Dl8pIwDDGeZwONSJynybH6XaNSpQl4nmcLiUCz5YttKl1TUNWrTDabAEmwU0VR+gcGSKfTla5NXH2/wYOh3MGn0u4jZzcss3afxsbGg+r3r4WF+YXdBMDW/hemxh/yZvnlPc/zU7ax7Qm1tPz8cVFeebdW/2ef8A+6rb2Fr7Cr4wAAAABJRU5ErkJggg==") no-repeat center center;
  59. }
  60. .json-editor .item.appender > .property {
  61. background-color: #999999;
  62. cursor: pointer;
  63. width: 100px;
  64. }
  65. .json-editor .item.string > .property { background-color: #009408; }
  66. .json-editor .item.array > .property { background-color: #2D5B89; }
  67. .json-editor .item.object > .property { background-color: #E17000; }
  68. .json-editor .item.number > .property { background-color: #497B8D; }
  69. /*.json-editor .item.boolean { background-color: }*/
  70. /*.json-editor .item.null { background-color: }*/