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;
|
|
|
|
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;
|
2015-11-19 15:37:33 +01:00
|
|
|
box-shadow: 0 1px 0 #ccc;
|
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;
|
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;
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2014-08-26 07:17:17 +02:00
|
|
|
.wp-color-result:hover,
|
|
|
|
.wp-color-result:focus {
|
2013-11-26 04:28:09 +01:00
|
|
|
background: #fafafa;
|
|
|
|
border-color: #999;
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #23282d;
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2014-08-26 07:17:17 +02:00
|
|
|
.wp-color-result:hover:after,
|
|
|
|
.wp-color-result:focus:after {
|
2015-04-05 23:20:27 +02:00
|
|
|
color: #23282d;
|
|
|
|
border-color: #a0a5aa;
|
2012-09-27 03:57:38 +02:00
|
|
|
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 {
|
2015-11-19 15:37:33 +01:00
|
|
|
border-color: #5b9dd9;
|
|
|
|
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
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-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 {
|
2013-11-27 20:51:11 +01:00
|
|
|
border-radius: 0;
|
2016-03-09 20:51:26 +01:00
|
|
|
border-color: #ddd;
|
2012-09-27 03:57:38 +02:00
|
|
|
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;
|
|
|
|
line-height: 16px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-02-23 00:29:26 +01:00
|
|
|
.wp-color-picker::-webkit-input-placeholder {
|
|
|
|
color: #72777c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-color-picker::-moz-placeholder {
|
|
|
|
color: #72777c;
|
|
|
|
opacity: 1;
|
2013-11-27 20:51:11 +01:00
|
|
|
}
|
|
|
|
|
2016-02-23 00:29:26 +01:00
|
|
|
.wp-color-picker:-ms-input-placeholder {
|
|
|
|
color: #72777c;
|
2013-11-27 20:51:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
2016-10-26 00:33:30 +02:00
|
|
|
|
|
|
|
.iris-picker .ui-square-handle:focus,
|
|
|
|
.iris-picker .iris-strip .ui-slider-handle:focus {
|
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, .8);
|
2017-04-18 02:31:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and ( max-width: 782px ) {
|
|
|
|
.wp-picker-container input[type="text"].wp-color-picker {
|
|
|
|
margin-right: 6px;
|
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
|
|
|
}
|