Ticket #1473: 1473.patch
| File 1473.patch, 2.2 KB (added by , 10 years ago) |
|---|
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/header.php
34 34 <h1><a rel="home" href="<?php echo $wptv->home_url( '/' ); ?>"><img src="<?php echo get_template_directory_uri(); ?>/i/wptv-2x.png" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" height="40" width="210" /></a></h1> 35 35 36 36 <form id="searchform" name="searchform" method="get" action="<?php echo $wptv->home_url( '/' ); ?>"> 37 <label for="searchbox" class="screen-reader-text"><?php esc_attr_e( 'Search WordPress.tv', 'wptv' ); ?></label> 37 38 <input type="search" placeholder="<?php esc_attr_e( 'Search WordPress.tv', 'wptv' ); ?>" id="searchbox" name="s" value="<?php the_search_query(); ?>" /> 39 <input type="submit" value="<?php esc_attr_e( 'Search', 'wptv' ); ?>" /> 38 40 </form> 39 41 40 42 <div id="menu"> -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/style.css
123 123 clear: both; 124 124 } 125 125 126 .screen-reader-text { 127 clip: rect(1px, 1px, 1px, 1px); 128 height: 1px; 129 overflow: hidden; 130 position: absolute !important; 131 width: 1px; 132 /* many screen reader and browser combinations announce broken words as they would appear visually */ 133 word-wrap: normal !important; 134 } 135 126 136 a, a:link, a:visited { 127 137 color: #21759b; 128 138 text-decoration: none; … … 301 311 width: 130px; 302 312 } 303 313 304 #searchform #searchbox { 314 #searchform #searchbox, 315 #searchform input[type=submit] { 305 316 margin-top: 15px; 306 317 } 307 318 319 #searchform #searchbox:focus { 320 border-color: #5b9dd9; 321 -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 322 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 323 } 324 308 325 input[type=submit], button, .button { 309 326 text-decoration: none; 310 327 -moz-border-radius: 5px;