From 616205856eea71af8d9114bf259cf6e48d4c46d0 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 6 Mar 2014 19:54:15 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyfourteen/functions.php | 2 +- wp-content/themes/twentyfourteen/style.css | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 41f179a457..b907d11226 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -380,7 +380,7 @@ function twentyfourteen_list_authors() {

- + diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index 74aafa0556..345f28c78e 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -502,7 +502,7 @@ textarea:focus { /* Buttons */ button, -.contributor-posts-link, +.button, input[type="button"], input[type="reset"], input[type="submit"] { @@ -519,7 +519,8 @@ input[type="submit"] { button:hover, button:focus, -.contributor-posts-link:hover, +.button:hover, +.button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:hover, @@ -531,7 +532,7 @@ input[type="submit"]:focus { } button:active, -.contributor-posts-link:active, +.button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { @@ -1256,7 +1257,11 @@ a.post-thumbnail:hover { .entry-content a:hover, .entry-summary 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; } @@ -2223,6 +2228,7 @@ a.post-thumbnail:hover { } .widget button, +.widget .button, .widget input[type="button"], .widget input[type="reset"], .widget input[type="submit"] {