Ticket #34904: 34904--blue-secondary-buttons.2.diff
File 34904--blue-secondary-buttons.2.diff, 4.4 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/colors/_admin.scss
23 23 } 24 24 } 25 25 26 #media-upload a.del-link:hover, 27 div.dashboard-widget-submit input:hover, 28 .subsubsub a:hover, 29 .subsubsub a.current:hover { 26 #post-body .misc-pub-post-status:before, 27 #post-body #visibility:before, 28 .curtime #timestamp:before, 29 #post-body .misc-pub-revisions:before, 30 span.wp-media-buttons-icon:before { 30 31 color: $link-focus; 31 32 } 32 33 … … 73 74 /* Core UI */ 74 75 75 76 .wp-core-ui { 77 78 .button, 79 .button-secondary { 80 color: $button-color; 81 border-color: $button-color; 82 } 83 84 .button.hover, 85 .button:hover, 86 .button-secondary:hover, 76 87 .button.focus, 77 88 .button:focus, 78 89 .button-secondary:focus { 90 border-color: darken( $button-color, 5% ); 91 color: darken( $button-color, 5% ); 92 } 93 94 .button.focus, 95 .button:focus, 96 .button-secondary:focus { 79 97 border-color: $button-color; 80 98 color: darken( $button-color, 5% ); 81 99 box-shadow: 0 0 0 1px $button-color; … … 85 103 @include button( $button-color ); 86 104 } 87 105 106 .button-group > .button.active { 107 border-color: $button-color; 108 } 109 88 110 .wp-ui-primary { 89 111 color: $text-color; 90 112 background-color: $base-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-admin/css/edit.css
447 447 #post-body .misc-pub-post-status:before, 448 448 #post-body #visibility:before, 449 449 .curtime #timestamp:before, 450 #post-body .misc-pub-revisions:before, 451 span.wp-media-buttons-icon:before { 450 #post-body .misc-pub-revisions:before { 452 451 color: #82878c; 453 452 } 454 453 -
src/wp-admin/css/media.css
933 933 line-height: 2; 934 934 margin: 0 8px 8px 0; 935 935 padding: 0 10px; 936 color: #555;937 936 } 938 937 939 938 .imgedit-menu .button:before { -
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], … … 319 319 .wp-core-ui .button-group > .button.active { 320 320 background-color: #e2e4e7; 321 321 box-shadow: inset 0 1px 0 0 #999; 322 border-color: #016087; 322 323 } 323 324 324 325 .wp-core-ui .button-group > .button:active,