Administration: Use #fff instead of `white`

Cleans up a few places where the CSS coding standards were not being followed.

Fixes #37576.
Props Presskopp, johnpgreen, netweb


Built from https://develop.svn.wordpress.org/trunk@38501


git-svn-id: http://core.svn.wordpress.org/trunk@38442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin 2016-09-01 18:14:31 +00:00
parent 77a3cc733e
commit 93ad7eab80
21 changed files with 35 additions and 35 deletions

View File

@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct * Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
@mixin button( $button-color, $text-color: white ) { @mixin button( $button-color, $text-color: #fff ) {
background: $button-color; background: $button-color;
border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% ); border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% );
color: $text-color; color: $text-color;

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #e1a948; background: #e1a948;
border-color: #d39323 #bd831f #bd831f; border-color: #d39323 #bd831f #bd831f;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f; -webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f; box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f; text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55; background: #e3af55;
border-color: #bd831f; border-color: #bd831f;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f; -webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f; box-shadow: 0 1px 0 #bd831f;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #e1a948; background: #e1a948;
border-color: #d39323 #bd831f #bd831f; border-color: #d39323 #bd831f #bd831f;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f; -webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f; box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f; text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55; background: #e3af55;
border-color: #bd831f; border-color: #bd831f;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f; -webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f; box-shadow: 0 1px 0 #bd831f;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #c7a589; background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55; border-color: #b78b66 #ae7d55 #ae7d55;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55; -webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55; box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55; text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93; background: #ccad93;
border-color: #ae7d55; border-color: #ae7d55;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55; -webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55; box-shadow: 0 1px 0 #ae7d55;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #c7a589; background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55; border-color: #b78b66 #ae7d55 #ae7d55;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55; -webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55; box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55; text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93; background: #ccad93;
border-color: #ae7d55; border-color: #ae7d55;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55; -webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55; box-shadow: 0 1px 0 #ae7d55;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #a3b745; background: #a3b745;
border-color: #829237 #727f30 #727f30; border-color: #829237 #727f30 #727f30;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30; -webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30; box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30; text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f; background: #a9bd4f;
border-color: #727f30; border-color: #727f30;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30; -webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30; box-shadow: 0 1px 0 #727f30;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #a3b745; background: #a3b745;
border-color: #829237 #727f30 #727f30; border-color: #829237 #727f30 #727f30;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30; -webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30; box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30; text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f; background: #a9bd4f;
border-color: #727f30; border-color: #727f30;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30; -webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30; box-shadow: 0 1px 0 #727f30;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #04a4cc; background: #04a4cc;
border-color: #037c9a #036881 #036881; border-color: #037c9a #036881 #036881;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #036881; -webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881; box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881; text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db; background: #04b0db;
border-color: #036881; border-color: #036881;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #036881; -webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881; box-shadow: 0 1px 0 #036881;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #04a4cc; background: #04a4cc;
border-color: #037c9a #036881 #036881; border-color: #037c9a #036881 #036881;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #036881; -webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881; box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881; text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db; background: #04b0db;
border-color: #036881; border-color: #036881;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #036881; -webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881; box-shadow: 0 1px 0 #036881;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #e14d43; background: #e14d43;
border-color: #d02c21 #ba281e #ba281e; border-color: #d02c21 #ba281e #ba281e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e; -webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e; box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e; text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950; background: #e35950;
border-color: #ba281e; border-color: #ba281e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e; -webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e; box-shadow: 0 1px 0 #ba281e;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #e14d43; background: #e14d43;
border-color: #d02c21 #ba281e #ba281e; border-color: #d02c21 #ba281e #ba281e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e; -webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e; box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e; text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950; background: #e35950;
border-color: #ba281e; border-color: #ba281e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e; -webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e; box-shadow: 0 1px 0 #ba281e;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #9ebaa0; background: #9ebaa0;
border-color: #80a583 #719a74 #719a74; border-color: #80a583 #719a74 #719a74;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74; -webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74; box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74; text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9; background: #a7c0a9;
border-color: #719a74; border-color: #719a74;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74; -webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74; box-shadow: 0 1px 0 #719a74;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #9ebaa0; background: #9ebaa0;
border-color: #80a583 #719a74 #719a74; border-color: #80a583 #719a74 #719a74;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74; -webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74; box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74; text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9; background: #a7c0a9;
border-color: #719a74; border-color: #719a74;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74; -webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74; box-shadow: 0 1px 0 #719a74;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #dd823b; background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e; border-color: #c36922 #ad5d1e #ad5d1e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e; -webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e; box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e; text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48; background: #df8a48;
border-color: #ad5d1e; border-color: #ad5d1e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e; -webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e; box-shadow: 0 1px 0 #ad5d1e;
} }

View File

@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary { .wp-core-ui .button-primary {
background: #dd823b; background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e; border-color: #c36922 #ad5d1e #ad5d1e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e; -webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e; box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e; text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48; background: #df8a48;
border-color: #ad5d1e; border-color: #ad5d1e;
color: white; color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e; -webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e; box-shadow: 0 1px 0 #ad5d1e;
} }

View File

@ -680,7 +680,7 @@ ul.striped > :nth-child(odd),
} }
.wp-ui-highlight { .wp-ui-highlight {
color: white; color: #fff;
background-color: #1e8cbe; background-color: #1e8cbe;
} }
.wp-ui-text-highlight { .wp-ui-text-highlight {

View File

@ -680,7 +680,7 @@ ul.striped > :nth-child(odd),
} }
.wp-ui-highlight { .wp-ui-highlight {
color: white; color: #fff;
background-color: #1e8cbe; background-color: #1e8cbe;
} }
.wp-ui-text-highlight { .wp-ui-text-highlight {

View File

@ -1147,7 +1147,7 @@ i.mce-i-wp_code:before {
} }
.js .tmce-active .wp-editor-area { .js .tmce-active .wp-editor-area {
color: white; color: #fff;
} }
.tmce-active .quicktags-toolbar { .tmce-active .quicktags-toolbar {

View File

@ -1147,7 +1147,7 @@ i.mce-i-wp_code:before {
} }
.js .tmce-active .wp-editor-area { .js .tmce-active .wp-editor-area {
color: white; color: #fff;
} }
.tmce-active .quicktags-toolbar { .tmce-active .quicktags-toolbar {

View File

@ -64,7 +64,7 @@ body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.5; line-height: 1.5;
color: #82878c; color: #82878c;
background: white; background: #fff;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05); box-shadow: 0 1px 1px rgba(0, 0, 0, .05);

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-alpha-38500'; $wp_version = '4.7-alpha-38501';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.