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 {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
min-height: 30px;
|
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;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
line-height: 2.54545455; /* 28px */
|
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;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
padding: 0 8px;
|
|
|
|
line-height: 2.54545455; /* 28px */
|
|
|
|
min-height: 30px;
|
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 {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
width: 4rem;
|
2013-11-27 20:51:11 +01:00
|
|
|
font-size: 12px;
|
|
|
|
font-family: monospace;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
line-height: 2.33333333; /* 28px */
|
2013-11-27 20:51:11 +01:00
|
|
|
margin: 0;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
padding: 0 5px;
|
2017-09-03 18:02:46 +02:00
|
|
|
vertical-align: top;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
min-height: 30px;
|
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 {
|
2020-02-07 22:11:05 +01:00
|
|
|
border-color: #007cba;
|
|
|
|
border-style: solid;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
outline: 2px solid transparent;
|
2017-04-18 02:31:43 +02:00
|
|
|
}
|
|
|
|
|
2017-09-03 18:02:46 +02:00
|
|
|
.iris-picker .iris-palette:focus {
|
2020-02-07 22:11:05 +01:00
|
|
|
box-shadow: 0 0 0 2px #007cba;
|
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 {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
width: 5rem;
|
2017-09-03 18:02:46 +02:00
|
|
|
font-size: 16px;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
line-height: 1.875; /* 30px */
|
|
|
|
min-height: 32px;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-input-wrap .button.wp-picker-default {
|
|
|
|
padding: 0 8px;
|
|
|
|
line-height: 2.14285714; /* 30px */
|
|
|
|
min-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
|
|
|
|
padding: 0 8px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2.14285714; /* 30px */
|
|
|
|
min-height: 32px;
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-picker-container .wp-color-result.button {
|
|
|
|
padding: 0 0 0 40px;
|
|
|
|
font-size: 14px;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
line-height: 2.14285714; /* 30px */
|
2017-09-03 18:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .wp-picker-container .wp-color-result.button {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2.14285714; /* 30px */
|
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;
|
|
|
|
}
|
|
|
|
}
|