WordPress.org

Make WordPress Core

Changeset 37751


Ignore:
Timestamp:
06/19/2016 01:00:30 PM (3 years ago)
Author:
azaozz
Message:

Editor, link checker:

  • Add white outline for contrast on darker backgrounds.
  • Change red colour in toolbar.

Props iseulde. Props rockwell15 for the initial patch.
See #36638.

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

Legend:

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

    r37741 r37751  
    17591759
    17601760div.wp-link-preview a.wplink-url-error {
    1761     color: #a00;
    1762 }
    1763 
    1764 div.wp-link-preview a.wplink-url-error:hover {
    1765     color: #f00;
     1761    color: #dc3232;
    17661762}
    17671763
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r37741 r37751  
    213213}
    214214
     215a[data-wplink-url-error]:before {
     216    content: '';
     217    display: block;
     218    position: absolute;
     219    top: -2px;
     220    right: -2px;
     221    bottom: -2px;
     222    left: -2px;
     223    outline: 2px dotted #fff;
     224    z-index: -1;
     225}
     226
    215227/**
    216228 * WP Views
Note: See TracChangeset for help on using the changeset viewer.