Ticket #34904: 34904.6.diff
File 34904.6.diff, 6.3 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/common.css
624 624 top: -3px; 625 625 text-decoration: none; 626 626 border: none; 627 border: 1px solid # ccc;627 border: 1px solid #a1acb5; 628 628 border-radius: 2px; 629 background: #f 7f7f7;629 background: #fff; 630 630 text-shadow: none; 631 631 font-weight: 600; 632 632 font-size: 13px; 633 633 line-height: normal; /* IE8-IE11 need this for buttons */ 634 color: #00 73aa; /* some of these controls are button elements and don't inherit from links */634 color: #006799; /* some of these controls are button elements and don't inherit from links */ 635 635 cursor: pointer; 636 636 } 637 637 … … 641 641 642 642 .wrap .add-new-h2:hover, /* deprecated */ 643 643 .wrap .page-title-action:hover { 644 b order-color: #008EC2;645 b ackground: #00a0d2;646 color: # fff;644 background: #f3f5f6; 645 border-color: #a1acb5; 646 color: #006799; 647 647 } 648 648 649 649 /* lower specificity: color needs to be overridden by :hover and :active */ 650 650 .page-title-action:focus { 651 color: # 124964;651 color: #016087; 652 652 } 653 653 654 654 /* Dashicon for language options on General Settings and Profile screens */ … … 658 658 } 659 659 660 660 .wrap .page-title-action:focus { 661 border-color: # 5b9dd9;662 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);661 border-color: #006799; 662 box-shadow: 0 0 0 1px #006799; 663 663 /* Only visible in Windows High Contrast mode */ 664 664 outline: 2px solid transparent; 665 665 } -
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: #006799; 54 box-shadow: 0 0 0 1px #006799; 55 55 /* Only visible in Windows High Contrast mode */ 56 56 outline: 2px solid transparent; 57 57 } -
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: #cccccc; 128 background: #f7f7f7; 129 box-shadow: 0 1px 0 #cccccc; 126 color: #006799; 127 border-color: #a1acb5; 128 background: #fff; 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: #a1acb5; 144 color: #006799; 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: #006799; 152 color: #016087; 153 box-shadow: 0 0 0 1px #006799; 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 163 } 164 164 … … 241 241 ---------------------------------------------------------------------------- */ 242 242 243 243 .wp-core-ui .button-primary { 244 background: #0085ba; 245 border-color: #0073aa #006799 #006799; 246 box-shadow: 0 1px 0 #006799; 244 background: #006799; 245 border-color: #006799; 247 246 color: #fff; 248 247 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;253 248 } 254 249 255 250 .wp-core-ui .button-primary.hover, … … 256 251 .wp-core-ui .button-primary:hover, 257 252 .wp-core-ui .button-primary.focus, 258 253 .wp-core-ui .button-primary:focus { 259 background: # 008ec2;260 border-color: # 006799;254 background: #46799a; 255 border-color: #46799a; 261 256 color: #fff; 262 257 } 263 258 264 259 .wp-core-ui .button-primary.focus, 265 260 .wp-core-ui .button-primary:focus { 266 box-shadow: 0 1px 0 #0073aa, 267 0 0 2px 1px #33b3db; 261 box-shadow: 0 0 0 1px #fff, 0 0 0 3px #006799; 268 262 } 269 263 270 264 .wp-core-ui .button-primary.active, … … 271 265 .wp-core-ui .button-primary.active:hover, 272 266 .wp-core-ui .button-primary.active:focus, 273 267 .wp-core-ui .button-primary:active { 274 background: #00 73aa;268 background: #006799; 275 269 border-color: #006799; 276 box-shadow: inset 0 2px 0 #006799;270 transform: translateY(1px); 277 271 } 278 272 279 273 .wp-core-ui .button-primary[disabled], … … 280 274 .wp-core-ui .button-primary:disabled, 281 275 .wp-core-ui .button-primary-disabled, 282 276 .wp-core-ui .button-primary.disabled { 283 color: #66 c6e4 !important;284 background: #008 ec2 !important;285 border-color: #00 7cb2 !important;277 color: #66C6E4 !important; 278 background: #008EC2 !important; 279 border-color: #008EC2 !important; 286 280 box-shadow: none !important; 287 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1)!important;281 text-shadow: none !important; 288 282 cursor: default; 289 283 } 290 284 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 285 /* ---------------------------------------------------------------------------- 310 286 4.0 - Button Groups 311 287 ---------------------------------------------------------------------------- */ … … 324 300 margin-right: -1px; 325 301 } 326 302 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 303 .wp-core-ui .button-group > .button:first-child { 336 304 border-radius: 3px 0 0 3px; 337 305 } … … 340 308 border-radius: 0 3px 3px 0; 341 309 } 342 310 311 .wp-core-ui .button-group > .button-primary + .button { 312 border-left: 0; 313 } 314 343 315 .wp-core-ui .button-group > .button:focus { 344 316 position: relative; 345 317 z-index: 1; 346 318 } 347 319 320 .wp-core-ui .button-group > .button:active { 321 transform: translateY(0); 322 } 323 348 324 /* ---------------------------------------------------------------------------- 349 325 5.0 - Responsive Button Styles 350 326 ---------------------------------------------------------------------------- */ … … 406 382 padding: 0 12px 2px; 407 383 } 408 384 409 } 385 } 386 No newline at end of file