summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-01-25 14:24:30 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-01-25 14:38:04 +0100
commit5a0875ecb6d0dbaf678585f099e73d768fea5e2c (patch)
treec094bbff30d8831d4fe3b81322883b7f0ebed47b
parentc4a1d3fe5ddfba37d94680c86614e8fc447955a0 (diff)
Define generic .searchbox styles
-rw-r--r--skins/larry/ie7hacks.css2
-rw-r--r--skins/larry/styles.css14
-rw-r--r--skins/larry/templates/addressbook.html2
-rw-r--r--skins/larry/templates/mail.html2
4 files changed, 13 insertions, 7 deletions
diff --git a/skins/larry/ie7hacks.css b/skins/larry/ie7hacks.css
index bca39e92d..6d7af4787 100644
--- a/skins/larry/ie7hacks.css
+++ b/skins/larry/ie7hacks.css
@@ -138,7 +138,7 @@ ul.toolbarmenu li label {
padding: 3px 8px;
}
-#quicksearchbar input {
+.searchbox input {
padding-top: 4px;
padding-bottom: 2px;
}
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 3795cb513..9fdab8bcc 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1514,17 +1514,21 @@ ul.proplist li {
/*** quicksearch **/
+.searchbox {
+ position: relative;
+}
+
#quicksearchbar {
position: absolute;
right: 1px;
- top: -5px;
+ top: 2px;
width: 240px;
}
+.searchbox input,
#quicksearchbar input {
width: 176px;
margin: 0;
- margin-top: 7px;
padding: 3px 30px 3px 34px;
height: 18px;
background: #f1f1f1;
@@ -1533,15 +1537,17 @@ ul.proplist li {
font-size: 11px;
}
+.searchbox #searchmenulink,
#quicksearchbar #searchmenulink {
position: absolute;
- top: 12px;
+ top: 5px;
left: 6px;
}
+.searchbox #searchreset,
#quicksearchbar #searchreset {
position: absolute;
- top: 11px;
+ top: 4px;
right: 1px;
}
diff --git a/skins/larry/templates/addressbook.html b/skins/larry/templates/addressbook.html
index 9a9a2d747..1c1647708 100644
--- a/skins/larry/templates/addressbook.html
+++ b/skins/larry/templates/addressbook.html
@@ -38,7 +38,7 @@
<div id="addressview-right">
<!-- search box -->
-<div id="quicksearchbar">
+<div id="quicksearchbar" class="searchbox">
<roundcube:object name="searchform" id="quicksearchbox" />
<roundcube:button name="searchmenulink" id="searchmenulink" class="iconbutton searchoptions" onclick="UI.show_popup('searchmenu');return false" title="searchmod" content=" " />
<roundcube:button command="reset-search" id="searchreset" class="iconbutton reset" title="resetsearch" content=" " />
diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html
index 58f6cc01d..e145ddff8 100644
--- a/skins/larry/templates/mail.html
+++ b/skins/larry/templates/mail.html
@@ -52,7 +52,7 @@
</div>
<!-- search box -->
-<div id="quicksearchbar">
+<div id="quicksearchbar" class="searchbox">
<roundcube:object name="searchform" id="quicksearchbox" />
<roundcube:button name="searchmenulink" id="searchmenulink" class="iconbutton searchoptions" onclick="UI.show_popup('searchmenu');return false" title="searchmod" content=" " />
<roundcube:button command="reset-search" id="searchreset" class="iconbutton reset" title="resetsearch" content=" " />