Ticket #7080: 7080.patch
File 7080.patch, 3.8 KB (added by , 8 years ago) |
---|
-
src/bp-members/admin/css/admin-rtl.css
112 112 .bp-profile-field p { 113 113 font-size: 14px; 114 114 } 115 .bp-profile-field .datebox > label, 116 .bp-profile-field .radio > label, 115 117 116 .bp-profile-field > label { /* label takes on left side 200px */ 118 117 display: inline-block; 119 118 font-weight: 600; … … 164 163 font-size: 16px; 165 164 margin-bottom: 10px; 166 165 } 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 } -
src/bp-members/admin/css/admin.css
112 112 .bp-profile-field p { 113 113 font-size: 14px; 114 114 } 115 .bp-profile-field .datebox > label, 116 .bp-profile-field .radio > label, 115 117 116 .bp-profile-field > label { /* label takes on left side 200px */ 118 117 display: inline-block; 119 118 font-weight: 600; … … 164 163 font-size: 16px; 165 164 margin-bottom: 10px; 166 165 } 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 } -
src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
99 99 */ 100 100 do_action( bp_get_the_profile_field_errors_action() ); ?> 101 101 102 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class=" bp-screen-reader-text"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label>102 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label> 103 103 <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> 104 104 <?php bp_the_profile_field_options( array( 105 105 'type' => 'day', … … 107 107 ) ); ?> 108 108 </select> 109 109 110 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class=" bp-screen-reader-text"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label>110 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label> 111 111 <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> 112 112 <?php bp_the_profile_field_options( array( 113 113 'type' => 'month', … … 115 115 ) ); ?> 116 116 </select> 117 117 118 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class=" bp-screen-reader-text"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label>118 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label> 119 119 <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> 120 120 <?php bp_the_profile_field_options( array( 121 121 'type' => 'year',