WordPress.org

Make WordPress Core

Ticket #44621: 44621.6.diff

File 44621.6.diff, 1.2 KB (added by SergeyBiryukov, 10 months ago)

Refreshed to account for .wp-policy-help back-compat after [47112] / #49282.

  • src/wp-admin/css/edit.css

     
    729729        margin-top: 6px;
    730730}
    731731
     732.hide-privacy-policy-tutorial {
     733        background-color: #fff;
     734}
     735
    732736.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat, see #49282 */
    733737.hide-privacy-policy-tutorial .privacy-policy-tutorial {
    734         visibility: hidden;
     738        display: none;
    735739}
    736740
    737 .wp-suggested-text p {
    738         font-style: italic;
     741.wp-suggested-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     742        background-color: #fff;
     743        margin: 0;
     744        padding: 1em;
    739745}
    740746
    741 .wp-suggested-text p.wp-policy-help, /* For back-compat, see #49282 */
    742 .wp-suggested-text p.privacy-policy-tutorial {
    743         font-style: normal;
     747.wp-suggested-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     748        padding-top: 0;
    744749}
    745750
     751.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     752        margin: 1em 0;
     753        padding: 0;
     754}
     755
     756strong.wp-policy-help, /* For back-compat, see #49282 */
     757strong.privacy-policy-tutorial {
     758        display: block;
     759        margin: 0 0 1em;
     760}
     761
    746762.notice.wp-pp-notice {
    747763        margin: 15px 0 3px;
    748764}