Ticket #25095: 25095.diff
| File 25095.diff, 2.2 KB (added by , 13 years ago) |
|---|
-
wp-content/themes/twentyfourteen/searchform.php
1 <?php2 /**3 * The template for displaying search forms in Twenty Fourteen4 *5 * @package WordPress6 * @subpackage Twenty_Fourteen7 */8 ?>9 <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">10 <label>11 <span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'twentyfourteen' ); ?></span>12 <input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentyfourteen' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php _ex( 'Search for:', 'label', 'twentyfourteen' ); ?>">13 </label>14 <input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'twentyfourteen' ); ?>">15 </form> -
wp-content/themes/twentyfourteen/style.css
381 381 } 382 382 input[type="text"], 383 383 input[type="email"], 384 input[type="search"], 384 385 input[type="password"], 385 386 textarea { 386 387 border: 1px solid rgba(0, 0, 0, 0.1); … … 391 392 } 392 393 input[type="text"]:focus, 393 394 input[type="email"]:focus, 395 input[type="search"]:focus, 396 input[type="password"]:focus, 394 397 textarea:focus { 395 398 color: #2b2b2b; 396 399 } 397 400 input[type="text"], 398 401 input[type="email"], 402 input[type="search"], 399 403 input[type="password"] { 400 404 padding: 8px 10px; 401 405 padding: 0.8rem 1.0rem; … … 2093 2097 } 2094 2098 .widget-area input[type="text"], 2095 2099 .widget-area input[type="email"], 2100 .widget-area input[type="search"], 2096 2101 .widget-area input[type="password"], 2097 2102 .widget-area textarea { 2098 2103 background-color: #2b2b2b; … … 2253 2258 } 2254 2259 .content-sidebar input[type="text"], 2255 2260 .content-sidebar input[type="email"], 2261 .content-sidebar input[type="search"], 2256 2262 .content-sidebar input[type="password"], 2257 2263 .content-sidebar textarea { 2258 2264 background-color: #fff;