.canvas-color-picker {
    position: relative;
    width: 420px;
    height: 260px;
    background: transparent;
}

.canvas-color-picker.popup {
    background: #fff;
    user-select: none;
    box-shadow: 1px 2px 20px 0px rgba(0, 0, 0, 0.2);
}

.canvas-color-picker .color-map {
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    right: 180px;
}

.canvas-color-picker .color-bar {
    position: absolute;
    width: 20px;
    right: 150px;
    top: 20px;
    bottom: 20px;
}

.canvas-color-picker .preview {
    position: absolute;
    top: 20px;
    right: 53px;
    width: 75px;
    height: 60px;
    border: 1px solid black;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}

.canvas-color-picker .preview .cur-color,
.canvas-color-picker .preview .old-color {
    position: relative;
    height: 30px;
    width: 75px;
    background: blue;
}

.canvas-color-picker .preview .old-color {
    background: green;
}

.canvas-color-picker .form {
    position: absolute;
    padding: 0px;
    margin: 0px;
    top: 100px;
    right: 21px;
    width: 110px;
    height: 92px;
    text-align: left;
}

.canvas-color-picker .form br {
    clear: both;
}

.canvas-color-picker .form .rgb,
.canvas-color-picker .form .hsb {
    position: relative;
    left: 0px;
    top: 0px;
    width: 50px;
    height: 70px;
    float: left;
}

.canvas-color-picker .form .hsb {
    width: 60px;
}

.canvas-color-picker .form .color {
    position: relative;
    height: 20px;
    clear: both;
}

.canvas-color-picker .form label {
    font: 11px arial;
    width: 15px;
    height: 22px;
    display: block;
    float: left;
    line-height: 20px;
    margin-left: 2px;
}

.canvas-color-picker .form input {
    font: 11px arial;
    width: 24px;
    display: block;
    float: left;
    background: #FFFFFF;
    border: 1px solid #E1E1E1;
    border-radius: 2px;
    height: 15px;
}

.canvas-color-picker .form .color input {
    width: 55px;
}

.canvas-color-picker .form .color a{
    color: #333;
    font-size: 12px;
    float: right;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'SimSun', 'Hiragino Sans GB', Arial, sans-serif;
}

.canvas-color-picker .form .color a:hover{
    color: #29f;
    text-decoration: underline;
}

.canvas-color-picker .buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 110px;
    height: 25px;
}

.canvas-color-picker .buttons button {
    padding: 0 12px;
    height: 25px;
    line-height: 25px;
}

.canvas-color-picker .buttons button+button {
    margin-left: 10px;
}