Making WordPress.org


Ignore:
Timestamp:
04/05/2017 06:34:21 PM (10 years ago)
Author:
obenland
Message:

Plugin Directory: Improve form field styles

Fixes #2365.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/forms/_fields.scss

    r4223 r5255  
    3131        box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
    3232        color: $color__text-input;
     33        outline: none;
    3334        transition: 0.05s border-color ease-in-out;
    34         -webkit-appearance: none;
    3535
    3636        &:focus {
    … …  
    7373input[type="search"],
    7474input[type="password"],
    75 input[type="number"] {
     75input[type="number"],
     76select {
    7677        padding: 6px 10px;
    7778}
    … …  
    8586input[type="checkbox"],
    8687input[type="radio"] {
     88        -webkit-appearance: none;
    8789        background: #fff;
    8890        border: 1px solid #b4b9be;
    … …  
    176178        border-radius: 0;
    177179        font-size: 16px;
    178         padding: 3px 5px; /* Reset mobile webkit's default element styling */
    179180}
    180181
    … …  
    245246-------------------------------------------------------------- */
    246247
    247 @media screen and ( min-width: 48em ) {
     248@media screen and ( min-width: $ms-breakpoint ) {
    248249        /* Input Elements */
    249250        input[type="text"],
    … …  
    252253        input[type="password"],
    253254        input[type="number"] {
    254                 padding: 0;
     255                padding: 3px 5px;
    255256        }
    256257
    … …  
    284285        select {
    285286                font-size: 14px;
    286         }
    287 }
     287                padding: 3px 5px; /* Reset mobile webkit's default element styling */
     288        }
     289}
Note: See TracChangeset for help on using the changeset viewer.