summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-27 17:51:28 +0100
committerAleksander Machniak <alec@alec.pl>2014-10-27 17:51:28 +0100
commit421ed1e5458ef8b3947ca4cce45eae7804b41f74 (patch)
tree517f8fb3239c87992b017d946cca5b190a32fe4a /skins
parent9aa55d5a50bd4c219f409dcd1c42c373c7dcfdb8 (diff)
Fix compose body area size, so scrollbars aren't truncated, unify padding
Diffstat (limited to 'skins')
-rw-r--r--skins/classic/functions.js7
-rw-r--r--skins/classic/googiespell.css2
-rw-r--r--skins/larry/googiespell.css7
-rw-r--r--skins/larry/mail.css6
-rw-r--r--skins/larry/ui.js2
5 files changed, 11 insertions, 13 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index 2bf1538c4..aaa4f7288 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -547,12 +547,13 @@ init_compose_form: function()
resize_compose_body: function()
{
var div = $('#compose-div .boxlistcontent'),
- w = div.width() - 2, h = div.height(),
+ w = div.width() - 6,
+ h = div.height() - 2,
x = bw.ie || bw.opera ? 4 : 0;
- $('#compose-body_ifr').width(w+3).height(h-2 - $('div.mce-toolbar').height());
+ $('#compose-body_ifr').width(w + 6).height(h - 1 - $('div.mce-toolbar').height());
$('#compose-body').width(w-x).height(h);
- $('#googie_edit_layer').height(h);
+ $('#googie_edit_layer').width(w).height(h);
},
resize_compose_body_ev: function()
diff --git a/skins/classic/googiespell.css b/skins/classic/googiespell.css
index b4fab5bdb..fc6b069a1 100644
--- a/skins/classic/googiespell.css
+++ b/skins/classic/googiespell.css
@@ -9,7 +9,7 @@
.googie_edit_layer {
background-color: #ffffff;
- padding: 0 4px;
+ padding: 1px 3px;
font-size: 9pt;
font-family: monospace;
}
diff --git a/skins/larry/googiespell.css b/skins/larry/googiespell.css
index d2f1cea78..2241ccd58 100644
--- a/skins/larry/googiespell.css
+++ b/skins/larry/googiespell.css
@@ -8,10 +8,7 @@
}
.googie_edit_layer {
- position: relative;
- top: 1px;
- left: 1px;
- padding: 8px;
+ padding: 4px;
font-size: 9pt;
font-family: monospace;
background-color: #fff;
@@ -26,7 +23,7 @@
width: 100%;
margin: 0;
padding: 0;
- border-spacing: 0;
+ border-spacing: 0;
}
.googie_list td {
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 0f1eaa8a7..9a2fe6974 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -1305,13 +1305,13 @@ div.message-partheaders .headers-table td.header {
width: 99%;
border: 0;
border-radius: 0 0 0 4px;
- padding: 8px 0 8px 8px;
+ padding: 4px;
resize: none;
font-family: monospace;
font-size: 9pt;
outline: none;
- box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.2);
- -webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.2);
+ box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1);
+ -webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1);
}
#composebody:active,
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 5cd216724..c8204b603 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -502,7 +502,7 @@ function rcube_mail_ui()
$('#composebodycontainer > div').width(w+8);
$('#composebody_ifr').height(h + 4 - $('div.mce-toolbar').height());
- $('#googie_edit_layer').height(h - 8);
+ $('#googie_edit_layer').width(w).height(h);
// $('#composebodycontainer')[(btns ? 'addClass' : 'removeClass')]('buttons');
// $('#composeformbuttons')[(btns ? 'show' : 'hide')]();