Privacy: add a postbox that is shown when editing the privacy policy page, and where plugins and core will output suggested content and additional privacy info. First run.

Props melchoyce, azaozz.
See #43620.
Built from https://develop.svn.wordpress.org/trunk@42980


git-svn-id: http://core.svn.wordpress.org/trunk@42809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2018-04-16 08:53:20 +00:00
parent fc20505750
commit 3108d2ffb2
17 changed files with 598 additions and 10 deletions
+62
View File
@@ -646,6 +646,68 @@ span.wp-media-buttons-icon:before {
margin-bottom: 20px;
}
/* Sugested text for privacy policy postbox */
.privacy-text-box {
margin: 10px 0 0;
}
.privacy-text-box-head {
border-right: 4px solid #ffb900;
border-bottom: 1px solid #e5e5e5;
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.privacy-text-box .privacy-text-box-head.hndle {
cursor: pointer;
}
.privacy-text-box-head p {
padding: 0 12px 14px;
margin: 0;
}
.privacy-text-box-body {
height: 320px;
overflow: auto;
}
#privacy-text-box .inside {
margin: 0;
}
.privacy-text-box h3 {
font-size: 1em;
margin: 1em 0;
}
.privacy-text-section .privacy-text-copy-button {
float: left;
margin-top: -1.8em;
}
.privacy-text-section {
padding: 1px 12px 1px 14px;
border-top: 1px solid #e3e3e3;
border-right: 4px solid transparent;
}
.privacy-text-section.text-updated {
border-right-color: #46b450;
background-color: #ecf7ed;
}
.privacy-text-section.text-removed {
border-right-color: #dc3232;
background-color: #fbeaea;
}
.closed .privacy-text-box-body {
display: none;
}
/*------------------------------------------------------------------------------
11.1 - Custom Fields
------------------------------------------------------------------------------*/