Make WordPress Core

Ticket #33311: 33311.test.patch

File 33311.test.patch, 1.5 KB (added by afercia, 10 years ago)

Testing how to reduce CPU usage.

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

     
    26032603}
    26042604
    26052605/* Thickbox for Plugin Install screen */
    2606 body.plugin-install-php #TB_window,
    2607 body.import-php #TB_window,
    2608 body.plugins-php #TB_window,
    2609 body.update-core-php #TB_window,
    2610 body.index-php #TB_window {
    2611         background: #fcfcfc url( ../images/spinner.gif ) no-repeat center;
     2606body.plugin-install-php #TB_window:before,
     2607body.import-php #TB_window:before,
     2608body.plugins-php #TB_window:before,
     2609body.update-core-php #TB_window:before,
     2610body.index-php #TB_window:before {
     2611        content: '';
     2612        display: block;
     2613        width: 20px;
     2614        height: 20px;
     2615        position: absolute;
     2616        left: 50%;
     2617        top: 50%;
     2618        z-index: -1;
     2619        margin: -10px 0 0 -10px;
     2620        transform: translateZ(0);
     2621        background: #fcfcfc url( ../images/spinner.gif ) no-repeat center;
    26122622}
    26132623
    26142624@media print,
     
    26152625        (-webkit-min-device-pixel-ratio: 1.25),
    26162626        (min-resolution: 120dpi) {
    26172627
    2618         body.plugin-install-php #TB_window,
    2619         body.import-php #TB_window,
    2620         body.plugins-php #TB_window,
    2621         body.update-core-php #TB_window,
    2622         body.index-php #TB_window {
     2628        body.plugin-install-php #TB_window:before,
     2629        body.import-php #TB_window:before,
     2630        body.plugins-php #TB_window:before,
     2631        body.update-core-php #TB_window:before,
     2632        body.index-php #TB_window:before {
    26232633                background: #fcfcfc url( ../images/spinner-2x.gif ) no-repeat center;
    26242634                -webkit-background-size: 20px 20px;
    26252635                background-size: 20px 20px;