Media: Make the "Copy URL" button implementation more consistent with other instances in core:

* Make the "Copied!" text green.
* Make the button verbiage clear that it's copied "to clipboard".

Props garrett-eclipse, mukesh27.
Fixes #51355.

git-svn-id: https://develop.svn.wordpress.org/trunk@49064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-09-27 20:46:44 +00:00
parent dbf692583c
commit 581e45426c
4 changed files with 10 additions and 3 deletions
+5
View File
@@ -804,7 +804,12 @@ border color while dragging a file over the uploader drop area */
clear: both;
}
.copy-to-clipboard-container .copy-attachment-url {
white-space: normal;
}
.copy-to-clipboard-container .success {
color: #40860a;
margin-left: 8px;
}