Make WordPress Core

Ticket #35210: 35210.patch

File 35210.patch, 2.3 KB (added by Fab1en, 9 years ago)

First pass to add markup and CSS

  • src/wp-admin/css/customize-controls.css

    diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css
    index 560d85e..8572066 100644
    a b body { 
    2525
    2626#customize-header-actions .button-primary {
    2727        float: right;
     28        position: relative;
     29        top: -45px;
    2830        margin-top: 9px;
     31        margin-right: 15px;
    2932}
    3033
    3134#customize-header-actions .spinner {
    3235        margin-top: 13px;
    3336        margin-right: 4px;
     37        position: relative;
     38        top: -45px;
    3439}
    3540
    3641.saving #customize-header-actions .spinner {
    body { 
    3944
    4045#customize-header-actions {
    4146        border-bottom: 1px solid #ddd;
     47        padding-top: 45px;
     48}
     49
     50#customize-header-actions .notice {
     51        margin-top: 1px;
    4252}
    4353
    4454#customize-controls .wp-full-overlay-sidebar-content {
  • src/wp-admin/css/themes.css

    diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css
    index 58ce25a..f080a7d 100644
    a b body.full-overlay-active { 
    12941294        position: absolute;
    12951295        left: 0;
    12961296        right: 0;
    1297         height: 45px;
    1298         padding: 0 15px;
     1297        height: 0;
     1298        padding: 0;
    12991299        line-height: 45px;
    13001300        z-index: 10;
    13011301        margin: 0;
    body.full-overlay-active { 
    13181318
    13191319.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
    13201320        position: absolute;
    1321         top: 45px;
     1321        top: 160px;
    13221322        bottom: 45px;
    13231323        left: 0;
    13241324        right: 0;
  • src/wp-admin/customize.php

    diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php
    index 1bc702b..183fc29 100644
    a b do_action( 'customize_controls_print_scripts' ); 
    125125                        <a class="customize-controls-close" href="<?php echo esc_url( $wp_customize->get_return_url() ); ?>">
    126126                                <span class="screen-reader-text"><?php _e( 'Cancel' ); ?></span>
    127127                        </a>
     128                        <div class="notice is-dismissible error">
     129                                <p><strong>Fatal error:</strong> Allowed memory size of 67108854  bytes exhausted (tried to allocate 30439 bytes)</p>
     130                                <button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>
     131                        </div>
    128132                </div>
    129133
    130134                <div id="widgets-right" class="wp-clearfix"><!-- For Widget Customizer, many widgets try to look for instances under div#widgets-right, so we have to add that ID to a container div in the Customizer for compat -->