Make WordPress Core

Changeset 20977


Ignore:
Timestamp:
06/02/2012 01:16:35 AM (13 years ago)
Author:
nacin
Message:

New section on Twitter Embeds on the about page. props georgestephanis, chexee, azaozz, SergeyBiryukov, jane. fixes #20796.

Location:
trunk/wp-admin
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/about.php

    r20971 r20977  
    5353        <h4><?php _e( 'Flexible Sizes' ); ?></h4>
    5454        <p><?php _e( 'You can decide for yourself how tall or wide your custom header image should be. From now on, themes will provide a recommended image size for custom headers rather than a fixed requirement. Note: this feature requires <a href="http://codex.wordpress.org/Custom_Headers">theme support</a>.' ); ?></p>
    55         <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30" />
    56         <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" />
    57         <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30" />
     55        <div class="three-col-images">
     56            <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30 first-feature" />
     57            <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" />
     58            <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30 last-feature" />
     59        </div>
    5860    </div>
    5961
     
    6466    </div>
    6567</div>
     68
     69<div class="changelog">
     70    <h3><?php _e( 'Twitter Embeds' ); ?></h3>
     71
     72    <div class="feature-section images-stagger-right">
     73        <img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-1.png' ) ); ?>" class="image-30" />
     74        <img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-2.png' ) ); ?>" class="image-30" />
     75        <h4><?php _e( 'Share Tweets with Style' ); ?></h4>
     76        <p><?php _e( 'You can now embed individual tweets in posts. It includes action links that allow readers to reply to, retweet, and favorite the tweet without leaving your site. Just paste a tweet URL on its own line.' ); ?></p>
     77        <p><?php printf( __( 'This works with URLs from some other sites, too. For more, see the Codex article on <a href="%s">Embeds</a>.' ), __( 'http://codex.wordpress.org/Embeds' ) ); ?></p>
     78    </div>
     79
     80</div>
     81
    6682
    6783<div class="changelog">
  • trunk/wp-admin/css/colors-classic.dev.css

    r20754 r20977  
    23612361.about-wrap .feature-section img {
    23622362    background: #fff;
    2363     border-color: #dfdfdf;
    2364 
    2365     -moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
    2366     -webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
    2367     box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
     2363    border: 1px #ccc solid;
     2364
     2365    -moz-box-shadow:    0 1px 3px rgba( 0, 0, 0, 0.3 );
     2366    -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
     2367    box-shadow:         0 1px 3px rgba( 0, 0, 0, 0.3 );
    23682368}
    23692369
  • trunk/wp-admin/css/colors-fresh.dev.css

    r20754 r20977  
    19481948.about-wrap .feature-section img {
    19491949    background: #fff;
    1950     border-color: #dfdfdf;
    1951 
    1952     -moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
    1953     -webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
    1954     box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
     1950    border: 1px #ccc solid;
     1951
     1952    -moz-box-shadow:    0 1px 3px rgba( 0, 0, 0, 0.3 );
     1953    -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
     1954    box-shadow:         0 1px 3px rgba( 0, 0, 0, 0.3 );
    19551955}
    19561956
  • trunk/wp-admin/css/ie.dev.css

    r20708 r20977  
    440440}
    441441
     442.about-wrap .three-col-images img {
     443    margin: 0 0.6% 10px;
     444}
     445
     446.about-wrap .three-col-images .last-feature,
     447.about-wrap .three-col-images .first-feature {
     448    float: none;
     449}
     450
    442451/* IE6 leftovers */
    443452* html .row-actions {
  • trunk/wp-admin/css/wp-admin-rtl.dev.css

    r20969 r20977  
    14021402    margin-left: 0;
    14031403    margin-right: 3em;
     1404}
     1405
     1406.about-wrap .three-col-images .last-feature {
     1407    float: left;
     1408}
     1409
     1410.about-wrap .three-col-images .first-feature {
     1411    float: right;
    14041412}
    14051413
  • trunk/wp-admin/css/wp-admin.dev.css

    r20969 r20977  
    50775077.about-wrap .feature-section img {
    50785078    border: none;
    5079     margin: 0 0.7% 10px 0;
     5079    margin: 0 1.94% 10px 0;
    50805080    -webkit-border-radius: 3px;
    50815081    border-radius: 3px;
     
    50875087
    50885088.about-wrap .feature-section img.image-30 {
    5089     max-width: 32%;
     5089    max-width: 31.2381%;
    50905090}
    50915091
     
    51225122.about-wrap .feature-section.three-col .last-feature {
    51235123    margin-right: 0;
     5124}
     5125
     5126.about-wrap .three-col-images {
     5127    text-align: center;
     5128}
     5129
     5130.about-wrap .three-col-images img {
     5131    margin: 0 0 10px;
     5132}
     5133
     5134.about-wrap .three-col-images .last-feature {
     5135    float: right;
     5136}
     5137
     5138.about-wrap .three-col-images .first-feature {
     5139    float: left;
    51245140}
    51255141
Note: See TracChangeset for help on using the changeset viewer.