Make WordPress Core

Changeset 26433


Ignore:
Timestamp:
11/27/2013 07:15:29 PM (11 years ago)
Author:
iammattthomas
Message:

Press This fixes:

  • Override responsive styles for the Press This window
  • Remove the old header logo in Press This
  • Add the new Dashicon WP logo

See #25858.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/wp-admin.css

    r26432 r26433  
    69056905}
    69066906
     6907.press-this #titlediv #title {
     6908    font-size: 1.4em;
     6909}
     6910
     6911.press-this #site-heading:before {
     6912    top: 3px;
     6913    position: relative;
     6914    display: inline-block;
     6915    font: normal 18px/1 'dashicons';
     6916    speak: none;
     6917    color: #727272;
     6918    content: '\f120';
     6919    -webkit-font-smoothing: antialiased;
     6920    -moz-osx-font-smoothing: grayscale;
     6921}
     6922
    69076923.pressthis {
    69086924    margin: 20px 0;
     
    98269842    border-color: #000;
    98279843    z-index: 1000;
    9828     border-width: 2px;
    9829     margin: -1px;
     9844    border-width: 1px;
    98309845}
    98319846
     
    1099011005        line-height: 16px;
    1099111006    }
    10992 
     11007   
    1099311008    .wp-upload-form input[type=submit] {
    1099411009        margin-top: 10px;
     
    1123811253        padding: 15px;
    1123911254    }
     11255   
     11256    .press-this ul.category-tabs li.tabs {
     11257        padding: 3px 5px 5px; /* Reset tabs in Press This to standard size */
     11258    }
    1124011259
    1124111260    ul#categorychecklist li {
     
    1133311352    }
    1133411353
    11335     .press-this #wp-content-editor-tools {
    11336         top: 4px;
    11337     }
    11338 
    1133911354    a.wp-switch-editor {
    1134011355        font-size: 16px;
    1134111356        line-height: 1em;
    1134211357        margin: 3px 0 0 7px;
    11343         padding: 12px 15px !important;
     11358        padding: 12px 15px;
    1134411359    }
    1134511360
     
    1213612151    #comments-form .checkforspam {
    1213712152        display: none;
     12153    }
     12154   
     12155    /* Reset responsive styles in Press This */
     12156   
     12157    .press-this a.wp-switch-editor {
     12158        font: 13px/19px "Open Sans", sans-serif;
     12159        margin: 5px 0 0 5px;
     12160        padding: 3px 8px 4px;
     12161    }
     12162   
     12163    .press-this #wp-content-media-buttons a {
     12164        padding: 0;
     12165        line-height: normal;
     12166        height: auto;
     12167    }
     12168   
     12169    .press-this #wp-content-editor-tools {
     12170        padding: 0;
     12171        top: 3px;
     12172    }
     12173   
     12174    .press-this .category-tabs {
     12175        margin-top: 0;
     12176    }
     12177   
     12178    .press-this .tagsdiv .newtag {
     12179        width: 120px;
     12180        padding: 3px 5px;
     12181        margin-bottom: 0;
     12182    }
     12183   
     12184    .press-this .tagchecklist {
     12185        padding: 0;
     12186        margin-bottom: 0;
     12187    }
     12188   
     12189    .press-this .wp_themeSkin a.mceButton {
     12190        width: 20px;
     12191        height: 20px;
     12192    }
     12193   
     12194    .press-this .wp_themeSkin .mceButton .mceIcon {
     12195        margin: 0;
     12196    }
     12197   
     12198    .press-this #poststuff h3,
     12199    .press-this .metabox-holder h3 {
     12200        padding: 7px 12px;
     12201    }
     12202   
     12203    .press-this input[type=checkbox],
     12204    .press-this input[type=radio] {
     12205        height: 16px;
     12206        width: 16px;
     12207    }
     12208   
     12209    .press-this input[type=checkbox]:checked:before {
     12210        width: 16px;
     12211        font: normal 21px/1 'dashicons';
     12212        margin: -3px 0 0 -4px;
     12213    }
     12214   
     12215    .press-this input[type=radio]:checked:before {
     12216        font: normal 21px/1 'dashicons';
     12217        width: 6px;
     12218        height: 6px;
     12219        margin: 4px;
     12220    }
     12221   
     12222    .press-this ul#categorychecklist ul,
     12223    .press-this ul#categorychecklist li {
     12224        margin-top: 0;
     12225        margin-bottom: 0;
     12226    }
     12227   
     12228    .press-this div.quicktags-toolbar input {
     12229        padding: 2px 4px;
     12230    }
     12231   
     12232    .press-this textarea,
     12233    .press-this input {
     12234        font-size: 14px;
     12235    }
     12236   
     12237    .press-this .tagchecklist span {
     12238        font-size: 13px;
     12239        line-height: 1.8em;
    1213812240    }
    1213912241}
  • trunk/src/wp-admin/press-this.php

    r26237 r26433  
    584584
    585585        <div id="wphead">
    586             <img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="16" height="16" />
    587586            <h1 id="site-heading">
    588587                <a href="<?php echo get_option('home'); ?>/" target="_blank">
  • trunk/src/wp-includes/css/buttons.css

    r26420 r26433  
    305305    }
    306306   
    307 
    308 }
     307    /* Reset responsive styles in Press This */
     308
     309    .press-this.wp-core-ui .button,
     310    .press-this input#publish,
     311    .press-this input#save-post,
     312    .press-this a.preview {
     313        padding: 0 10px 1px;
     314        font-size: 13px;
     315        line-height: 26px;
     316        height: 28px;
     317        margin: 0;
     318    }
     319}
Note: See TracChangeset for help on using the changeset viewer.