@toolboxShadow: 0 1px 2px 0 rgba(0, 0, 0, 0.20);
@toolboxShadowHover: 0 4px 8px 0 rgba(0, 0, 0, 0.20);
.hover-transition {
  transition-duration: 0.2s;
}
.palette-color-inner-box {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: white;
  box-shadow: @toolboxShadow;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 8px;
  &:hover{
    box-shadow: @toolboxShadowHover;
    cursor:pointer;
    .hover-transition
  }
}

.palette-color-inner-box-active {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: @toolboxShadowHover;
  cursor:pointer;
  margin: 4px 8px;
}


.palette-color-box {
  width: 100%;
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
}

.palette-stroke-under-layer {
  width: 242px;
  height: 32px;
  position: absolute;
  z-index: 1;
}

input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 12px;
  height: 48px;
  /* Rectangle 5: */
  background: #FFFFFF;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.40);
  border-radius: 2px;
  cursor: pointer;
}


.palette-stroke-slider{
  width: 90%;
  outline: none;
  margin: 0;
  padding: 0;
  background: none;
}

.palette-stroke-slider-mask {
  width: 290px;
  height: 32px;
  position: absolute;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.palette-stroke-mask{
  position: absolute;
  z-index: 2;
}

.palette-stroke-width-box {
  width: 290px;
  height: 32px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.palette-font-width-box {
  width: 290px;
  height: 32px;
  margin-top: 24px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.palette-font-width-box-inner {
  width: 145px;
  height: 32px;
  display: flex;
  justify-content: space-between;
}

.palette-font-box {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: white;
  box-shadow: @toolboxShadow;
  display: flex;
  align-items: center;
  justify-content: center;
  &:hover{
    box-shadow: @toolboxShadowHover;
    cursor:pointer;
    .hover-transition;
    background-color: black;
    color: white;
  }
}

.palette-color {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  img {
    width: 12px;
  }
}

.palette-mid-box {
  width: 272px;
  padding: 16px 16px;
}

.palette-title-one{
  font-size: 12px;
}

.palette-title-two{
  font-size: 12px;
}
