summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-11-02 22:43:55 +0000
committerthomascube <thomas@roundcube.net>2005-11-02 22:43:55 +0000
commit6a35c82a3ca43546198361aefdea94b04ecb5457 (patch)
tree9a23bce5d1a7dc9fa0bfc1c93cbbe7b145b4fca0 /skins
parentfd660ac0e2af4fc3c2633cfd19bd31fd7a905951 (diff)
Added more XSS protection (Bug #1308236) and some visual enhancements
Diffstat (limited to 'skins')
-rw-r--r--skins/default/mail.css31
-rw-r--r--skins/default/templates/compose.html2
-rw-r--r--skins/default/templates/message.html12
3 files changed, 24 insertions, 21 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 72c1c6c2b..f5863863f 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -75,7 +75,7 @@
position: absolute;
top: 60px;
right: 40px;
- width: 250px;
+ width: 200px;
height: 20px;
text-align: right;
}
@@ -412,9 +412,14 @@ body.messagelist
top: 85px;
left: 200px;
right: 40px;
+ bottom: 40px;
+ border: 1px solid #cccccc;
+ background-color: #FFFFFF;
+ overflow: auto;
/* css hack for IE */
- margin-bottom: 10px;
- width: expression(document.body.clientWidth-240);
+ /* margin-bottom: 10px; */
+ width: expression((parseInt(document.documentElement.clientWidth)-240)+'px');
+ height: expression((parseInt(document.documentElement.clientHeight)-125)+'px');
}
table.headers-table
@@ -433,10 +438,11 @@ table.headers-table tr td
table.headers-table td.header-title
{
- width: 70px;
+ width: 80px;
color: #666666;
font-weight: bold;
text-align: right;
+ white-space: nowrap;
padding-right: 4px;
}
@@ -481,18 +487,15 @@ table.headers-table tr td.subject
#messagebody
{
min-height: 300px;
- margin-top: 10px;
- margin-bottom: 10px;
+ padding-top: 10px;
+ padding-bottom: 10px;
background-color: #FFFFFF;
- border: 1px solid #cccccc;
- border-top: none;
}
div.message-part
{
padding: 8px;
padding-top: 10px;
- border-top: 1px solid #cccccc;
overflow: hidden;
}
@@ -513,8 +516,8 @@ div.message-part pre
display: none;
height: 20px;
min-height: 20px;
+ margin: 8px 8px 0px 8px;
padding: 10px 10px 6px 46px;
- margin-top: 8px;
}
#remote-objects-message a
@@ -544,12 +547,12 @@ div.message-part pre
top: 90px;
left: 200px;
right: 40px;
- bottom: 20px;
+ bottom: 40px;
padding: 0px;
margin: 0px;
/* css hack for IE */
width: expression(document.documentElement.clientWidth-240);
- /* height: expression((parseInt(document.documentElement.clientHeight)-130)+'px'); */
+ height: expression((parseInt(document.documentElement.clientHeight)-130)+'px');
}
/*
@@ -635,10 +638,10 @@ div.message-part pre
#compose-body
{
margin-top: 10px;
- width: 100% !important;
+ width: 99% !important;
width: 95%;
height: 95%;
- min-height: 400px;
+ min-height: 300px;
font-size: 9pt;
font-family: "Courier New", Courier, monospace;
}
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index 26c9de525..9dda5dad3 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -87,7 +87,7 @@ function rcmail_toggle_display(id)
</tr><tr>
-<td style="width:100%; height:100%;">
+<td style="width:100%; height:100%; vertical-align:top;">
<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" warp="virtual" />
</td>
diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html
index a5c46effa..7d4ff5527 100644
--- a/skins/default/templates/message.html
+++ b/skins/default/templates/message.html
@@ -10,6 +10,12 @@
<roundcube:include file="/includes/taskbar.html" />
<roundcube:include file="/includes/header.html" />
+<div id="messagecountbar">
+<roundcube:button command="previousmessage" imageAct="/images/buttons/previous_act.png" imagePas="/images/buttons/previous_pas.png" width="11" height="11" title="previousmessages" />
+&nbsp;<roundcube:object name="messageCountDisplay" />&nbsp;
+<roundcube:button command="nextmessage" imageAct="/images/buttons/next_act.png" imagePas="/images/buttons/next_pas.png" width="11" height="11" title="nextmessages" />
+</div>
+
<div id="messagetoolbar">
<roundcube:button command="list" image="/images/buttons/back_act.png" width="32" height="32" title="backtolist" />
<roundcube:button command="reply" imageAct="/images/buttons/reply_act.png" imagePas="/images/buttons/reply_pas.png" width="32" height="32" title="replytomessage" />
@@ -20,12 +26,6 @@
<roundcube:object name="mailboxlist" type="select" noSelection="moveto" maxlength="25" onchange="rcmail.command('moveto', this.options[this.selectedIndex].value)" class="mboxlist" />
</div>
-<div id="messagecountbar">
-<roundcube:button command="previousmessage" imageAct="/images/buttons/previous_act.png" imagePas="/images/buttons/previous_pas.png" width="11" height="11" title="previousmessages" />
-&nbsp;<roundcube:object name="messageCountDisplay" />&nbsp;
-<roundcube:button command="nextmessage" imageAct="/images/buttons/next_act.png" imagePas="/images/buttons/next_pas.png" width="11" height="11" title="nextmessages" />
-</div>
-
<div id="mailboxlist-header"><roundcube:label name="mailboxlist" /></div>
<div id="mailboxlist-container"><roundcube:object name="mailboxlist" id="mailboxlist" maxlength="16" /></div>