2013-11-12 22:19:15 +01:00
|
|
|
.wp-color-picker {
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container .hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
/* Needs higher specificiity. */
|
|
|
|
.wp-picker-container .wp-color-result.button {
|
|
|
|
height: 24px;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin: 0 0px 6px 6px;
|
2017-09-03 18:02:46 +02:00
|
|
|
padding: 0 30px 0 0;
|
|
|
|
font-size: 11px;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.wp-color-result-text {
|
2013-12-11 20:49:11 +01:00
|
|
|
background: #f7f7f7;
|
2013-11-26 04:28:09 +01:00
|
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
color: #555;
|
2013-11-12 22:19:15 +01:00
|
|
|
display: block;
|
2019-04-07 07:54:50 +02:00
|
|
|
line-height: 2;
|
2013-11-12 22:19:15 +01:00
|
|
|
padding: 0 6px;
|
|
|
|
text-align: center;
|
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-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-11-30 14:34:16 +01:00
|
|
|
border-right: 1px solid #999;
|
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.wp-picker-containers {
|
2013-11-12 22:19:15 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-color-result:focus {
|
2015-11-19 15:37:33 +01:00
|
|
|
border-color: #5b9dd9;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
2013-11-12 22:19:15 +01:00
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.wp-color-result:active {
|
|
|
|
/* See Trac ticket #39662 */
|
|
|
|
transform: none !important;
|
|
|
|
}
|
|
|
|
|
2013-11-12 22:19:15 +01:00
|
|
|
.wp-picker-open + .wp-picker-input-wrap {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.wp-picker-input-wrap label {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
|
|
|
|
.form-table .wp-picker-input-wrap label {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-input-wrap .button,
|
|
|
|
.wp-customizer .wp-picker-input-wrap .button {
|
2019-01-17 08:41:52 +01:00
|
|
|
margin-right: 6px;
|
2012-11-30 14:34:16 +01:00
|
|
|
}
|
2013-11-12 22:19:15 +01:00
|
|
|
|
|
|
|
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
|
|
|
background-color: #555
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2013-11-12 22:19:15 +01:00
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
|
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;
|
2019-04-07 07:54:50 +02:00
|
|
|
line-height: 1.4;
|
2013-11-27 20:51:11 +01:00
|
|
|
margin: 0;
|
2017-09-03 18:02:46 +02:00
|
|
|
vertical-align: top;
|
2013-11-27 20:51:11 +01:00
|
|
|
}
|
|
|
|
|
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 {
|
2013-11-12 22:19:15 +01:00
|
|
|
background-color: #ffebe8;
|
|
|
|
border-color: #c00;
|
|
|
|
color: #000;
|
|
|
|
}
|
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,
|
2019-03-04 23:02:52 +01:00
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2017-04-18 02:31:43 +02:00
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.iris-picker .iris-palette:focus {
|
|
|
|
box-shadow:
|
2019-03-04 23:02:52 +01:00
|
|
|
inset 0 0 5px rgba(0, 0, 0, 0.4),
|
2017-09-03 18:02:46 +02:00
|
|
|
0 0 0 1px #5b9dd9,
|
2019-03-04 23:02:52 +01:00
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 782px) {
|
2017-04-18 02:31:43 +02:00
|
|
|
.wp-picker-container input[type="text"].wp-color-picker {
|
2017-09-03 18:02:46 +02:00
|
|
|
width: 80px;
|
|
|
|
padding: 6px 5px 5px;
|
|
|
|
font-size: 16px;
|
2019-04-07 07:54:50 +02:00
|
|
|
line-height: 1.15;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
|
|
|
padding: 5px 5px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container .wp-color-result.button {
|
|
|
|
height: auto;
|
|
|
|
padding: 0 40px 0 0;
|
|
|
|
font-size: 14px;
|
2019-04-07 07:54:50 +02:00
|
|
|
line-height: 2.1;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container .wp-color-result.button {
|
|
|
|
font-size: 13px;
|
2019-04-07 07:54:50 +02:00
|
|
|
line-height: 2;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container .wp-color-result-text {
|
|
|
|
padding: 0 14px;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container .wp-color-result-text {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 640px) {
|
2017-09-03 18:02:46 +02:00
|
|
|
.wp-customizer .wp-picker-container .wp-color-result.button {
|
|
|
|
font-size: 14px;
|
2019-04-07 07:54:50 +02:00
|
|
|
line-height: 2.1;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
|
|
|
padding: 6px 5px;
|
2017-04-18 02:31:43 +02:00
|
|
|
}
|
|
|
|
}
|