Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/01/2017 11:16:45 PM (8 years ago)
Author:
hnla
Message:

Nouveau: Re-factor password verify JS & styles ( registration screen )

Commit updates password-verify.js to correct switch statement removing 'short' for 'misnatch' on 'pwsL10n.mismatch' html.

Adds new class for all conditions met of 'show' to manage the display of hidden result element, this simplifies the style rulesets.

Updates password style mixins for additional param for color.

Adds new ruleset to handle .mismatch mixin include ( provisional alt styling ), adds border styles for password input fields.

Todo: Track down the red border outline of input controls when unfocussed, currently this alludes pinpointing to any styles or JS - possibly originating from WP js?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_registration.scss

    r11686 r11755  
    2626        // profile extra element wrapper
    2727        .editfield {
    28             border: 1px solid $bp-border-color;
    29             margin: $marg-lrg 0;
    30             padding: 5px;
     28            margin: $marg-med 0;
    3129
    3230            fieldset {
     
    3533
    3634                legend {
     35                    margin: 0 0 5px;
    3736                    text-indent: 0;
    3837                }
     
    5049        #signup-avatar img {
    5150            margin: 0 $marg-med $marg-sml 0;
     51        }
     52
     53        .password-entry,
     54        .password-entry-confirm {
     55            border: 1px solid $bp-border-color;
    5256        }
    5357    } // close .signup-form
Note: See TracChangeset for help on using the changeset viewer.