Skip to:
Content

BuddyPress.org

Changeset 10799


Ignore:
Timestamp:
05/23/2016 09:17:29 PM (8 years ago)
Author:
mercime
Message:

xProfiles: Fix layouts of checkbox, datebox, radio fieldsets in wp-admin.

Provide style support in wp-admin > User > Extended Profile screen
after the introduction of fieldset wrappers for the xProfile field
types mentioned above in #6678.

Fixes #7080.

Location:
trunk/src/bp-members/admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/admin/css/admin-rtl.css

    r10274 r10799  
    113113    font-size: 14px;
    114114}
    115 .bp-profile-field .datebox > label,
    116 .bp-profile-field .radio > label,
     115
    117116.bp-profile-field > label {  /* label takes on left side 200px */
    118117    display: inline-block;
     
    165164    margin-bottom: 10px;
    166165}
     166
     167#your-profile .bp-profile-field .checkbox legend,
     168#your-profile .bp-profile-field .datebox legend,
     169#your-profile .bp-profile-field .radio legend {
     170    display: inline-block;
     171    font-size: 14px;
     172    font-weight: 600;
     173    line-height: 1.4em;
     174    text-align: right;
     175    vertical-align: middle;
     176    width: 200px;
     177}
     178
     179#your-profile .bp-profile-field .radio legend {
     180    vertical-align: top;
     181}
     182
     183.bp-profile-field .radio .clear-value {
     184    margin-top: 10px;
     185}
  • trunk/src/bp-members/admin/css/admin.css

    r10274 r10799  
    113113    font-size: 14px;
    114114}
    115 .bp-profile-field .datebox > label,
    116 .bp-profile-field .radio > label,
     115
    117116.bp-profile-field > label {  /* label takes on left side 200px */
    118117    display: inline-block;
     
    165164    margin-bottom: 10px;
    166165}
     166
     167#your-profile .bp-profile-field .checkbox legend,
     168#your-profile .bp-profile-field .datebox legend,
     169#your-profile .bp-profile-field .radio legend {
     170    display: inline-block;
     171    font-size: 14px;
     172    font-weight: 600;
     173    line-height: 1.4em;
     174    text-align: left;
     175    vertical-align: middle;
     176    width: 192px;
     177}
     178
     179#your-profile .bp-profile-field .radio legend {
     180    vertical-align: top;
     181}
     182
     183.bp-profile-field .radio .clear-value {
     184    margin-top: 10px;
     185}
Note: See TracChangeset for help on using the changeset viewer.