summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-02-04 18:00:39 +0000
committeralecpl <alec@alec.pl>2012-02-04 18:00:39 +0000
commitf545eaded23e8719152958c538fdf0fac64007a9 (patch)
tree50c37cbeb2dd79d17e00fcbd9499d6204d5b4b18
parentfc7b5b8283173ebb5209da124e5b283e5b86dfa7 (diff)
- Fix preview pane switch position in Firefox + small improvements
-rw-r--r--skins/default/common.css1
-rw-r--r--skins/default/mail.css5
-rw-r--r--skins/default/templates/mail.html4
3 files changed, 6 insertions, 4 deletions
diff --git a/skins/default/common.css b/skins/default/common.css
index 757f7da0a..c50956413 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -399,6 +399,7 @@ body.iframe .boxtitle
height: 11px;
padding: 0;
margin: 1px;
+ margin-top: 2px;
overflow: hidden;
background: url(images/pagenav.gif) 0 0 no-repeat transparent;
opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
diff --git a/skins/default/mail.css b/skins/default/mail.css
index accf3fdc2..88755d68c 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -488,8 +488,8 @@
{
position: relative;
white-space: nowrap;
- left: 4px;
line-height: 22px;
+ padding: 0 4px;
width: auto;
min-width: 300px;
}
@@ -504,7 +504,8 @@
#listcontrols input
{
- margin-top: 6px;
+ margin-top: 1px;
+ height: 22px;
}
#listcontrols a.button,
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 30b56aa41..b933ebdd9 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -76,8 +76,8 @@
<roundcube:button command="collapse-all" type="link" title="collapse-all" class="buttonPas collapse-all" classAct="button collapse-all" classSel="button collapse-allsel" content=" " />
<roundcube:endif />
<roundcube:if condition="!in_array('preview_pane', (array)config:dont_override)" />
- <label><span style="margin-left: 12px"><roundcube:label name="previewpane" />:&nbsp;</span>
- <input type="checkbox" onclick="rcmail_ui.switch_preview_pane(this)"<roundcube:exp expression="config:preview_pane == true ? ' checked=checked' : ''" /> /></label>
+ <span style="margin-left: 12px"><label for="prevpaneswitch"><roundcube:label name="previewpane" />:</label>&nbsp;</span>
+ <input type="checkbox" id="prevpaneswitch" onclick="rcmail_ui.switch_preview_pane(this)"<roundcube:exp expression="config:preview_pane == true ? ' checked=checked' : ''" /> />
<roundcube:endif />
</div>
<div id="countcontrols" class="pagenav">