Ticket #34904: 34904.7.diff
File 34904.7.diff, 6.4 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/common.css
623 623 position: relative; 624 624 top: -3px; 625 625 text-decoration: none; 626 border: none; 627 border: 1px solid #ccc; 626 border: 1px solid #7e8993; 628 627 border-radius: 2px; 629 background: #f7f7f7;630 628 text-shadow: none; 631 629 font-weight: 600; 632 630 font-size: 13px; 633 631 line-height: normal; /* IE8-IE11 need this for buttons */ 634 color: # 0073aa; /* some of these controls are button elements and don't inherit from links */632 color: #555; /* use the standard color used for buttons */ 635 633 cursor: pointer; 636 634 } 637 635 … … 641 639 642 640 .wrap .add-new-h2:hover, /* deprecated */ 643 641 .wrap .page-title-action:hover { 644 b order-color: #008EC2;645 b ackground: #00a0d2;646 color: # fff;642 background: #f3f5f6; 643 border-color: #7e8993; 644 color: #007cba; 647 645 } 648 646 649 647 /* lower specificity: color needs to be overridden by :hover and :active */ 650 648 .page-title-action:focus { 651 color: # 124964;649 color: #016087; 652 650 } 653 651 654 652 /* Dashicon for language options on General Settings and Profile screens */ … … 658 656 } 659 657 660 658 .wrap .page-title-action:focus { 661 border-color: # 5b9dd9;662 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);659 border-color: #007cba; 660 box-shadow: 0 0 0 1px #007cba; 663 661 /* Only visible in Windows High Contrast mode */ 664 662 outline: 2px solid transparent; 665 663 } -
src/wp-admin/css/forms.css
50 50 input[type="radio"]:focus, 51 51 select:focus, 52 52 textarea:focus { 53 border-color: # 5b9dd9;54 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);53 border-color: #007cba; 54 box-shadow: 0 0 0 1px #007cba; 55 55 /* Only visible in Windows High Contrast mode */ 56 56 outline: 2px solid transparent; 57 57 } -
src/wp-includes/css/buttons.css
124 124 .wp-core-ui .button, 125 125 .wp-core-ui .button-secondary { 126 126 color: #555; 127 border-color: #cccccc; 128 background: #f7f7f7; 129 box-shadow: 0 1px 0 #cccccc; 127 border-color: #7e8993; 128 background: #f1f1f1; 130 129 vertical-align: top; 131 130 } 132 131 … … 140 139 .wp-core-ui .button.focus, 141 140 .wp-core-ui .button:focus, 142 141 .wp-core-ui .button-secondary:focus { 143 background: #f afafa;144 border-color: # 999;145 color: # 23282d;142 background: #f3f5f6; 143 border-color: #7e8993; 144 color: #007cba; 146 145 } 147 146 148 147 .wp-core-ui .button.focus, 149 148 .wp-core-ui .button:focus, 150 149 .wp-core-ui .button-secondary:focus { 151 border-color: #5b9dd9; 152 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); 150 background: #f3f5f6; 151 border-color: #007cba; 152 color: #016087; 153 box-shadow: 0 0 0 1px #007cba; 153 154 } 154 155 155 156 .wp-core-ui .button.active, … … 158 159 .wp-core-ui .button-secondary:active { 159 160 background: #eee; 160 161 border-color: #999; 161 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);162 162 transform: translateY(1px); 163 box-shadow: none; 163 164 } 164 165 165 166 .wp-core-ui .button.active:focus { … … 241 242 ---------------------------------------------------------------------------- */ 242 243 243 244 .wp-core-ui .button-primary { 244 background: #0085ba; 245 border-color: #0073aa #006799 #006799; 246 box-shadow: 0 1px 0 #006799; 245 background: #007cba; 246 border-color: #007cba; 247 247 color: #fff; 248 248 text-decoration: none; 249 text-shadow: 0 -1px 1px #006799, 250 1px 0 1px #006799, 251 0 1px 1px #006799, 252 -1px 0 1px #006799; 249 text-shadow: none; 253 250 } 254 251 255 252 .wp-core-ui .button-primary.hover, … … 256 253 .wp-core-ui .button-primary:hover, 257 254 .wp-core-ui .button-primary.focus, 258 255 .wp-core-ui .button-primary:focus { 259 background: #00 8ec2;260 border-color: #00 6799;261 color: #fff; 256 background: #0071a1; 257 border-color: #0071a1; 258 color: #fff;; 262 259 } 263 260 264 261 .wp-core-ui .button-primary.focus, 265 262 .wp-core-ui .button-primary:focus { 266 box-shadow: 0 1px 0 #0073aa, 267 0 0 2px 1px #33b3db; 263 box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; 268 264 } 269 265 270 266 .wp-core-ui .button-primary.active, … … 271 267 .wp-core-ui .button-primary.active:hover, 272 268 .wp-core-ui .button-primary.active:focus, 273 269 .wp-core-ui .button-primary:active { 274 background: #0073aa; 275 border-color: #006799; 276 box-shadow: inset 0 2px 0 #006799; 270 background: #00669b; 271 border-color: #00669b; 272 transform: translateY(1px); 273 box-shadow: none; 277 274 } 278 275 279 276 .wp-core-ui .button-primary[disabled], … … 280 277 .wp-core-ui .button-primary:disabled, 281 278 .wp-core-ui .button-primary-disabled, 282 279 .wp-core-ui .button-primary.disabled { 283 color: #66 c6e4 !important;284 background: #008 ec2 !important;285 border-color: #00 7cb2 !important;280 color: #66C6E4 !important; 281 background: #008EC2 !important; 282 border-color: #008EC2 !important; 286 283 box-shadow: none !important; 287 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1)!important;284 text-shadow: none !important; 288 285 cursor: default; 289 286 } 290 287 291 .wp-core-ui .button.button-primary.button-hero {292 box-shadow: 0 2px 0 #006799;293 }294 295 .wp-core-ui .button.button-primary.button-hero:focus {296 box-shadow:297 0 2px 0 #006799,298 0 1px 0 #0073aa,299 0 0 2px 1px #33b3db;300 }301 302 .wp-core-ui .button.button-primary.button-hero.active,303 .wp-core-ui .button.button-primary.button-hero.active:hover,304 .wp-core-ui .button.button-primary.button-hero.active:focus,305 .wp-core-ui .button.button-primary.button-hero:active {306 box-shadow: inset 0 3px 0 #006799;307 }308 309 288 /* ---------------------------------------------------------------------------- 310 289 4.0 - Button Groups 311 290 ---------------------------------------------------------------------------- */ … … 324 303 margin-right: -1px; 325 304 } 326 305 327 .wp-core-ui .button-group > .button-primary {328 z-index: 100;329 }330 331 .wp-core-ui .button-group > .button:hover {332 z-index: 20;333 }334 335 306 .wp-core-ui .button-group > .button:first-child { 336 307 border-radius: 3px 0 0 3px; 337 308 } … … 340 311 border-radius: 0 3px 3px 0; 341 312 } 342 313 314 .wp-core-ui .button-group > .button-primary + .button { 315 border-left: 0; 316 } 317 343 318 .wp-core-ui .button-group > .button:focus { 344 319 position: relative; 345 320 z-index: 1; 346 321 } 347 322 323 .wp-core-ui .button-group > .button:active { 324 transform: translateY(0); 325 } 326 348 327 /* ---------------------------------------------------------------------------- 349 328 5.0 - Responsive Button Styles 350 329 ---------------------------------------------------------------------------- */ … … 406 385 padding: 0 12px 2px; 407 386 } 408 387 409 } 388 } 389 No newline at end of file