
.wasabi-color{
    position: relative;
    font-size: var(--font-size);
    color:var(--color);
    width:230px;
    height: 400px;
    background: #fff;
    position: absolute;
    border-radius: 6px 6px 0 0;
    box-shadow: var(--box-shadow);
    border:1px solid var(--border-color);
    user-select: none;
  
}
.wasabi-color-picker{
    width: 100%;
    height: 150px;
    background: rgb(255,0,0,1);
    position: relative;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
.wasabi-color-picker-to-right{
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0));
    position: absolute;

}
.wasabi-color-picker-to-top{
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000, rgba(0,0,0,0));
    position: absolute;
    cursor: pointer;

}
.wasabi-color-picker-dot{
    width: 12px;
    height: 12px;
    border-radius: 6px;
    box-shadow: rgb(255 255 255) 0px 0px 0px 1px inset;
    position: absolute;
    top: -1px;
    left: calc(100% - 12px);
    z-index: 1;
    cursor: pointer;
    /*不设置会出现move不起作用*/
    user-select: none;
}

.wasabi-color-number{
    width: 100%;
    height: 100px;
    box-shadow: 0 2px 10px #ccc;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.wasabi-color-number-dot{
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: url('./lucency.png');
    margin-top: 5px;
    box-shadow: var(--box-shadow);
}

.wasabi-color-number-color-line{
    width: 160px;
    height: 10px;
    background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
    position: relative;
    margin-bottom: 10px;
}
.wasabi-color-number-color-line .dot{
    cursor: pointer;
    position: absolute;
    width: 12px;
    height:12px;
    border-radius:6px;
    background-color: white;
    border: 1px solid var(--border-color);
    z-index: 1;
    top: -1px;
    left:-6px;
   
}
.wasabi-color-number-opacity-line{
    width: 160px;
    height: 10px;
    background: url('./lucency.png');
    background-repeat: repeat;
     position: relative;
}
.wasabi-color-number-opacity-line .dot{
    cursor: pointer;
    position: absolute;
    width: 12px;
    height:12px;
    border-radius:6px;
    background-color: white;
    border: 1px solid var(--border-color);
    z-index: 1;
    top: -1px;
    left:-6px;
}
.wasabi-color-number-op{
    width: 100%;
    height: 45px;
    clear: both;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}
.wasabi-color-number-op input{
    width:34px;
    height: 21px;
    border: 1px solid var(--border-color);
    margin-right: 5px;
    outline: none;
    padding-top:2px;
    padding-bottom: 2px;
    color: inherit;
    font-size: inherit;
}
.wasabi-color-number-op .txt{
    width:34px;
    height: 21px;
    margin-right: 5px;
    text-align: center;
}
.wasabi-color-used{
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 50px;
    padding: 10px;

    
}

.wasabi-color-used .wasabi-color-used-dot{
    width: 20px;
    height: 20px;
    margin: 5px 10px;
    background: url('./lucency.png');
    box-shadow: var(--box-shadow);
}
