Changeset 30208
- Timestamp:
- 11/03/2014 05:00:06 PM (10 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfifteen
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/css/ie.css
r30051 r30208 539 539 } 540 540 541 .posted-on a:before,542 .byline a:before,543 .cat-links span + a:before,544 .tags-links span + a:before,545 .comments-link a:before,546 .entry-format a:before,547 .edit-link a:before,548 .full-size-link a:before {541 .posted-on:before, 542 .byline:before, 543 .cat-links:before, 544 .tags-links:before, 545 .comments-link:before, 546 .entry-format:before, 547 .edit-link:before, 548 .full-size-link:before { 549 549 top: 4px; 550 550 } … … 650 650 } 651 651 652 .comment-metadata .edit-link a:before,653 .pingback .edit-link a:before {652 .comment-metadata .edit-link:before, 653 .pingback .edit-link:before { 654 654 top: 8px; 655 655 } -
trunk/src/wp-content/themes/twentyfifteen/inc/custom-header.php
r30081 r30208 183 183 184 184 @media screen and (min-width: 59.6875em) { 185 .site-header { 185 .site-header, 186 .secondary { 186 187 background-color: transparent; 187 188 } … … 228 229 } 229 230 231 .secondary-toggle { 232 border-color: %1$s; /* Fallback for IE7 and IE8 */ 233 border-color: %3$s; 234 } 235 236 .secondary-toggle:hover, 230 237 .secondary-toggle:focus { 231 outline-color: %1$s; 232 } 233 234 .secondary-toggle:hover { 238 border-color: %1$s; /* Fallback for IE7 and IE8 */ 235 239 border-color: %4$s; 236 240 } 237 241 242 .site-title a { 243 outline-color: %1$s; /* Fallback for IE7 and IE8 */ 244 outline-color: %4$s; 245 } 246 238 247 @media screen and (min-width: 59.6875em) { 248 .secondary a, 239 249 .dropdown-toggle:after, 240 .main-navigation a,241 .social-navigation a,242 250 .widget-title, 243 .widget a { 251 .widget blockquote cite, 252 .widget blockquote small { 244 253 color: %1$s; 245 }246 247 .dropdown-toggle:focus {248 outline-color: %1$s;249 254 } 250 255 … … 257 262 } 258 263 264 .textwidget a { 265 border-color: %1$s; 266 } 267 268 .secondary a:hover, 269 .secondary a:focus, 259 270 .main-navigation .menu-item-description, 260 .main-navigation a:hover,261 .main-navigation a:focus,262 .social-navigation a:hover:before,263 .social-navigation a:focus:before,264 271 .widget, 265 .widget a:hover,266 .widget a:focus,267 272 .widget blockquote, 268 .widget blockquote cite,269 .widget blockquote small,270 273 .widget .wp-caption-text, 271 274 .widget .gallery-caption { 272 color: %1$s; /* Fallback for IE7 and IE8 */273 275 color: %2$s; 274 276 } 275 277 278 .widget button:hover, 279 .widget button:focus, 280 .widget input[type="button"]:hover, 281 .widget input[type="button"]:focus, 282 .widget input[type="reset"]:hover, 283 .widget input[type="reset"]:focus, 284 .widget input[type="submit"]:hover, 285 .widget input[type="submit"]:focus, 276 286 .widget_calendar tbody a:hover, 277 287 .widget_calendar tbody a:focus { 278 background-color: %1$s; /* Fallback for IE7 and IE8 */279 288 background-color: %2$s; 280 289 } … … 287 296 .main-navigation li, 288 297 .secondary-toggle, 298 .widget input, 299 .widget textarea, 300 .widget table, 301 .widget th, 302 .widget td, 303 .widget pre, 304 .widget li, 289 305 .widget_categories .children, 290 306 .widget_nav_menu .sub-menu, 291 307 .widget_pages .children, 292 .widget table,293 .widget th,294 .widget td,295 .widget input,296 .widget textarea,297 .widget pre,298 .widget li,299 308 .widget abbr[title] { 300 border-color: %1$s; /* Fallback for IE7 and IE8 */301 309 border-color: %3$s; 302 310 } … … 305 313 .dropdown-toggle:focus, 306 314 .widget hr { 307 background-color: %1$s; /* Fallback for IE7 and IE8 */308 315 background-color: %3$s; 309 316 } … … 311 318 .widget input:focus, 312 319 .widget textarea:focus { 313 border-color: %1$s; /* Fallback for IE7 and IE8 */314 320 border-color: %4$s; 321 } 322 323 .sidebar a:focus, 324 .dropdown-toggle:focus { 325 outline-color: %4$s; 315 326 } 316 327 } -
trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php
r30048 r30208 328 328 .page-content a, 329 329 .comment-content a, 330 .pingback .comment-body > a, 330 331 .author-description a, 332 .taxonomy-description a, 333 .textwidget a, 334 .entry-footer a:hover, 335 .comment-metadata a:hover, 336 .pingback .edit-link a:hover, 331 337 .comment-list .reply a:hover, 332 . comment-list .reply a:focus{338 .site-info a:hover { 333 339 border-color: %4$s; 334 340 } … … 368 374 .comment-navigation a, 369 375 .widget, 370 .entry-content a:hover,371 .entry-content a:focus,372 .entry-summary a:hover,373 .entry-summary a:focus,374 .page-content a:hover,375 .page-content a:focus,376 .comment-content a:hover,377 .comment-content a:focus,378 .author-description a:hover,379 .author-description a:focus,380 376 .author-heading, 381 377 .entry-footer, … … 387 383 .comment-metadata, 388 384 .comment-metadata a, 389 .pingback .comment-edit-link, 385 .pingback .edit-link, 386 .pingback .edit-link a, 390 387 .post-password-form label, 391 388 .comment-form label, … … 406 403 /* Secondary Text Color */ 407 404 blockquote, 408 .entry-content a:hover, 409 .entry-content a:focus, 410 .entry-summary a:hover, 411 .entry-summary a:focus, 412 .page-content a:hover, 413 .page-content a:focus, 414 .comment-content a:hover, 415 .comment-content a:focus, 416 .author-description a:hover, 417 .author-description a:focus { 405 .logged-in-as a:hover, 406 .comment-author a:hover { 418 407 border-color: %4$s; /* Fallback for IE7 and IE8 */ 419 408 border-color: %5$s; … … 468 457 469 458 /* Border Focus Color */ 459 a:focus, 460 button:focus, 461 input:focus { 462 outline-color: %4$s; /* Fallback for IE7 and IE8 */ 463 outline-color: %7$s; 464 } 465 470 466 input:focus, 471 467 textarea:focus { … … 475 471 476 472 /* Sidebar Link Color */ 477 .secondary-toggle:hover {478 border-color: %8$s;479 }480 481 473 .secondary-toggle:before { 482 474 color: %8$s; 483 }484 485 .secondary-toggle:focus {486 outline-color: %8$s;487 475 } 488 476 … … 502 490 border-color: %8$s; /* Fallback for IE7 and IE8 */ 503 491 border-color: %10$s; 492 } 493 494 /* Sidebar Border Focus Color */ 495 .secondary-toggle:hover, 496 .secondary-toggle:focus { 497 border-color: %8$s; /* Fallback for IE7 and IE8 */ 498 border-color: %11$s; 499 } 500 501 .site-title a { 502 outline-color: %8$s; /* Fallback for IE7 and IE8 */ 503 outline-color: %11$s; 504 504 } 505 505 … … 530 530 .widget_calendar tbody a, 531 531 .widget_calendar tbody a:hover, 532 .widget_calendar tbody a:focus, 533 .widget mark, 534 .widget ins { 532 .widget_calendar tbody a:focus { 535 533 color: %2$s; 536 534 } 537 535 538 536 /* Sidebar Link Color */ 539 .widget button,540 .widget input[type="button"],541 .widget input[type="reset"],542 .widget input[type="submit"],543 .widget_calendar tbody a,544 .widget mark,545 .widget ins {546 background-color: %8$s;547 }548 549 537 .secondary a, 550 538 .dropdown-toggle:after, … … 555 543 } 556 544 557 .dropdown-toggle:focus { 558 outline-color: %8$s; 545 .widget button, 546 .widget input[type="button"], 547 .widget input[type="reset"], 548 .widget input[type="submit"], 549 .widget_calendar tbody a { 550 background-color: %8$s; 551 } 552 553 .textwidget a { 554 border-color: %8$s; 559 555 } 560 556 … … 570 566 } 571 567 572 .dropdown-toggle:hover,573 .dropdown-toggle:focus,574 568 .widget button:hover, 575 569 .widget button:focus, … … 597 591 .widget th, 598 592 .widget td, 599 .widget input,600 .widget textarea,601 593 .widget pre, 602 594 .widget li, … … 608 600 } 609 601 602 .dropdown-toggle:hover, 603 .dropdown-toggle:focus, 610 604 .widget hr { 611 605 background-color: %10$s; 612 606 } 613 607 614 /* Sidebar Border Focus Color */615 608 .widget input:focus, 616 609 .widget textarea:focus { 617 610 border-color: %11$s; 611 } 612 613 .sidebar a:focus, 614 .dropdown-toggle:focus { 615 outline-color: %11$s; 618 616 } 619 617 } -
trunk/src/wp-content/themes/twentyfifteen/rtl.css
r30046 r30208 277 277 } 278 278 279 .posted-on a:before,280 .byline a:before,281 .cat-links span + a:before,282 .tags-links span + a:before,283 .comments-link a:before,284 .entry-format a:before,285 .edit-link a:before,286 .full-size-link a:before {279 .posted-on:before, 280 .byline:before, 281 .cat-links:before, 282 .tags-links:before, 283 .comments-link:before, 284 .entry-format:before, 285 .edit-link:before, 286 .full-size-link:before { 287 287 margin-right: auto; 288 288 margin-left: 2px; -
trunk/src/wp-content/themes/twentyfifteen/style.css
r30072 r30208 141 141 142 142 a:focus { 143 outline: thin dotted; 143 outline: 2px solid #c1c1c1; 144 outline: 2px solid rgba(51, 51, 51, 0.3); 144 145 } 145 146 … … 166 167 .comment-navigation .nav-next a:after, 167 168 .comment-navigation .nav-previous a:before, 168 .posted-on a:before,169 .byline a:before,170 .cat-links span + a:before,171 .tags-links span + a:before,172 .comments-link a:before,173 .entry-format a:before,174 .edit-link a:before,175 .full-size-link a:before,169 .posted-on:before, 170 .byline:before, 171 .cat-links:before, 172 .tags-links:before, 173 .comments-link:before, 174 .entry-format:before, 175 .edit-link:before, 176 .full-size-link:before, 176 177 .pagination .prev:before, 177 178 .pagination .next:before, … … 477 478 select, 478 479 textarea { 479 background-color: #f ff;480 background-color: #f7f7f7; 480 481 border-radius: 0; 481 482 font-size: 16px; … … 503 504 input:focus, 504 505 textarea:focus { 506 background-color: #fff; 505 507 border: 1px solid #c1c1c1; 506 508 border: 1px solid rgba(51, 51, 51, 0.3); 507 509 color: #333; 508 outline: 0; 510 } 511 512 input:focus, 513 select:focus { 514 outline: 2px solid #c1c1c1; 515 outline: 2px solid rgba(51, 51, 51, 0.3); 516 } 517 518 button[disabled], 519 input[disabled], 520 select[disabled], 521 textarea[disabled] { 522 cursor: default; 523 opacity: .5; 509 524 } 510 525 … … 539 554 } 540 555 541 input[type="checkbox"],542 input[type="radio"] {543 padding: 0;544 }545 546 556 input[type="search"] { 547 557 -webkit-appearance: textfield; … … 571 581 overflow: auto; 572 582 vertical-align: top; 583 } 584 585 input[type="text"]:focus, 586 input[type="email"]:focus, 587 input[type="url"]:focus, 588 input[type="password"]:focus, 589 input[type="search"]:focus, 590 textarea:focus { 591 outline: 0; 573 592 } 574 593 … … 595 614 right: 0; 596 615 bottom: 0; 616 } 617 618 input[type="checkbox"], 619 input[type="radio"] { 620 padding: 0; 597 621 } 598 622 … … 716 740 717 741 .dropdown-toggle:focus { 718 outline: dotted thin #333; 742 outline: 1px solid #c1c1c1; 743 outline: 1px solid rgba(51, 51, 51, 0.3); 719 744 } 720 745 … … 877 902 } 878 903 879 .secondary-toggle:hover { 880 background-color: transparent; 881 border: 1px solid rgba(51, 51, 51, 0.3); 882 } 883 904 .secondary-toggle:hover, 884 905 .secondary-toggle:focus { 885 906 background-color: transparent; 886 border: 1px solid transparent; 887 outline: dotted thin #333; 907 border: 1px solid #c1c1c1; 908 border: 1px solid rgba(51, 51, 51, 0.3); 909 outline: 0; 888 910 } 889 911 … … 891 913 content: "\f405"; 892 914 font-size: 32px; 893 top: 1px;894 left: 0;915 top: 0; 916 left: -1px; 895 917 } 896 918 … … 900 922 border-top: 1px solid rgba(51, 51, 51, 0.1); 901 923 font-weight: 700; 902 overflow: hidden;903 924 } 904 925 … … 1505 1526 } 1506 1527 1507 . widget_text > div> :last-child {1528 .textwidget > :last-child { 1508 1529 margin-bottom: 0; 1530 } 1531 1532 .textwidget a { 1533 border-bottom: 1px solid #333; 1534 } 1535 1536 .textwidget a:hover, 1537 .textwidget a:focus { 1538 border-bottom: 0; 1509 1539 } 1510 1540 … … 1701 1731 .entry-summary a, 1702 1732 .page-content a, 1703 .comment-content a { 1733 .comment-content a, 1734 .pingback .comment-body > a { 1704 1735 border-bottom: 1px solid #333; 1705 1736 } … … 1712 1743 .page-content a:focus, 1713 1744 .comment-content a:hover, 1714 .comment-content a:focus { 1715 border-color: #707070; 1716 border-color: rgba(51, 51, 51, 0.7); 1717 color: #707070; 1718 color: rgba(51, 51, 51, 0.7); 1745 .comment-content a:focus, 1746 .pingback .comment-body > a:hover, 1747 .pingback .comment-body > a:focus { 1748 border-bottom: 0; 1719 1749 } 1720 1750 … … 1782 1812 .author-description a:hover, 1783 1813 .author-description a:focus { 1784 border-color: rgba(51, 51, 51, 0.7); 1785 color: rgba(51, 51, 51, 0.7); 1814 border-bottom: 0; 1786 1815 } 1787 1816 … … 1816 1845 } 1817 1846 1847 .entry-footer a:hover { 1848 border-bottom: 1px solid #333; 1849 } 1850 1818 1851 .entry-footer a:hover, 1819 1852 .entry-footer a:focus { … … 1836 1869 } 1837 1870 1838 .sticky .posted-on, 1839 .sticky .posted-on + .byline:before { 1871 .sticky .posted-on { 1840 1872 display: none; 1841 1873 } 1842 1874 1843 .posted-on a:before,1844 .byline a:before,1845 .cat-links span + a:before,1846 .tags-links span + a:before,1847 .comments-link a:before,1848 .entry-format a:before,1849 .edit-link a:before,1850 .full-size-link a:before {1875 .posted-on:before, 1876 .byline:before, 1877 .cat-links:before, 1878 .tags-links:before, 1879 .comments-link:before, 1880 .entry-format:before, 1881 .edit-link:before, 1882 .full-size-link:before { 1851 1883 margin-right: 2px; 1852 1884 position: relative; … … 1863 1895 } 1864 1896 1865 .format-aside .entry-format a:before {1897 .format-aside .entry-format:before { 1866 1898 content: "\f101"; 1867 1899 } 1868 1900 1869 .format-image .entry-format a:before {1901 .format-image .entry-format:before { 1870 1902 content: "\f473"; 1871 1903 } 1872 1904 1873 .format-gallery .entry-format a:before {1905 .format-gallery .entry-format:before { 1874 1906 content: "\f103"; 1875 1907 } 1876 1908 1877 .format-video .entry-format a:before {1909 .format-video .entry-format:before { 1878 1910 content: "\f104"; 1879 1911 } 1880 1912 1881 .format-status .entry-format a:before {1913 .format-status .entry-format:before { 1882 1914 content: "\f105"; 1883 1915 } 1884 1916 1885 .format-quote .entry-format a:before {1917 .format-quote .entry-format:before { 1886 1918 content: "\f106"; 1887 1919 } 1888 1920 1889 .format-link .entry-format a:before {1921 .format-link .entry-format:before { 1890 1922 content: "\f107"; 1891 1923 } 1892 1924 1893 .format-chat .entry-format a:before {1925 .format-chat .entry-format:before { 1894 1926 content: "\f108"; 1895 1927 } 1896 1928 1897 .format-audio .entry-format a:before {1929 .format-audio .entry-format:before { 1898 1930 content: "\f109"; 1899 1931 } 1900 1932 1901 .posted-on a:before {1933 .posted-on:before { 1902 1934 content: "\f307"; 1903 1935 } 1904 1936 1905 .byline a:before {1937 .byline:before { 1906 1938 content: "\f304"; 1907 1939 } 1908 1940 1909 .cat-links span + a:before {1941 .cat-links:before { 1910 1942 content: "\f301"; 1911 1943 } 1912 1944 1913 .tags-links span + a:before {1945 .tags-links:before { 1914 1946 content: "\f302"; 1915 1947 } 1916 1948 1917 .comments-link a:before {1949 .comments-link:before { 1918 1950 content: "\f300"; 1919 1951 } 1920 1952 1921 .full-size-link a:before {1953 .full-size-link:before { 1922 1954 content: "\f402"; 1923 1955 } 1924 1956 1925 .edit-link a:before {1957 .edit-link:before { 1926 1958 content: "\f411"; 1927 1959 } … … 1944 1976 color: rgba(51, 51, 51, 0.7); 1945 1977 padding-top: 0.4em; 1978 } 1979 1980 .taxonomy-description a { 1981 border-bottom: 1px solid #333; 1982 } 1983 1984 .taxonomy-description a:hover, 1985 .taxonomy-description a:focus { 1986 border-bottom: 0; 1946 1987 } 1947 1988 … … 2139 2180 } 2140 2181 2182 .comment-author a:hover { 2183 border-bottom: 1px solid #707070; 2184 border-bottom: 1px solid rgba(51, 51, 51, 0.7); 2185 } 2186 2141 2187 .comment-author .avatar { 2142 2188 border-radius: 50%; … … 2175 2221 2176 2222 .comment-metadata a:hover, 2223 .pingback .edit-link a:hover{ 2224 border-bottom: 1px solid #333; 2225 } 2226 2227 .comment-metadata a:hover, 2177 2228 .comment-metadata a:focus, 2178 2229 .pingback .edit-link a:hover, … … 2193 2244 } 2194 2245 2195 .pingback .edit-link a:before {2246 .pingback .edit-link:before { 2196 2247 top: 5px; 2197 2248 } … … 2234 2285 border-color: #333; 2235 2286 color: #333; 2287 outline: 0; 2236 2288 } 2237 2289 … … 2273 2325 } 2274 2326 2327 .logged-in-as a:hover { 2328 border-bottom: 1px solid #333; 2329 } 2330 2275 2331 .no-comments { 2276 2332 border-top: 1px solid #eaeaea; … … 2334 2390 color: #707070; 2335 2391 color: rgba(51, 51, 51, 0.7); 2392 } 2393 2394 .site-info a:hover { 2395 border-bottom: 1px solid #333; 2336 2396 } 2337 2397 … … 3137 3197 } 3138 3198 3139 .posted-on a:before,3140 .byline a:before,3141 .cat-links span + a:before,3142 .tags-links span + a:before,3143 .comments-link a:before,3144 .entry-format a:before,3145 .edit-link a:before,3146 .full-size-link a:before {3199 .posted-on:before, 3200 .byline:before, 3201 .cat-links:before, 3202 .tags-links:before, 3203 .comments-link:before, 3204 .entry-format:before, 3205 .edit-link:before, 3206 .full-size-link:before { 3147 3207 top: 3px; 3148 3208 } … … 3223 3283 } 3224 3284 3225 .comment-metadata .edit-link a:before {3285 .comment-metadata .edit-link:before { 3226 3286 top: 2px; 3227 3287 } 3228 3288 3229 .pingback .edit-link a:before {3289 .pingback .edit-link:before { 3230 3290 top: 6px; 3231 3291 } … … 3667 3727 } 3668 3728 3669 .posted-on a:before,3670 .byline a:before,3671 .cat-links span + a:before,3672 .tags-links span + a:before,3673 .comments-link a:before,3674 .entry-format a:before,3675 .edit-link a:before,3676 .full-size-link a:before {3729 .posted-on:before, 3730 .byline:before, 3731 .cat-links:before, 3732 .tags-links:before, 3733 .comments-link:before, 3734 .entry-format:before, 3735 .edit-link:before, 3736 .full-size-link:before { 3677 3737 top: 4px; 3678 3738 } … … 3748 3808 } 3749 3809 3750 .comment-metadata .edit-link a:before {3810 .comment-metadata .edit-link:before { 3751 3811 top: 8px; 3752 3812 } 3753 3813 3754 .pingback .edit-link a:before {3814 .pingback .edit-link:before { 3755 3815 top: 8px; 3756 3816 } … … 4313 4373 } 4314 4374 4315 .posted-on a:before,4316 .byline a:before,4317 .cat-links span + a:before,4318 .tags-links span + a:before,4319 .comments-link a:before,4320 .entry-format a:before,4321 .edit-link a:before,4322 .full-size-link a:before {4375 .posted-on:before, 4376 .byline:before, 4377 .cat-links:before, 4378 .tags-links:before, 4379 .comments-link:before, 4380 .entry-format:before, 4381 .edit-link:before, 4382 .full-size-link:before { 4323 4383 top: 0; 4324 4384 } … … 4407 4467 } 4408 4468 4409 .comment-metadata .edit-link a:before {4469 .comment-metadata .edit-link:before { 4410 4470 top: 3px; 4411 4471 } 4412 4472 4413 .pingback .edit-link a:before {4473 .pingback .edit-link:before { 4414 4474 top: 5px; 4415 4475 } … … 4838 4898 } 4839 4899 4840 .posted-on a:before,4841 .byline a:before,4842 .cat-links span + a:before,4843 .tags-links span + a:before,4844 .comments-link a:before,4845 .entry-format a:before,4846 .edit-link a:before,4847 .full-size-link a:before {4900 .posted-on:before, 4901 .byline:before, 4902 .cat-links:before, 4903 .tags-links:before, 4904 .comments-link:before, 4905 .entry-format:before, 4906 .edit-link:before, 4907 .full-size-link:before { 4848 4908 top: 3px; 4849 4909 } … … 4924 4984 } 4925 4985 4926 .comment-metadata .edit-link a:before {4986 .comment-metadata .edit-link:before { 4927 4987 top: 6px; 4928 4988 } 4929 4989 4930 .pingback .edit-link a:before {4990 .pingback .edit-link:before { 4931 4991 top: 6px; 4932 4992 } … … 5350 5410 } 5351 5411 5352 .posted-on a:before,5353 .byline a:before,5354 .cat-links span + a:before,5355 .tags-links span + a:before,5356 .comments-link a:before,5357 .entry-format a:before,5358 .edit-link a:before,5359 .full-size-link a:before {5412 .posted-on:before, 5413 .byline:before, 5414 .cat-links:before, 5415 .tags-links:before, 5416 .comments-link:before, 5417 .entry-format:before, 5418 .edit-link:before, 5419 .full-size-link:before { 5360 5420 top: 4px; 5361 5421 } … … 5431 5491 } 5432 5492 5433 .comment-metadata .edit-link a:before {5493 .comment-metadata .edit-link:before { 5434 5494 top: 8px; 5435 5495 } 5436 5496 5437 .pingback .edit-link a:before {5497 .pingback .edit-link:before { 5438 5498 top: 8px; 5439 5499 }
Note: See TracChangeset
for help on using the changeset viewer.