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.

git-svn-id: https://develop.svn.wordpress.org/trunk@37751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2016-06-19 13:00:30 +00:00
parent 6bf5465f67
commit 6304560fb7
2 changed files with 13 additions and 5 deletions

View File

@ -1758,11 +1758,7 @@ div.wp-link-preview a {
}
div.wp-link-preview a.wplink-url-error {
color: #a00;
}
div.wp-link-preview a.wplink-url-error:hover {
color: #f00;
color: #dc3232;
}
div.wp-link-input {

View File

@ -212,6 +212,18 @@ a[data-wplink-url-error]:focus {
position: relative;
}
a[data-wplink-url-error]:before {
content: '';
display: block;
position: absolute;
top: -2px;
right: -2px;
bottom: -2px;
left: -2px;
outline: 2px dotted #fff;
z-index: -1;
}
/**
* WP Views
*/