Make WordPress Core

Changeset 37001


Ignore:
Timestamp:
03/16/2016 02:03:21 AM (8 years ago)
Author:
azaozz
Message:

TinyMCE, inline link:

  • Remove bottom box-shadow from the Apply button so it matches the rest.
  • Change the tooltip for the cogwheel button to Link options.

See #33301.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r36991 r37001  
    10451045            'Edit ' => __( 'Edit' ), // Tooltip for the 'edit' button in the image toolbar
    10461046            'Paste URL or type to search' => __( 'Paste URL or type to search' ), // Placeholder for the inline link dialog
     1047            'Link options'  => __( 'Link options' ),
    10471048
    10481049            // Shortcuts help modal
  • trunk/src/wp-includes/css/editor.css

    r36991 r37001  
    485485    background: #0085ba;
    486486    border-color: #0073aa #006799 #006799;
    487     -webkit-box-shadow: 0 1px 0 #006799;
    488     box-shadow: 0 1px 0 #006799;
    489     color: #fff;
     487    -webkit-box-shadow: none;
     488    box-shadow: none;
     489    color: #fff;
    490490    text-decoration: none;
    491     text-shadow: 0 -1px 1px #006799,
    492         1px 0 1px #006799,
    493         0 1px 1px #006799,
    494         -1px 0 1px #006799;
     491    text-shadow: none;
    495492}
    496493
     
    504501    border-color: #006799;
    505502    color: #fff;
     503    -webkit-box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
     504    box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
    506505}
    507506
    508507.mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus {
    509     -webkit-box-shadow: 0 1px 0 #0073aa,
    510         0 0 2px 1px #33b3db;
    511     box-shadow: 0 1px 0 #0073aa,
    512         0 0 2px 1px #33b3db;
     508    -webkit-box-shadow: 0 0 1px 1px #33b3db;
     509    box-shadow: 0 0 1px 1px #33b3db;
    513510}
    514511
     
    518515    -webkit-box-shadow: inset 0 2px 0 #006799;
    519516    box-shadow: inset 0 2px 0 #006799;
    520     vertical-align: top;
    521517}
    522518
  • trunk/src/wp-includes/js/tinymce/plugins/wplink/plugin.js

    r36984 r37001  
    499499        } );
    500500
    501         // Advanced, more, options?
    502501        editor.addButton( 'wp_link_advanced', {
    503             tooltip: 'Advanced',
     502            tooltip: 'Link options',
    504503            icon: 'dashicon dashicons-admin-generic',
    505504            onclick: function() {
Note: See TracChangeset for help on using the changeset viewer.