From 61b7b7062fd5ec832a43c35345bb319240633ec5 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Wed, 18 Nov 2020 15:52:51 -0500 Subject: [PATCH] Update colors added in 5.6 --- src/wp-admin/css/edit.css | 6 +- src/wp-admin/css/forms.css | 144 ++++++++++++++++++------------------- 2 files changed, 75 insertions(+), 75 deletions(-) diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 27d91ff4b94f3..ff9f2934784ad 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -740,10 +740,10 @@ form#tags-filter { } .text-removed .policy-text { - color: #666; + color: #646970; font-weight: 300; padding-left: 1em; - border-left: 3px solid #ffb900; + border-left: 3px solid #dba617; } .text-removed .policy-text h1, @@ -752,7 +752,7 @@ form#tags-filter { .text-removed .policy-text h4, .text-removed .policy-text h5, .text-removed .policy-text h6 { - color: #39424a; + color: #3c434a; font-weight: 500; } diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 511a1f1523013..5c5aa610ea9b3 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -53,9 +53,9 @@ select, textarea { box-shadow: 0 0 0 transparent; border-radius: 4px; - border: 1px solid #7e8993; + border: 1px solid #8c8f94; background-color: #fff; - color: #32373c; + color: #2c3338; } input[type="text"], @@ -101,8 +101,8 @@ input[type="checkbox"]:focus, input[type="radio"]:focus, select:focus, textarea:focus { - border-color: #007cba; - box-shadow: 0 0 0 1px #007cba; + border-color: #3582c4; + box-shadow: 0 0 0 1px #3582c4; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } @@ -115,10 +115,10 @@ input[type="url"] { input[type="checkbox"], input[type="radio"] { - border: 1px solid #7e8993; + border: 1px solid #8c8f94; border-radius: 4px; background: #fff; - color: #555; + color: #50575e; clear: none; cursor: pointer; display: inline-block; @@ -137,12 +137,12 @@ input[type="radio"] { } input[type="radio"]:checked + label:before { - color: #82878c; + color: #8c8f94; } .wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #006799; + color: #135e96; } td > input[type="checkbox"], @@ -191,7 +191,7 @@ input[type="radio"]:checked::before { width: 0.5rem; /* 8px */ height: 0.5rem; /* 8px */ margin: 0.1875rem; /* 3px */ - background-color: #1e8cbe; + background-color: #4f94d4; /* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */ line-height: 1.14285714; } @@ -222,20 +222,20 @@ input.readonly, input[readonly], textarea.readonly, textarea[readonly] { - background-color: #eee; + background-color: #f6f7f7; } ::-webkit-input-placeholder { - color: #72777c; + color: #787c82; } ::-moz-placeholder { - color: #72777c; + color: #787c82; opacity: 1; } :-ms-input-placeholder { - color: #72777c; + color: #787c82; } .form-invalid .form-required, @@ -244,14 +244,14 @@ textarea[readonly] { .form-invalid.form-required input:focus, .form-invalid.form-required select, .form-invalid.form-required select:focus { - border-color: #dc3232 !important; - box-shadow: 0 0 2px rgba(204, 0, 0, 0.8); + border-color: #d63638 !important; + box-shadow: 0 0 2px rgba(214, 54, 56, 0.8); } .form-table .form-required.form-invalid td:after { content: "\f534"; font: normal 20px/1 dashicons; - color: #dc3232; + color: #d63638; margin-left: -25px; vertical-align: middle; } @@ -264,13 +264,13 @@ textarea[readonly] { .form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after { content: "\f534"; font: normal 20px/1 dashicons; - color: #dc3232; + color: #d63638; margin: 0 6px 0 -29px; vertical-align: middle; } .form-input-tip { - color: #666; + color: #646970; } input:disabled, @@ -280,9 +280,9 @@ select.disabled, textarea:disabled, textarea.disabled { background: rgba(255, 255, 255, 0.5); - border-color: rgba(222, 222, 222, 0.75); + border-color: rgba(220, 220, 222, 0.75); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); - color: rgba(51, 51, 51, 0.5); + color: rgba(44, 51, 56, 0.5); } input[type="file"]:disabled, @@ -313,8 +313,8 @@ input[type="radio"].disabled:checked:before { .wp-core-ui select { font-size: 14px; line-height: 2; /* 28px */ - color: #32373c; - border-color: #7e8993; + color: #2c3338; + border-color: #8c8f94; box-shadow: none; border-radius: 3px; padding: 0 24px 0 8px; @@ -329,25 +329,25 @@ input[type="radio"].disabled:checked:before { } .wp-core-ui select:hover { - color: #007cba; + color: #3582c4; } .wp-core-ui select:focus { - border-color: #007cba; - color: #016087; - box-shadow: 0 0 0 1px #007cba; + border-color: #3582c4; + color: #0a4b78; + box-shadow: 0 0 0 1px #3582c4; } .wp-core-ui select:active { - border-color: #999; + border-color: #8c8f94; box-shadow: none; } .wp-core-ui select.disabled, .wp-core-ui select:disabled { - color: #a0a5aa; - border-color: #ddd; - background-color: #f7f7f7; + color: #a7aaad; + border-color: #dcdcde; + background-color: #f6f7f7; /* The SVG is arrow-down-alt2 from Dashicons. */ background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E'); box-shadow: none; @@ -360,26 +360,26 @@ input[type="radio"].disabled:checked:before { /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ .wp-core-ui select:-moz-focusring { color: transparent; - text-shadow: 0 0 0 #016087; + text-shadow: 0 0 0 #0a4b78; } /* Remove background focus style from IE11 while keeping focus style available on option elements. */ .wp-core-ui select::-ms-value { background: transparent; - color: #555; + color: #50575e; } .wp-core-ui select:hover::-ms-value { - color: #007cba; + color: #3582c4; } .wp-core-ui select:focus::-ms-value { - color: #016087; + color: #0a4b78; } .wp-core-ui select.disabled::-ms-value, .wp-core-ui select:disabled::-ms-value { - color: #a0a5aa; + color: #a7aaad; } /* Hide the native down arrow for select element on IE. */ @@ -548,9 +548,9 @@ fieldset label, } #pass-strength-result { - background-color: #eee; - border: 1px solid #ddd; - color: #23282d; + background-color: #f6f7f7; + border: 1px solid #dcdcde; + color: #1d2327; margin: -1px 1px 5px; padding: 3px 5px; text-align: center; @@ -560,43 +560,43 @@ fieldset label, } #pass-strength-result.short { - background-color: #f1adad; - border-color: #e35b5b; + background-color: #ffabaf; + border-color: #e65054; opacity: 1; } #pass-strength-result.bad { - background-color: #fbc5a9; - border-color: #f78b53; + background-color: #facfd2; + border-color: #f86368; opacity: 1; } #pass-strength-result.good { - background-color: #ffe399; - border-color: #ffc733; + background-color: #f5e6ab; + border-color: #f0c33c; opacity: 1; } #pass-strength-result.strong { - background-color: #c1e1b9; - border-color: #83c373; + background-color: #b8e6bf; + border-color: #68de7c; opacity: 1; } #pass1.short, #pass1-text.short { - border-color: #e35b5b; + border-color: #e65054; } #pass1.bad, #pass1-text.bad { - border-color: #f78b53; + border-color: #f86368; } #pass1.good, #pass1-text.good { - border-color: #ffc733; + border-color: #f0c33c; } #pass1.strong, #pass1-text.strong { - border-color: #83c373; + border-color: #68de7c; } .pw-weak { @@ -675,8 +675,8 @@ ul#add-to-blog-users { list-style: none; position: absolute; z-index: 10000; - border: 1px solid #5b9dd9; - box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8); + border: 1px solid #4f94d4; + box-shadow: 0 1px 2px rgba(79, 148, 212, 0.8); background-color: #fff; } @@ -690,12 +690,12 @@ ul#add-to-blog-users { /* Colors for the wplink toolbar autocomplete. */ .ui-autocomplete .ui-state-focus { - background-color: #ddd; + background-color: #dcdcde; } /* Colors for the tags autocomplete. */ .wp-tags-autocomplete .ui-state-focus { - background-color: #0073aa; + background-color: #2271b1; color: #fff; } @@ -726,7 +726,7 @@ ul#add-to-blog-users { .form-table th, .form-wrap label { - color: #23282d; + color: #1d2327; font-weight: 400; text-shadow: none; vertical-align: baseline; @@ -833,7 +833,7 @@ table.form-table td .updated p { .color-option:hover, .color-option.selected { - background: #ddd; + background: #dcdcde; } .color-palette { @@ -908,7 +908,7 @@ table.form-table td .updated p { padding: 0.7em 2em 1em; min-width: 255px; max-width: 520px; - border: 1px solid #ccd0d4; + border: 1px solid #c3c4c7; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; box-sizing: border-box; @@ -943,10 +943,10 @@ table.form-table td .updated p { display: inline-block; position: relative; cursor: move; - color: #32373c; - background: #e5e5e5; + color: #2c3338; + background: #dcdcde; border-radius: 5px; - border: 1px solid #b4b9be; + border: 1px solid #c3c4c7; font-style: normal; line-height: 16px; font-size: 14px; @@ -982,7 +982,7 @@ table.form-table td .updated p { } .pressthis-bookmarklet span:before { - color: #72777c; + color: #787c82; font: normal 20px/1 dashicons; content: "\f157"; position: relative; @@ -1008,7 +1008,7 @@ table.form-table td .updated p { .pressthis-js-toggle .dashicons { margin: 5px 8px 6px 7px; - color: #555d66; + color: #50575e; } /*------------------------------------------------------------------------------ @@ -1185,7 +1185,7 @@ table.form-table td .updated p { } .request-filesystem-credentials-dialog .ftp-password em { - color: #888; + color: #8c8f94; } .request-filesystem-credentials-dialog label { @@ -1247,7 +1247,7 @@ table.form-table td .updated p { } .privacy_requests .row-actions { - color: #72777c; + color: #787c82; } .privacy_requests .row-actions.processing { @@ -1278,14 +1278,14 @@ table.form-table td .updated p { .privacy_requests .status-request-confirmed th, .privacy_requests .status-request-confirmed td { - background-color: #f7fcfe; - border-left-color: #00a0d2; + background-color: #fff; + border-left-color: #72aee6; } .privacy_requests .status-request-failed th, .privacy_requests .status-request-failed td { - background-color: #fef7f1; - border-left-color: #d64d21; + background-color: #f6f7f7; + border-left-color: #d63638; } .privacy_requests .export_personal_data_failed a { @@ -1299,11 +1299,11 @@ table.form-table td .updated p { .status-label.status-request-pending { font-weight: 400; font-style: italic; - color: #6c7781; + color: #787c82; } .status-label.status-request-failed { - color: #aa0000; + color: #d63638; font-weight: 600; } @@ -1337,13 +1337,13 @@ table.form-table td .updated p { } .email-personal-data--sending::before { - color: #f56e28; + color: #d63638; content: "\f463"; animation: rotation 2s infinite linear; } .email-personal-data--sent::before { - color: #79ba49; + color: #68de7c; content: "\f147"; }