diff options
author | alecpl <alec@alec.pl> | 2010-03-24 21:06:07 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-24 21:06:07 +0000 |
commit | 39f9d39c3f88a813a44cc31b420c048f5e8c5f93 (patch) | |
tree | 800c2565ce56de36bc64b2f24bd69a4aed7f3c49 | |
parent | 13540e089cfe6b2a604559463fc50cab97f7f5e7 (diff) |
- use less styling on select fields
-rw-r--r-- | skins/default/common.css | 2 | ||||
-rw-r--r-- | skins/default/functions.js | 5 | ||||
-rw-r--r-- | skins/default/iehacks.css | 15 |
3 files changed, 10 insertions, 12 deletions
diff --git a/skins/default/common.css b/skins/default/common.css index 833eb3a55..95a52a748 100644 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -85,10 +85,8 @@ input, textarea select { - font-size: 11px; font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; color: black; - height: 18px; } input.button diff --git a/skins/default/functions.js b/skins/default/functions.js index 6d0641d51..ca4c6694b 100644 --- a/skins/default/functions.js +++ b/skins/default/functions.js @@ -113,6 +113,11 @@ function rcmail_init_compose_form() var form = rcube_find_object('form'); form.onkeydown = function (e) { if (rcube_event.get_keycode(e) == 27) rcube_event.cancel(e); }; } + + // fix editor position on some browsers + var div = document.getElementById('compose-div'); + var headers_div = document.getElementById('compose-headers-div'); + div.style.top = parseInt(headers_div.offsetHeight, 10) + 'px'; } /** diff --git a/skins/default/iehacks.css b/skins/default/iehacks.css index 7dd023e73..4e2cdfacb 100644 --- a/skins/default/iehacks.css +++ b/skins/default/iehacks.css @@ -52,32 +52,27 @@ input, textarea #messagetoolbar select.mboxlist { - top: -8px; + margin: 0 8px; + top: 8px; } #abooktoolbar a.buttonPas { filter: alpha(opacity=35); - background-image: url(images/abook_toolbar.gif); + background-image: url('images/abook_toolbar.gif'); } #messagetoolbar a.buttonPas { filter: alpha(opacity=35); - background-image: url(images/mail_toolbar.gif); + background-image: url('images/mail_toolbar.gif'); } #listcontrols a.buttonPas, #mailboxcontrols a.buttonPas { filter: alpha(opacity=35); - background-image: url(images/mail_footer.png); -} - -#messagetoolbar select.mboxlist -{ - margin: 0 8px; - top: 8px; + background-image: url('images/mail_footer.png'); } #quicksearchbar |