Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.

git-svn-id: http://core.svn.wordpress.org/trunk@21450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
lancewillett 2012-08-06 00:19:29 +00:00
parent 9b0ce16eb9
commit bc48a9ef0b
1 changed files with 8 additions and 8 deletions

View File

@ -195,7 +195,7 @@ article.format-link footer.entry-meta {
/* Buttons */ /* Buttons */
.menu-toggle, .menu-toggle,
input#searchsubmit, input[type="submit"],
article.post-password-required input[type=submit], article.post-password-required input[type=submit],
li.bypostauthor cite span { li.bypostauthor cite span {
padding: 6px 10px; padding: 6px 10px;
@ -217,12 +217,12 @@ li.bypostauthor cite span {
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
} }
.menu-toggle, .menu-toggle,
input#searchsubmit, input[type="submit"],
article.post-password-required input[type=submit] { article.post-password-required input[type=submit] {
cursor: pointer; cursor: pointer;
} }
.menu-toggle:hover, .menu-toggle:hover,
input#searchsubmit:hover, input[type="submit"]:hover,
article.post-password-required input[type=submit]:hover { article.post-password-required input[type=submit]:hover {
color: #5e5e5e; color: #5e5e5e;
background-color: #ebebeb; background-color: #ebebeb;
@ -235,9 +235,9 @@ article.post-password-required input[type=submit]:hover {
} }
.menu-toggle:active, .menu-toggle:active,
.menu-toggle.toggled-on, .menu-toggle.toggled-on,
input#searchsubmit:active, input[type="submit"]:active,
article.post-password-required input[type=submit]:active, article.post-password-required input[type=submit]:active,
input#searchsubmit.toggled-on { input[type="submit"].toggled-on {
color: #777; color: #777;
background-color: #e1e1e1; background-color: #e1e1e1;
background-repeat: repeat-x; background-repeat: repeat-x;
@ -260,8 +260,8 @@ li.bypostauthor cite span {
} }
/* Form fields */ /* Form fields */
.widget_search input[type="text"], input[type="text"],
article.post-password-required form input[type="password"] { input[type="password"] {
padding: 6px; padding: 6px;
padding: 0.428571429rem; padding: 0.428571429rem;
font-family: inherit; font-family: inherit;
@ -1212,7 +1212,7 @@ a.comment-reply-link:hover {
line-height: 1.714285714; line-height: 1.714285714;
} }
#respond form input[type="text"], #respond form input[type="text"],
#respond form textarea { textarea {
font-family: inherit; font-family: inherit;
font-size: 12px; font-size: 12px;
font-size: 0.857142857rem; font-size: 0.857142857rem;