Changeset 11646
- Timestamp:
- 07/14/2017 10:10:38 AM (7 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/css/common-rtl.css
r11587 r11646 72 72 */ 73 73 .buddypress .bp-headline-feature { 74 margin-bottom: 3em;74 margin-bottom: 2em; 75 75 margin-top: 3em; 76 76 padding: 2em 3em; … … 98 98 font-size: 2.2em; 99 99 font-weight: 300; 100 line-height: 1;101 margin: 0 ;100 line-height: 2; 101 margin: 0 0 1em; 102 102 text-align: center; 103 103 } … … 114 114 border-bottom: 1px solid #ccc; 115 115 clear: both; 116 margin-top: 3em; 116 margin-bottom: 3em; 117 margin-top: 2em; 117 118 overflow: hidden; 118 padding-bottom: 0; 119 padding-bottom: 2em; 120 } 121 122 .buddypress .bp-features-section p { 123 font-size: 14px; 124 line-height: 1.5; 125 } 126 127 .buddypress .bp-features-section img { 128 margin-bottom: 20px; 119 129 } 120 130 … … 137 147 font-weight: 300; 138 148 line-height: 1.5; 139 margin: 0auto 2em;149 margin: 1em auto 2em; 140 150 text-align: center; 141 151 } … … 166 176 167 177 .buddypress .bp-feature:after { 178 clear: both; 168 179 content: ""; 180 margin-bottom: 2em; 169 181 } 170 182 … … 186 198 187 199 .buddypress .bp-feature .feature-title { 188 font-size: 1 .25em;200 font-size: 1em; 189 201 line-height: 1.5; 190 202 margin-bottom: 0; … … 204 216 clear: both; 205 217 margin-bottom: 3em; 206 margin-top: 3em; 207 overflow: hidden; 218 margin-top: 4em; 208 219 padding-bottom: 0; 209 220 } 210 221 211 222 .buddypress .bp-changelog-section:after { 223 clear: both; 212 224 content: ""; 225 display: table; 213 226 } 214 227 … … 220 233 } 221 234 222 .buddypress .bp- changelog-section .two-coldiv {235 .buddypress .bp-two-column div { 223 236 float: right; 224 237 margin-left: 4.799999999%; … … 227 240 } 228 241 229 .buddypress .bp- changelog-section .three-col .col{242 .buddypress .bp-three-column .bp-column { 230 243 float: right; 231 244 margin-left: 5%; … … 234 247 } 235 248 236 .buddypress . two-col .col:nth-of-type(2n),237 .buddypress . three-col .col:nth-of-type(3n) {249 .buddypress .bp-two-column .bp-column:nth-of-type(2n), 250 .buddypress .bp-three-column .bp-column:nth-of-type(3n) { 238 251 margin-left: 0; 239 252 } … … 243 256 } 244 257 258 .buddypress .bp-changelog:after { 259 clear: both; 260 content: ""; 261 display: table; 262 } 263 245 264 .buddypress .bp-changelog .title { 246 font-size: 1em; 265 font-size: 14px; 266 margin-bottom: 0.75em; 267 margin-top: 0; 268 } 269 270 .buddypress .bp-changelog p { 247 271 margin-bottom: 0; 248 margin-top: 0;249 }250 251 .buddypress .bp-changelog p {252 margin-bottom: 3em;253 272 } 254 273 … … 259 278 .bp-assets { 260 279 clear: both; 261 margin-bottom: 2em; 262 margin-top: 2em; 280 margin-bottom: 3em; 263 281 } 264 282 -
trunk/src/bp-core/admin/css/common.css
r11587 r11646 72 72 */ 73 73 .buddypress .bp-headline-feature { 74 margin-bottom: 3em;74 margin-bottom: 2em; 75 75 margin-top: 3em; 76 76 padding: 2em 3em; … … 98 98 font-size: 2.2em; 99 99 font-weight: 300; 100 line-height: 1;101 margin: 0 ;100 line-height: 2; 101 margin: 0 0 1em; 102 102 text-align: center; 103 103 } … … 114 114 border-bottom: 1px solid #ccc; 115 115 clear: both; 116 margin-top: 3em; 116 margin-bottom: 3em; 117 margin-top: 2em; 117 118 overflow: hidden; 118 padding-bottom: 0; 119 padding-bottom: 2em; 120 } 121 122 .buddypress .bp-features-section p { 123 font-size: 14px; 124 line-height: 1.5; 125 } 126 127 .buddypress .bp-features-section img { 128 margin-bottom: 20px; 119 129 } 120 130 … … 137 147 font-weight: 300; 138 148 line-height: 1.5; 139 margin: 0auto 2em;149 margin: 1em auto 2em; 140 150 text-align: center; 141 151 } … … 166 176 167 177 .buddypress .bp-feature:after { 178 clear: both; 168 179 content: ""; 180 margin-bottom: 2em; 169 181 } 170 182 … … 186 198 187 199 .buddypress .bp-feature .feature-title { 188 font-size: 1 .25em;200 font-size: 1em; 189 201 line-height: 1.5; 190 202 margin-bottom: 0; … … 204 216 clear: both; 205 217 margin-bottom: 3em; 206 margin-top: 3em; 207 overflow: hidden; 218 margin-top: 4em; 208 219 padding-bottom: 0; 209 220 } 210 221 211 222 .buddypress .bp-changelog-section:after { 223 clear: both; 212 224 content: ""; 225 display: table; 213 226 } 214 227 … … 220 233 } 221 234 222 .buddypress .bp- changelog-section .two-coldiv {235 .buddypress .bp-two-column div { 223 236 float: left; 224 237 margin-right: 4.799999999%; … … 227 240 } 228 241 229 .buddypress .bp- changelog-section .three-col .col{242 .buddypress .bp-three-column .bp-column { 230 243 float: left; 231 244 margin-right: 5%; … … 234 247 } 235 248 236 .buddypress . two-col .col:nth-of-type(2n),237 .buddypress . three-col .col:nth-of-type(3n) {249 .buddypress .bp-two-column .bp-column:nth-of-type(2n), 250 .buddypress .bp-three-column .bp-column:nth-of-type(3n) { 238 251 margin-right: 0; 239 252 } … … 243 256 } 244 257 258 .buddypress .bp-changelog:after { 259 clear: both; 260 content: ""; 261 display: table; 262 } 263 245 264 .buddypress .bp-changelog .title { 246 font-size: 1em; 265 font-size: 14px; 266 margin-bottom: 0.75em; 267 margin-top: 0; 268 } 269 270 .buddypress .bp-changelog p { 247 271 margin-bottom: 0; 248 margin-top: 0;249 }250 251 .buddypress .bp-changelog p {252 margin-bottom: 3em;253 272 } 254 273 … … 259 278 .bp-assets { 260 279 clear: both; 261 margin-bottom: 2em; 262 margin-top: 2em; 280 margin-bottom: 3em; 263 281 } 264 282 -
trunk/src/bp-core/classes/class-bp-admin.php
r11641 r11646 568 568 <div id="welcome-panel" class="welcome-panel"> 569 569 <div class="welcome-panel-content"> 570 <h3 style="margin:0 "><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3>570 <h3 style="margin:0;"><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3> 571 571 <div class="welcome-panel-column-container"> 572 572 <div class="welcome-panel-column"> … … 613 613 <?php endif; ?> 614 614 615 <div class="bp-headline-feature"> 616 <div class="bp-headline"> 617 <h3 class="headline-title"><?php esc_html_e( 'Modernizing the Codebase', 'buddypress' ); ?></h3> 618 <p class="introduction"><?php 619 /* translators: 1: BP REST API, 2: Link to Codex article */ 620 printf( __( 'To continue the migration of legacy code to modern standards and techniques necessary for the %1$s project and other new features moving forward, <a href="%2$s">BuddyPress 2.8 requires at least PHP 5.3</a>. This will allow us to build better, robust, and secure code, benefitting developers and users now and in the future.', 'buddypress'), 621 '<code>BP REST API</code>', 622 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ); 615 <div class="bp-features-section"> 616 617 <h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3> 618 619 <div class="bp-feature"> 620 <span class="dashicons dashicons-groups" aria-hidden="true"></span> 621 <h4 class="feature-title"><?php esc_html_e( 'Edit Group Slug', 'buddypress' ); ?></h4> 622 <p><?php esc_html_e( 'Allow administrators to change group names and permalinks. Navigate to the Groups screen in the wp-admin dashboard, click on the Edit link under the Group name, and adjust as needed.', 'buddypress' ); ?></p> 623 </div> 624 625 <div class="bp-feature opposite"> 626 <span class="dashicons dashicons-admin-users" aria-hidden="true"></span> 627 <h4 class="feature-title"><?php 628 /* translators: %s: 1: accessibility, 2: extended profile */ 629 printf( __( 'Improve %1$s of %2$s Fields', 'buddypress' ), 630 '<code>a11y</code>', 631 '<code>Extended Profile</code>' ); 632 ?></h4> 633 <p><?php esc_html_e( 'Related form fields are grouped together in fieldsets and all interactive form controls are associated with necessary ARIA states and properties.', 'buddypress' ); ?></p> 634 </div> 635 636 <div class="bp-feature"> 637 <span class="dashicons dashicons-email" aria-hidden="true"></span> 638 <h4 class="feature-title"><?php esc_html_e( 'Send group invitation only once per user', 'buddypress' ); ?></h4> 639 <p><?php esc_html_e( 'Prevent duplicate group invitations from being sent to a user by double-checking if a group invitation has already been sent to that user.', 'buddypress' ); ?></p> 640 </div> 641 642 <div class="bp-feature opposite"> 643 <span class="dashicons dashicons-testimonial" aria-hidden="true"></span> 644 <h4 class="feature-title"><?php esc_html_e( 'Tooltips Usable for All Devices', 'buddypress' ); ?></h4> 645 <p><?php 646 /* translators: 1: title attribute, 2: :hover, 3: :focus */ 647 printf( __( 'Replaced %1$s attributes with tooltips which provide additional information and visual cues where needed on mouse %2$s and keyboard %3$s.', 'buddypress' ), 648 '<code>title</code>', 649 '<code>:hover</code>', 650 '<code>:focus</code>' ); 623 651 ?></p> 624 652 </div> 653 625 654 </div> 626 655 627 <div class="bp-features-section"> 628 629 <h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3> 630 631 <div class="bp-feature-with-images"> 632 633 <div class="bp-feature-imaged"> 634 <h4 class="feature-title"><?php esc_html_e( 'More helpful "Activate Pending Accounts" screen', 'buddypress' ); ?></h4> 635 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/pending-accounts.png' ); ?>" alt="<?php esc_attr_e( 'The improved pending account screen.', 'buddypress' ); ?>"> 636 <p><?php esc_html_e( 'When you click on the username on the "Users > Manage Signups" page, you can now view profile data entered by the user at the time of registration.', 'buddypress' ); ?></p> 656 <div class="bp-changelog-section"> 657 658 <h3 class="changelog-title"><?php esc_html_e( 'More under the hood …', 'buddypress' ); ?></h3> 659 <div class="bp-changelog bp-three-column"> 660 <div class="bp-column"> 661 <h4 class="title"><?php esc_html_e( 'Better support for private message thread links in emails', 'buddypress' ); ?></h4> 662 <p><?php esc_html_e( 'Redirect non-authenticated users to the login screen and authenticated users to the message linked.', 'buddypress' ); ?></p> 637 663 </div> 638 639 <div class="bp-feature-imaged anon"> 640 <h4 class="feature-title"><?php 641 /* translators: %s: List-Unsubscribe */ 642 printf( __( 'Support for %s header in emails', 'buddypress' ), 643 '<code>List-Unsubscribe</code>' ); 644 ?></h4> 645 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/list-unsubscribe.png' ); ?>" alt="<?php esc_attr_e( 'Email header showing the list-unsubscribe feature.', 'buddypress' ); ?>"> 646 <p><?php esc_html_e( 'Allow users to unsubscribe from BuddyPress email notifications in some email clients such as Gmail (web), when properly configured.', 'buddypress' ); ?></p> 664 <div class="bp-column"> 665 <h4 class="title"><?php esc_html_e( 'Compatibility with Bootstrap themes', 'buddypress' ); ?></h4> 666 <p><?php esc_html_e( 'Removed issues with BuddyPress-generated content being hidden in the Groups loop and Activity comments in Bootstrap themes.', 'buddypress' ); ?></p> 647 667 </div> 648 668 649 <div class="bp-feature-imaged"> 650 <h4 class="feature-title"><?php esc_html_e( 'Twenty Seventeen Companion Stylesheet', 'buddypress' ); ?></h4> 651 <p><?php esc_html_e( 'BuddyPress looks great in WordPress\'s latest default theme with the new Twenty Seventeen companion stylesheet.', 'buddypress' ); ?></p> 652 <p><?php 653 /* translators: 1: Link to the Codex article, 2: functions.php */ 654 printf( __( 'To change the default two-column page layout to a full-width layout as seen in the image, add the <a href="%1$s">following code</a> to the %2$s file of your Twenty Seventeen child theme.', 'buddypress' ), 655 'https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/twenty-seventeen-theme/', 656 '<code>functions.php</code>' ); 657 ?></p> 658 </div> 659 660 <div class="bp-feature-imaged anon"> 661 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/twenty-seventeen.png' ); ?>" alt="<?php esc_attr_e( 'Full-width BuddyPress layout for Twenty Seventeen theme.', 'buddypress' ); ?>"> 662 </div> 663 664 <div class="clear"></div> 665 </div> 666 667 <div class="bp-feature"> 668 <span class="dashicons dashicons-testimonial" aria-hidden="true"></span> 669 <h4 class="feature-title"><?php esc_html_e( 'More hooks for Messages', 'buddypress' ); ?></h4> 670 <p><?php esc_html_e( 'We\'ve added new filters and actions for different methods throughout the Messages component.', 'buddypress' ); ?></p> 671 </div> 672 673 <div class="bp-feature opposite"> 674 <span class="dashicons dashicons-search" aria-hidden="true"></span> 675 <h4 class="feature-title"><?php esc_html_e( 'A more flexible Group search', 'buddypress' ); ?></h4> 676 <p><?php 677 /* translators: 1: search_column, 2: BP_Groups_Group::get() */ 678 printf( __( 'The new %1$s parameter allows developers to specify which columns should be matched, as well as where wildcard characters should be placed, when searching via %2$s.', 'buddypress' ), 679 '<code>search_column</code>', 680 '<code>BP_Groups_Group::get()</code>' ); 681 ?></p> 682 </div> 683 684 <div class="bp-feature"> 685 <span class="dashicons dashicons-groups" aria-hidden="true"></span> 686 <h4 class="feature-title"><?php esc_html_e( 'Alphabetical sorting for Groups widget', 'buddypress' ); ?></h4> 687 <p><?php esc_html_e( 'The groups widget can now be sorted alphabetically, in addition to sorting the results by recently active, popular, and newest groups.', 'buddypress' ); ?></p> 688 </div> 689 690 <div class="bp-feature opposite"> 691 <span class="dashicons dashicons-email" aria-hidden="true"></span> 692 <h4 class="feature-title"><?php 693 /* translators: %s: PHPMailer */ 694 printf( __( 'Enable choice of %s', 'buddypress' ), '<code>PHPMailer</code>' ); 695 ?></h4> 696 <p><?php 697 /* translators: %s: PHPMailer */ 698 printf( __( 'Developers can specify which %s should be used when sending BuddyPress with a new filter.', 'buddypress' ), '<code>PHPMailer</code>' ); 699 ?></p> 700 </div> 701 702 <div class="clear"></div> 703 </div> 704 705 <div class="bp-changelog-section"> 706 <h3 class="changelog-title"><?php esc_html_e( 'More under the hood …', 'buddypress' ); ?></h3> 707 <div class="bp-changelog three-col"> 708 <div class="col"> 709 <h4 class="title"><?php esc_html_e( 'Localization Improvements', 'buddypress' ); ?></h4> 710 <p><?php esc_html_e( 'We continue to improve our localization internals, making it easier for translation editors to ensure that BuddyPress will be available for everyone in their own language.', 'buddypress' ); ?></p> 711 </div> 712 <div class="col"> 713 <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4> 714 <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p> 715 </div> 716 717 <div class="col"> 718 <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4> 719 <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p> 669 <div class="bp-column"> 670 <h4 class="title"><?php esc_html_e( 'Improve profile image uploads', 'buddypress' ); ?></h4> 671 <p><?php esc_html_e( 'Fixed issues with uploading in iOS Safari and uploading files with non-ASCII filenames.', 'buddypress' ); ?></p> 720 672 </div> 721 673 </div> 722 <div class="clear"></div> 674 675 <div class="bp-changelog bp-three-column"> 676 <div class="bp-column"> 677 <h4 class="title"><?php esc_html_e( 'URL compatibility for LightSpeed Servers', 'buddypress' ); ?></h4> 678 <p><?php 679 /* translators: %s: trailingslashit() */ 680 printf( __( 'Audited and changed template link functions to use %s where necessary.', 'buddypress' ), 681 '<code>trailingslashit()</code>' ); 682 ?></p> 683 </div> 684 <div class="bp-column"> 685 <h4 class="title"><?php esc_html_e( 'Template Packs UI in BuddyPress > Settings.', 'buddypress' ); ?></h4> 686 <p><?php esc_html_e( 'Register your new BuddyPress theme package and allow the user to select which template pack to use.', 'buddypress' ); ?></p> 687 </div> 688 689 <div class="bp-column"> 690 <h4 class="title"><?php 691 /* translators: %s: bp_group_link() */ 692 printf( __( 'New template function %s', 'buddypress' ), 693 '<code>bp_group_link()</code>' ); 694 ?></h4> 695 <p><?php esc_html_e( 'Output a group name as a text hyperlink where appropriate.', 'buddypress' ); ?></p> 696 </div> 697 </div> 698 723 699 </div> 724 700
Note: See TracChangeset
for help on using the changeset viewer.