2019-07-12 02:05:57 +02:00
|
|
|
/* rtl:ignore */
|
2012-09-27 03:57:38 +02:00
|
|
|
.wp-color-picker {
|
|
|
|
width: 80px;
|
2019-07-12 02:05:57 +02:00
|
|
|
direction: ltr;
|
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-picker-container .hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
/* Needs higher specificiity. */
|
|
|
|
.wp-picker-container .wp-color-result.button {
|
2019-10-16 19:49:03 +02:00
|
|
|
min-height: 28px;
|
2012-11-06 00:00:15 +01:00
|
|
|
margin: 0 6px 6px 0px;
|
2017-09-03 18:02:46 +02:00
|
|
|
padding: 0 0 0 30px;
|
|
|
|
font-size: 11px;
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
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: 0 2px 2px 0;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
color: #555;
|
2012-09-27 03:57:38 +02:00
|
|
|
display: block;
|
2019-10-16 19:49:03 +02:00
|
|
|
line-height: 2.36363636; /* 26px */
|
2012-09-27 03:57:38 +02: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-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
|
|
|
|
2019-08-02 19:09:57 +02:00
|
|
|
.wp-picker-container {
|
2012-09-27 03:57:38 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
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;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
2012-09-27 03:57:38 +02:00
|
|
|
}
|
2012-11-30 14:34:16 +01:00
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.wp-color-result:active {
|
|
|
|
/* See Trac ticket #39662 */
|
|
|
|
transform: none !important;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2019-09-30 20:05:59 +02:00
|
|
|
.wp-picker-input-wrap .button.wp-picker-default,
|
|
|
|
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
|
2019-01-17 08:41:52 +01:00
|
|
|
margin-left: 6px;
|
2019-10-16 19:49:03 +02:00
|
|
|
padding: 2px 8px;
|
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-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 {
|
2019-10-16 19:49:03 +02:00
|
|
|
width: 65px;
|
2013-11-27 20:51:11 +01:00
|
|
|
font-size: 12px;
|
|
|
|
font-family: monospace;
|
2019-10-16 19:49:03 +02:00
|
|
|
line-height: 1.33333333; /* 16px */
|
2013-11-27 20:51:11 +01:00
|
|
|
margin: 0;
|
2019-10-16 19:49:03 +02:00
|
|
|
padding: 5px;
|
2017-09-03 18:02:46 +02:00
|
|
|
vertical-align: top;
|
2019-10-16 19:49:03 +02:00
|
|
|
min-height: 28px;
|
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 {
|
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,
|
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 {
|
2019-10-16 19:49:03 +02:00
|
|
|
width: 80px;
|
|
|
|
padding: 6px 5px 5px;
|
2017-09-03 18:02:46 +02:00
|
|
|
font-size: 16px;
|
2019-10-16 19:49:03 +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 {
|
2019-10-16 19:49:03 +02:00
|
|
|
padding: 5px 5px 4px;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container .wp-color-result.button {
|
2019-10-16 19:49:03 +02:00
|
|
|
height: auto;
|
2017-09-03 18:02:46 +02:00
|
|
|
padding: 0 0 0 40px;
|
|
|
|
font-size: 14px;
|
2019-10-16 19:49:03 +02:00
|
|
|
line-height: 2.1;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container .wp-color-result.button {
|
2019-10-16 19:49:03 +02:00
|
|
|
font-size: 13px;
|
|
|
|
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-10-16 19:49:03 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 640px) {
|
|
|
|
.wp-customizer .wp-picker-container .wp-color-result.button {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
|
|
|
padding: 6px 5px;
|
|
|
|
}
|
|
|
|
}
|