mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12598] Replace #search-box with class
PHPBB3-12598
This commit is contained in:
parent
d27e9c7c76
commit
0dc181a529
6 changed files with 9 additions and 19 deletions
|
@ -70,7 +70,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
|
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
|
||||||
<div id="search-box" class="search-box">
|
<div id="search-box" class="search-box search-header">
|
||||||
<form action="{U_SEARCH}" method="get" id="search">
|
<form action="{U_SEARCH}" method="get" id="search">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input name="keywords" id="keywords" type="search" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" size="20" value="{SEARCH_WORDS}" placeholder="{L_SEARCH_MINI}" />
|
<input name="keywords" id="keywords" type="search" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" size="20" value="{SEARCH_WORDS}" placeholder="{L_SEARCH_MINI}" />
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
/* Search box
|
/* Search box
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
.rtl #search-box {
|
.rtl .search-header {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
|
|
@ -29,10 +29,6 @@ hr {
|
||||||
/* Search box
|
/* Search box
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
#search-box {
|
|
||||||
box-shadow: 0 0 10px #0075B0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-box .inputbox,
|
.search-box .inputbox,
|
||||||
.search-box .inputbox:hover,
|
.search-box .inputbox:hover,
|
||||||
.search-box .inputbox:focus,
|
.search-box .inputbox:focus,
|
||||||
|
@ -40,6 +36,10 @@ hr {
|
||||||
border-color: #C7C3BF;
|
border-color: #C7C3BF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-header {
|
||||||
|
box-shadow: 0 0 10px #0075B0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Round cornered boxes and backgrounds
|
/* Round cornered boxes and backgrounds
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
#wrap {
|
#wrap {
|
||||||
|
|
|
@ -222,16 +222,6 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Search box
|
|
||||||
--------------------------------------------- */
|
|
||||||
#search-box {
|
|
||||||
border-radius: 4px;
|
|
||||||
display: block;
|
|
||||||
float: right;
|
|
||||||
margin-right: 5px;
|
|
||||||
margin-top: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Round cornered boxes and backgrounds
|
/* Round cornered boxes and backgrounds
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.headerbar {
|
.headerbar {
|
||||||
|
|
|
@ -60,7 +60,7 @@ body {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
#site-description p, #search-box {
|
#site-description p, .search-header {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,6 @@ dd label input { vertical-align: text-bottom\9; }
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/* Border-radius bleed fix in IE9 */
|
/* Border-radius bleed fix in IE9 */
|
||||||
#search-box, #search-box .inputbox, #search-box a.button {
|
.search-header, .search-header .inputbox, .search-header a.button {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue