提交 673ef3e6 编写于 作者: J Jesse Glick

Merge pull request #801 from ddavison/styling-fixes

Search bar improvements
......@@ -170,7 +170,7 @@ ${h.initPageVariables(context)}
<!-- this div is used to calculate the width of the text box -->
<div id="search-box-sizer"/>
<div id="searchform">
<input name="q" value="${%search}" id="search-box" class="has-default-text defaulted" />
<input name="q" placeholder="${%search}" id="search-box" class="has-default-text" />
<st:nbsp />
<a href="${%searchBox.url}"><img src="${imagesURL}/16x16/help.png" alt="help for search" height="16" width="16" /></a>
<div id="search-box-completion" />
......
......@@ -894,10 +894,10 @@ DIV.yahooTree td {
padding-left: 20px;
width: 15em;
position: static;
}
#search-box.defaulted {
color: gray;
border: 1px solid #DDD;
border-radius: 4px;
box-shadow: 0 0 5px #DDD inset;
outline: none;
}
#search-box-completion {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册