.color-sketch-block {
|
height: 25px;
|
width: 100%;
|
|
.color-sketch-block-box {
|
display: inline-block;
|
width: calc(100% - 160px);
|
height: 100%;
|
border-radius: 4px;
|
background: #ffffff url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==') left center;
|
}
|
.color-sketch-block-inner {
|
display: inline-block;
|
cursor: pointer;
|
border-radius: 4px;
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
|
width: 100%;
|
height: 100%;
|
}
|
.color-sketch-value {
|
position: relative;
|
display: inline-block;
|
font-size: 13px;
|
width: 160px;
|
padding-left: 10px;
|
height: 25px;
|
line-height: 25px;
|
vertical-align: top;
|
white-space: nowrap;
|
overflow: visible;
|
|
.anticon-close-circle {
|
position: relative;
|
right: -10px;
|
font-size: 12px;
|
padding: 3px;
|
border-radius: 50%;
|
cursor: pointer;
|
opacity: 0;
|
transition: opacity 0.3s;
|
background: #fff;
|
color: #bcbcbc;
|
}
|
.anticon-close-circle:hover {
|
color: #959595;
|
}
|
}
|
}
|
.color-sketch-block:hover {
|
.anticon-close-circle {
|
opacity: 1;
|
}
|
}
|
|
.color-sketch-popover {
|
z-index: 1090!important;
|
.ant-popover-inner-content {
|
padding: 0;
|
.sketch-picker {
|
width: 250px!important;
|
|
.flexbox-fix:last-child {
|
overflow: hidden;
|
>div:nth-child(30) {
|
position: relative;
|
margin-bottom: 20px!important;
|
}
|
>div:nth-child(30)::after {
|
content: ' ';
|
display: block;
|
border-bottom: 1px solid #d9d9d9;
|
position: absolute;
|
width: 300px;
|
bottom: -10px;
|
right: -20px;
|
}
|
}
|
}
|
}
|
}
|