1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- /*-----------------------------------------------------------------------------
- | Copyright (c) 2014-2016, Jupyter Development Team.
- |
- | Distributed under the terms of the Modified BSD License.
- |----------------------------------------------------------------------------*/
- .jp-JSONEditor {
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- .jp-JSONEditor-host {
- flex: 1 1 auto;
- border: var(--jp-border-width) solid var(--jp-border-color1);
- border-radius: 0px;
- background: var(--jp-layout-color2);
- min-height: 50px;
- margin-left: 12px;
- margin-right: 12px;
- }
- .jp-JSONEditor.jp-mod-error .jp-JSONEditor-host {
- border-color: red;
- outline-color: red;
- }
- .jp-JSONEditor-header {
- display: flex;
- flex: 1 0 auto;
- min-height: 13px;
- padding: 12px;
- }
- .jp-JSONEditor-header label {
- flex: 0 0 auto;
- }
- .jp-JSONEditor-commitButton::before {
- font-family: FontAwesome;
- content: '\f00c'; /* check */
- padding-left: 4px;
- }
- .jp-JSONEditor-revertButton::before {
- font-family: FontAwesome;
- content: '\f0e2'; /* undo */
- }
- .jp-JSONEditor-collapser {
- flex: 1 1 auto;
- }
- .jp-JSONEditor-collapser.jp-mod-collapse-enabled::before {
- padding-left: 6px;
- font-family: FontAwesome;
- content: '\f0d8'; /* caret-up */
- }
- .jp-JSONEditor-collapser.jp-mod-collapse-enabled.jp-mod-collapsed::before {
- padding-left: 6px;
- font-family: FontAwesome;
- content: '\f0d7'; /* caret-down */
- }
- .jp-JSONEditor-host.jp-mod-collapsed {
- display: none;
- }
|