index.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) 2014-2016, Jupyter Development Team.
  3. |
  4. | Distributed under the terms of the Modified BSD License.
  5. |----------------------------------------------------------------------------*/
  6. .jp-JSONEditor {
  7. display: flex;
  8. flex-direction: column;
  9. width: 100%;
  10. }
  11. .jp-JSONEditor-host {
  12. flex: 1 1 auto;
  13. border: var(--jp-border-width) solid var(--jp-border-color1);
  14. border-radius: 0px;
  15. background: var(--jp-layout-color2);
  16. min-height: 50px;
  17. margin-left: 12px;
  18. margin-right: 12px;
  19. }
  20. .jp-JSONEditor.jp-mod-error .jp-JSONEditor-host {
  21. border-color: red;
  22. outline-color: red;
  23. }
  24. .jp-JSONEditor-header {
  25. display: flex;
  26. flex: 1 0 auto;
  27. min-height: 13px;
  28. padding: 12px;
  29. }
  30. .jp-JSONEditor-header label {
  31. flex: 0 0 auto;
  32. }
  33. .jp-JSONEditor-commitButton::before {
  34. font-family: FontAwesome;
  35. content: '\f00c'; /* check */
  36. padding-left: 4px;
  37. }
  38. .jp-JSONEditor-revertButton::before {
  39. font-family: FontAwesome;
  40. content: '\f0e2'; /* undo */
  41. }
  42. .jp-JSONEditor-collapser {
  43. flex: 1 1 auto;
  44. }
  45. .jp-JSONEditor-collapser.jp-mod-collapse-enabled::before {
  46. padding-left: 6px;
  47. font-family: FontAwesome;
  48. content: '\f0d8'; /* caret-up */
  49. }
  50. .jp-JSONEditor-collapser.jp-mod-collapse-enabled.jp-mod-collapsed::before {
  51. padding-left: 6px;
  52. font-family: FontAwesome;
  53. content: '\f0d7'; /* caret-down */
  54. }
  55. .jp-JSONEditor-host.jp-mod-collapsed {
  56. display: none;
  57. }