diff --git a/src/bp-templates/bp-legacy/css/buddypress-rtl.css b/src/bp-templates/bp-legacy/css/buddypress-rtl.css
index 62181ed0b..60e0b1869 100644
|
a
|
b
|
body.activity-permalink #buddypress div.activity-comments div.acomment-content { |
| 786 | 786 | width: auto; |
| 787 | 787 | } |
| 788 | 788 | |
| | 789 | #buddypress .standard-form label.bp-datefield { |
| | 790 | display: inline; |
| | 791 | } |
| | 792 | |
| 789 | 793 | #buddypress .standard-form p label, |
| 790 | 794 | #buddypress .standard-form #invite-list label { |
| 791 | 795 | font-weight: 400; |
diff --git a/src/bp-templates/bp-legacy/css/buddypress.css b/src/bp-templates/bp-legacy/css/buddypress.css
index 3b35edb56..eacb8d9ee 100644
|
a
|
b
|
body.activity-permalink #buddypress div.activity-comments div.acomment-content { |
| 786 | 786 | width: auto; |
| 787 | 787 | } |
| 788 | 788 | |
| | 789 | #buddypress .standard-form label.bp-datefield { |
| | 790 | display: inline; |
| | 791 | } |
| | 792 | |
| 789 | 793 | #buddypress .standard-form p label, |
| 790 | 794 | #buddypress .standard-form #invite-list label { |
| 791 | 795 | font-weight: 400; |
diff --git a/src/bp-templates/bp-nouveau/common-styles/_bp_user_profile.scss b/src/bp-templates/bp-nouveau/common-styles/_bp_user_profile.scss
index d1a92f131..b3a3d4d0e 100644
|
a
|
b
|
|
| 57 | 57 | |
| 58 | 58 | label { |
| 59 | 59 | font-weight: 400; |
| | 60 | |
| | 61 | &.bp-datefield { |
| | 62 | display: inline; |
| | 63 | } |
| 60 | 64 | } |
| 61 | 65 | } |
| 62 | 66 | } |
diff --git a/src/bp-templates/bp-nouveau/css/buddypress-rtl.css b/src/bp-templates/bp-nouveau/css/buddypress-rtl.css
index 7154c517f..68526d70d 100644
|
a
|
b
|
body.no-js .single-item-header .js-self-profile-button { |
| 2600 | 2600 | font-weight: 400; |
| 2601 | 2601 | } |
| 2602 | 2602 | |
| | 2603 | .buddypress-wrap .profile.edit .editfield fieldset label.bp-datefield { |
| | 2604 | display: inline; |
| | 2605 | } |
| | 2606 | |
| 2603 | 2607 | .buddypress-wrap .profile.edit .editfield { |
| 2604 | 2608 | display: flex; |
| 2605 | 2609 | flex-direction: column; |
diff --git a/src/bp-templates/bp-nouveau/css/buddypress.css b/src/bp-templates/bp-nouveau/css/buddypress.css
index da992ae51..672a17974 100644
|
a
|
b
|
body.no-js .single-item-header .js-self-profile-button { |
| 2600 | 2600 | font-weight: 400; |
| 2601 | 2601 | } |
| 2602 | 2602 | |
| | 2603 | .buddypress-wrap .profile.edit .editfield fieldset label.bp-datefield { |
| | 2604 | display: inline; |
| | 2605 | } |
| | 2606 | |
| 2603 | 2607 | .buddypress-wrap .profile.edit .editfield { |
| 2604 | 2608 | display: flex; |
| 2605 | 2609 | flex-direction: column; |
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
index 56398f98f..9502ddc3c 100644
|
a
|
b
|
class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { |
| 105 | 105 | */ |
| 106 | 106 | do_action( bp_get_the_profile_field_errors_action() ); ?> |
| 107 | 107 | |
| 108 | | <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php |
| 109 | | /* translators: accessibility text */ |
| 110 | | esc_html_e( 'Select day', 'buddypress' ); |
| | 108 | <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="bp-datefield"><?php |
| | 109 | esc_html_e( 'Day', 'buddypress' ); |
| 111 | 110 | ?></label> |
| 112 | 111 | <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> |
| 113 | 112 | <?php bp_the_profile_field_options( array( |
| … |
… |
class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { |
| 116 | 115 | ) ); ?> |
| 117 | 116 | </select> |
| 118 | 117 | |
| 119 | | <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php |
| 120 | | /* translators: accessibility text */ |
| 121 | | esc_html_e( 'Select month', 'buddypress' ); |
| | 118 | <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="bp-datefield"><?php |
| | 119 | esc_html_e( 'Month', 'buddypress' ); |
| 122 | 120 | ?></label> |
| 123 | 121 | <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> |
| 124 | 122 | <?php bp_the_profile_field_options( array( |
| … |
… |
class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { |
| 127 | 125 | ) ); ?> |
| 128 | 126 | </select> |
| 129 | 127 | |
| 130 | | <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php |
| 131 | | /* translators: accessibility text */ |
| 132 | | esc_html_e( 'Select year', 'buddypress' ); |
| | 128 | <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="bp-datefield"><?php |
| | 129 | esc_html_e( 'Year', 'buddypress' ); |
| 133 | 130 | ?></label> |
| 134 | 131 | <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> |
| 135 | 132 | <?php bp_the_profile_field_options( array( |
| … |
… |
class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { |
| 300 | 297 | 'name' => bp_get_the_profile_field_input_name() . '_year' |
| 301 | 298 | ) ); ?> |
| 302 | 299 | |
| 303 | | <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="screen-reader-text"><?php |
| 304 | | /* translators: accessibility text */ |
| 305 | | esc_html_e( 'Select day', 'buddypress' ); |
| | 300 | <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="bp-datefield"><?php |
| | 301 | esc_html_e( 'Day', 'buddypress' ); |
| 306 | 302 | ?></label> |
| 307 | 303 | <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> |
| 308 | 304 | <?php bp_the_profile_field_options( array( 'type' => 'day' ) ); ?> |
| 309 | 305 | </select> |
| 310 | 306 | |
| 311 | | <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="screen-reader-text"><?php |
| 312 | | /* translators: accessibility text */ |
| 313 | | esc_html_e( 'Select month', 'buddypress' ); |
| | 307 | <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="bp-datefield"><?php |
| | 308 | esc_html_e( 'Month', 'buddypress' ); |
| 314 | 309 | ?></label> |
| 315 | 310 | <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> |
| 316 | 311 | <?php bp_the_profile_field_options( array( 'type' => 'month' ) ); ?> |
| 317 | 312 | </select> |
| 318 | 313 | |
| 319 | | <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="screen-reader-text"><?php |
| 320 | | /* translators: accessibility text */ |
| 321 | | esc_html_e( 'Select year', 'buddypress' ); |
| | 314 | <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="bp-datefield"><?php |
| | 315 | esc_html_e( 'Year', 'buddypress' ); |
| 322 | 316 | ?></label> |
| 323 | 317 | <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> |
| 324 | 318 | <?php bp_the_profile_field_options( array( 'type' => 'year' ) ); ?> |