Ticket #34904: 34904--blue-secondary-buttons.diff
File 34904--blue-secondary-buttons.diff, 2.8 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/colors/_admin.scss
73 73 /* Core UI */ 74 74 75 75 .wp-core-ui { 76 77 .button, 78 .button-secondary { 79 color: $button-color; 80 border-color: $button-color; 81 } 82 83 .button.hover, 84 .button:hover, 85 .button-secondary:hover, 76 86 .button.focus, 77 87 .button:focus, 78 88 .button-secondary:focus { 89 border-color: darken( $button-color, 5% ); 90 color: darken( $button-color, 5% ); 91 } 92 93 .button.focus, 94 .button:focus, 95 .button-secondary:focus { 79 96 border-color: $button-color; 80 97 color: darken( $button-color, 5% ); 81 98 box-shadow: 0 0 0 1px $button-color; -
src/wp-admin/css/common.css
617 617 position: relative; 618 618 top: -3px; 619 619 text-decoration: none; 620 border: 1px solid # 7e8993;620 border: 1px solid #0071a1; 621 621 border-radius: 2px; 622 622 text-shadow: none; 623 623 font-weight: 600; 624 624 font-size: 13px; 625 625 line-height: normal; /* IE8-IE11 need this for buttons */ 626 color: #555; /* use the standard color used for buttons */ 626 color: #0071a1; /* use the standard color used for buttons */ 627 background: #f3f5f6; 627 628 cursor: pointer; 628 629 } 629 630 … … 633 634 634 635 .wrap .add-new-h2:hover, /* deprecated */ 635 636 .wrap .page-title-action:hover { 636 background: #f 3f5f6;637 border-color: # 7e8993;638 color: #0 07cba;637 background: #f1f1f1; 638 border-color: #016087; 639 color: #016087; 639 640 } 640 641 641 642 /* lower specificity: color needs to be overridden by :hover and :active */ -
src/wp-includes/css/buttons.css
123 123 124 124 .wp-core-ui .button, 125 125 .wp-core-ui .button-secondary { 126 color: # 555;127 border-color: # 7e8993;128 background: #f 1f1f1;126 color: #0071a1; 127 border-color: #0071a1; 128 background: #f3f5f6; 129 129 vertical-align: top; 130 130 } 131 131 … … 139 139 .wp-core-ui .button.focus, 140 140 .wp-core-ui .button:focus, 141 141 .wp-core-ui .button-secondary:focus { 142 background: #f 3f5f6;143 border-color: # 7e8993;144 color: #0 07cba;142 background: #f1f1f1; 143 border-color: #016087; 144 color: #016087; 145 145 } 146 146 147 147 .wp-core-ui .button.focus, … … 157 157 .wp-core-ui .button.active:hover, 158 158 .wp-core-ui .button:active, 159 159 .wp-core-ui .button-secondary:active { 160 background: # eee;161 border-color: # 999;160 background: #f3f5f6; 161 border-color: #7e8993; 162 162 transform: translateY(1px); 163 163 box-shadow: none; 164 164 } 165 165 166 166 .wp-core-ui .button.active:focus { 167 border-color: # 999;168 box-shadow: 0 0 0 1px # 999;167 border-color: #7e8993; 168 box-shadow: 0 0 0 1px #7e8993; 169 169 } 170 170 171 171 .wp-core-ui .button[disabled],