@import "@styles/core.scss";

.sideBarPanel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.collapsed {
  height: auto;
  flex-shrink: 0;
  flex-grow: 0;
}

.expanded {
  flex-shrink: 1;
  flex-grow: 1;
  height: 100000px;
}

.header {
  height: 24px;
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  flex-grow: 0;
  align-items: center;
  border: 1px solid transparent;
  outline: none;
  padding: 0 4px;
}

.notFirst {
  border-top: 1px solid var(--color-panel-border);
}

.focused {
  border: 1px solid var(--color-panel-focused);
}

.sizingGrip {
  width: 100%;
  height: 4px;
}

.sizeable {
  cursor: row-resize;

  &.pointed:hover {
    background: var(--bgcolor-splitter);
  }

  &.unpointed {
    cursor: inherit;
  }
}

.headerText {
  color: var(--color-panel-header);
  font-size: 0.8em;
  font-weight: 600;
  padding-left: 4px;
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.contentWrapper {
  display: flex;
  flex-shrink: 1;
  flex-grow: 1;
  flex-direction: column;
  overflow: hidden;
}
