Ticket #43614: 43614.3.diff
| File 43614.3.diff, 3.6 KB (added by , 8 years ago) |
|---|
-
src/wp-admin/css/dashboard.css
148 148 149 149 .try-gutenberg-panel .about-description { 150 150 font-size: 16px; 151 margin-top: 1.33em;152 151 } 153 152 154 153 .welcome-panel .welcome-panel-close, … … 186 185 } 187 186 188 187 .try-gutenberg-panel img { 189 max-width: 360px;190 188 width: 100%; 191 189 border: 1px solid #f3f4f5; 192 190 } … … 210 208 } 211 209 212 210 .try-gutenberg-panel .try-gutenberg-panel-column { 213 width: calc( 32% - 20px );211 width: calc( 64% - 40px ); 214 212 padding: 0 20px 20px 0; 215 213 } 216 214 215 .try-gutenberg-panel .try-gutenberg-panel-image-column { 216 width: calc( 32% - 20px ); 217 } 218 217 219 .ie8 .welcome-panel .welcome-panel-column, 218 220 .ie8 .try-gutenberg-panel .try-gutenberg-panel-column { 219 221 min-width: 230px; … … 234 236 color: #444; 235 237 } 236 238 239 .try-gutenberg-panel-column p:last-of-type { 240 margin-top: 1.33em; 241 } 242 237 243 .welcome-panel .welcome-widgets-menus { 238 244 line-height: 16px; 239 245 } … … 1256 1262 } 1257 1263 1258 1264 .try-gutenberg-panel .try-gutenberg-panel-column { 1259 width: calc( 49% - 20px );1265 width: calc( 98% - 20px ); 1260 1266 } 1261 1267 } 1262 1268 -
src/wp-admin/includes/dashboard.php
1646 1646 <div class="try-gutenberg-panel-content plugin-card-gutenberg"> 1647 1647 <div class="try-gutenberg-panel-column-container"> 1648 1648 <div class="try-gutenberg-panel-column try-gutenberg-panel-image-column"> 1649 <img src="https://s.w.org/images/core/gutenberg-screenshot.gif?<?php echo date( 'Ymd' ); ?>" alt="<?php esc_attr_e( 'Gutenberg animated preview' ); ?>" /> 1649 <picture> 1650 <source srcset="about:blank" media="(max-width: 1024px)"> 1651 <img src="https://s.w.org/images/core/gutenberg-screenshot.gif?<?php echo date( 'Ymd' ); ?>" alt="<?php esc_attr_e( 'Gutenberg animated preview' ); ?>" /> 1652 </picture> 1650 1653 </div> 1651 <h2><?php _e( 'Try the new editing experience' ); ?></h2>1652 1654 <div class="try-gutenberg-panel-column"> 1653 <p class="about-description"><?php _e( 'WordPress is working on a better way to control your content. How about giving it a try early?' ); ?></p> 1655 <h2><?php _e( 'Try the new editing experience' ); ?></h2> 1656 1657 <p class="about-description"><?php _e( 'WordPress is working on a better way for you to control your content. Want to be one of the first to try the new editor?' ); ?></p> 1658 1654 1659 <?php if ( $action ) { ?> 1655 1660 <p><a class="button button-primary button-hero<?php echo $classes; ?>" href="<?php echo esc_url( $url ); ?>"><?php echo $action; ?></a></p> 1656 1661 <?php } ?> 1657 </div> 1658 <div class="try-gutenberg-panel-column try-gutenberg-panel-last"> 1659 <h3><?php _e( 'Want to get involved?' ); ?></h3> 1660 <ul> 1661 <li><?php 1662 printf( __( 'Learn more about the project <a href="%s">codenamed Gutenberg</a>.' ), 1662 1663 <p> 1664 <?php 1665 printf( __( '<a href="%s">Learn More</a>' ), 1663 1666 'https://wordpress.org/gutenberg/' 1664 1667 ); 1665 ?></li> 1666 <li><?php 1667 printf( __( 'Help <a href="%1$s">with testing</a>, or contribute on the <a href="%2$s">GitHub repository</a>.' ), 1668 __( 'https://make.wordpress.org/test/handbook/call-for-testing/gutenberg-testing/' ), 1668 ?> | 1669 <?php 1670 printf( __( '<a href="%s">Get Support</a>' ), 1671 'https://wordpress.org/support/plugin/gutenberg/' 1672 ); 1673 ?> | 1674 <?php 1675 printf( __( '<a href="%s">Report Issues</a>' ), 1669 1676 'https://github.com/WordPress/gutenberg/' 1670 1677 ); 1671 ?> </li>1672 </ ul>1678 ?> 1679 </p> 1673 1680 </div> 1674 1681 </div> 1675 1682 </div>