Skip to:
Content

BuddyPress.org

Ticket #6882: 6882-plus-css.patch

File 6882-plus-css.patch, 12.3 KB (added by mercime, 9 years ago)
  • src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

     
    9797
    9898        <?php endif; ?>
    9999
    100         <h4><?php _e( 'Privacy Options', 'buddypress' ); ?></h4>
     100        <div aria-labelledby="group-privacy-options" role="group">
    101101
    102         <div class="radio">
     102                <h2 id="group-privacy-options"><?php _e( 'Privacy Options', 'buddypress' ); ?></h2>
    103103
    104                 <label for="group-status-public"><input type="radio" name="group-status" id="group-status-public" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <?php _e( 'This is a public group', 'buddypress' ); ?></label>
     104                <div class="radio">
    105105
    106                 <ul id="public-group-description">
    107                         <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li>
    108                         <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
    109                         <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li>
    110                 </ul>
     106                        <label for="group-status-public"><input type="radio" name="group-status" id="group-status-public" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <?php _e( 'This is a public group', 'buddypress' ); ?></label>
    111107
    112                 <label for="group-status-private"><input type="radio" name="group-status" id="group-status-private" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <?php _e( 'This is a private group', 'buddypress' ); ?></label>
     108                        <ul id="public-group-description">
     109                                <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li>
     110                                <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
     111                                <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li>
     112                        </ul>
    113113
    114                 <ul id="private-group-description">
    115                         <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li>
    116                         <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
    117                         <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
    118                 </ul>
     114                        <label for="group-status-private"><input type="radio" name="group-status" id="group-status-private" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <?php _e( 'This is a private group', 'buddypress' ); ?></label>
    119115
    120                 <label for="group-status-hidden"><input type="radio" name="group-status" id="group-status-hidden" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <?php _e('This is a hidden group', 'buddypress' ); ?></label>
     116                        <ul id="private-group-description">
     117                                <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li>
     118                                <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
     119                                <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
     120                        </ul>
    121121
    122                 <ul id="hidden-group-description">
    123                         <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li>
    124                         <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li>
    125                         <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
    126                 </ul>
     122                        <label for="group-status-hidden"><input type="radio" name="group-status" id="group-status-hidden" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <?php _e('This is a hidden group', 'buddypress' ); ?></label>
    127123
     124                        <ul id="hidden-group-description">
     125                                <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li>
     126                                <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li>
     127                                <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
     128                        </ul>
     129
     130                </div>
     131
    128132        </div>
    129133
    130134        <hr />
    131135
    132         <h4><?php _e( 'Group Invitations', 'buddypress' ); ?></h4>
     136        <div aria-labelledby="group-group-invitations" role="group">
    133137
    134         <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>
     138                <h2 id="group-group-invitations"><?php _e( 'Group Invitations', 'buddypress' ); ?></h2>
    135139
    136         <div class="radio">
     140                <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>
    137141
    138                 <label for="group-invite-status-members"><input type="radio" name="group-invite-status" id="group-invite-status-members" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <?php _e( 'All group members', 'buddypress' ); ?></label>
     142                <div class="radio">
    139143
    140                 <label for="group-invite-status-mods"><input type="radio" name="group-invite-status" id="group-invite-status-mods" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <?php _e( 'Group admins and mods only', 'buddypress' ); ?></label>
     144                        <label for="group-invite-status-members"><input type="radio" name="group-invite-status" id="group-invite-status-members" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <?php _e( 'All group members', 'buddypress' ); ?></label>
    141145
    142                 <label for="group-invite-status-admins"><input type="radio" name="group-invite-status" id="group-invite-status-admins" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <?php _e( 'Group admins only', 'buddypress' ); ?></label>
     146                        <label for="group-invite-status-mods"><input type="radio" name="group-invite-status" id="group-invite-status-mods" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <?php _e( 'Group admins and mods only', 'buddypress' ); ?></label>
    143147
     148                        <label for="group-invite-status-admins"><input type="radio" name="group-invite-status" id="group-invite-status-admins" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <?php _e( 'Group admins only', 'buddypress' ); ?></label>
     149
     150                </div>
     151
    144152        </div>
    145153
    146154        <hr />
  • src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css

     
    10001000* @subsection 6.2.1.1 - Group Management
    10011001*-----------------------------------------
    10021002*/
     1003.groups #group-settings-form h2,
    10031004.groups #group-settings-form h4 {
    10041005        background: #555;
    10051006        color: #fff;
  • src/bp-templates/bp-legacy/css/twentyfifteen.css

     
    10001000* @subsection 6.2.1.1 - Group Management
    10011001*-----------------------------------------
    10021002*/
     1003.groups #group-settings-form h2,
    10031004.groups #group-settings-form h4 {
    10041005        background: #555;
    10051006        color: #fff;
  • src/bp-templates/bp-legacy/css/twentyfifteen.scss

     
    12731273// headings settings screens & general global settings styles
    12741274.groups {
    12751275        #group-settings-form {
     1276                h2,
    12761277                h4 {
    12771278                        background: $dark-background;
    12781279                        color: $content-background;
  • src/bp-templates/bp-legacy/css/twentysixteen-rtl.css

     
    10601060* @subsection 6.2.1.1 - Group Management
    10611061*-----------------------------------------
    10621062*/
     1063.groups #group-settings-form h2,
    10631064.groups #group-settings-form h4 {
    10641065        background: #555;
    10651066        color: #fff;
  • src/bp-templates/bp-legacy/css/twentysixteen.css

     
    10601060* @subsection 6.2.1.1 - Group Management
    10611061*-----------------------------------------
    10621062*/
     1063.groups #group-settings-form h2,
    10631064.groups #group-settings-form h4 {
    10641065        background: #555;
    10651066        color: #fff;
  • src/bp-templates/bp-legacy/css/twentysixteen.scss

     
    14661466// headings settings screens & general global settings styles
    14671467.groups {
    14681468        #group-settings-form {
     1469                h2,
    14691470                h4 {
    14701471                        background: $dark-background;
    14711472                        color: $content-background;
  • src/bp-templates/bp-legacy/css/twentythirteen-rtl.css

     
    10891089* @subsection 6.2.1.1 - Group Management
    10901090*-----------------------------------------
    10911091*/
     1092.groups #group-settings-form h2,
    10921093.groups #group-settings-form h4 {
    10931094        background: #555;
    10941095        color: #fff;
  • src/bp-templates/bp-legacy/css/twentythirteen.css

     
    10891089* @subsection 6.2.1.1 - Group Management
    10901090*-----------------------------------------
    10911091*/
     1092.groups #group-settings-form h2,
    10921093.groups #group-settings-form h4 {
    10931094        background: #555;
    10941095        color: #fff;
  • src/bp-templates/bp-legacy/css/twentythirteen.scss

     
    17151715
    17161716                .profile {
    17171717                        .bp-widget {
     1718                                h2,
    17181719                                h4 {
    17191720                                        background: lighten($dark-background, 10%);
    17201721                                        color: #fff;
  • src/bp-templates/bp-legacy/css/twentytwelve-rtl.css

     
    10791079* @subsection 6.2.1.1 - Group Management
    10801080*-----------------------------------------
    10811081*/
     1082.groups #group-settings-form h2,
    10821083.groups #group-settings-form h4 {
    10831084        background: #555;
    10841085        color: #fff;
  • src/bp-templates/bp-legacy/css/twentytwelve.css

     
    10791079* @subsection 6.2.1.1 - Group Management
    10801080*-----------------------------------------
    10811081*/
     1082.groups #group-settings-form h2,
    10821083.groups #group-settings-form h4 {
    10831084        background: #555;
    10841085        color: #fff;
  • src/bp-templates/bp-legacy/css/twentytwelve.scss

     
    14941494// headings settings screens & general global settings styles
    14951495.groups {
    14961496        #group-settings-form {
     1497                h2,
    14971498                h4 {
    14981499                        background: $dark-background;
    14991500                        color: $content-background;