Changeset 2332
- Timestamp:
- 01/20/2016 12:06:07 AM (7 years ago)
- Location:
- sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/header.php
r1024 r2332 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 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/style.css
r1722 r2332 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; … … 302 312 } 303 313 304 #searchform #searchbox { 314 #searchform #searchbox, 315 #searchform input[type=submit] { 305 316 margin-top: 15px; 317 } 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 ); 306 323 } 307 324
Note: See TracChangeset
for help on using the changeset viewer.