Make WordPress Core

Ticket #26192: 26192.3.diff

File 26192.3.diff, 3.3 KB (added by dd32, 13 years ago)
  • src/wp-admin/css/wp-admin.css

     
    67676767.theme-overlay .theme-wrap {
    67686768        clear: both;
    67696769        position: fixed;
    6770         top: 120px;
     6770        top: 9%;
    67716771        left: 190px;
    6772         right: 40px;
    6773         bottom: 80px;
     6772        right: 3%;
     6773        bottom: 5%;
    67746774        overflow: auto;
    67756775        background: #fff;
    6776         padding: 88px 40px 110px 40px;
    6777         -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
    6778         box-shadow:         0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
     6776        padding: 88px 40px 40px 40px;
     6777        -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
     6778        box-shadow:         0 1px 20px 5px rgba(0, 0, 0, 0.1);
    67796779        z-index: 20;
     6780        margin-bottom: 69px;
     6781        box-sizing: border-box;
    67806782}
    67816783
    67826784.theme-overlay .theme-wrap:after {
     
    67906792.theme-overlay .theme-actions {
    67916793        position: fixed;
    67926794        text-align: center;
    6793         bottom: 80px;
     6795        bottom: 5%;
    67946796        left: 190px;
    6795         right: 40px;
     6797        right: 3%;
    67966798        padding: 20px 25px;
    6797         background: rgba(243, 243, 243 ,0.9);
    6798         border-top: 1px solid rgba(0,0,0,0.1);
     6799        background: #f3f3f3;
    67996800        z-index: 30;
     6801        box-sizing: border-box;
     6802        border: 1px solid #cacaca;
    68006803}
    68016804
     6805body.folded .theme-overlay .theme-wrap,
     6806body.folded .theme-overlay .theme-actions {
     6807        left: 70px;
     6808}
     6809
    68026810.theme-overlay .theme-actions a {
    68036811        margin-right: 5px;
    68046812        margin-bottom: 0;
    6805         font-size: 16px;
    6806         line-height: 37px;
    6807         height: 37px;
    6808         padding: 0 20px 1px 20px;
    68096813}
    68106814
    68116815.theme-overlay .theme-actions .delete-theme {
    6812         border-radius: 2px;
    68136816        color: #a00;
    6814         font-size: 14px;
    6815         padding: 0 10px;
    68166817        position: absolute;
    68176818        right: 10px;
    68186819        bottom: 20px;
    68196820        text-decoration: none;
     6821        border-color: transparent;
     6822        box-shadow: none;
     6823        background: transparent;
    68206824}
    68216825
    68226826.theme-overlay .theme-actions .delete-theme:hover {
    68236827        background: #d54e21;
    68246828        color: #fff;
     6829        border-color: #d54e21;
    68256830}
    68266831
    68276832.theme-overlay .theme-actions .active-theme,
     
    70437048                margin-right: 0;
    70447049        }
    70457050
     7051        body.folded .theme-overlay .theme-wrap,
     7052        body.folded .theme-overlay .theme-actions,
    70467053        .theme-overlay .theme-wrap,
    70477054        .theme-overlay .theme-actions {
    70487055                right: 15%;
     
    70797086                margin-right: -3px
    70807087        }
    70817088
     7089        body.folded .theme-overlay .theme-wrap,
    70827090        .theme-overlay .theme-wrap {
    70837091                top: 45px;
    70847092                right: 0;
    70857093                bottom: 0;
    70867094                left: 0;
    7087                 padding: 70px 20px 100px;
     7095                padding: 70px 20px 20px;
     7096                margin-bottom: 75px;
     7097                border: none;
    70887098        }
    70897099
     7100        body.folded .theme-overlay .theme-actions,
    70907101        .theme-overlay .theme-actions {
    70917102                right: 0;
    70927103                bottom: 0;
    70937104                left: 0;
    7094                 padding: 10px;
     7105                border-left: none;
     7106                border-right: none;
     7107                border-bottom: none;
    70957108        }
    70967109
    70977110        .theme-overlay .theme-screenshots {
     
    71017114        .theme-overlay .theme-info {
    71027115                width: 50%;
    71037116        }
    7104 
    7105         .theme-overlay .theme-actions .delete-theme {
    7106                 bottom: 10px;
    7107         }
    71087117}
    71097118
    71107119@media only screen and (max-width: 650px) {
  • src/wp-admin/themes.php

     
    310310                </div>
    311311
    312312                <# if ( ! data.active && data.actions.delete ) { #>
    313                         <a href="{{{ data.actions.delete }}}" class="delete-theme"><?php _e( 'Delete' ); ?></a>
     313                        <a href="{{{ data.actions.delete }}}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a>
    314314                <# } #>
    315315        </div>
    316316</script>