Making WordPress.org


Ignore:
Timestamp:
06/14/2016 08:36:02 AM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Second pass at upload form styles.

This time, let's be less intrusive on other styles.

See #1573, [3345].

File:
1 edited

Legend:

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

    r3345 r3346  
    3030textarea {
    3131    -webkit-appearance: none;
     32    background-color: #fff;
    3233    border: 1px solid $color__border-input;
    3334    -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
    3435    box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
    35     background-color: #fff;
    3636    color: $color__text-input;
    3737    -webkit-transition: 0.05s border-color ease-in-out;
     
    9090input[type="checkbox"],
    9191input[type="radio"] {
     92    background: #fff;
    9293    border: 1px solid #b4b9be;
    93     background: #fff;
     94    -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
     95    box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
     96    clear: none;
    9497    color: #555;
    95     clear: none;
    9698    cursor: pointer;
    9799    display: inline-block;
     100    height: 25px;
    98101    line-height: 0;
    99102    margin: -4px 4px 0 0;
     103    min-width: 16px;
    100104    padding: 0 !important;
    101105    text-align: center;
    102     vertical-align: middle;
    103     min-width: 16px;
    104     -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
    105     box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
    106106    -webkit-transition: .05s border-color ease-in-out;
    107107    transition: .05s border-color ease-in-out;
    108     height: 25px;
     108    vertical-align: middle;
    109109    width: 25px;
    110110}
     
    117117    -webkit-border-radius: 50%;
    118118    border-radius: 50%;
     119    line-height: 10px;
    119120    margin-right: 4px;
    120     line-height: 10px;
    121121}
    122122
    123123input[type="checkbox"]:checked:before,
    124124input[type="radio"]:checked:before {
     125    display: inline-block;
    125126    float: left;
    126     display: inline-block;
     127    font: normal 21px/1 dashicons;
     128    -moz-osx-font-smoothing: grayscale;
     129    -webkit-font-smoothing: antialiased;
     130    speak: none;
    127131    vertical-align: middle;
    128132    width: 16px;
    129     font: normal 21px/1 dashicons;
    130     speak: none;
    131     -webkit-font-smoothing: antialiased;
    132     -moz-osx-font-smoothing: grayscale;
    133133}
    134134
    135135input[type="checkbox"]:checked:before {
     136    color: #1e8cbe;
    136137    content: "\f147";
    137     color: #1e8cbe;
    138138    font: normal 30px/1 dashicons;
    139139    margin: -3px -5px;
     
    141141
    142142input[type="radio"]:checked:before {
    143     content: "\2022";
    144     text-indent: -9999px;
     143    background-color: #1e8cbe;
    145144    -webkit-border-radius: 50px;
    146145    border-radius: 50px;
     146    content: "\2022";
    147147    font-size: 24px;
     148    height: 9px;
     149    line-height: 16px;
     150    margin: 7px;
     151    text-indent: -9999px;
     152    vertical-align: middle;
    148153    width: 9px;
    149     height: 9px;
    150     margin: 7px;
    151     line-height: 16px;
    152     background-color: #1e8cbe;
    153     vertical-align: middle;
    154154}
    155155
     
    187187input,
    188188select {
     189    -webkit-border-radius: 0;
     190    border-radius: 0;
    189191    font-size: 16px;
    190     padding: 3px 5px;
    191     -webkit-border-radius: 0;
    192     border-radius: 0; /* Reset mobile webkit's default element styling */
     192    padding: 3px 5px; /* Reset mobile webkit's default element styling */
    193193}
    194194
    195195textarea {
     196    line-height: 1.4;
    196197    overflow: auto;
    197198    padding: 2px 6px;
    198     line-height: 1.4;
    199199    resize: vertical;
    200200}
Note: See TracChangeset for help on using the changeset viewer.