.graph-explorer {
  display: flex;
  flex-direction: column;
  height: 100%;
  // defaults for inheritable properties
  box-sizing: border-box;
  white-space: initial;
  color: var(--ge-text);
  background: var(--ge-bg);
  font-family: var(--ge-font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  *, *:before, *:after {
    box-sizing: inherit;
  }

  &__toolbar-widget {
    position: absolute;
    left: 10px;
    top: 10px;
  }

  &__workspace {
    display: flex;
    flex: auto;
    overflow: hidden;
    flex-direction: column;
  }

  &__main-panel {
    display: flex;
    flex: auto;
    overflow: hidden;
    width: 0;
  }

  &--unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  &--horizontal-resizing * { cursor: ew-resize !important; }
  &--vertical-resizing * { cursor: ns-resize !important; }

  h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  select {
    color: inherit;
    margin: 0;
    font: inherit;
    line-height: inherit;
    text-transform: none;
  }

  hr {
    border: 0;
    border-top: 1px solid var(--ge-border);
    height: 0;
  }

  // modern, thin scrollbars for panels
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--ge-border-strong);
    border: 3px solid transparent;
    background-clip: content-box;
    border-radius: var(--ge-radius-pill);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--ge-text-subtle);
    border: 3px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
}

.graph-explorer-scrollable {
  flex: 1 1 0px; // IE 11 requires a unit to be added to the third argument
  overflow-y: scroll;
}

// fixes the bug in Chrome with redrawing children in scrollable elements
.graph-explorer-scrollable > * {
  position: relative;
}
