.tita-rich-editor-color-selector {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 12px 21px 0;
  width: 234px;
  height: 208px;
  background: #ffffff;
  box-shadow: 0px 4px 12px 0px rgba(127, 145, 180, 0.2);
  border-radius: 12px;
}

.tita-rich-editor-color-selector__icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tita-rich-editor-color-selector__title {
  font-size: 12px;
  font-weight: 400;
  color: #6f7886;
  line-height: 18px;
  padding-left: 3px;
  margin-bottom: 4px;
}

.tita-rich-editor-color-selector__color-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tita-rich-editor-color-selector__color-box > div {
  border: 1px solid #e9ecf0;
}

.tita-rich-editor-color-selector__item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  margin: 3px;
  color: #3f4755;
  cursor: pointer;
}

.tita-rich-editor-color-selector__item:hover {
  border: 1px solid rgba(40, 121, 255, 0.3);
  box-shadow: 0 0 0 1px #fff inset;
}

.tita-rich-editor-color-selector__item--active {
  border: 1px solid #2879ff !important;
  box-shadow: 0 0 0 1px #fff inset;
}
