Make WordPress Core

Changeset 32921


Ignore:
Timestamp:
06/24/2015 03:22:57 AM (9 years ago)
Author:
azaozz
Message:

Press This: ensure proper tab order in the split button. Tweak padding and border color a bit.
See #32757.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r32920 r32921  
    399399    display: none;
    400400    position: absolute;
    401     bottom: 37px;
     401    bottom: 39px;
    402402    right: 0;
    403     border: 1px solid #ccc;
     403    border: 1px solid #ddd;
    404404    background-color: #fff;
    405     min-width: 160px;
     405    min-width: 180px;
    406406    max-width: 100%;
    407     padding: 5px;
    408     -webkit-border-radius: 3px;
    409     border-radius: 3px;
     407    padding: 8px;
    410408    -webkit-box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
    411409    box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
     
    426424.split-button-body:before {
    427425    bottom: -18px;
    428     border-top-color: #a0a5aa;
     426    border-top-color: #ccc;
    429427    border-width: 9px;
    430428    right: 11px;
     
    439437.split-button-body .split-button-option {
    440438    display: block;
    441     padding: 4px 10px;
     439    padding: 5px 15px;
    442440    margin: 0;
    443441    width: 100%;
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r32920 r32921  
    14511451            <span class="spinner">&nbsp;</span>
    14521452            <div class="split-button">
    1453                 <div class="split-button-body">
    1454                     <button type="button" class="button-subtle draft-button split-button-option" aria-live="polite"><?php _e( 'Save Draft' ); ?></button>
    1455                     <a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link split-button-option" target="_blank"><?php _e( 'Standard Editor' ); ?></a>
    1456                     <button type="button" class="button-subtle preview-button split-button-option"><?php _e( 'Preview' ); ?></button>
    1457                 </div>
    14581453                <div class="split-button-head">
    14591454                    <button type="button" class="publish-button split-button-primary"><?php
     
    14641459                    </button>
    14651460                </div>
     1461                <div class="split-button-body">
     1462                    <button type="button" class="button-subtle draft-button split-button-option" aria-live="polite"><?php _e( 'Save Draft' ); ?></button>
     1463                    <a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link split-button-option" target="_blank"><?php _e( 'Standard Editor' ); ?></a>
     1464                    <button type="button" class="button-subtle preview-button split-button-option"><?php _e( 'Preview' ); ?></button>
     1465                </div>
    14661466            </div>
    14671467        </div>
Note: See TracChangeset for help on using the changeset viewer.