Ticket #8270: 8270.a11y-2.patch
| File 8270.a11y-2.patch, 4.9 KB (added by , 6 years ago) |
|---|
-
src/bp-core/admin/css/hello-rtl.css
208 208 background-image: url(https://ps.w.org/buddypress/assets/banner-772x250.png); 209 209 } 210 210 211 #plugin-information-title h1 { 212 font-size: 1em; 213 font-weight: 600; 214 padding: 0; 215 margin: 0; 216 overflow: hidden; 217 text-overflow: ellipsis; 218 white-space: nowrap; 219 } 220 221 #plugin-information-title.with-banner h1 { 222 position: relative; 223 font-family: "Helvetica Neue", sans-serif; 224 display: inline-block; 225 font-size: 20px; 226 line-height: 1.68; 227 box-sizing: border-box; 228 max-width: 85%; 229 padding: 0 15px; 230 margin-top: 30px; 231 color: #fff; 232 background: rgba(30, 30, 30, 0.9); 233 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 234 box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); 235 border-radius: 8px; 236 } 237 211 238 /* 212 239 * 4.3 - Content content 213 240 */ … … 235 262 /*------------------------------------------------------------------------------ 236 263 * 6.0 - Media Queries 237 264 *----------------------------------------------------------------------------*/ 265 @media screen and (min-width: 770px) { 266 #plugin-information-title.with-banner h1 { 267 font-size: 30px; 268 line-height: 2; 269 margin-top: 174px; 270 max-width: 100%; 271 } 272 } 273 238 274 /* 239 275 * 6.1 - Desktop Medium 240 276 */ -
src/bp-core/admin/css/hello.css
208 208 background-image: url(https://ps.w.org/buddypress/assets/banner-772x250.png); 209 209 } 210 210 211 #plugin-information-title h1 { 212 font-size: 1em; 213 font-weight: 600; 214 padding: 0; 215 margin: 0; 216 overflow: hidden; 217 text-overflow: ellipsis; 218 white-space: nowrap; 219 } 220 221 #plugin-information-title.with-banner h1 { 222 position: relative; 223 font-family: "Helvetica Neue", sans-serif; 224 display: inline-block; 225 font-size: 20px; 226 line-height: 1.68; 227 box-sizing: border-box; 228 max-width: 85%; 229 padding: 0 15px; 230 margin-top: 30px; 231 color: #fff; 232 background: rgba(30, 30, 30, 0.9); 233 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 234 box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); 235 border-radius: 8px; 236 } 237 211 238 /* 212 239 * 4.3 - Content content 213 240 */ … … 235 262 /*------------------------------------------------------------------------------ 236 263 * 6.0 - Media Queries 237 264 *----------------------------------------------------------------------------*/ 265 @media screen and (min-width: 770px) { 266 #plugin-information-title.with-banner h1 { 267 font-size: 30px; 268 line-height: 2; 269 margin-top: 174px; 270 max-width: 100%; 271 } 272 } 273 238 274 /* 239 275 * 6.1 - Desktop Medium 240 276 */ -
src/bp-core/admin/sass/hello.scss
234 234 background-image: url(https://ps.w.org/buddypress/assets/banner-772x250.png); 235 235 } 236 236 237 #plugin-information-title h1 { 238 font-size: 1em; 239 font-weight: 600; 240 padding: 0; 241 margin: 0; 242 overflow: hidden; 243 text-overflow: ellipsis; 244 white-space: nowrap; 245 } 246 247 #plugin-information-title.with-banner h1 { 248 position: relative; 249 font-family: "Helvetica Neue", sans-serif; 250 display: inline-block; 251 font-size: 20px; 252 line-height: 1.68; 253 box-sizing: border-box; 254 max-width: 85%; 255 padding: 0 15px; 256 margin-top: 30px; 257 color: #fff; 258 background: rgba(30, 30, 30, 0.9); 259 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 260 box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); 261 border-radius: 8px; 262 } 263 237 264 /* 238 265 * 4.3 - Content content 239 266 */ … … 265 292 * 6.0 - Media Queries 266 293 *----------------------------------------------------------------------------*/ 267 294 295 @media screen and (min-width: 770px) { 296 297 #plugin-information-title.with-banner h1 { 298 font-size: 30px; 299 line-height: 2; 300 margin-top: 174px; 301 max-width: 100%; 302 } 303 } 304 268 305 /* 269 306 * 6.1 - Desktop Medium 270 307 */ -
src/bp-core/classes/class-bp-admin.php
633 633 ?> 634 634 635 635 <div id="bp-hello-container"> 636 <div id="plugin-information-scrollable" >636 <div id="plugin-information-scrollable" role="document"> 637 637 <div id='plugin-information-title' class="with-banner"> 638 638 <div class='vignette'></div> 639 <h 2>639 <h1> 640 640 <?php printf( 641 641 /* translators: %s is the placeholder for the BuddyPress version number. */ 642 642 esc_html__( 'BuddyPress %s', 'buddypress' ), 643 643 $version 644 644 ); ?> 645 </h 2>645 </h1> 646 646 </div> 647 647 <div id="plugin-information-tabs"> 648 648 <a name="whats-new" href="#whats-new" class="current"><?php esc_html_e( 'What\'s new?', 'buddypress' ); ?></a>