Ticket #27440: 27440-scrolling-content.4.diff
File 27440-scrolling-content.4.diff, 4.2 KB (added by , 10 years ago) |
---|
-
wp-admin/css/common.css
2132 2132 right: 0; 2133 2133 bottom: 0; 2134 2134 left: 0; 2135 height: auto;2135 height: 100%; 2136 2136 padding: 0; 2137 2137 } 2138 2138 2139 #plugin-information-scrollable { 2140 display: block; 2141 overflow: auto; 2142 height: 100%; 2143 } 2144 2145 2146 2139 2147 #plugin-information-title { 2140 2148 margin-right: 56px; /* avoid collisions with the close icon */ 2141 2149 padding: 0 20px; … … 2170 2178 font-size: 30px; 2171 2179 line-height: 50px; 2172 2180 font-weight: bold; 2173 max-width: 760px; 2174 position: absolute; 2175 left: 20px; 2176 top: 145px; 2181 max-width: 700px; 2182 float: left; 2177 2183 padding: 0 15px; 2178 2184 margin: 0; 2179 2185 color: #fff; … … 2186 2192 } 2187 2193 2188 2194 #plugin-information-title div.vignette { 2189 display: none;2190 2195 } 2191 2196 2192 2197 #plugin-information-title.with-banner div.vignette { … … 2198 2203 background: transparent; 2199 2204 -webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); 2200 2205 box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); 2206 padding: 145px 20px 0 20px; 2201 2207 } 2202 2208 2203 2209 #plugin-information-tabs { 2204 2210 padding: 0 16px; 2205 position: absolute; 2206 top: 56px; 2211 position: relative; 2207 2212 right: 0; 2208 2213 left: 0; 2209 2214 height: 36px; 2210 2215 z-index: 1; 2211 2216 } 2212 2217 2213 #plugin-information-tabs.with-banner {2214 top: 214px;2215 background: rgba( 255, 255, 255, 0.85 );2216 }2217 2218 2218 #plugin-information-tabs a { 2219 2219 position: relative; 2220 2220 float: left; … … 2251 2251 background: #fff; 2252 2252 border-top: 1px solid #ddd; 2253 2253 border-bottom: 1px solid #ddd; 2254 position: absolute;2255 top: 91px;2254 position: relative; 2255 top: 0; 2256 2256 right: 0; 2257 2257 bottom: 58px; 2258 2258 left: 0; 2259 overflow: auto;2259 margin-bottom: 58px; 2260 2260 } 2261 2261 2262 2262 #plugin-information-content.with-banner { 2263 2263 border-top: none; 2264 top: 250px;2265 2264 } 2266 2265 2267 2266 #section-holder { 2268 margin: 0 ;2267 margin: 0 250px 0 0; 2269 2268 padding: 10px 26px; 2270 position: absolute;2269 position: relative; 2271 2270 top: 0; 2272 2271 right: 250px; 2273 2272 bottom: 0; 2274 2273 left: 0; 2275 overflow: auto;2276 2274 } 2277 2275 2278 2276 #section-holder .updated { … … 2285 2283 border-left: 1px solid #ddd; 2286 2284 color: #666; 2287 2285 padding: 16px; 2288 position: absolute;2286 position: relative; 2289 2287 top: 0; 2290 2288 right: 0; 2291 2289 bottom: 0; 2292 2290 width: 217px; 2293 overflow: auto;2291 float: right; 2294 2292 } 2295 2293 2296 2294 #plugin-information .fyi strong { … … 2375 2373 bottom: 0; 2376 2374 left: 0; 2377 2375 height: 28px; 2376 background: rgba( 255, 255, 255, 0.85 ); 2378 2377 } 2379 2378 2380 2379 #plugin-information .section ul, … … 2426 2425 } 2427 2426 2428 2427 #plugin-information-title.with-banner h2 { 2429 top: 12px;2428 margin-top: 30px; 2430 2429 font-size: 20px; 2431 2430 line-height: 40px; 2432 2431 } 2433 2432 2434 2433 #plugin-information-title.with-banner div.vignette { 2435 height: 65px;2436 bottom: 65px;2434 height: 100px; 2435 bottom: 100px; 2437 2436 width: 800%; 2438 2437 } 2439 2440 #plugin-information-tabs.with-banner {2441 top: 63px;2442 }2443 2444 #plugin-information-content.with-banner {2445 top: 99px;2446 }2447 2438 } 2448 2439 2449 2440 @media screen and ( max-width: 771px ) { … … 2460 2451 2461 2452 #section-holder { 2462 2453 position: static; 2454 margin: 0; 2463 2455 } 2464 2456 2465 2457 #plugin-information .fyi h3, -
wp-admin/includes/plugin-install.php
372 372 } 373 373 374 374 iframe_header( __( 'Plugin Install' ) ); 375 375 376 376 $_with_banner = ''; 377 377 378 378 if ( ! empty( $api->banners ) && ( ! empty( $api->banners['low'] ) || ! empty( $api->banners['high'] ) ) ) { … … 392 392 </style> 393 393 <?php 394 394 } 395 echo '<div id="plugin-information-scrollable">'; 395 396 396 echo "<div id='{$_tab}-title' class='{$_with_banner}'><div class='vignette'>< /div><h2>{$api->name}</h2></div>";397 echo "<div id='{$_tab}-title' class='{$_with_banner}'><div class='vignette'><h2>{$api->name}</h2></div></div>"; 397 398 echo "<div id='{$_tab}-tabs' class='{$_with_banner}'>\n"; 398 399 399 400 foreach ( (array) $api->sections as $section_name => $content ) { … … 513 514 } 514 515 echo "</div>\n"; 515 516 echo "</div>\n"; 517 echo "</div>\n"; // #plugin-information-scrollable 516 518 echo "<div id='$tab-footer'>\n"; 517 519 if ( ! empty( $api->download_link ) && ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) ) { 518 520 $status = install_plugin_install_status( $api );