mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
Twenty Fourteen: remove searchform.php and use core markup. Props obenland, closes #25095.
Built from https://develop.svn.wordpress.org/trunk@25089 git-svn-id: http://core.svn.wordpress.org/trunk@25073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7a05f8d19c
commit
e11e46c458
@ -1,15 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying search forms in Twenty Fourteen
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fourteen
|
||||
*/
|
||||
?>
|
||||
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<label>
|
||||
<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'twentyfourteen' ); ?></span>
|
||||
<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' ); ?>">
|
||||
</label>
|
||||
<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'twentyfourteen' ); ?>">
|
||||
</form>
|
@ -381,6 +381,7 @@ input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly i
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="search"],
|
||||
input[type="password"],
|
||||
textarea {
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
@ -391,11 +392,14 @@ textarea {
|
||||
}
|
||||
input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="password"]:focus,
|
||||
textarea:focus {
|
||||
color: #2b2b2b;
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="search"],
|
||||
input[type="password"] {
|
||||
padding: 8px 10px;
|
||||
padding: 0.8rem 1.0rem;
|
||||
@ -2086,6 +2090,7 @@ span > object {
|
||||
}
|
||||
.widget-area input[type="text"],
|
||||
.widget-area input[type="email"],
|
||||
.widget-area input[type="search"],
|
||||
.widget-area input[type="password"],
|
||||
.widget-area textarea {
|
||||
background-color: #2b2b2b;
|
||||
@ -2246,6 +2251,7 @@ span > object {
|
||||
}
|
||||
.content-sidebar input[type="text"],
|
||||
.content-sidebar input[type="email"],
|
||||
.content-sidebar input[type="search"],
|
||||
.content-sidebar input[type="password"],
|
||||
.content-sidebar textarea {
|
||||
background-color: #fff;
|
||||
|
Loading…
Reference in New Issue
Block a user