You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.4 KiB
CSS
67 lines
1.4 KiB
CSS
.cp-color-picker {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
padding: 6px 6px 0;
|
|
background-color: #444;
|
|
color: #bbb;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
cursor: default;
|
|
border-radius: 5px;
|
|
}
|
|
.cp-color-picker > div {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.cp-xy-slider {
|
|
float: left;
|
|
height: 128px;
|
|
width: 128px;
|
|
margin-bottom: 6px;
|
|
background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
|
|
}
|
|
.cp-white {
|
|
height: 100%;
|
|
width: 100%;
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
|
|
}
|
|
.cp-xy-cursor {
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
margin: -5px;
|
|
border: 1px solid white;
|
|
border-radius: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.cp-z-slider {
|
|
float: right;
|
|
margin-left: 6px;
|
|
height: 128px;
|
|
width: 20px;
|
|
background: linear-gradient(to bottom, #ff0000 0%,#ff00ff 17%,#0000ff 33%,#00ffff 50%,#00ff00 67%,#ffff00 83%,#ff0000 100%);
|
|
}
|
|
.cp-z-cursor {
|
|
position: absolute;
|
|
margin-top: -4px;
|
|
width: 100%;
|
|
border: 4px solid white;
|
|
border-color: transparent white;
|
|
box-sizing: border-box;
|
|
}
|
|
.cp-alpha {
|
|
clear: both;
|
|
width: 100%;
|
|
height: 16px;
|
|
margin: 6px 0;
|
|
background: linear-gradient(to right, rgba(68,68,68,1) 0%,rgba(0,0,0,0) 100%);
|
|
}
|
|
.cp-alpha-cursor {
|
|
position: absolute;
|
|
margin-left: -4px;
|
|
height: 100%;
|
|
border: 4px solid white;
|
|
border-color: white transparent;
|
|
box-sizing: border-box;
|
|
} |