index.css 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. padding-left: 10px;
  8. padding-right: 10px;
  9. display: flex;
  10. flex-direction: column;
  11. width: 100%;
  12. }
  13. .jp-JSONEditor-host {
  14. flex: 1 1 auto;
  15. border: var(--jp-border-width) solid #cfcfcf;
  16. border-radius: 0px;
  17. background: #f7f7f7;
  18. min-height: 50px;
  19. }
  20. .jp-JSONEditor.jp-mod-error .jp-JSONEditor-host {
  21. border-color: red;
  22. outline-color: red;
  23. }
  24. .jp-JSONEditor-buttons {
  25. font-family: FontAwesome;
  26. flex: 1 0 auto;
  27. min-height: 13px;
  28. padding-bottom: 6px;
  29. }
  30. .jp-JSONEditor-commitButton::before {
  31. content: '\f00c'; /* check */
  32. float: right;
  33. margin-right: 20px;
  34. }
  35. .jp-JSONEditor-revertButton::before {
  36. content: '\f0e2'; /* undo */
  37. float: right;
  38. margin-right: 4px;
  39. }