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

git-svn-id: https://develop.svn.wordpress.org/trunk@28663 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2014-06-04 17:33:42 +00:00
parent 7e678bbfce
commit e0e0685ebd

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);
} }