Changeset 39512
- Timestamp:
- 12/06/2016 04:00:32 AM (8 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/wp-admin/about.php ¶
r39443 r39512 19 19 } 20 20 21 /** 22 * Replaces the height and width attributes with values for full size. 23 * 24 * wp_video_shortcode() limits the width to 640px. 25 * 26 * @since 4.6.0 27 * @ignore 28 * 29 * @param $output Video shortcode HTML output. 30 * @return string Filtered HTML content to display video. 31 */ 32 function _wp_override_admin_video_width_limit( $output ) { 33 return str_replace( array( '640', '384' ), array( '1050', '630' ), $output ); 34 } 35 36 $video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true'; 21 $video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true'; 37 22 $lang_code = str_replace( '_', '-', get_user_locale() ); 38 23 list( $lang_code ) = explode( '-', $lang_code ); … … 66 51 <hr /> 67 52 68 <div class=" twenty-seventeenfeature-section one-col">53 <div class="feature-section one-col"> 69 54 <h2><?php _e( 'Presenting Twenty Seventeen' ); ?></h2> 70 <p><?php _e( 'A brand new default theme brings your site to life with immersive featured images and video headers.' ); ?></p> 55 <p class="lead-description"><?php _e( 'A brand new default theme brings your site to life with immersive featured images and video headers.' ); ?></p> 56 <img src="https://cldup.com/vOUPhX0Y1J.jpg" alt="" /> 71 57 <p><?php _e( 'Twenty Seventeen focuses on business sites and features a customizable front page with multiple sections. Personalize it with widgets, navigation, social menus, a logo, custom colors, and more. Our default theme for 2017 works great in many languages, on any device, and for a wide range of users.' ); ?></p> 72 58 </div> … … 74 60 <hr /> 75 61 76 <div class=" site-customizationfeature-section one-col">62 <div class="feature-section one-col"> 77 63 <h2><?php _e( 'Your Site, Your Way' ); ?></h2> 78 <p><?php _e( 'WordPress 4.7 adds new features to the customizer to help take you through the initial setup of a theme, with non-destructive live previews of all your changes in one uninterrupted workflow.' ); ?></p> 79 80 <h3><?php _e( 'Theme Starter Content' ); ?></h2> 81 <p><?php _e( 'To help give you a solid base to build from, individual themes can provide starter content that appears when you go to customize your brand new site. This can range from placing a business information widget in the best location to providing a sample menu with social icon links to a static front page complete with beautiful images. Don’t worry - nothing new will appear on the live site until you’re ready to save and publish your initial theme setup.' ); ?></p> 64 <p class="lead-description"><?php _e( 'WordPress 4.7 adds new features to the customizer to help take you through the initial setup of a theme, with non-destructive live previews of all your changes in one uninterrupted workflow.' ); ?></p> 82 65 </div> 83 66 84 67 <div class="feature-section two-col"> 85 68 <div class="col"> 69 <h3><?php _e( 'Theme Starter Content' ); ?></h3> 70 <p><?php _e( 'To help give you a solid base to build from, individual themes can provide starter content that appears when you go to customize your brand new site. This can range from placing a business information widget in the best location to providing a sample menu with social icon links to a static front page complete with beautiful images. Don’t worry - nothing new will appear on the live site until you’re ready to save and publish your initial theme setup.' ); ?></p> 71 </div> 72 <div class="col"> 73 <?php 74 echo wp_video_shortcode( array( 75 'mp4' => 'https://cldup.com/drMtx9mh_D.mp4', 76 // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', 77 // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', 78 'loop' => true, 79 'autoplay' => true, 80 'width' => 1140, 81 'height' => 624, 82 // 'class' => 'wp-video-shortcode feature-video', 83 ) ); 84 ?> 85 </div> 86 </div> 87 88 <div class="feature-section two-col"> 89 <div class="col"> 86 90 <h3><?php _e( 'Edit Shortcuts' ); ?></h3> 91 <?php 92 echo wp_video_shortcode( array( 93 'mp4' => 'https://cldup.com/PaNFgzdnna.mp4', 94 // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', 95 // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', 96 'loop' => true, 97 'autoplay' => true, 98 'width' => 2520, 99 'height' => 1454, 100 // 'class' => 'wp-video-shortcode feature-video', 101 ) ); 102 ?> 87 103 <p><?php _e( 'Visible icons appear to show you which parts of your site can be customized while live previewing. Click on a shortcut and get straight to editing. Paired with starter content, getting started with customizing your site is faster than ever.' );?></p> 88 104 </div> 89 105 <div class="col"> 90 106 <h3><?php _e( 'Video Headers' ); ?></h3> 107 <?php 108 echo wp_video_shortcode( array( 109 'mp4' => 'https://cldup.com/qPvXxrut7L.mp4', 110 // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', 111 // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', 112 'loop' => true, 113 'autoplay' => true, 114 'width' => 2520, 115 'height' => 1454, 116 // 'class' => 'wp-video-shortcode feature-video', 117 ) ); 118 ?> 91 119 <p><?php _e( 'Sometimes a big atmospheric video as a moving header image is just what you need to showcase your wares; go ahead and try it out with Twenty Seventeen. Need some video inspiration? Try searching for sites with video headers available for download and use.' ); ?></p> 92 120 </div> … … 96 124 <div class="col"> 97 125 <h3><?php _e( 'Smoother Menu Building' ); ?></h3> 126 <img src="https://cldup.com/qhkOJVA69G.jpg" alt="" /> 98 127 <p><?php _e( 'Many menus for sites contain links to the pages of your site, but what happens when you don’t have any pages yet? Now you can add new pages while building menus instead of leaving the customizer and abandoning your changes. Once you’ve published your customizations, you’ll have new pages ready for you to fill with content.' );?></p> 99 128 </div> 100 129 <div class="col"> 101 130 <h3><?php _e( 'Custom CSS' ); ?></h3> 131 <img src="https://cldup.com/uLLUgWamG1.jpg" alt="" /> 102 132 <p><?php _e( 'Sometimes you just need a few visual tweaks to make your site perfect. WordPress 4.7 allows you to add custom CSS and instantly see how your changes affect your site. The live preview allows you to work quickly without page refreshes slowing you down.' ); ?></p> 103 133 </div> … … 106 136 <hr /> 107 137 108 <div class="feature-section two-col">138 <div class="feature-section no-heading two-col"> 109 139 <div class="col"> 110 140 <h3><?php _e( 'PDF Thumbnail Previews' ); ?></h3> 141 <img src="https://cldup.com/tDz71MBtjn.jpg" alt="" /> 111 142 <p><?php _e( 'Managing your document collection is easier with WordPress 4.7. Uploading PDFs will generate thumbnail images so you can more easily distinguish between all your documents.' ); ?></p> 112 143 </div> 113 144 <div class="col"> 114 145 <h3><?php _e( 'Dashboard in your language' ); ?></h3> 146 <img src="https://cldup.com/PtlX3xeJpX.jpg" alt="" /> 115 147 <p><?php _e( 'Just because your site is in one language doesn’t mean that everybody helping manage it prefers that language for their admin. Add more languages to your site and a user language option will show up in your user’s profiles.' );?></p> 116 148 </div> … … 121 153 <div class="rest-api feature-section one-col"> 122 154 <h2><?php _e( 'Introducing REST API Content Endpoints' ); ?></h2> 123 <p><?php _e( 'WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings.' ); ?></p> 155 <p class="lead-description"><?php _e( 'WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings.' ); ?></p> 156 <img src="https://cldup.com/WkGAL4UJfI.jpg" alt="" /> 124 157 <p><?php 125 158 printf( -
TabularUnified trunk/src/wp-admin/css/about.css ¶
r38244 r39512 41 41 height: auto; 42 42 vertical-align: middle; 43 border: 1px solid rgba(0, 0, 0, 0.1); 43 44 } 44 45 … … 94 95 95 96 .about-wrap .feature-section p { 96 max-width: 38em;97 max-width: 55em; 97 98 margin-left: auto; 98 99 margin-right: auto; … … 109 110 110 111 .about-wrap h2 { 111 margin: 50px 0 1em;112 font-size: 1.8em;112 margin: 40px 0 .6em; 113 font-size: 2.7em; 113 114 line-height: 1.3; 114 115 font-weight: 300; … … 118 119 .about-wrap h3 { 119 120 margin: 1.25em 0 .6em; 120 font-size: 1. 25em;121 font-size: 1.4em; 121 122 line-height: 1.5; 122 123 } … … 124 125 .about-wrap h4 { 125 126 color: #23282d; 127 } 128 129 .about-wrap .changelog h2 { 130 font-size: 1.4em; 131 font-weight: 600; 132 text-align: left; 126 133 } 127 134 … … 194 201 } 195 202 196 .about-wrap .under-the-hood:nth-of-type(2n),197 .about-wrap .under-the-hood:nth-of-type(3n) {198 margin-top: 3em;199 }200 201 203 .about-wrap .feature-video .mejs-controls { 202 204 display: none !important; … … 228 230 /* 2.1 - Typography */ 229 231 230 .about-wrap .headline-feature h2 {231 margin: 30px 0 30px;232 font-size: 2.2em;233 font-weight: 300;234 line-height: 1.3;235 text-align: center;236 }237 238 .about-wrap .headline-feature h3 {239 margin-top: 0;240 text-align: left;241 }242 243 232 .about-wrap .feature-section.two-col h3 { 244 233 margin-top: 0; … … 252 241 .about-wrap .feature-section p { 253 242 margin-top: 0.6em; 243 } 244 245 .about-wrap .lead-description { 246 font-size: 1.5em; 247 text-align: center; 254 248 } 255 249 … … 301 295 } 302 296 297 .about-wrap .feature-section.no-heading { 298 padding-top: 35px; 299 } 300 303 301 .about-wrap .headline-feature { 304 302 margin: 0 auto; … … 308 306 .about-wrap .feature-section .media-container { 309 307 overflow: hidden; 308 } 309 310 .about-wrap .feature-section img { 311 margin-bottom: 1em; 310 312 } 311 313
Note: See TracChangeset
for help on using the changeset viewer.