Define common styles for search boxes

pull/193/head
Thomas Bruederli 11 years ago
parent 59b765d839
commit 79babb69ab

@ -748,18 +748,25 @@ ul.treelist li.droptarget
/***** mac-style quicksearch field *****/ /***** mac-style quicksearch field *****/
div.searchbox,
#quicksearchbar #quicksearchbar
{ {
position: absolute; position: relative;
top: 55px;
right: 10px;
width: 190px; width: 190px;
height: 20px; height: 20px;
text-align: right; text-align: right;
background: url(images/searchfield.gif) top left no-repeat; background: url(images/searchfield.gif) top left no-repeat;
} }
#searchreset #quicksearchbar
{
position: absolute;
top: 55px;
right: 10px;
}
#searchreset,
div.searchbox a.searchreset
{ {
position: absolute; position: absolute;
top: 3px; top: 3px;
@ -767,19 +774,42 @@ ul.treelist li.droptarget
text-decoration: none; text-decoration: none;
} }
#searchmenulink #searchmenulink,
div.searchbox a.searchmenu,
div.searchbox a.searchicon
{ {
position: absolute; position: absolute;
top: 3px; top: 3px;
right: 168px; right: 168px;
} }
div.searchbox a.searchreset
{
display: block;
width: 14px;
height: 14px;
overflow: hidden;
white-space: nowrap;
text-indent: 50000px;
background: url(images/icons/reset.gif) top left no-repeat;
}
div.searchbox a.searchicon
{
display: inline-block;
width: 16px;
height: 16px;
overflow: hidden;
background: url(images/icons/glass.png) top left no-repeat;
}
#quicksearchbar img #quicksearchbar img
{ {
vertical-align: middle; vertical-align: middle;
} }
#quicksearchbox #quicksearchbox,
div.searchbox > input
{ {
position: absolute; position: absolute;
top: 2px; top: 2px;

@ -1860,7 +1860,7 @@ input.from_address
color: #999; color: #999;
} }
#compose-contacts #quicksearchbar #compose-contacts .searchbox
{ {
top: 2px; top: 2px;
left: 7px; left: 7px;

@ -50,7 +50,7 @@
<div id="compose-contacts"> <div id="compose-contacts">
<div class="boxtitle"><roundcube:label name="contacts" /></div> <div class="boxtitle"><roundcube:label name="contacts" /></div>
<div class="boxlistcontent"> <div class="boxlistcontent">
<div id="quicksearchbar"> <div class="searchbox">
<img id="searchmenulink" src="/images/icons/glass.png" width="16" height="16" /> <img id="searchmenulink" src="/images/icons/glass.png" width="16" height="16" />
<roundcube:object name="searchform" id="quicksearchbox" form="true" tabindex="13" /> <roundcube:object name="searchform" id="quicksearchbox" form="true" tabindex="13" />
<roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" width="13" height="13" /> <roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" width="13" height="13" />

Loading…
Cancel
Save