From 39f9d39c3f88a813a44cc31b420c048f5e8c5f93 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 24 Mar 2010 21:06:07 +0000 Subject: - use less styling on select fields --- skins/default/common.css | 2 -- skins/default/functions.js | 5 +++++ skins/default/iehacks.css | 15 +++++---------- 3 files changed, 10 insertions(+), 12 deletions(-) (limited to 'skins') 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 -- cgit v1.2.3