Ticket #25812: 25812.diff
| File 25812.diff, 16.6 KB (added by , 13 years ago) |
|---|
-
wp-content/themes/twentyfourteen/functions.php
224 224 wp_enqueue_style( 'twentyfourteen-lato', twentyfourteen_font_url(), array(), null ); 225 225 226 226 // Add Genericons font, used in the main stylesheet. 227 wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '3.0 ' );227 wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '3.0.2' ); 228 228 229 229 // Loads our main stylesheet. 230 230 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() ); -
wp-content/themes/twentyfourteen/inc/customizer.php
139 139 140 140 $css = '/* Custom accent color. */ 141 141 a, 142 .paging-navigation .page-numbers.current,143 142 .content-sidebar .widget a { 144 143 color: ' . $accent_color . '; 145 144 } … … 156 155 .widget input[type="reset"], 157 156 .widget input[type="submit"], 158 157 .widget_calendar tbody a, 159 .slider-control-paging a:hover:before, 158 .content-sidebar .widget input[type="button"], 159 .content-sidebar .widget input[type="reset"], 160 .content-sidebar .widget input[type="submit"], 161 .slider-control-paging .slider-active:before, 162 .slider-control-paging .slider-active:hover:before, 160 163 .slider-direction-nav a:hover { 161 164 background-color: ' . $accent_color . '; 162 165 } … … 174 177 } 175 178 176 179 @media screen and (min-width: 782px) { 177 .primary-navigation ul ul, 178 .primary-navigation li:hover > a { 180 .primary-navigation li:hover > a, 181 .primary-navigation li.focus > a, 182 .primary-navigation ul ul { 179 183 background-color: ' . $accent_color . '; 180 184 } 181 185 } 182 186 183 187 @media screen and (min-width: 1008px) { 184 188 .secondary-navigation li:hover > a, 189 .secondary-navigation li.focus > a, 185 190 .secondary-navigation ul ul { 186 191 background-color: ' . $accent_color . '; 187 192 } … … 200 205 .search-toggle:hover, 201 206 .search-toggle.active, 202 207 .search-box, 208 .entry-meta .tag-links a:hover, 209 .widget input[type="button"]:hover, 210 .widget input[type="button"]:focus, 211 .widget input[type="reset"]:hover, 212 .widget input[type="reset"]:focus, 213 .widget input[type="submit"]:hover, 214 .widget input[type="submit"]:focus, 203 215 .widget_calendar tbody a:hover, 204 .slider-control-paging .slider-active:before { 216 .content-sidebar .widget input[type="button"]:hover, 217 .content-sidebar .widget input[type="button"]:focus, 218 .content-sidebar .widget input[type="reset"]:hover, 219 .content-sidebar .widget input[type="reset"]:focus, 220 .content-sidebar .widget input[type="submit"]:hover, 221 .content-sidebar .widget input[type="submit"]:focus, 222 .slider-control-paging a:hover:before { 205 223 background-color: ' . $accent_lighter . '; 206 224 } 207 225 208 @media screen and (min-width: 782px) { 209 .primary-navigation ul ul a:hover, 210 .secondary-navigation ul ul a:hover { 211 background-color: ' . $accent_lighter . '; 212 } 213 } 214 215 /* Generated variant of custom accent color: much lighter. */ 216 button:active, 217 .contributor-posts-link:active, 218 input[type="button"]:active, 219 input[type="reset"]:active, 220 input[type="submit"]:active, 221 .page-links a:hover { 222 background-color: ' . $accent_much_lighter . '; 223 } 224 226 a:active, 225 227 a:hover, 226 a:focus, 227 a:active, 228 .site-navigation .current_page_item > a, 229 .site-navigation .current_page_ancestor > a, 230 .site-navigation .current-menu-item > a, 231 .site-navigation .current-menu-ancestor > a, 228 .site-navigation a:hover, 232 229 .entry-title a:hover, 233 230 .entry-meta a:hover, 234 231 .cat-links a:hover, 235 232 .entry-content .edit-link a:hover, 233 .page-links a:hover, 236 234 .post-navigation a:hover, 237 235 .image-navigation a:hover, 238 236 .comment-author a:hover, … … 241 239 .comment-metadata a:hover, 242 240 .comment-reply-title small a:hover, 243 241 .widget a:hover, 244 .widget a:focus, 245 .widget a:active, 242 .widget-title a:hover, 246 243 .content-sidebar .widget a:hover, 247 .content-sidebar .widget a:focus,248 .content-sidebar .widget a:active,249 244 .content-sidebar .widget .widget-title a:hover, 250 .content-sidebar .widget .widget-title a:focus,251 .content-sidebar .widget .widget-title a:active,252 245 .content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover, 246 .site-info a:hover, 253 247 .featured-content a:hover { 254 color: ' . $accent_ much_lighter . ';248 color: ' . $accent_lighter . '; 255 249 } 256 250 257 251 .page-links a:hover, 258 252 .paging-navigation a:hover { 259 border-color: ' . $accent_much_lighter . '; 253 border-color: ' . $accent_lighter . '; 254 } 255 256 .tag-links a:hover:before { 257 border-right-color: ' . $accent_lighter . '; 258 } 259 260 @media screen and (min-width: 782px) { 261 .primary-navigation ul ul a:hover, 262 .primary-navigation ul ul li.focus > a { 263 background-color: ' . $accent_lighter . '; 264 } 265 } 266 267 @media screen and (min-width: 1008px) { 268 .secondary-navigation ul ul a:hover, 269 .secondary-navigation ul ul li.focus > a { 270 background-color: ' . $accent_lighter . '; 271 } 272 } 273 274 /* Generated variant of custom accent color: much lighter. */ 275 button:active, 276 .contributor-posts-link:active, 277 input[type="button"]:active, 278 input[type="reset"]:active, 279 input[type="submit"]:active, 280 .widget input[type="button"]:active, 281 .widget input[type="reset"]:active, 282 .widget input[type="submit"]:active, 283 .content-sidebar .widget input[type="button"]:active, 284 .content-sidebar .widget input[type="reset"]:active, 285 .content-sidebar .widget input[type="submit"]:active { 286 background-color: ' . $accent_much_lighter . '; 287 } 288 289 .site-navigation .current_page_item > a, 290 .site-navigation .current_page_ancestor > a, 291 .site-navigation .current-menu-item > a, 292 .site-navigation .current-menu-ancestor > a { 293 color: ' . $accent_much_lighter . '; 260 294 }'; 261 295 296 262 297 wp_add_inline_style( 'twentyfourteen-style', $css ); 263 298 } 264 299 add_action( 'wp_enqueue_scripts', 'twentyfourteen_customizer_styles' ); -
wp-content/themes/twentyfourteen/rtl.css
255 255 left: auto; 256 256 } 257 257 258 .bypostauthor > article .fn:before { 259 margin: 3px -2px 0 2px; 260 } 261 258 262 .comment-content, 259 263 .comment-list .reply, 260 264 .comment-metadata { -
wp-content/themes/twentyfourteen/style.css
125 125 outline: 0; 126 126 } 127 127 128 a:hover, 129 a:focus, 130 a:active { 131 color: #55d737; 128 a:active, 129 a:hover { 130 color: #41a62a; 132 131 } 133 132 134 133 h1, … … 758 757 759 758 /* Genericons */ 760 759 760 .bypostauthor > article .fn:before, 761 761 .comment-edit-link:before, 762 762 .comment-reply-link:before, 763 763 .comment-reply-login:before, … … 834 834 margin: 0; 835 835 } 836 836 837 .site-title a { 837 .site-title a, 838 .site-title a:hover { 838 839 color: #fff; 839 840 } 840 841 … … 868 869 box-sizing: border-box; 869 870 position: absolute; 870 871 top: 48px; 872 right: 0; 871 873 width: 100%; 872 874 z-index: 2; 873 875 } 874 876 875 877 .search-box { 876 878 background-color: #41a62a; 879 padding: 12px 10px; 877 880 } 878 881 879 882 .search-box .search-field { 880 883 background-color: #fff; 884 border: 0; 881 885 float: right; 882 886 font-size: 16px; 883 margin: 12px 10px; 884 padding: 1px 2px 2px 6px; 885 width: 300px; 887 padding: 2px 2px 3px 6px; 888 width: 100%; 886 889 } 887 890 888 891 .search-toggle .screen-reader-text { … … 914 917 text-transform: uppercase; 915 918 } 916 919 920 .site-navigation a:hover { 921 color: #41a62a; 922 } 923 917 924 .site-navigation .current_page_item > a, 918 925 .site-navigation .current_page_ancestor > a, 919 926 .site-navigation .current-menu-item > a, … … 921 928 color: #55d737; 922 929 } 923 930 924 .site-navigation a:hover {925 color: rgba(255, 255, 255, 0.7);926 }927 928 931 /* Primary Navigation */ 929 932 930 933 .primary-navigation { … … 1063 1066 } 1064 1067 1065 1068 .entry-title a:hover { 1066 color: # 55d737;1069 color: #41a62a; 1067 1070 } 1068 1071 1069 1072 .site-content .entry-header { … … 1099 1102 } 1100 1103 1101 1104 .entry-meta a:hover { 1102 color: # 55d737;1105 color: #41a62a; 1103 1106 } 1104 1107 1105 1108 .sticky .entry-date { … … 1116 1119 } 1117 1120 1118 1121 .cat-links a:hover { 1119 color: # 55d737;1122 color: #41a62a; 1120 1123 } 1121 1124 1122 1125 .byline { … … 1161 1164 text-transform: uppercase; 1162 1165 } 1163 1166 1164 .entry-meta .tag-links a:hover, 1165 .entry-meta .tag-links a:focus { 1166 background-color: #2b2b2b; 1167 .entry-meta .tag-links a:hover { 1168 background-color: #41a62a; 1167 1169 color: #fff; 1168 text-decoration: none;1169 1170 } 1170 1171 1171 1172 .tag-links a:before { … … 1180 1181 width: 0; 1181 1182 } 1182 1183 1183 .tag-links a:hover:before, 1184 .tag-links a:focus:before { 1185 border-right-color: #2b2b2b; 1184 .tag-links a:hover:before { 1185 border-right-color: #41a62a; 1186 1186 } 1187 1187 1188 1188 .tag-links a:after { … … 1270 1270 } 1271 1271 1272 1272 .entry-content .edit-link a:hover { 1273 color: # 55d737;1273 color: #41a62a; 1274 1274 } 1275 1275 1276 1276 /* Mediaelements */ … … 1342 1342 } 1343 1343 1344 1344 .page-links a:hover { 1345 background: # 55d737;1346 border: 1px solid # 55d737;1345 background: #41a62a; 1346 border: 1px solid #41a62a; 1347 1347 color: #fff; 1348 1348 } 1349 1349 … … 1570 1570 1571 1571 .post-navigation a:hover, 1572 1572 .image-navigation a:hover { 1573 color: # 55d737;1573 color: #41a62a; 1574 1574 } 1575 1575 1576 1576 /* Paging Navigation */ … … 1595 1595 text-transform: uppercase; 1596 1596 } 1597 1597 1598 .paging-navigation a { 1599 color: #2b2b2b; 1600 } 1601 1598 1602 .paging-navigation .page-numbers.current { 1599 1603 border-top: 5px solid #24890d; 1600 color: #24890d;1601 1604 } 1602 1605 1603 .paging-navigation a {1604 color: #2b2b2b;1605 }1606 1607 1606 .paging-navigation a:hover { 1608 border-top: 5px solid # 55d737;1607 border-top: 5px solid #41a62a; 1609 1608 color: #2b2b2b; 1610 1609 } 1611 1610 … … 1813 1812 .comment-list .pingback a:hover, 1814 1813 .comment-list .trackback a:hover, 1815 1814 .comment-metadata a:hover { 1816 color: # 55d737;1815 color: #41a62a; 1817 1816 } 1818 1817 1819 1818 .comment-list article, … … 1839 1838 width: 18px; 1840 1839 } 1841 1840 1842 .bypostauthor .avatar { 1843 background-color: #000; 1841 .bypostauthor > article .fn:before { 1842 content: "\f408"; 1843 margin: 3px 2px 0 -2px; 1844 1844 } 1845 1845 1846 1846 .says { … … 1909 1909 margin-bottom: 24px; 1910 1910 } 1911 1911 1912 .logged-in-as { 1913 color: #767676; 1914 } 1915 1912 1916 .no-comments { 1913 1917 color: #767676; 1914 1918 font-size: 16px; … … 1930 1934 1931 1935 .form-allowed-tags, 1932 1936 .form-allowed-tags code { 1937 color: #767676; 1933 1938 font-size: 12px; 1934 1939 line-height: 1.5; 1935 1940 } … … 1943 1948 } 1944 1949 1945 1950 .comment-reply-title small a:hover { 1946 color: # 55d737;1951 color: #41a62a; 1947 1952 } 1948 1953 1949 1954 .comment-reply-title small a:before { … … 2046 2051 color: rgba(255, 255, 255, 0.75); 2047 2052 } 2048 2053 2049 .widget a:hover, 2050 .widget a:focus, 2051 .widget a:active { 2052 color: #55d737; 2054 .widget a:hover { 2055 color: #41a62a; 2053 2056 } 2054 2057 2055 2058 .widget h1, … … 2177 2180 .widget input, 2178 2181 .widget textarea { 2179 2182 background-color: rgba(255, 255, 255, 0.1); 2180 border: 1px solid rgba(255, 255, 255, 0. 2);2183 border: 1px solid rgba(255, 255, 255, 0.15); 2181 2184 color: #fff; 2182 2185 font-size: 16px; 2183 2186 padding: 1px 2px 2px 4px; … … 2185 2188 2186 2189 .widget input:focus, 2187 2190 .widget textarea:focus { 2188 border: 1px solid rgba(255, 255, 255, 0. 3);2191 border: 1px solid rgba(255, 255, 255, 0.2); 2189 2192 } 2190 2193 2191 2194 .widget button, … … 2193 2196 .widget input[type="reset"], 2194 2197 .widget input[type="submit"] { 2195 2198 background-color: #24890d; 2199 border: 0; 2196 2200 font-size: 12px; 2197 2201 padding: 5px 15px 4px; 2198 2202 } 2199 2203 2204 .widget input[type="button"]:hover, 2205 .widget input[type="button"]:focus, 2206 .widget input[type="reset"]:hover, 2207 .widget input[type="reset"]:focus, 2208 .widget input[type="submit"]:hover, 2209 .widget input[type="submit"]:focus { 2210 background-color: #41a62a; 2211 } 2212 2213 .widget input[type="button"]:active, 2214 .widget input[type="reset"]:active, 2215 .widget input[type="submit"]:active { 2216 background-color: #55d737; 2217 } 2218 2200 2219 .widget .wp-caption { 2201 2220 color: rgba(255, 255, 255, 0.45); 2202 2221 margin-bottom: 18px; … … 2211 2230 } 2212 2231 2213 2232 .widget-title, 2214 .widget-title a, 2215 .widget-title a:hover, 2216 .widget-title a:focus, 2217 .widget-title a:active { 2233 .widget-title a { 2218 2234 color: #fff; 2219 2235 } 2220 2236 2237 .widget-title a:hover { 2238 color: #41a62a; 2239 } 2240 2221 2241 /* Calendar Widget*/ 2222 2242 2223 2243 .widget_calendar table { … … 2253 2273 background-color: #41a62a; 2254 2274 } 2255 2275 2256 .footer-sidebar .widget_calendar tbody a, 2257 .footer-sidebar .widget_calendar tbody a:hover, 2258 .primary-sidebar .widget_calendar tbody a, 2259 .primary-sidebar .widget_calendar tbody a:hover { 2276 .widget_calendar tbody a:hover { 2260 2277 color: #fff; 2261 2278 } 2262 2279 … … 2401 2418 color: #24890d; 2402 2419 } 2403 2420 2404 .content-sidebar .widget a:hover, 2405 .content-sidebar .widget a:focus, 2406 .content-sidebar .widget a:active { 2407 color: #55d737; 2421 .content-sidebar .widget a:hover { 2422 color: #41a62a; 2408 2423 } 2409 2424 2410 2425 .content-sidebar .widget pre { … … 2461 2476 2462 2477 .content-sidebar .widget input:focus, 2463 2478 .content-sidebar .widget textarea:focus { 2464 border: 1px solid rgba(0, 0, 0, 0. );2479 border: 1px solid rgba(0, 0, 0, 0.3); 2465 2480 } 2466 2481 2482 .content-sidebar .widget input[type="button"], 2483 .content-sidebar .widget input[type="reset"], 2484 .content-sidebar .widget input[type="submit"] { 2485 background-color: #24890d; 2486 border: 0; 2487 color: #fff; 2488 } 2489 2490 .content-sidebar .widget input[type="button"]:hover, 2491 .content-sidebar .widget input[type="button"]:focus, 2492 .content-sidebar .widget input[type="reset"]:hover, 2493 .content-sidebar .widget input[type="reset"]:focus, 2494 .content-sidebar .widget input[type="submit"]:hover, 2495 .content-sidebar .widget input[type="submit"]:focus { 2496 background-color: #41a62a; 2497 } 2498 2499 .content-sidebar .widget input[type="button"]:active, 2500 .content-sidebar .widget input[type="reset"]:active, 2501 .content-sidebar .widget input[type="submit"]:active { 2502 background-color: #55d737; 2503 } 2504 2467 2505 .content-sidebar .widget .wp-caption { 2468 2506 color: #767676; 2469 2507 } … … 2478 2516 text-transform: uppercase; 2479 2517 } 2480 2518 2481 .content-sidebar .widget .widget-title a, 2482 .content-sidebar .widget .widget-title a:hover, 2483 .content-sidebar .widget .widget-title a:focus, 2484 .content-sidebar .widget .widget-title a:active { 2519 .content-sidebar .widget .widget-title a { 2485 2520 color: #2b2b2b; 2486 2521 } 2487 2522 2523 .content-sidebar .widget .widget-title a:hover { 2524 color: #41a62a; 2525 } 2526 2488 2527 /* List Style Widgets*/ 2489 2528 2490 2529 .content-sidebar .widget_archive li, … … 2524 2563 .content-sidebar .widget_twentyfourteen_ephemera .widget-title:before { 2525 2564 background-color: #000; 2526 2565 color: #fff; 2527 margin: -1px 18px 0 0;2566 margin: -1px 9px 0 0; 2528 2567 padding: 6px 0 9px; 2529 2568 text-align: center; 2530 2569 vertical-align: middle; … … 2536 2575 } 2537 2576 2538 2577 .content-sidebar .widget_twentyfourteen_ephemera .image.widget-title:before { 2539 content: "\f 102";2578 content: "\f473"; 2540 2579 } 2541 2580 2542 2581 .content-sidebar .widget_twentyfourteen_ephemera .gallery.widget-title:before { … … 2568 2607 } 2569 2608 2570 2609 .content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover { 2571 color: # 55d737;2610 color: #41a62a; 2572 2611 } 2573 2612 2574 2613 .content-sidebar.widget_twentyfourteen_ephemera blockquote cite { … … 2616 2655 } 2617 2656 2618 2657 .site-info a:hover { 2619 color: # fff;2658 color: #41a62a; 2620 2659 } 2621 2660 2622 2661 … … 2678 2717 } 2679 2718 2680 2719 .featured-content a:hover { 2681 color: # 55d737;2720 color: #41a62a; 2682 2721 } 2683 2722 2684 2723 .featured-content .entry-meta { … … 2755 2794 } 2756 2795 2757 2796 .slider-control-paging a:hover:before { 2758 background-color: # 24890d;2797 background-color: #41a62a; 2759 2798 } 2760 2799 2761 .slider-control-paging .slider-active:before { 2762 background-color: #41a62a; 2800 .slider-control-paging .slider-active:before, 2801 .slider-control-paging .slider-active:hover:before { 2802 background-color: #24890d; 2763 2803 } 2764 2804 2765 2805 .slider-direction-nav { … … 2931 2971 } 2932 2972 2933 2973 .site-content .format-image .post-format a:before { 2934 content: "\f 102";2974 content: "\f473"; 2935 2975 margin: -1px 3px 0 0; 2936 2976 } 2937 2977 … … 2952 2992 2953 2993 .site-content .format-link .post-format a:before { 2954 2994 content: "\f107"; 2955 margin: -1px 3px 0 0;2956 2995 } 2957 2996 2958 2997 .site-content .featured-post:before { … … 3038 3077 margin-right: 18px; 3039 3078 } 3040 3079 3080 .search-box .search-field { 3081 width: 50% 3082 } 3083 3041 3084 .content-area { 3042 3085 float: left; 3043 3086 padding-top: 36px; … … 3285 3328 .primary-navigation li.focus > a { 3286 3329 background-color: #24890d; 3287 3330 color: #fff; 3288 opacity: 1.0;3289 3331 } 3290 3332 3291 3333 .primary-navigation ul ul a:hover, … … 3582 3624 line-height: 1.6363636363; 3583 3625 } 3584 3626 3627 .footer-sidebar .widget input, 3628 .footer-sidebar .widget textarea, 3629 .primary-sidebar .widget input, 3630 .primary-sidebar .widget textarea { 3631 font-size: 12px; 3632 padding: 3px 2px 4px 4px; 3633 } 3634 3635 .footer-sidebar .widget input[type="button"], 3636 .footer-sidebar .widget input[type="reset"], 3637 .footer-sidebar .widget input[type="submit"], 3638 .primary-sidebar .widget input[type="button"], 3639 .primary-sidebar .widget input[type="reset"], 3640 .primary-sidebar .widget input[type="submit"] { 3641 padding: 5px 15px 4px; 3642 } 3643 3585 3644 .footer-sidebar .widget .widget-title, 3586 3645 .primary-sidebar .widget .widget-title { 3587 3646 font-size: 11px; … … 3696 3755 } 3697 3756 3698 3757 @media screen and (min-width: 1080px) { 3758 .search-box .search-field { 3759 width: 324px; 3760 } 3761 3699 3762 .site-content { 3700 3763 margin-left: 222px; 3701 3764 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)