Privacy: Add an indication when the Copy action in Privacy Policy Guide is complete.

This adds a "Copied!" text near the "Copy this section to clipboard" button to provide direct feedback that the action was completed.

Props garrett-eclipse, nickylimjj, xkon, desrosj, birgire.
Fixes #44588.

git-svn-id: https://develop.svn.wordpress.org/trunk@47572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-04-12 14:24:38 +00:00
parent 63ac227863
commit d5df031e6f
4 changed files with 50 additions and 23 deletions
+12
View File
@@ -728,6 +728,18 @@ form#tags-filter {
padding-bottom: 6px;
}
.privacy-text-actions .success {
display: none;
color: #40860a;
float: right;
padding-right: 1em;
}
.privacy-text-actions .success.visible {
display: inline-block;
height: 32px;
}
.wp-privacy-policy-guide .policy-text h2 {
margin: 1.2em 0 1em;
padding: 0;