Ticket #40721: 40721.6.diff
File 40721.6.diff, 8.2 KB (added by , 8 years ago) |
---|
-
src/wp-admin/about.php
44 44 </h2> 45 45 46 46 <div class="feature-section one-col"> 47 <h2><?php _e( 'An Update with You in Mind' ); ?></h2> 48 <p class="lead-description"><?php _e( 'WordPress 4.8 adds some great new features — gear up for a more intuitive WordPress!' ); ?></p> 49 <p><?php _e( 'Though some updates are tiny (TinyMCE, that is — see what we did there?) they’ve been developed by hundreds of Core Contributors and Committers with <em>you</em> in mind.' ); ?></p> 50 <p><?php _e( 'Get ready for new features you’ll welcome like an old friend: link improvements, <em>three</em> new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?></p> 47 <div class="col"> 48 <h2><?php _e( 'An Update with You in Mind' ); ?></h2> 49 <p class="lead-description"><?php _e( 'WordPress 4.8 adds some great new features — gear up for a more intuitive WordPress!' ); ?></p> 50 <p><?php _e( 'Though some updates are tiny (TinyMCE, that is — see what we did there?) they’ve been developed by hundreds of Core Contributors and Committers with <em>you</em> in mind.' ); ?></p> 51 <p><?php _e( 'Get ready for new features you’ll welcome like an old friend: link improvements, <em>three</em> new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?></p> 52 </div> 51 53 </div> 52 54 53 55 <hr /> 54 56 55 57 <h2><?php _e( 'Exciting Widget Updates' ); ?></h2> 58 59 <div class="headline-feature one-col"> 60 <div class="col"> 61 <picture> 62 <!-- Large image --> 63 <source media="(min-width: 1050px)" srcset="https://cldup.com/-951havc3C.png" /> 64 <!-- Medium image --> 65 <source media="(min-width: 601px)" srcset="https://cldup.com/60ktdYzv0l.png" /> 66 <!-- Small image --> 67 <img src="https://cldup.com/mwvU0Zi5wW.png" alt="" /> 68 </picture> 69 </div> 70 </div> 71 56 72 <div class="feature-section two-col"> 57 73 <div class="col"> 58 <div style="height:254px;width:480px;background:black;"></div>59 74 <h3><?php _e( 'Image Widget' ); ?></h3> 60 75 <p><?php _e( 'Adding an image to a widget is now a simple task that is achievable for any WordPress user without hiring a developer. (Don’t tell them we told you that.) Simply insert your image right within the widget settings — try adding a headshot and brief bio — and see it appear, automatically.' );?></p> 61 76 </div> 62 77 <div class="col"> 63 <div style="height:254px;width:480px;background:black;"></div>64 78 <h3><?php _e( 'Video Widget' ); ?></h3> 65 79 <p><?php _e( 'A welcome video is a great way to humanize the branding of your website. It creates trust and empathy in your visitors. You can now add any video from your Media Library to a sidebar on your site with the new Video Widget. So, you, too, can be liked and trusted instantly.' ); ?></p> 66 80 </div> 67 </div>68 69 <div class="feature-section two-col">70 81 <div class="col"> 71 <div style="height:254px;width:480px;background:black;"></div>72 82 <h3><?php _e( 'Audio Widget' ); ?></h3> 73 83 <p><?php _e( 'Are you a podcaster or musician? Adding a widget with your audio file has never been easier. Upload your audio file to the media library, go to the widget settings, select your file, and you’re done. This would be a great way to add a more intimate welcome message, too!' );?></p> 74 84 </div> 75 85 <div class="col"> 76 <div style="height:254px;width:480px;background:black;"></div>77 86 <h3><?php _e( 'Rich Text Widget' ); ?></h3> 78 87 <p><?php _e( 'This feature deserves a ticker-tape parade down Main Street. Rich-text editing capabilities are now native for text widgets. Simply, add a widget anywhere and format away. Create lists, add emphasis with bold or italics, and easily insert links. Have fun with your new-found formatting powers, but try to use them for good!' ); ?></p> 79 88 </div> … … 90 99 <?php 91 100 echo wp_video_shortcode( array( 92 101 'mp4' => 'https://s.w.org/images/core/4.7/starter-content-v1.mp4', 93 'poster' => 'https:// s.w.org/images/core/4.7/starter-content.jpg?v2',102 'poster' => 'https://cldup.com/ZS8FEi0AE9.png', 94 103 'width' => 1140, 95 104 'height' => 624, 96 105 // 'class' => 'wp-video-shortcode feature-video', … … 102 111 <hr /> 103 112 104 113 <div class="feature-section two-col"> 105 <div class="col" style="height:254px;width:480px;background:black;"></div>106 114 <div class="col"> 107 115 <h3><?php _e( 'Nearby WordPress Events' ); ?></h3> 108 116 … … 110 118 111 119 <p><?php _e( 'Being part of the community can help you improve your WordPress skills and network with people you wouldn’t otherwise meet. Now you can easily find your local events just by logging in to your dashboard.' ); ?> 112 120 </div> 121 <div class="col"> 122 <img src="https://cldup.com/GuISab3_X1.png" alt="" /> 123 </div> 113 124 </div> 114 125 115 126 <hr /> … … 136 147 <h3><a href="https://make.wordpress.org/core/2017/05/22/multisite-focused-changes-in-4-8/"><?php _e( 'Multisite Updates' ); ?></a></h3> 137 148 <p><?php _e( 'New capabilities checks have been added to 4.8 with an eye towards removing calls to <code>is_super_admin()</code>. Additionally, new hooks, network-specific site functions, and user count controls have been added.' ); ?></p> 138 149 </div> 139 </div>140 141 <div class="under-the-hood three-col">142 150 <div class="col"> 143 151 <h3><a href="https://make.wordpress.org/core/2017/05/23/addition-of-tinymce-to-the-text-widget/"><?php _e( 'Text-Editor JavaScript API' ); ?></a></h3> 144 152 <p><?php _e( 'With the addition of TinyMCE to the text widget in 4.8 comes a new JavaScript API for instantiating the editor after page load. This can be used to add an editor instance to any textarea and customize it with buttons and functions.' ); ?></p> -
src/wp-admin/css/about.css
161 161 162 162 /* 1.2 - Structure */ 163 163 164 .about-wrap [class$=col] .col { 165 float: left; 166 position: relative; 164 .about-wrap [class$="-col"] { 165 display: -ms-flexbox; 166 display: -webkit-flex; 167 display: flex; 168 justify-content: space-between; 169 align-items: center; 170 flex-wrap: wrap; 167 171 } 168 172 169 .about-wrap .two-col .col { 170 margin-right: 4.799999999%; 171 width: 47.6%; 173 .about-wrap [class$="-col"] .col { 174 -webkit-flex: 1; 175 -ms-flex: 1; 176 flex: 1; 172 177 } 173 178 174 .about-wrap .two-col img { 175 margin-bottom: 1.5em; 179 .about-wrap .one-col:not(.headline-feature) .col { 180 margin: 0 auto; 181 max-width: 700px; 176 182 } 177 183 178 .about-wrap .feature-section.two-col .col { 179 display: inline-block; 180 float: none; 181 margin-top: 1em; 182 margin-right: 4.799999999%; 183 width: -webkit-calc( 47.6% - 4px ); 184 width: calc( 47.6% - 4px ); 185 vertical-align: top; 184 .about-wrap .two-col .col { 185 min-width: 47%; 186 max-width: 47%; 186 187 } 187 188 188 189 .about-wrap .three-col .col { 189 margin-right: 4.999999999%; 190 width: 29.95%; 190 align-self: flex-start; 191 min-width: 31%; 192 max-width: 31%; 191 193 } 192 194 193 .about-wrap .two-col .col:nth-of-type(2n), 194 .about-wrap .three-col .col:nth-of-type(3n) { 195 margin-right: 0; 195 .about-wrap .two-col img { 196 margin-bottom: 1.5em; 196 197 } 197 198 198 .about-wrap .under-the-hood {199 clear: both;200 overflow: hidden;201 }202 203 199 .about-wrap .feature-video .mejs-controls { 204 200 display: none !important; 205 201 } … … 298 294 padding-top: 35px; 299 295 } 300 296 301 .about-wrap .headline-feature { 302 margin: 0 auto; 303 max-width: 80%; 297 .about-wrap .headline-feature img { 298 border: none; 304 299 } 305 300 306 301 .about-wrap .feature-section .media-container { … … 446 441 column-count: 1; 447 442 } 448 443 444 .about-wrap .two-col .col, 445 .about-wrap .three-col .col { 446 min-width: 48% !important; 447 } 448 449 449 .about-wrap .three-col img { 450 450 display: block; 451 451 margin: 0 auto; … … 475 475 476 476 .about-wrap .two-col .col, 477 477 .about-wrap .three-col .col { 478 width: 100% !important; 479 float: none !important; 478 min-width: 100% !important; 480 479 } 481 480 482 481 .about-wrap .under-the-hood.three-col .col,