Twenty Fifteen: correct styles for color schemes

Props iamtakashi, fixes #29976.



git-svn-id: https://develop.svn.wordpress.org/trunk@29971 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2014-10-20 18:56:19 +00:00
parent f2b727f333
commit efc50ba421

View File

@ -275,6 +275,9 @@ function twentyfifteen_color_scheme_css() {
.pagination .next, .pagination .next,
.pagination .prev:before, .pagination .prev:before,
.pagination .next:before, .pagination .next:before,
.widget_calendar tbody a,
.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus,
.entry-content .page-links a, .entry-content .page-links a,
.entry-content .page-links a:hover, .entry-content .page-links a:hover,
.entry-content .page-links a:focus, .entry-content .page-links a:focus,
@ -289,6 +292,7 @@ function twentyfifteen_color_scheme_css() {
input[type="submit"], input[type="submit"],
.pagination .prev, .pagination .prev,
.pagination .next, .pagination .next,
.widget_calendar tbody a,
.page-links a, .page-links a,
.sticky-post { .sticky-post {
background-color: %4$s; background-color: %4$s;
@ -299,10 +303,12 @@ function twentyfifteen_color_scheme_css() {
blockquote cite, blockquote cite,
blockquote small, blockquote small,
a, a,
.dropdown-toggle:after,
.image-navigation a:hover, .image-navigation a:hover,
.image-navigation a:focus, .image-navigation a:focus,
.comment-navigation a:hover, .comment-navigation a:hover,
.comment-navigation a:focus, .comment-navigation a:focus,
.widget-title,
.entry-footer a:hover, .entry-footer a:hover,
.entry-footer a:focus, .entry-footer a:focus,
.comment-metadata a:hover, .comment-metadata a:hover,
@ -340,6 +346,8 @@ function twentyfifteen_color_scheme_css() {
.pagination .prev:focus, .pagination .prev:focus,
.pagination .next:hover, .pagination .next:hover,
.pagination .next:focus, .pagination .next:focus,
.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus,
.page-links a:hover, .page-links a:hover,
.page-links a:focus { .page-links a:focus {
background-color: %4$s; /* Fallback for IE7 and IE8 */ background-color: %4$s; /* Fallback for IE7 and IE8 */
@ -348,14 +356,9 @@ function twentyfifteen_color_scheme_css() {
/* Secondary Text Color */ /* Secondary Text Color */
blockquote, blockquote,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
a:hover, a:hover,
a:focus, a:focus,
.main-navigation .menu-item-description,
.post-navigation .meta-nav, .post-navigation .meta-nav,
.post-navigation a:hover .post-title, .post-navigation a:hover .post-title,
.post-navigation a:focus .post-title, .post-navigation a:focus .post-title,
@ -363,6 +366,7 @@ function twentyfifteen_color_scheme_css() {
.image-navigation a, .image-navigation a,
.comment-navigation, .comment-navigation,
.comment-navigation a, .comment-navigation a,
.widget,
.entry-content a:hover, .entry-content a:hover,
.entry-content a:focus, .entry-content a:focus,
.entry-summary a:hover, .entry-summary a:hover,
@ -416,7 +420,9 @@ function twentyfifteen_color_scheme_css() {
} }
/* Border Color */ /* Border Color */
hr { hr,
.dropdown-toggle:hover,
.dropdown-toggle:focus {
background-color: %4$s; /* Fallback for IE7 and IE8 */ background-color: %4$s; /* Fallback for IE7 and IE8 */
background-color: %6$s; background-color: %6$s;
} }
@ -429,10 +435,16 @@ function twentyfifteen_color_scheme_css() {
td, td,
input, input,
textarea, textarea,
.main-navigation ul,
.main-navigation li,
.post-navigation, .post-navigation,
.post-navigation .nav-previous:not(.has-post-thumbnail) + .nav-next:not(.has-post-thumbnail), .post-navigation .nav-previous:not(.has-post-thumbnail) + .nav-next:not(.has-post-thumbnail),
.pagination, .pagination,
.comment-navigation, .comment-navigation,
.widget li,
.widget_categories .children,
.widget_nav_menu .sub-menu,
.widget_pages .children,
.site-header, .site-header,
.site-footer, .site-footer,
.hentry + .hentry, .hentry + .hentry,
@ -546,8 +558,8 @@ function twentyfifteen_color_scheme_css() {
/* Sidebar Text Color */ /* Sidebar Text Color */
.secondary a:hover, .secondary a:hover,
.secondary a:focus, .secondary a:focus,
.widget,
.main-navigation .menu-item-description, .main-navigation .menu-item-description,
.widget,
.widget blockquote, .widget blockquote,
.widget .wp-caption-text, .widget .wp-caption-text,
.widget .gallery-caption { .widget .gallery-caption {