Ticket #18380: 18380.diff
File 18380.diff, 2.6 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/colors.css
16 16 1.0 - General 17 17 ------------------------------------------------------------------------------*/ 18 18 19 html {20 background: #f1f1f1;21 }22 23 /* Checkbooms */24 25 input[type=checkbox],26 input[type=radio] {27 background: #fff;28 border-color: #bbb;29 color: #555;30 31 -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);32 box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);33 }34 35 input[type=checkbox]:checked:before {36 color: #1e8cbe;37 }38 39 input[type=radio]:checked:before {40 background-color: #1e8cbe;41 }42 43 .wp-core-ui input[type="reset"]:hover,44 .wp-core-ui input[type="reset"]:active {45 color: #2ea2cc;46 }47 48 49 19 /* Helper classes for plugins to leverage the active WordPress color scheme */ 50 20 51 21 .wp-ui-primary { -
src/wp-admin/css/wp-admin.css
259 259 260 260 input[type="checkbox"], 261 261 input[type="radio"] { 262 background: #fff; 263 border-color: #bbb; 262 264 border-width: 1px; 263 265 border-style: solid; 266 color: #555; 264 267 clear: none; 265 268 cursor: pointer; 266 269 display: inline-block; … … 276 279 -webkit-appearance: none; 277 280 -webkit-box-sizing: border-box; 278 281 box-sizing: border-box; 282 -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1); 283 box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1); 279 284 } 280 285 286 input[type=checkbox]:checked:before { 287 color: #1e8cbe; 288 } 289 290 input[type=radio]:checked:before { 291 background-color: #1e8cbe; 292 } 293 294 .wp-core-ui input[type="reset"]:hover, 295 .wp-core-ui input[type="reset"]:active { 296 color: #2ea2cc; 297 } 298 281 299 td > input[type="checkbox"], 282 300 .wp-admin p input[type=checkbox], 283 301 .wp-admin p input[type=radio] { … … 356 374 } 357 375 358 376 /* general */ 377 html { 378 background: #f1f1f1; 379 } 380 359 381 html, 360 382 body { 361 383 height: 100%; … … 363 385 padding: 0; 364 386 } 365 387 388 366 389 body { 367 390 font-family: "Open Sans", sans-serif; 368 391 font-size: 13px; -
src/wp-includes/script-loader.php
691 691 if ( empty($color) || !isset($_wp_admin_css_colors[$color]) ) 692 692 $color = 'fresh'; 693 693 694 // Check to see if we are using the default which is backed in 695 if ( $color === 'fresh' ){ 696 return false; 697 } 698 694 699 $color = $_wp_admin_css_colors[$color]; 695 700 $parsed = parse_url( $src ); 696 701 $url = $color->url;