diff --git a/program/js/app.js b/program/js/app.js
index 46326cecc..7753a4101 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3360,7 +3360,7 @@ function rcube_webmail()
content = ''+content;
if (this.env.cancelicon)
content = '
'+content;
- this.add2attachment_list(ts, { name:'', html:content, complete:false });
+ this.add2attachment_list(ts, { name:'', html:content, classname:'uploading', complete:false });
// upload progress support
if (this.env.upload_progress_time) {
diff --git a/skins/larry/googiespell.css b/skins/larry/googiespell.css
new file mode 100644
index 000000000..1e4d5dfab
--- /dev/null
+++ b/skins/larry/googiespell.css
@@ -0,0 +1,94 @@
+/***** modified styles for GoogieSpell *****/
+
+.googie_window {
+ font-size: 11px;
+ width: 185px;
+ margin: 0;
+ padding: 0;
+}
+
+.googie_edit_layer {
+ padding: 8px;
+ font-size: 9pt;
+ font-family: monospace;
+ background-color: #fff;
+ border: 0;
+}
+
+.googie_edit_layer span {
+ font-family: monospace;
+}
+
+.googie_list {
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ border-spacing: 0;
+}
+
+.googie_list td {
+ min-width: 80px;
+ width: auto;
+}
+
+.googie_list td.googie_list_selected {
+ background: #4db0d2;
+}
+
+.googie_list_close {
+ font-size: 11px;
+ color: #b91414;
+}
+
+.googie_list_onhover .googie_list_close {
+ color: #fff;
+}
+
+.googie_list_revert {
+ font-size: 11px;
+ color: #b91414;
+}
+
+.googie_list_revert:hover {
+ color: #fff;
+}
+
+.googie_link {
+ color: #b91414;
+ text-decoration: underline;
+ cursor: pointer;
+ font-size: 9pt;
+ font-family: monospace;
+}
+
+.googie_check_spelling_link {
+ color: #0069A6;
+ font-size: 11px;
+ text-decoration: underline;
+ cursor: pointer;
+}
+
+.googie_no_style {
+ text-decoration: none;
+}
+
+.googie_check_spelling_ok,
+.googie_resume_editing {
+ color: green;
+ font-size: 11px;
+ cursor: pointer;
+ text-decoration: underline;
+}
+
+.googie_check_spelling_ok:hover,
+.googie_resume_editing:hover {
+ text-decoration: underline;
+}
+
+.googie_lang_3d_click img,
+.googie_lang_3d_on img {
+ vertical-align: middle;
+ cursor: pointer;
+ border: 0;
+}
+
diff --git a/skins/larry/images/buttons.png b/skins/larry/images/buttons.png
index f5117558d..c18f10f9b 100644
Binary files a/skins/larry/images/buttons.png and b/skins/larry/images/buttons.png differ
diff --git a/skins/larry/images/googiespell/buttons.png b/skins/larry/images/googiespell/buttons.png
new file mode 100644
index 000000000..f67a360d2
Binary files /dev/null and b/skins/larry/images/googiespell/buttons.png differ
diff --git a/skins/larry/images/googiespell/change_lang.gif b/skins/larry/images/googiespell/change_lang.gif
new file mode 100644
index 000000000..81451832c
Binary files /dev/null and b/skins/larry/images/googiespell/change_lang.gif differ
diff --git a/skins/larry/images/googiespell/indicator.gif b/skins/larry/images/googiespell/indicator.gif
new file mode 100644
index 000000000..b556bb00f
Binary files /dev/null and b/skins/larry/images/googiespell/indicator.gif differ
diff --git a/skins/larry/images/googiespell/ok.gif b/skins/larry/images/googiespell/ok.gif
new file mode 100644
index 000000000..d5a309f46
Binary files /dev/null and b/skins/larry/images/googiespell/ok.gif differ
diff --git a/skins/larry/images/googiespell/spellc.gif b/skins/larry/images/googiespell/spellc.gif
new file mode 100644
index 000000000..6ed936090
Binary files /dev/null and b/skins/larry/images/googiespell/spellc.gif differ
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 323f31b6d..3b8905c06 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -302,7 +302,6 @@ a.iconbutton.threadmode.selected {
}
.boxlistcontent thead tr td {
- font-size: 11px;
font-weight: bold;
background: #d6eaf3;
background: -moz-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 100%);
@@ -313,7 +312,8 @@ a.iconbutton.threadmode.selected {
border-left: 1px solid #bbd3da;
}
-.boxlistcontent thead tr td a {
+.boxlistcontent thead tr td a,
+.boxlistcontent thead tr td span {
display: block;
padding: 8px 7px;
color: #69939e;
@@ -321,7 +321,6 @@ a.iconbutton.threadmode.selected {
}
.boxlistcontent tbody tr td {
- font-size: 11px;
padding: 4px 7px;
border-bottom: 1px solid #ddd;
border-left: 1px dotted #bbd3da;
@@ -494,6 +493,7 @@ html.chrome #messagelist tr td.threads {
vertical-align: middle;
height: 18px;
width: 20px;
+ padding: 0;
background: url(images/listicons.png) -100px 0 no-repeat;
}
@@ -627,6 +627,9 @@ html.chrome #messagelist tr td.threads {
/* background: url(images/tree.gif) 0px 0px no-repeat; */
}
+#listoptions ul.proplist {
+ min-width: 16em;
+}
/**** message view ****/
@@ -655,7 +658,8 @@ html.chrome #messagelist tr td.threads {
}
#messageheader,
-#partheader {
+#partheader,
+#composeheaders {
position: relative;
padding: 3px 0;
background: #fff;
@@ -687,7 +691,6 @@ h3.subject {
.headers-table td {
color: #666;
padding: 2px 8px;
- font-size: 11px;
}
.headers-table td.header {
@@ -796,7 +799,6 @@ h3.subject {
#message-objects div a.button,
#messagebody span.part-notice a.button {
- font-size: 11px;
margin-left: 10px;
border: 1px solid #ccc;
box-shadow: 0 1px 1px 0 #e8e386;
@@ -872,6 +874,7 @@ div.message-part blockquote blockquote blockquote {
#attachment-list li {
display: block;
+ position: relative;
background: url(images/filetypes.png) 0 0 no-repeat;
margin-bottom: 1px;
}
@@ -907,14 +910,13 @@ div.message-part blockquote blockquote blockquote {
background-position: 0 -182px;
}
-
-#attachment-list li a {
+#attachment-list li a,
+#compose-attachments ul li {
display: block;
color: #333;
- font-size: 11px;
font-weight: bold;
padding: 8px 4px 3px 30px;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
text-decoration: none;
white-space: nowrap;
}
@@ -931,7 +933,217 @@ div.message-part blockquote blockquote blockquote {
bottom: 0px;
}
-
#messagepartframe {
border: 0;
-}
\ No newline at end of file
+}
+
+
+/*** message composition ***/
+
+#composeview-left {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 250px;
+ bottom: 0;
+}
+
+#composeview-right {
+ position: absolute;
+ top: 0;
+ left: 262px;
+ right: 0;
+ bottom: 0;
+}
+
+#compose-content {
+ position: absolute;
+ top: 42px;
+ left: 0;
+ width: 100%;
+ bottom: 28px;
+ border-bottom-left-radius: 0;
+ border-bottom-right-radius: 0;
+ overflow: hidden;
+}
+
+#composeheaders {
+ border-radius: 4px 4px 0 0;
+ -webkit-box-shadow: 0 2px 3px 0 #999;
+ -moz-box-shadow: 0 2px 3px 0 #999;
+ box-shadow: 0 2px 3px 0 #999;
+}
+
+#composebuttons {
+ position: absolute;
+ top: 8px;
+ right: 8px;
+ width: auto;
+ white-space: nowrap;
+ z-index: 100;
+}
+
+.compose-headers {
+ width: 99%;
+ margin: 4px 0;
+}
+
+.compose-headers td {
+ padding: 4px 4px 4px 8px;
+}
+
+.compose-headers td.title {
+ width: 11%;
+ white-space: nowrap;
+}
+
+.compose-headers td.title label {
+ float: left;
+}
+
+.compose-headers td.title a.iconbutton {
+ float: right;
+ position: relative;
+ top: -2px;
+ width: 15px;
+}
+
+.compose-headers td.editfield {
+ width: 90%;
+ padding-left: 4px;
+}
+
+.compose-headers td.editfield a.iconlink {
+ margin-left: 0.5em;
+}
+
+.compose-headers td.formlinks {
+ padding: 0 4px;
+}
+
+.compose-headers td.top {
+ vertical-align: top;
+ padding-top: 10px;
+}
+
+.compose-headers td textarea,
+.compose-headers td input {
+ width: 100%;
+ resize: none;
+}
+
+#compose-cc, #compose-bcc, #compose-replyto, #compose-followupto {
+ display: none;
+}
+
+#composeoptionsbox {
+ padding: 4px 8px 0 8px;
+ background: #d2d2d2;
+ border-bottom: 1px solid #e8e8e8;
+ -webkit-box-shadow: 0 2px 3px 0 #999;
+ -moz-box-shadow: 0 2px 3px 0 #999;
+ box-shadow: 0 2px 3px 0 #999;
+ white-space: nowrap;
+}
+
+#composeoptions {
+ display: none;
+ padding: 2px 0;
+ white-space: normal;
+}
+
+.composeoption {
+ padding-right: 22px;
+ white-space: nowrap;
+}
+
+#composeoptions .composeoption {
+ display: inline-block;
+ padding: 4px 28px 4px 0;
+}
+
+#composeoptions .composeoption:last-child {
+ padding-right: 4px;
+}
+
+#composeoptionstoggle {
+ display: inline-block;
+ position: relative;
+ top: -1px;
+ left: 6px;
+ width: 20px;
+ height: 18px;
+ background: url(images/buttons.png) -3px -418px no-repeat;
+ text-decoration: none;
+}
+
+#composeoptionstoggle.enabled {
+ background-position: -28px -418px;
+}
+
+#composeview-bottom {
+ position: relative;
+ width: 100%;
+ height: 200px;
+}
+
+#composebodycontainer {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 260px;
+ bottom: 0;
+}
+
+#composebody {
+ position: absolute;
+ top: 24px;
+ left: 0;
+ bottom: 0;
+ width: 99%;
+ border: 0;
+ padding: 8px 0 8px 8px;
+ box-shadow: none;
+ resize: none;
+ font-family: monospace;
+ font-size: 9pt;
+}
+
+#compose-attachments {
+ position: absolute;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ width: 240px;
+ background: #f0f0f0;
+ padding: 8px;
+ overflow: auto;
+}
+
+#attachment-list li.uploading {
+ background: url(images/ajaxloader.gif) 2px 6px no-repeat;
+}
+
+#attachment-list li a.delete,
+#attachment-list li a.cancelupload {
+ position: absolute;
+ top: 6px;
+ right: 0;
+ width: 24px;
+ height: 18px;
+ padding: 0;
+ text-decoration: none;
+ text-indent: -1000px;
+ background: url(images/buttons.png) -7px -337px no-repeat;
+}
+
+#attachment-list li a.cancelupload {
+ background-position: -7px -377px;
+}
+
+#spellcheck-control {
+ margin: 6px 8px;
+ text-align: right;
+}
+
+
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 0aeb2fa68..f5a478537 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -14,7 +14,7 @@
body {
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
- font-size: 12px;
+ font-size: 11px;
color: #333;
background: url(images/linen.jpg) repeat #d1d5d8;
margin: 0;
@@ -66,9 +66,9 @@ textarea.placeholder {
input.button {
display: inline-block;
margin: 0 2px;
- padding: 4px 6px;
+ padding: 3px 5px;
color: #525252;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
border: 1px solid #c0c0c0;
border-radius: 4px;
background: #f7f7f7;
@@ -87,7 +87,7 @@ input.button {
.formbuttons input.button {
color: #ddd;
font-size: 110%;
- text-shadow: 1px 1px 1px #333;
+ text-shadow: 0px 1px 1px #333;
padding: 4px 12px;
border-color: #465864;
border-radius: 5px;
@@ -97,14 +97,18 @@ input.button {
background: -o-linear-gradient(top, rgba(123,123,123,1) 0%,rgba(96,96,96,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(123,123,123,1) 0%,rgba(96,96,96,1) 100%); /* IE10+ */
background: linear-gradient(top, rgba(123,123,123,1) 0%,rgba(96,96,96,1) 100%); /* W3C */
+ box-shadow: 0 1px 1px 0 #ccc, inset 0 1px 0 0 #888;
+ -o-box-shadow: 0 1px 1px 0 #ccc, inset 0 1px 0 0 #888;
+ -webkit-box-shadow: 0 1px 1px 0 #ccc, inset 0 1px 0 0 #888;
+ -moz-box-shadow: 0 1px 1px 0 #ccc, inset 0 1px 0 0 #888;
}
.formbuttons input.button:hover {
color: #f2f2f2;
- box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6);
- -moz-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6);
- -webkit-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6);
- -o-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6);
+ box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6), inset 0 1px 0 0 #888;
+ -moz-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6), inset 0 1px 0 0 #888;
+ -webkit-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6), inset 0 1px 0 0 #888;
+ -o-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6), inset 0 1px 0 0 #888;
}
.formbuttons input.button:active {
@@ -129,12 +133,12 @@ input.button.mainaction {
input.button.mainaction:active {
color: #fff;
- background: rgba(42,46,49,1);
- background: -moz-linear-gradient(top, rgba(42,46,49,1) 0%, rgba(80,80,80,1) 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(42,46,49,1)), color-stop(100%,rgba(80,80,80,1)));
- background: -o-linear-gradient(top, rgba(42,46,49,1) 0%,rgba(80,80,80,1) 100%);
- background: -ms-linear-gradient(top, rgba(42,46,49,1) 0%,rgba(80,80,80,1) 100%);
- background: linear-gradient(top, rgba(42,46,49,1) 0%,rgba(80,80,80,1) 100%);
+ background: #515151;
+ background: -moz-linear-gradient(top, #515151 0%, #2c2c2c 100%);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#515151), color-stop(100%,#2c2c2c));
+ background: -o-linear-gradient(top, #515151 0%, #2c2c2c 100%);
+ background: -ms-linear-gradient(top, #515151 0%, #2c2c2c 100%);
+ background: linear-gradient(top, #515151 0%, #2c2c2c 100%);
}
input.button[disabled],
@@ -154,7 +158,7 @@ a.button {
margin: 0 2px;
padding: 2px 5px;
color: #525252;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
border: 1px solid #c6c6c6;
border-radius: 4px;
background: #f7f7f7;
@@ -170,6 +174,7 @@ a.button {
text-decoration: none;
}
+label.disabled,
a.button.disabled {
color: #999;
}
@@ -257,8 +262,7 @@ input.button:active {
.pagenav .countdisplay {
display: inline-block;
padding:0 0.5em;
- font-size: 11px;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
min-width: 20em;
}
@@ -277,13 +281,36 @@ a.iconbutton.disabled {
}
a.iconbutton.searchoptions {
- background-position: -2px -337px;
+ background-position: -2px -317px;
}
a.iconbutton.reset {
- background-position: -25px -337px;
+ background-position: -25px -317px;
+}
+
+a.iconbutton.cancel {
+ background-position: -7px -377px;
+}
+
+a.iconlink {
+ display: inline-block;
+ color: #888;
+ text-decoration: none;
+ padding: 2px 8px 2px 20px;
+ background: url(images/buttons.png) -1000px 0 no-repeat;
+}
+
+a.iconlink:hover {
+ text-decoration: underline;
+}
+
+a.iconlink.add {
+ background-position: -7px -357px;
}
+a.iconlink.edit {
+ background-position: -7px -397px;
+}
/*** message bar ***/
@@ -349,7 +376,6 @@ a.iconbutton.reset {
background: url(images/linen_header.jpg) repeat #666;
border-bottom: 1px solid #4f4f4f;
padding: 2px 0 2px 10px;
- font-size: 11px;
color: #aaa;
}
@@ -423,7 +449,7 @@ a.iconbutton.reset {
display: inline-block;
font-size: 110%;
font-weight: normal;
- text-shadow: 1px 1px 1px black;
+ text-shadow: 0px 1px 1px black;
padding: 5px 0 0 34px;
height: 19px;
background: url(images/buttons.png) -1000px 0 no-repeat;
@@ -543,7 +569,7 @@ a.iconbutton.reset {
font-weight: bold;
padding: 10px 8px 8px 8px;
margin: 0;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
border-bottom: 1px solid #bbd3da;
white-space: nowrap;
}
@@ -560,7 +586,6 @@ a.iconbutton.reset {
.listing tbody td,
.listing li {
display: block;
- font-size: 11px;
border-top: 1px solid #fff;
border-bottom: 1px solid #bbd3da;
cursor: default;
@@ -573,7 +598,7 @@ a.iconbutton.reset {
.listing li a {
display: block;
color: #376572;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
text-decoration: none;
cursor: default;
padding: 7px 8px 5px 8px;
@@ -608,11 +633,17 @@ table.listing tr.droptarget td {
background-color: #c7e3ef;
}
-table.listing {
+table.listing,
+table.layout {
+ border: 0;
width: 100%;
border-spacing: 0;
}
+table.layout td {
+ vertical-align: top;
+}
+
.listbox .boxfooter {
position: absolute;
bottom: 0;
@@ -734,12 +765,19 @@ body.iframe .boxtitle {
font-size: 12px;
}
+fieldset.floating {
+ float: left;
+ margin-right: 10px;
+ margin-bottom: 10px;
+}
+
table.propform {
width: 100%;
border-spacing: 0;
border-collapse: collapse;
}
+ul.proplist li,
table.propform td {
width: 80%;
padding: 4px 10px;
@@ -759,6 +797,16 @@ table.propform .mceLayout td {
border-bottom: 0;
}
+ul.proplist {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+ul.proplist li {
+ width: auto;
+}
+
/*** Login form ***/
@@ -799,7 +847,7 @@ table.propform .mceLayout td {
#login-form input.button {
color: #444;
- text-shadow: 1px 1px 1px #fff;
+ text-shadow: 0px 1px 1px #fff;
border-color: #f9f9f9;
background: #f9f9f9;
background: -moz-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(226,226,226,1) 100%);
@@ -820,7 +868,7 @@ table.propform .mceLayout td {
#login-form td.title {
color: #cecece;
- text-shadow: 1px 1px 1px black;
+ text-shadow: 0px 1px 1px black;
text-align: right;
padding-right: 1em;
}
@@ -893,7 +941,7 @@ table.propform .mceLayout td {
text-overflow: ellipsis;
white-space: nowrap;
padding: 28px 2px 2px 2px;
- text-shadow: 1px 1px 1px #eee;
+ text-shadow: 0px 1px 1px #eee;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
@@ -971,9 +1019,19 @@ table.propform .mceLayout td {
background-position: center -850px;
}
+.toolbar a.button.attach {
+ background-position: center -890px;
+}
+
+.toolbar a.button.spellcheck {
+ background-position: center -930px;
+}
+
+
/*** popup menus ***/
-.popupmenu {
+.popupmenu,
+#rcmKSearchpane {
display: none;
position: absolute;
top: 32px;
@@ -989,15 +1047,17 @@ table.propform .mceLayout td {
-o-box-shadow: 0 2px 6px 0 #333;
}
-ul.toolbarmenu {
+ul.toolbarmenu,
+#rcmKSearchpane ul {
margin: 0;
padding: 0;
list-style: none;
}
-ul.toolbarmenu li {
+.googie_list td,
+ul.toolbarmenu li,
+#rcmKSearchpane ul li {
color: #fff;
- font-size: 11px;
white-space: nowrap;
min-width: 130px;
margin: 0;
@@ -1005,28 +1065,35 @@ ul.toolbarmenu li {
border-bottom: 1px solid #333;
}
+.googie_list tr:first-child td,
ul.toolbarmenu li:first-child {
border-top: 0;
}
+.googie_list tr:last-child td,
ul.toolbarmenu li:last-child {
border-bottom: 0;
}
+.googie_list td span,
ul.toolbarmenu li a {
display: block;
color: #666;
- text-shadow: 1px 1px 1px #333;
+ text-shadow: 0px 1px 1px #333;
text-decoration: none;
min-height: 14px;
padding: 6px 10px 6px 10px;
}
+.googie_list td span,
ul.toolbarmenu li a.active {
color: #fff;
+ cursor: default;
}
-ul.toolbarmenu li a.active:hover {
+.googie_list td.googie_list_onhover,
+ul.toolbarmenu li a.active:hover,
+#rcmKSearchpane ul li.selected {
background-color: #00aad6;
background: -moz-linear-gradient(top, #00aad6 0%, #008fc9 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00aad6), color-stop(100%,#008fc9));
@@ -1043,7 +1110,35 @@ ul.toolbarmenu li label {
display: block;
color: #fff;
padding: 4px 8px;
- text-shadow: 1px 1px 1px #333;
+ text-shadow: 0px 1px 1px #333;
+}
+
+#rcmKSearchpane {
+ border-radius: 0 0 4px 4px;
+ border-top: 0;
+}
+
+#rcmKSearchpane ul li {
+ text-shadow: 0px 1px 1px #333;
+ text-decoration: none;
+ min-height: 14px;
+ padding: 6px 10px 6px 10px;
+ border: 0;
+}
+
+.popupdialog {
+ display: none;
+ padding: 10px;
+}
+
+.popupdialog .formbuttons {
+ margin: 20px 0 4px 0;
+}
+
+.hint {
+ margin: 4px 0;
+ color: #999;
+ text-shadow: 0px 1px 1px #fff;
}
.splitter {
@@ -1084,10 +1179,9 @@ ul.toolbarmenu li label {
-o-box-shadow: 0 2px 6px 0 #333;
z-index: 250;
color: #ccc;
- font-size: 11px;
white-space: nowrap;
opacity: 0.92;
- text-shadow: 1px 1px 1px #333;
+ text-shadow: 0px 1px 1px #333;
}
#rcmdraglayer:after {
diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html
new file mode 100644
index 000000000..1fe740ce1
--- /dev/null
+++ b/skins/larry/templates/compose.html
@@ -0,0 +1,159 @@
+