Ticket #27440: 27440-scrolling-content.2.diff
File 27440-scrolling-content.2.diff, 3.2 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/common.css
2117 2117 /* Plugin install thickbox */ 2118 2118 #plugin-information { 2119 2119 background: #fcfcfc; 2120 position: fixed; 2120 2121 2121 top: 0; 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 2136 2137 2129 2138 #plugin-information-title { 2130 2139 margin-right: 56px; /* avoid collisions with the close icon */ 2131 2140 padding: 0 20px; … … 2162 2171 font-weight: bold; 2163 2172 max-width: 760px; 2164 2173 position: absolute; 2165 left: 20px;2166 top: 1 45px;2174 left: 30px; 2175 top: 174px; 2167 2176 padding: 0 15px; 2168 2177 margin: 0; 2169 2178 color: #fff; … … 2182 2191 #plugin-information-title.with-banner div.vignette { 2183 2192 display: block; 2184 2193 top: 0; 2185 height: 2 15px;2194 height: 250px; 2186 2195 width: 830px; 2187 2196 margin: 0 -20px; 2188 2197 background: transparent; … … 2192 2201 2193 2202 #plugin-information-tabs { 2194 2203 padding: 0 16px; 2195 position: absolute; 2196 top: 56px; 2204 position: relative; 2197 2205 right: 0; 2198 2206 left: 0; 2199 2207 height: 36px; … … 2201 2209 } 2202 2210 2203 2211 #plugin-information-tabs.with-banner { 2204 top: 214px;2205 2212 background: rgba( 255, 255, 255, 0.85 ); 2206 2213 } 2207 2214 … … 2241 2248 background: #fff; 2242 2249 border-top: 1px solid #ddd; 2243 2250 border-bottom: 1px solid #ddd; 2244 position: absolute;2245 top: 91px;2251 position: relative; 2252 top: 0; 2246 2253 right: 0; 2247 2254 bottom: 58px; 2248 2255 left: 0; 2249 overflow: auto;2250 2256 } 2251 2257 2252 #plugin-information-content.with-banner {2253 border-top: none;2254 top: 250px;2255 }2256 2257 2258 #section-holder { 2258 margin: 0 ;2259 margin: 0 250px 0 0; 2259 2260 padding: 10px 26px; 2260 position: absolute;2261 position: relative; 2261 2262 top: 0; 2262 2263 right: 250px; 2263 2264 bottom: 0; 2264 2265 left: 0; 2265 overflow: auto;2266 2266 } 2267 2267 2268 2268 #section-holder .updated { … … 2275 2275 border-left: 1px solid #ddd; 2276 2276 color: #666; 2277 2277 padding: 16px; 2278 position: absolute;2278 position: relative; 2279 2279 top: 0; 2280 2280 right: 0; 2281 2281 bottom: 0; 2282 2282 width: 217px; 2283 overflow: auto;2283 float: right; 2284 2284 } 2285 2285 2286 2286 #plugin-information .fyi strong { … … 2365 2365 bottom: 0; 2366 2366 left: 0; 2367 2367 height: 28px; 2368 background: rgba( 255, 255, 255, 0.85 ); 2368 2369 } 2369 2370 2370 2371 #plugin-information .section ul, -
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 397 echo '<div id="plugin-information-scrollable">'; 396 398 echo "<div id='{$_tab}-title' class='{$_with_banner}'><div class='vignette'></div><h2>{$api->name}</h2></div>"; 397 399 echo "<div id='{$_tab}-tabs' class='{$_with_banner}'>\n"; 398 400 … … 513 515 } 514 516 echo "</div>\n"; 515 517 echo "</div>\n"; 518 echo "</div>\n"; // #plugin-information-scrollable 516 519 echo "<div id='$tab-footer'>\n"; 517 520 if ( ! empty( $api->download_link ) && ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) ) { 518 521 $status = install_plugin_install_status( $api );