Make WordPress Core

Ticket #3194: 3194.diff

File 3194.diff, 1.6 KB (added by mdawaffe, 19 years ago)

needs testing in IE

  • wp-admin/upload-functions.php

     
    362362        if ( 'rtl' == $wp_locale->text_direction )
    363363                echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload-rtl.css?version=' . get_bloginfo('version') . "' type='text/css' />\n";
    364364        if ( 'inline' == @$_GET['style'] ) {
    365                 echo "<style type='text/css'>\n";
    366                 echo "\tbody { height: 15em; overflow: hidden; }\n";
    367                 echo "\t#upload-content { overflow-y: auto; }\n";
    368                 echo "\t#upload-file { position: absolute; }\n";
     365                echo "<style type='text/css' media='screen'>\n";
     366                echo "\t#upload-menu { position: fixed; z-index: 2; }\n";
     367                echo "\t#upload-content { top: 2em; }\n";
     368                echo "\t#upload-file { position: absolute; top: 15px; }\n";
    369369                echo "</style>";
    370370        }
    371371}
  • wp-admin/upload.css

     
    55#upload-menu {
    66        background: #247fab;
    77        margin: 0px;
    8         padding: 0;
     8        padding: 0 0 1px 0;
    99        list-style: none;
    1010        height: 2em;
    11         border-bottom: 1px solid #448abd;
     11        border-bottom: 5px solid #fff;
    1212        width: 100%;
    1313}
    1414
     
    6262        background: #f9fcfe;
    6363}
    6464
    65 #uupload-file th {
    66         width: 8em;
    67 }
    68 
    6965form#upload-file input, form#upload-file textarea, div#upload-content.upload table { width: 100%; }
    7066
    7167form#upload-file .submit input { width: auto; }