
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2016, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/


.jp-ObservableJSONWidget {
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
}


.jp-ObservableJSONWidget-host {
  flex: 1 1 auto;
  border: var(--jp-border-width) solid #cfcfcf;
  border-radius: 0px;
  background: #f7f7f7;
  min-height: 50px;
}


.jp-ObservableJSONWidget.jp-mod-error .jp-ObservableJSONWidget-host {
  border-color: red;
  outline-color: red;
}


.jp-ObservableJSONWidget-buttons {
  font-family: FontAwesome;
  flex: 1 0 auto;
  min-height: 13px;
  padding-bottom: 6px;
}


.jp-ObservableJSONWidget-commitButton::before {
  content: '\f0c7'; /* save */
  float: right;
  margin-right: 20px;
}


.jp-ObservableJSONWidget-revertButton::before {
  content: '\f0e2'; /* undo */
  float: right;
  margin-right: 4px;
}
