[ticket/12598] Replace #search-box with class

PHPBB3-12598
This commit is contained in:
hanakin 2014-09-18 20:07:28 +02:00 committed by PayBas
parent d27e9c7c76
commit 0dc181a529
6 changed files with 9 additions and 19 deletions

View file

@ -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}" />

View file

@ -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;

View file

@ -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 {

View file

@ -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 {
@ -1092,7 +1082,7 @@ ul.linklist:after,
.action-bar:after, .action-bar:after,
.notification_text:after, .notification_text:after,
.tabs-container:after, .tabs-container:after,
#tabs > ul:after, #tabs > ul:after,
#minitabs > ul:after, #minitabs > ul:after,
.postprofile .avatar-container:after { .postprofile .avatar-container:after {
clear: both; clear: both;

View file

@ -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;
} }

View file

@ -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;
} }