Twenty Fourteen: apply `.widget` input and textarea styles only if they are inside `.widget-area`. Props jesin, fixes #27677.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2014-06-04 17:34:14 +00:00
parent 8c925abcf4
commit aea136ec06
1 changed files with 4 additions and 4 deletions

View File

@ -2248,8 +2248,8 @@ a.post-thumbnail:hover {
margin-bottom: 18px; margin-bottom: 18px;
} }
.widget input, .widget-area .widget input,
.widget textarea { .widget-area .widget textarea {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2);
color: #fff; color: #fff;
@ -2257,8 +2257,8 @@ a.post-thumbnail:hover {
padding: 1px 2px 2px 4px; padding: 1px 2px 2px 4px;
} }
.widget input:focus, .widget-area .widget input:focus,
.widget textarea:focus { .widget-area .widget textarea:focus {
border-color: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.3);
} }