@use "sass:color";
@use '../../styles/variables.scss';

.paletteContainer {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 8882;
  height: 40px;
  min-width: 36px;
  display: flex;
  margin-left: 3px;
  white-space: nowrap;
}

.devEnvironment.paletteContainer {
  z-index: 99999;
  right: 100px;
}

.paletteContainer .palettePicker .k-svg-i-palette {
  font-size: 18px;
  padding: 8px 8px 8px 8px;
  margin-right: 3px;
  color: white;
}

.paletteContainer .palettePicker:hover .k-svg-i-palette {
  box-shadow: 0 0 2px 3px variables.$highlight-color;
  cursor: pointer;
  color: variables.$highlight-color;
}

.paletteContainer .palettePicker:active .k-svg-i-palette {
  color: color.adjust(variables.$highlight-color, $lightness: -20%);
}

.palettePicker {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center
}

.themes {
  display: flex;
  flex-direction: row;
  position: absolute;
  top: 40px;
  right: 0;
  overflow: auto;
  z-index: 8882;
  border-left: 1px solid;
  border-bottom: 1px solid;
  align-items: flex-start;
}

.themes .rowItem-g {
  margin: 0;
  padding: 0;
}

.themes .rowItem {
  margin: 0;
  padding: 0;
  justify-content: center;
}

.themes .themeSelection {
  display: flex;
  cursor: pointer;
  padding: 15px 25px 15px 25px;
  align-items: center;
}

.themes .themeSelection * {
  background-color: transparent;
}

.themes .themeSelection .k-icon {
  font-size: 24px;
  margin-right: 5px;
}

.themes .themeSelection span:nth-child(1) {
  min-width: 110px;
}

.themes .themeSelection span {
  background-color: transparent;
}