/**
  Copyright (c) Jupyter Development Team.
  Distributed under the terms of the Modified BSD License.
*/

/* Add CSS variables to :root */
:root {
  --jp-icon-plotly: url('./plotly.svg');
}

/* Base styles */
.jp-RenderedPlotlyEditor {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.jp-RenderedPlotlyEditor .container {
  display: flex;
  width: 100%;
  height: 100%;
}

.jp-RenderedPlotlyEditor .plotly-editor {
  width: 0;
  transition: width 0.5s;
}

.jp-RenderedPlotlyEditor .plot {
  width: 0;
  height: 100%;
  flex: 1;
}

/* Document styles */
.jp-MimeDocument .jp-RenderedPlotlyEditor {
  overflow: hidden;
}

/* Output styles */
.jp-OutputArea .jp-RenderedPlotlyEditor {
  min-height: 360px;
  max-height: 540px;
}

/* Document icon */
.jp-PlotlyIcon {
  background-image: var(--jp-icon-plotly);
}

.editor_controls .modal {
  top: 60px !important;
  height: calc(100vh - 60px) !important;
}
