2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-picker {
|
|
|
|
width: 80px;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-picker-container .hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-result {
|
2013-11-26 04:28:09 +01:00
|
|
|
background-color: #f7f7f7;
|
|
|
|
border: 1px solid #ccc;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 3px;
|
2013-11-26 04:28:09 +01:00
|
|
|
border-radius: 3px;
|
2012-09-27 03:57:38 +02:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2012-11-06 00:00:15 +01:00
|
|
|
height: 22px;
|
|
|
|
margin: 0 6px 6px 0px;
|
2012-09-27 03:57:38 +02:00
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-user-select: none;
|
2012-09-27 03:57:38 +02:00
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2014-02-13 09:30:17 +01:00
|
|
|
user-select: none;
|
2012-09-27 03:57:38 +02:00
|
|
|
vertical-align: bottom;
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 30px;
|
2013-11-26 04:28:09 +01:00
|
|
|
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08);
|
|
|
|
box-shadow: 0 1px 0 rgba(0,0,0,.08);
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-11-06 00:00:15 +01:00
|
|
|
.wp-color-result:after {
|
2013-12-11 20:49:11 +01:00
|
|
|
background: #f7f7f7;
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 0 2px 2px 0;
|
2013-11-26 04:28:09 +01:00
|
|
|
border-radius: 0 2px 2px 0;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
color: #555;
|
2012-09-27 03:57:38 +02:00
|
|
|
content: attr( title );
|
|
|
|
display: block;
|
|
|
|
font-size: 11px;
|
2012-11-06 00:00:15 +01:00
|
|
|
line-height: 22px;
|
2012-09-27 03:57:38 +02:00
|
|
|
padding: 0 6px;
|
|
|
|
position: relative;
|
2012-11-30 14:34:16 +01:00
|
|
|
right: 0;
|
2012-09-27 03:57:38 +02:00
|
|
|
text-align: center;
|
2012-11-30 14:34:16 +01:00
|
|
|
top: 0;
|
2013-11-26 04:28:09 +01:00
|
|
|
-webkit-box-shadow: inset 0 1px 0 #fff;
|
|
|
|
box-shadow: inset 0 1px 0 #fff;
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-result:hover {
|
2013-11-26 04:28:09 +01:00
|
|
|
background: #fafafa;
|
|
|
|
border-color: #999;
|
|
|
|
color: #222;
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-result:hover:after {
|
|
|
|
color: #222;
|
|
|
|
border-color: #aaa;
|
|
|
|
border-left: 1px solid #999;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2013-11-27 20:51:11 +01:00
|
|
|
.wp-color-result {
|
2012-09-27 03:57:38 +02:00
|
|
|
top: 0;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-result.wp-picker-open:after {
|
|
|
|
content: attr( data-current );
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-picker-container, .wp-picker-container:active {
|
|
|
|
display: inline-block;
|
|
|
|
outline: 0;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-result:focus {
|
|
|
|
border-color: #888;
|
2012-11-30 14:34:16 +01:00
|
|
|
-webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
|
|
|
|
box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-result:focus:after {
|
|
|
|
border-color: #888;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-11-06 00:00:15 +01:00
|
|
|
.wp-picker-open + .wp-picker-input-wrap {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-picker-container .button {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
|
|
|
background-color: #555
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-picker-container .iris-picker {
|
2014-02-13 09:30:17 +01:00
|
|
|
-webkit-border-radius: 0;
|
2013-11-27 20:51:11 +01:00
|
|
|
border-radius: 0;
|
2012-09-27 03:57:38 +02:00
|
|
|
border-color: #dfdfdf;
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2013-11-27 20:51:11 +01:00
|
|
|
.wp-picker-container input[type="text"].wp-color-picker {
|
|
|
|
width: 65px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-family: monospace;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 16px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container input[type="text"].wp-color-picker:focus::-webkit-input-placeholder {
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container input[type="text"].iris-error {
|
2012-09-27 03:57:38 +02:00
|
|
|
background-color: #ffebe8;
|
|
|
|
border-color: #c00;
|
|
|
|
color: #000;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|