WordPress.org

Make WordPress Core

Ticket #27677: 27677.diff

File 27677.diff, 719 bytes (added by jesin, 7 years ago)

Apply .widget input & textarea styles only if they are inside .widget-area

  • wp-content/themes/twentyfourteen/style.css

     
    22482248        margin-bottom: 18px;
    22492249}
    22502250
    2251 .widget input,
    2252 .widget textarea {
     2251.widget-area .widget input,
     2252.widget-area .widget textarea {
    22532253        background-color: rgba(255, 255, 255, 0.1);
    22542254        border-color: rgba(255, 255, 255, 0.2);
    22552255        color: #fff;
     
    22572257        padding: 1px 2px 2px 4px;
    22582258}
    22592259
    2260 .widget input:focus,
    2261 .widget textarea:focus {
     2260.widget-area .widget input:focus,
     2261.widget-area .widget textarea:focus {
    22622262        border-color: rgba(255, 255, 255, 0.3);
    22632263}
    22642264