summaryrefslogtreecommitdiff
path: root/skins
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:24:30 +0100
commit7bdfd78426eef5e666ff258190bd3e6a4240c99a (patch)
tree75a25a632b324eaa9623d5f9e9cf6382c5793973 /skins
parent13dc9f2c862668554d87dcbf95f2f7bbaf221bf3 (diff)
Define generic .searchbox styles
Diffstat (limited to 'skins')
-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 60f874a23..f098c68cb 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1516,17 +1516,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;
@@ -1535,15 +1539,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 7904f6f3a..390f8d83b 100644
--- a/skins/larry/templates/addressbook.html
+++ b/skins/larry/templates/addressbook.html
@@ -42,7 +42,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=" " />