Ticket #18380: 18380.2.diff
| File 18380.2.diff, 10.7 KB (added by , 12 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 /* Helper classes for plugins to leverage the active WordPress color scheme */50 51 .wp-ui-primary {52 color: #fff;53 background-color: #333;54 }55 .wp-ui-text-primary {56 color: #333;57 }58 59 .wp-ui-highlight {60 color: white;61 background-color: #1e8cbe;62 }63 .wp-ui-text-highlight {64 color: #1e8cbe;65 }66 67 .wp-ui-notification {68 color: #fff;69 background-color: #D54E21;70 }71 .wp-ui-text-notification {72 color: #D54E21;73 }74 75 .wp-ui-text-icon {76 color: #999;77 }78 79 80 #adminmenu .wp-has-current-submenu .wp-submenu,81 .no-js li.wp-has-current-submenu:hover .wp-submenu,82 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,83 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,84 #adminmenu .wp-has-current-submenu.opensub .wp-submenu {85 background-color: #333;86 }87 88 #adminmenu .wp-has-current-submenu .wp-submenu a,89 .no-js li.wp-has-current-submenu:hover .wp-submenu a,90 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,91 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open a,92 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a {93 color: #bbb;94 }95 96 #adminmenu .wp-submenu a:hover,97 #adminmenu .wp-submenu a:focus,98 #adminmenu .wp-has-current-submenu .wp-submenu a:hover,99 #adminmenu .wp-has-current-submenu .wp-submenu a:focus,100 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,101 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open a:hover,102 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open a:focus,103 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,104 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,105 .no-js li.wp-has-current-submenu:hover .wp-submenu a:hover,106 .no-js li.wp-has-current-submenu:hover .wp-submenu a:focus,107 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,108 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,109 .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,110 .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus {111 background: none;112 color: #2ea2cc;113 }114 115 ul#adminmenu a.wp-has-current-submenu:after,116 ul#adminmenu > li.current > a.current:after {117 border-right-color: #f1f1f1;118 }119 120 .row-actions {121 color: #ddd;122 }123 124 .find-box-search,125 .find-box-buttons {126 background-color: #f7f7f7;127 border-top: 1px solid #dfdfdf;128 }129 130 .find-box {131 background-color: #444;132 }133 134 .find-box-head {135 color: #eee;136 }137 138 .find-box-inside {139 background-color: #fff;140 }141 142 19 a.page-numbers:hover { 143 20 border-color: #999; 144 21 } … … 1900 1777 background: #fbfbfb; 1901 1778 } 1902 1779 1903 .login form {1904 background: #fff;1905 -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);1906 box-shadow: 0 1px 3px rgba(0,0,0,0.13);1907 }1908 1909 1780 body.login { 1910 1781 background: #f1f1f1; 1911 1782 } -
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; … … 904 927 color: #a9a9a9; 905 928 } 906 929 930 931 /* Helper classes for plugins to leverage the active WordPress color scheme */ 932 933 .wp-ui-primary { 934 color: #fff; 935 background-color: #333; 936 } 937 .wp-ui-text-primary { 938 color: #333; 939 } 940 941 .wp-ui-highlight { 942 color: white; 943 background-color: #1e8cbe; 944 } 945 .wp-ui-text-highlight { 946 color: #1e8cbe; 947 } 948 949 .wp-ui-notification { 950 color: #fff; 951 background-color: #D54E21; 952 } 953 .wp-ui-text-notification { 954 color: #D54E21; 955 } 956 957 .wp-ui-text-icon { 958 color: #999; 959 } 960 907 961 /*------------------------------------------------------------------------------ 908 962 1.0 - Text Styles 909 963 ------------------------------------------------------------------------------*/ … … 1486 1540 1487 1541 /* nothing? */ 1488 1542 1543 a .mceIcon, .mceAction { 1544 color:#777; 1545 } 1546 1547 a .mceIcon:hover { 1548 color:#333; 1549 } 1550 1551 .clearlooks2 { 1552 box-shadow: 0 5px 15px rgba(0,0,0,0.7); 1553 } 1554 1555 .clearlooks2 .mceMiddle span, 1556 .clearlooks2 .mceMiddle .mceLeft, 1557 .clearlooks2 .mceMiddle .mceRight, 1558 .clearlooks2 .mceBottom, 1559 .clearlooks2 .mceBottom .mceLeft, 1560 .clearlooks2 .mceBottom .mceCenter, 1561 .clearlooks2 .mceBottom .mceRight { 1562 background-color: #fcfcfc; 1563 } 1564 1565 .clearlooks2 .mceTop span, 1566 .clearlooks2 .mceFocus .mceTop span { 1567 color: #222; 1568 } 1569 1570 .clearlooks2 .mceClose:before { 1571 color: #999; 1572 } 1573 1574 .clearlooks2 .mceClose:hover:before { 1575 color: #2ea2cc; 1576 } 1577 1578 1489 1579 /*------------------------------------------------------------------------------ 1490 1580 6.0 - Admin Header 1491 1581 ------------------------------------------------------------------------------*/ … … 1800 1890 left: 36px; 1801 1891 } 1802 1892 1893 #adminmenu .wp-has-current-submenu .wp-submenu, 1894 .no-js li.wp-has-current-submenu:hover .wp-submenu, 1895 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, 1896 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, 1897 #adminmenu .wp-has-current-submenu.opensub .wp-submenu { 1898 background-color: #333; 1899 } 1900 1901 #adminmenu .wp-has-current-submenu .wp-submenu a, 1902 .no-js li.wp-has-current-submenu:hover .wp-submenu a, 1903 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, 1904 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open a, 1905 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { 1906 color: #bbb; 1907 } 1908 1909 #adminmenu .wp-submenu a:hover, 1910 #adminmenu .wp-submenu a:focus, 1911 #adminmenu .wp-has-current-submenu .wp-submenu a:hover, 1912 #adminmenu .wp-has-current-submenu .wp-submenu a:focus, 1913 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, 1914 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open a:hover, 1915 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open a:focus, 1916 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover, 1917 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, 1918 .no-js li.wp-has-current-submenu:hover .wp-submenu a:hover, 1919 .no-js li.wp-has-current-submenu:hover .wp-submenu a:focus, 1920 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, 1921 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, 1922 .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, 1923 .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus { 1924 background: none; 1925 color: #2ea2cc; 1926 } 1927 1928 ul#adminmenu a.wp-has-current-submenu:after, 1929 ul#adminmenu > li.current > a.current:after { 1930 border-right-color: #f1f1f1; 1931 } 1932 1803 1933 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, 1804 1934 .folded #adminmenu .wp-has-current-submenu .wp-submenu { 1805 1935 position: absolute; … … 5706 5836 ------------------------------------------------------------------------------*/ 5707 5837 5708 5838 .find-box { 5839 background-color: #444; 5709 5840 width: 600px; 5710 5841 height: 300px; 5711 5842 overflow: hidden; … … 5715 5846 } 5716 5847 5717 5848 .find-box-head { 5849 color: #eee; 5718 5850 cursor: move; 5719 5851 font-weight: 600; 5720 5852 height: 2em; … … 5726 5858 } 5727 5859 5728 5860 .find-box-inside { 5861 background-color: #fff; 5729 5862 overflow: auto; 5730 5863 padding: 6px; 5731 5864 height: 100%; … … 5737 5870 position: relative; 5738 5871 } 5739 5872 5873 .find-box-search, 5874 .find-box-buttons { 5875 background-color: #f7f7f7; 5876 border-top: 1px solid #dfdfdf; 5877 } 5878 5740 5879 .find-box-search .spinner { 5741 5880 float: none; 5742 5881 left: 125px; … … 7793 7932 } 7794 7933 7795 7934 .pressthis a span:before { 7935 color:#777; 7796 7936 font: normal 20px/1 'dashicons'; 7797 7937 content:'\f157'; 7798 7938 position: relative; … … 8643 8783 font-size: 13px; 8644 8784 visibility: hidden; 8645 8785 padding: 2px 0 0; 8786 color: #ddd; 8646 8787 } 8647 8788 8648 8789 tr:hover .row-actions, … … 9195 9336 9196 9337 /* login */ 9197 9338 9339 body.login { 9340 background: #f1f1f1; 9341 } 9342 9198 9343 #loginform p.submit, 9199 9344 .login-action-lostpassword p.submit { 9200 9345 border: none; … … 9207 9352 } 9208 9353 9209 9354 .login form { 9355 background: #fff; 9210 9356 margin-top: 20px; 9211 9357 margin-left: 0; 9212 9358 padding: 26px 24px 46px; 9213 9359 font-weight: normal; 9214 9360 overflow: hidden; 9361 9362 -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); 9363 box-shadow: 0 1px 3px rgba(0,0,0,0.13); 9215 9364 } 9216 9365 9217 9366 .login form .forgetmenot { … … 9268 9417 display: block; 9269 9418 } 9270 9419 9420 .login h1 a:hover { 9421 color: #2ea2cc; 9422 } 9423 9271 9424 #login { 9272 9425 width: 320px; 9273 9426 padding: 8% 0 0; … … 9286 9439 padding: 0 24px 0; 9287 9440 } 9288 9441 9442 .login #nav a, 9443 .login #backtoblog a { 9444 text-decoration: none; 9445 color: #999; 9446 } 9447 9448 .login #nav a:hover, 9449 .login #backtoblog a:hover { 9450 color: #2ea2cc; 9451 } 9452 9289 9453 .login #nav { 9290 9454 margin: 24px 0 0 0; 9291 9455 } … … 9303 9467 margin: 2px 6px 16px 0; 9304 9468 } 9305 9469 9470 .login form .input, 9471 .login input[type="text"], 9472 .login form input[type="checkbox"] { 9473 background: #fbfbfb; 9474 } 9475 9306 9476 .login #pass-strength-result { 9307 9477 width: 250px; 9308 9478 font-weight: 600; … … 11400 11570 display: none; 11401 11571 } 11402 11572 11573 .sticky-menu #TB_window { 11574 background: #f1f1f1; 11575 } 11576 11403 11577 /* =Media Queries 11404 11578 -------------------------------------------------------------- */ 11405 11579 -
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;