mirror of
https://github.com/chinchang/web-maker.git
synced 2025-10-12 03:54:24 +02:00
156 lines
3.5 KiB
CSS
156 lines
3.5 KiB
CSS
/*
|
|
* =========================================================
|
|
* =========================================================
|
|
* ColorPicker
|
|
* =========================================================
|
|
* =========================================================
|
|
*
|
|
*/
|
|
.inlet_clicker {
|
|
z-index: 10;
|
|
}
|
|
.inlet_slider {
|
|
opacity: 0.85;
|
|
z-index: 10;
|
|
width: 24%;
|
|
display: block;
|
|
border-radius: 3px;
|
|
height: 14px;
|
|
box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5);
|
|
background-color: #d6d6d6;
|
|
background-image: linear-gradient(top, #d6d6d6, #ebebeb);
|
|
}
|
|
.inlet_slider:hover {
|
|
opacity: 0.98;
|
|
}
|
|
.inlet_slider .range {
|
|
width: 100%;
|
|
height: 100%;
|
|
outline: none;
|
|
margin-top: 0px;
|
|
margin-left: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
.inlet_slider input[type="range"] {
|
|
-webkit-appearance: none;
|
|
}
|
|
@-moz-document url-prefix() {
|
|
.inlet_slider input[type="range"] {
|
|
position: absolute;
|
|
}
|
|
}
|
|
.inlet_slider input::-moz-range-track {
|
|
background: none;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
.inlet_slider input::-webkit-slider-thumb {
|
|
cursor: col-resize;
|
|
-webkit-appearance: none;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 6px;
|
|
border: 1px solid black;
|
|
background-color: red;
|
|
box-shadow: 0px 0px 3px 0px rgba(4, 4, 4, 0.4);
|
|
background-color: #424242;
|
|
background-color: crimson;
|
|
background-image: linear-gradient(top, #424242, #212121);
|
|
}
|
|
/*
|
|
* =========================================================
|
|
* =========================================================
|
|
* ColorPicker
|
|
* =========================================================
|
|
* =========================================================
|
|
*
|
|
*/
|
|
.ColorPicker {
|
|
/*
|
|
border: 1px solid rgba(0,0,0,0.5);
|
|
border-radius: 6px;
|
|
background: #0d0d0d;
|
|
background: -webkit-gradient(linear, left top, left bottom, from(#333), color-stop(0.1, #111), to(#000000));
|
|
box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.35);
|
|
color:#AAA;
|
|
*/
|
|
text-shadow: 1px 1px 1px #000;
|
|
color: #050505;
|
|
cursor: default;
|
|
display: block;
|
|
font-family: 'arial', helvetica, sans-serif;
|
|
font-size: 20px;
|
|
padding: 7px 8px 20px;
|
|
position: absolute;
|
|
top: 100px;
|
|
left: 700px;
|
|
width: 229px;
|
|
z-index: 100;
|
|
border-radius: 3px;
|
|
-webkit-box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5);
|
|
box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5);
|
|
background-color: rgba(214, 214, 215, 0.85);
|
|
/*
|
|
background-image: linear-gradient(top, rgb(214, 214, 214), rgb(235, 235, 235));
|
|
*/
|
|
}
|
|
.ColorPicker br {
|
|
clear: both;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.ColorPicker input.hexInput:hover,
|
|
.ColorPicker input.hexInput:focus {
|
|
color: #aa1212;
|
|
}
|
|
.ColorPicker input.hexInput {
|
|
-webkit-transition-property: color;
|
|
-webkit-transition-duration: .5s;
|
|
background: none;
|
|
border: 0;
|
|
margin: 0;
|
|
font-family: courier,monospace;
|
|
font-size: 20px;
|
|
position: relative;
|
|
top: -2px;
|
|
float: left;
|
|
color: #050505;
|
|
cursor: text;
|
|
}
|
|
.ColorPicker div.hexBox {
|
|
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
border-radius: 2px;
|
|
background: #FFF;
|
|
float: left;
|
|
font-size: 1px;
|
|
height: 20px;
|
|
margin: 0 5px 0 2px;
|
|
width: 20px;
|
|
cursor: pointer;
|
|
}
|
|
.ColorPicker div.hexBox div {
|
|
width: inherit;
|
|
height: inherit;
|
|
}
|
|
.ColorPicker div.hexClose {
|
|
display: none;
|
|
/*
|
|
-webkit-transition-property: color, text-shadow;
|
|
-webkit-transition-duration: .5s;
|
|
position: relative;
|
|
top: -1px;
|
|
left: -1px;
|
|
color:#FFF;
|
|
cursor:pointer;
|
|
float:right;
|
|
padding: 0 5px;
|
|
margin:0 4px 3px;
|
|
user-select:none;
|
|
-webkit-user-select: none;
|
|
*/
|
|
}
|
|
.ColorPicker div.hexClose:hover {
|
|
text-shadow: 0 0 20px #fff;
|
|
color: #FF1100;
|
|
}
|