Ticket #18380: 18380.3.diff
| File 18380.3.diff, 13.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 19 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 20 .row-actions { 121 21 color: #ddd; 122 22 } … … 692 592 transition: none; 693 593 } 694 594 695 #adminmenu a {696 color: #eee;697 }698 699 #adminmenu .awaiting-mod,700 #adminmenu .update-plugins,701 #sidemenu a .update-plugins,702 595 #rightnow .reallynow { 703 596 background-color: #d54e21; 704 597 color: #fff; … … 708 601 color: #fff; 709 602 } 710 603 711 #adminmenu li.current a .awaiting-mod,712 #adminmenu li a.wp-has-current-submenu .update-plugins {713 background-color: #2ea2cc;714 color: #fff;715 }716 717 604 div#media-upload-header, 718 605 div#plugin-information-header { 719 606 background-color: #f9f9f9; … … 1163 1050 border-color: #ddd; 1164 1051 } 1165 1052 1166 /* menu */1167 #adminmenuback,1168 #adminmenuwrap,1169 #adminmenu {1170 background-color: #222;1171 }1172 1053 1173 #adminmenu li.wp-menu-separator {1174 background: transparent;1175 border-color: transparent;1176 }1177 1178 #adminmenu div.separator {1179 border-color: transparent;1180 }1181 1182 #adminmenu li.wp-menu-open {1183 border-color: #dfdfdf;1184 }1185 1186 #adminmenu li.menu-top:hover,1187 #adminmenu li.opensub > a.menu-top,1188 #adminmenu li > a.menu-top:focus {1189 background-color: #111;1190 color: #2ea2cc;1191 }1192 1193 /* flyout menu arrow */1194 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {1195 border-right-color: #333;1196 }1197 1198 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,1199 #adminmenu li.current a.menu-top,1200 .folded #adminmenu li.wp-has-current-submenu,1201 .folded #adminmenu li.current.menu-top,1202 #adminmenu .wp-menu-arrow,1203 #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,1204 #adminmenu .wp-menu-arrow div {1205 background: #0074a2;1206 }1207 1208 #adminmenu li.wp-not-current-submenu .wp-menu-arrow {1209 border-top-color: #f9f9f9;1210 border-bottom-color: #dfdfdf;1211 background: transparent;1212 }1213 1214 #adminmenu li.wp-not-current-submenu .wp-menu-arrow div {1215 background: #111;1216 border-color: #111;1217 }1218 1219 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,1220 #adminmenu li.current a.menu-top,1221 #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head {1222 color: #fff;1223 }1224 1225 .folded #adminmenu li.wp-has-current-submenu,1226 .folded #adminmenu li.current.menu-top {1227 border-color: #666; /* Match the background color of the current menu item for a flat appearance */1228 }1229 1230 #adminmenu .wp-submenu li.current,1231 #adminmenu .wp-submenu li.current a,1232 #adminmenu .opensub .wp-submenu li.current a,1233 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,1234 #adminmenu .wp-submenu li.current a:hover,1235 #adminmenu .wp-submenu li.current a:focus {1236 color: #fff;1237 background: transparent;1238 }1239 1240 #adminmenu .wp-submenu,1241 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,1242 .folded #adminmenu .wp-has-current-submenu .wp-submenu {1243 background-color: #333;1244 1245 -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);1246 box-shadow: 0 3px 5px rgba(0,0,0,0.2);1247 }1248 1249 #adminmenu .wp-submenu a,1250 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,1251 .folded #adminmenu .wp-has-current-submenu .wp-submenu a {1252 color: #bbb;1253 }1254 1255 #adminmenu .wp-submenu .wp-submenu-head {1256 color: #fff;1257 }1258 1259 /* collapse menu button */1260 #collapse-menu {1261 color: #aaa;1262 -webkit-transition: all .1s ease-in-out;1263 -moz-transition: all .1s ease-in-out;1264 transition: all .1s ease-in-out;1265 }1266 1267 #collapse-menu:hover {1268 color: #2ea2cc;1269 }1270 1271 #collapse-button div:after {1272 color: #aaa;1273 }1274 1275 #collapse-menu:hover #collapse-button div:after {1276 color: #2ea2cc;1277 }1278 1279 #adminmenu div.wp-menu-image:before {1280 color: #999;1281 }1282 1283 .icon16:before {1284 color: #999;1285 }1286 1287 #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before {1288 color: #fff;1289 }1290 1291 #adminmenu li:hover div.wp-menu-image:before {1292 color: #2ea2cc;1293 }1294 1295 #adminmenu .wp-has-current-submenu div.wp-menu-image:before,1296 #adminmenu .current div.wp-menu-image:before,1297 #adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,1298 #adminmenu a.current:hover div.wp-menu-image:before {1299 color: #fff;1300 }1301 1302 1054 /* Collapse button in theme preview */ 1303 1055 1304 1056 .wp-full-overlay a.collapse-sidebar { -
src/wp-admin/css/wp-admin.css
85 85 #adminmenu, 86 86 #adminmenu .wp-submenu { 87 87 width: 160px; 88 background-color: #222; 88 89 } 89 90 90 91 #adminmenuback { … … 259 260 260 261 input[type="checkbox"], 261 262 input[type="radio"] { 262 border-width: 1px; 263 border-style: solid; 263 border: 1px solid #bbb; 264 background: #fff; 265 color: #555; 264 266 clear: none; 265 267 cursor: pointer; 266 268 display: inline-block; … … 276 278 -webkit-appearance: none; 277 279 -webkit-box-sizing: border-box; 278 280 box-sizing: border-box; 281 -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1); 282 box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1); 279 283 } 280 284 285 .wp-core-ui input[type="reset"]:hover, 286 .wp-core-ui input[type="reset"]:active { 287 color: #2ea2cc; 288 } 289 281 290 td > input[type="checkbox"], 282 291 .wp-admin p input[type=checkbox], 283 292 .wp-admin p input[type=radio] { … … 320 329 input[type=checkbox]:checked:before { 321 330 content: '\f147'; 322 331 margin: -3px 0 0 -4px; 332 color: #1e8cbe; 323 333 } 324 334 325 335 input[type=radio]:checked:before { … … 331 341 height: 6px; 332 342 margin: 4px; 333 343 line-height: 16px; 344 background-color: #1e8cbe; 334 345 } 335 346 336 347 @-moz-document url-prefix() { … … 363 374 padding: 0; 364 375 } 365 376 377 html { 378 background: #f1f1f1; 379 } 380 366 381 body { 367 382 font-family: "Open Sans", sans-serif; 368 383 font-size: 13px; … … 850 865 padding-right: 0; 851 866 } 852 867 853 html,854 868 .wp-dialog { 855 869 background-color: #fff; 856 870 } … … 904 918 color: #a9a9a9; 905 919 } 906 920 921 /* Helper classes for plugins to leverage the active WordPress color scheme */ 922 923 .wp-ui-primary { 924 color: #fff; 925 background-color: #333; 926 } 927 .wp-ui-text-primary { 928 color: #333; 929 } 930 931 .wp-ui-highlight { 932 color: white; 933 background-color: #1e8cbe; 934 } 935 .wp-ui-text-highlight { 936 color: #1e8cbe; 937 } 938 939 .wp-ui-notification { 940 color: #fff; 941 background-color: #D54E21; 942 } 943 .wp-ui-text-notification { 944 color: #D54E21; 945 } 946 947 .wp-ui-text-icon { 948 color: #999; 949 } 950 907 951 /*------------------------------------------------------------------------------ 908 952 1.0 - Text Styles 909 953 ------------------------------------------------------------------------------*/ … … 947 991 /* New Menu icons */ 948 992 949 993 .icon16:before { 994 color: #999; 950 995 font: normal 20px/1 'dashicons'; 951 996 speak: none; 952 997 padding: 6px 0; … … 1741 1786 display: block; 1742 1787 line-height: 18px; 1743 1788 padding: 2px 5px; 1789 color: #eee; 1744 1790 } 1745 1791 1746 1792 #adminmenu li.menu-top { … … 1763 1809 .folded #adminmenu .wp-has-current-submenu .wp-submenu { 1764 1810 padding: 7px 0 8px; 1765 1811 z-index: 9999; 1812 background-color: #333; 1813 1814 -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); 1815 box-shadow: 0 3px 5px rgba(0,0,0,0.2); 1766 1816 } 1767 1817 1818 #adminmenu .wp-submenu a, 1819 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, 1820 .folded #adminmenu .wp-has-current-submenu .wp-submenu a { 1821 color: #bbb; 1822 } 1823 1768 1824 .js #adminmenu .sub-open, 1769 1825 .js #adminmenu .opensub .wp-submenu, 1770 1826 #adminmenu a.menu-top:focus + .wp-submenu, … … 1787 1843 margin-top: 0; 1788 1844 -webkit-box-shadow: none; 1789 1845 box-shadow: none; 1846 background-color: #333; 1790 1847 } 1791 1848 1849 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 1850 #adminmenu li.current a.menu-top, 1851 .folded #adminmenu li.wp-has-current-submenu, 1852 .folded #adminmenu li.current.menu-top, 1853 #adminmenu .wp-menu-arrow, 1854 #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, 1855 #adminmenu .wp-menu-arrow div { 1856 background: #0074a2; 1857 color: #fff; 1858 } 1859 1792 1860 .folded #adminmenu .wp-submenu.sub-open, 1793 1861 .folded #adminmenu .opensub .wp-submenu, 1794 1862 .folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, … … 1819 1887 padding: 6px 0; 1820 1888 } 1821 1889 1890 #adminmenu .wp-submenu li.current, 1891 #adminmenu .wp-submenu li.current a, 1892 #adminmenu .opensub .wp-submenu li.current a, 1893 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, 1894 #adminmenu .wp-submenu li.current a:hover, 1895 #adminmenu .wp-submenu li.current a:focus { 1896 color: #fff; 1897 } 1898 1822 1899 #adminmenu .wp-not-current-submenu li > a, 1823 1900 .folded #adminmenu .wp-has-current-submenu li > a { 1824 1901 padding-right: 16px; … … 1895 1972 transition: all .1s ease-in-out; 1896 1973 } 1897 1974 1975 #adminmenu div.wp-menu-image:before { 1976 color: #999; 1977 } 1978 1979 #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, 1980 #adminmenu .wp-has-current-submenu div.wp-menu-image:before, 1981 #adminmenu .current div.wp-menu-image:before, 1982 #adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before, 1983 #adminmenu a.current:hover div.wp-menu-image:before { 1984 color: #fff; 1985 } 1986 1987 #adminmenu li:hover div.wp-menu-image:before { 1988 color: #2ea2cc; 1989 } 1990 1898 1991 .folded #adminmenu div.wp-menu-image { 1899 1992 width: 35px; 1900 1993 height: 30px; … … 1939 2032 ul#adminmenu a.wp-has-current-submenu:after, 1940 2033 ul#adminmenu > li.current > a.current:after { 1941 2034 right: 0; 1942 border: solid transparent;2035 border: solid 8px transparent; 1943 2036 content: " "; 1944 2037 height: 0; 1945 2038 width: 0; 1946 2039 position: absolute; 1947 2040 pointer-events: none; 1948 border- width: 8px;2041 border-right-color: #f1f1f1; 1949 2042 top: 50%; 1950 2043 margin-top: -8px; 1951 2044 } … … 1980 2073 top: 18px; 1981 2074 } 1982 2075 2076 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { 2077 border-right-color: #333; 2078 } 2079 1983 2080 /* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ 1984 2081 #adminmenu li.menu-top:hover, 1985 2082 #adminmenu li.opensub > a.menu-top, 1986 2083 #adminmenu li > a.menu-top:focus { 1987 2084 position: relative; 2085 background-color: #111; 1988 2086 } 1989 2087 1990 2088 .folded #adminmenu li.menu-top:hover, … … 2000 2098 } 2001 2099 2002 2100 #adminmenu li.wp-menu-separator { 2003 height: 3px;2101 height: 5px; 2004 2102 padding: 0; 2005 2103 margin: 0 0 6px 0; 2006 border-width: 1px 0;2007 border-style: solid;2008 2104 cursor: inherit; 2009 2105 } 2010 2106 2107 /* is this even needed given that it's nested beneath the above li.wp-menu-separator? */ 2011 2108 #adminmenu div.separator { 2012 height: 1px;2109 height: 2px; 2013 2110 padding: 0; 2014 border-width: 1px 0 0 0;2015 border-style: solid;2016 2111 } 2017 2112 2018 2113 #adminmenu .wp-submenu .wp-submenu-head { 2114 color: #fff; 2019 2115 font-weight: 400; 2020 2116 font-size: 14px; 2021 2117 padding: 8px 4px 8px 11px; … … 2031 2127 #adminmenu span.update-plugins, 2032 2128 #sidemenu li a span.update-plugins { 2033 2129 display: inline-block; 2130 background-color: #d54e21; 2131 color: #fff; 2034 2132 font-size: 9px; 2035 2133 line-height: 17px; 2036 2134 font-weight: 600; … … 2048 2146 padding: 0 6px; 2049 2147 } 2050 2148 2149 #adminmenu li.current a .awaiting-mod, 2150 #adminmenu li a.wp-has-current-submenu .update-plugins { 2151 background-color: #2ea2cc; 2152 color: #fff; 2153 } 2154 2051 2155 #adminmenu li span.count-0, 2052 2156 #sidemenu li a .count-0 { 2053 2157 display: none; … … 2057 2161 font-size: 13px; 2058 2162 line-height: 34px; 2059 2163 margin-top: 10px; 2164 color: #aaa; 2165 -webkit-transition: all .1s ease-in-out; 2166 -moz-transition: all .1s ease-in-out; 2167 transition: all .1s ease-in-out; 2060 2168 } 2061 2169 2170 #adminmenu #collapse-menu:hover, 2171 #collapse-menu:hover #collapse-button div:after { 2172 color: #2ea2cc; 2173 } 2174 2062 2175 .folded #collapse-menu span { 2063 2176 display: none; 2064 2177 } … … 2089 2202 line-height: 15px; 2090 2203 left: -3px; 2091 2204 top: -3px; 2205 color: #aaa; 2092 2206 font: normal 20px/1 'dashicons' !important; 2093 2207 speak: none; 2094 2208 margin: 0 auto;