Skip to:
Content

BuddyPress.org

Changeset 10946


Ignore:
Timestamp:
07/20/2016 09:25:22 AM (9 years ago)
Author:
hnla
Message:

Update BP button styles element selector group

BP main styles currently styles various elements as 'buttons' including the actual 'button' element, this has caused issue for visual styling of WP media player if rendered in the #buddypress namespace, adding a white background to player controls hiding them.

Effective solution is not to style the button element outside of the form.standard-form element thus adding '.standard-form' into the selector group '#buddypress .standard-form button' corrects the problem. Currently BP does not use the button element regardless in bp-legacy! With thanks to sbrajesh & danbp for investigations & suggested solutions.

Fixes #7187 Props danbp & sbrajesh

Location:
trunk/src/bp-templates/bp-legacy/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css

    r10713 r10946  
    787787    width: 160px;
    788788}
    789 #buddypress button,
     789#buddypress .standard-form button,
    790790#buddypress a.button,
    791791#buddypress input[type=submit],
     
    806806    text-decoration: none;
    807807}
    808 #buddypress button:hover,
     808#buddypress .standard-form button:hover,
    809809#buddypress a.button:hover,
    810810#buddypress a.button:focus,
  • trunk/src/bp-templates/bp-legacy/css/buddypress.css

    r10713 r10946  
    787787    width: 160px;
    788788}
    789 #buddypress button,
     789#buddypress .standard-form button,
    790790#buddypress a.button,
    791791#buddypress input[type=submit],
     
    806806    text-decoration: none;
    807807}
    808 #buddypress button:hover,
     808#buddypress .standard-form button:hover,
    809809#buddypress a.button:hover,
    810810#buddypress a.button:focus,
Note: See TracChangeset for help on using the changeset viewer.