@import "@styles/core.scss";

.headerRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  outline: none;
  border-top: none;
}

.editorPanel {
  display: flex;
  box-sizing: border-box;
  flex-direction: row;
  user-select: none;
  font-size: 0.8em;
  align-items: start;
  font-size: 1em;
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--bgcolor-editors);
}

.editorArea {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  flex-grow: 0;
  padding: 0.2em;
}

.dropdownWrapper {
  font-size: 1.2em;
  margin-bottom: 0.4em;
}

.colorRow {
  align-items: start;
  margin-left: -4px;
}

.colorBar {
  width: 200px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2em 0.6em;
}

.colorScale {
  width: 56px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  align-items: center;

  & .colorScaleLabel {
    font-size: 1em;
  }
}

.colorItem {
  width: 20px;
  height: 20px;
  padding: 1px;
  //margin: 2px;
  border: 2px solid transparent;
  cursor: not-allowed;

  &.allowSelect {
    cursor: pointer;
  }
}

.colorTag {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.checkbox {
  justify-content: center;
  color: var(--color-label);
}

.trIndex {
  padding-top: 0.4em;
  justify-content: start;
}