Ticket #27440: 27440-scrolling-content.3.diff
File 27440-scrolling-content.3.diff, 4.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/common.css
2122 2122 right: 0; 2123 2123 bottom: 0; 2124 2124 left: 0; 2125 height: auto;2125 height: 100%; 2126 2126 padding: 0; 2127 2127 } 2128 2128 2129 #plugin-information-scrollable { 2130 display: block; 2131 overflow: auto; 2132 height: 100%; 2133 padding-bottom: 58px; 2134 } 2135 2129 2136 #plugin-information-title { 2130 2137 margin-right: 56px; /* avoid collisions with the close icon */ 2131 2138 padding: 0 20px; … … 2157 2164 } 2158 2165 2159 2166 #plugin-information-title.with-banner h2 { 2167 display: inline-block; 2160 2168 font-size: 30px; 2161 2169 line-height: 50px; 2162 2170 font-weight: bold; 2163 2171 max-width: 760px; 2164 position: absolute;2165 left: 20px;2166 top: 145px;2167 2172 padding: 0 15px; 2168 margin: 0;2173 margin: 174px 0 0 10px; 2169 2174 color: #fff; 2170 2175 background: rgba( 30, 30, 30, 0.9 ); 2171 2176 text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 ); … … 2181 2186 2182 2187 #plugin-information-title.with-banner div.vignette { 2183 2188 display: block; 2189 float: right; 2184 2190 top: 0; 2185 height: 2 15px;2191 height: 250px; 2186 2192 width: 830px; 2187 2193 margin: 0 -20px; 2188 2194 background: transparent; … … 2192 2198 2193 2199 #plugin-information-tabs { 2194 2200 padding: 0 16px; 2195 position: absolute; 2196 top: 56px; 2201 position: relative; 2197 2202 right: 0; 2198 2203 left: 0; 2199 2204 height: 36px; … … 2200 2205 z-index: 1; 2201 2206 } 2202 2207 2203 #plugin-information-tabs.with-banner {2204 top: 214px;2205 background: rgba( 255, 255, 255, 0.85 );2206 }2207 2208 2208 #plugin-information-tabs a { 2209 2209 position: relative; 2210 2210 float: left; … … 2241 2241 background: #fff; 2242 2242 border-top: 1px solid #ddd; 2243 2243 border-bottom: 1px solid #ddd; 2244 position: absolute;2245 top: 91px;2244 position: relative; 2245 top: 0; 2246 2246 right: 0; 2247 bottom: 58px;2248 2247 left: 0; 2249 overflow: auto;2248 padding-bottom: 58px; 2250 2249 } 2251 2250 2252 #plugin-information-content.with-banner {2253 border-top: none;2254 top: 250px;2255 }2256 2257 2251 #section-holder { 2258 margin: 0 ;2252 margin: 0 250px 50px 0; 2259 2253 padding: 10px 26px; 2260 position: absolute;2254 position: relative; 2261 2255 top: 0; 2262 2256 right: 250px; 2263 2257 bottom: 0; 2264 2258 left: 0; 2265 overflow: auto;2266 2259 } 2267 2260 2268 2261 #section-holder .updated { … … 2275 2268 border-left: 1px solid #ddd; 2276 2269 color: #666; 2277 2270 padding: 16px; 2278 position: absolute;2271 position: relative; 2279 2272 top: 0; 2280 2273 right: 0; 2281 2274 bottom: 0; 2282 2275 width: 217px; 2283 overflow: auto; 2276 float: right; 2277 margin: ; 2284 2278 } 2285 2279 2286 2280 #plugin-information .fyi strong { … … 2365 2359 bottom: 0; 2366 2360 left: 0; 2367 2361 height: 28px; 2362 background: rgba( 255, 255, 255, 0.85 ); 2368 2363 } 2369 2364 2370 2365 #plugin-information .section ul, … … 2416 2411 } 2417 2412 2418 2413 #plugin-information-title.with-banner h2 { 2419 top: 12px;2414 margin-top: 30px; 2420 2415 font-size: 20px; 2421 2416 line-height: 40px; 2422 2417 } 2423 2418 2424 2419 #plugin-information-title.with-banner div.vignette { 2425 height: 65px;2426 bottom: 65px;2420 height: 100px; 2421 bottom: 100px; 2427 2422 width: 800%; 2428 2423 } 2429 2430 #plugin-information-tabs.with-banner {2431 top: 63px;2432 }2433 2434 #plugin-information-content.with-banner {2435 top: 99px;2436 }2437 2424 } 2438 2425 2439 2426 @media screen and ( max-width: 771px ) { … … 2450 2437 2451 2438 #section-holder { 2452 2439 position: static; 2440 margin: 0; 2453 2441 } 2454 2442 2455 2443 #plugin-information .fyi h3, -
src/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'] ) ) ) { … … 393 393 <?php 394 394 } 395 395 396 echo '<div id="plugin-information-scrollable">'; 396 397 echo "<div id='{$_tab}-title' class='{$_with_banner}'><div class='vignette'></div><h2>{$api->name}</h2></div>"; 397 398 echo "<div id='{$_tab}-tabs' class='{$_with_banner}'>\n"; 398 399 … … 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 );