Twenty Fourteen: Add a .button class.

props celloexpressions.
fixes #27075.

Built from https://develop.svn.wordpress.org/trunk@27442


git-svn-id: http://core.svn.wordpress.org/trunk@27289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-06 19:54:15 +00:00
parent 449ffedfb9
commit 616205856e
2 changed files with 11 additions and 5 deletions

View File

@ -380,7 +380,7 @@ function twentyfourteen_list_authors() {
<p class="contributor-bio"> <p class="contributor-bio">
<?php echo get_the_author_meta( 'description', $contributor_id ); ?> <?php echo get_the_author_meta( 'description', $contributor_id ); ?>
</p> </p>
<a class="contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>"> <a class="button contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>">
<?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?> <?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?>
</a> </a>
</div><!-- .contributor-summary --> </div><!-- .contributor-summary -->

View File

@ -502,7 +502,7 @@ textarea:focus {
/* Buttons */ /* Buttons */
button, button,
.contributor-posts-link, .button,
input[type="button"], input[type="button"],
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
@ -519,7 +519,8 @@ input[type="submit"] {
button:hover, button:hover,
button:focus, button:focus,
.contributor-posts-link:hover, .button:hover,
.button:focus,
input[type="button"]:hover, input[type="button"]:hover,
input[type="button"]:focus, input[type="button"]:focus,
input[type="reset"]:hover, input[type="reset"]:hover,
@ -531,7 +532,7 @@ input[type="submit"]:focus {
} }
button:active, button:active,
.contributor-posts-link:active, .button:active,
input[type="button"]:active, input[type="button"]:active,
input[type="reset"]:active, input[type="reset"]:active,
input[type="submit"]:active { input[type="submit"]:active {
@ -1256,7 +1257,11 @@ a.post-thumbnail:hover {
.entry-content a:hover, .entry-content a:hover,
.entry-summary a:hover, .entry-summary a:hover,
.page-content a:hover, .page-content a:hover,
.comment-content a:hover { .comment-content a:hover,
.entry-content a.button,
.entry-summary a.button,
.page-content a.button,
.comment-content a.button {
text-decoration: none; text-decoration: none;
} }
@ -2223,6 +2228,7 @@ a.post-thumbnail:hover {
} }
.widget button, .widget button,
.widget .button,
.widget input[type="button"], .widget input[type="button"],
.widget input[type="reset"], .widget input[type="reset"],
.widget input[type="submit"] { .widget input[type="submit"] {