Merge branch 'master' of github.com:roundcube/roundcubemail
1 files added
9 files modified
| | |
| | | var prevstate = this.env.compose_extwin; |
| | | $("input[name='_action']", this.gui_objects.messageform).val('compose'); |
| | | this.gui_objects.messageform.action = this.url('mail/compose', { _id: this.env.compose_id, _extwin: 1 }); |
| | | this.gui_objects.messageform.target = this.open_window('', 1150, 900); |
| | | this.gui_objects.messageform.target = this.open_window('', 1100, 900); |
| | | this.gui_objects.messageform.submit(); |
| | | } |
| | | else { |
| | | this.open_window(this.env.permaurl, 1000, 1200); |
| | | this.open_window(this.env.permaurl, 900, 900); |
| | | } |
| | | break; |
| | | |
| | |
| | | var w = Math.min(width, screen.width - 10), |
| | | h = Math.min(height, screen.height - 100), |
| | | l = (screen.width - w) / 2 + (screen.left || 0), |
| | | t = Math.max(0, (screen.height - h) / 2 + (screen.top || 0) - 20); |
| | | |
| | | var wname = 'rcmextwin' + new Date().getTime(), |
| | | extwin = window.open(url + '&_extwin=1', wname, 'width='+w+',height='+h+',top='+t+',left='+l+',resizable=yes,toolbar=no,status=no'); |
| | | extwin.moveTo(l,t); |
| | | t = Math.max(0, (screen.height - h) / 2 + (screen.top || 0) - 20), |
| | | wname = 'rcmextwin' + new Date().getTime(), |
| | | extwin = window.open(url + '&_extwin=1', wname, |
| | | 'width='+w+',height='+h+',top='+t+',left='+l+',resizable=yes,toolbar=no,status=no,location=no'); |
| | | |
| | | // write loading... message to empty windows |
| | | if (!url && extwin.document) { |
| | |
| | | } |
| | | |
| | | // focus window, delayed to bring to front |
| | | window.setTimeout(function(){ extwin.focus(); }, 10); |
| | | window.setTimeout(function() { extwin.focus(); }, 10); |
| | | // position window with setTimeout for Chrome (#1488931) |
| | | window.setTimeout(function() { extwin.moveTo(l,t); }, bw.chrome ? 100 : 10); |
| | | |
| | | return wname; |
| | | }; |
| | |
| | | */ |
| | | function closeConnection() |
| | | { |
| | | if ($this->putLine($this->nextTag() . ' LOGOUT')) { |
| | | if ($this->logged && $this->putLine($this->nextTag() . ' LOGOUT')) { |
| | | $this->readReply(); |
| | | } |
| | | |
New file |
| | |
| | | /** |
| | | * Roundcube webmail "embedded" stylesheets |
| | | * |
| | | * Copyright (c) 2013, The Roundcube Dev Team |
| | | * |
| | | * The contents are subject to the Creative Commons Attribution-ShareAlike |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | */ |
| | | |
| | | .rcmail-inline-message { |
| | | font-family: sans-serif; |
| | | font-size: 14px; |
| | | color: #000; |
| | | margin-bottom: .8em; |
| | | min-height: 20px; |
| | | padding: 10px 10px 6px 46px; |
| | | background: url(images/display/icons.png) 6px 3px no-repeat #F7FDCB; |
| | | border: 1px solid #C2D071; |
| | | } |
| | | |
| | | .rcmail-inline-message > button { |
| | | margin-left: 1em; |
| | | vertical-align: baseline; |
| | | } |
| | | |
| | | .rcmail-inline-message em { |
| | | font-size: 90%; |
| | | color: #666; |
| | | } |
| | | |
| | | .rcmail-inline-buttons { |
| | | margin-bottom: 0; |
| | | } |
| | |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | * |
| | | * $Id$ |
| | | */ |
| | | |
| | | #addressview-left { |
| | |
| | | |
| | | .rcmail-inline-message { |
| | | font-family: sans-serif; |
| | | font-size: 14px; |
| | | color: #333; |
| | | font-size: 11px; |
| | | font-weight: bold; |
| | | color: #996600; |
| | | border: 1px solid #ffdf0e; |
| | | background-color: #fef893; |
| | | padding: 0.6em 1em; |
| | | background: url("images/messages.png") no-repeat scroll 5px -83px #fef893; |
| | | padding: 6px 12px 4px 30px; |
| | | margin-bottom: 0.8em; |
| | | } |
| | | |
| | |
| | | |
| | | .rcmail-inline-message em { |
| | | font-size: 90%; |
| | | color: #666; |
| | | } |
| | | |
| | | .rcmail-inline-buttons { |
| | |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | * |
| | | * $Id$ |
| | | */ |
| | | |
| | | input.button { |
| | |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | * |
| | | * $Id$ |
| | | */ |
| | | |
| | | #mailview-left { |
| | |
| | | color: #960; |
| | | border: 1px solid #ffdf0e; |
| | | background-color: #fef893; |
| | | background-position: 5px -85px; |
| | | background-position: 5px -83px; |
| | | padding: 6px 12px 4px 30px; |
| | | white-space: normal; |
| | | } |
| | |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | * |
| | | * $Id$ |
| | | */ |
| | | body { |
| | | font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; |
| | |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | * |
| | | * $Id$ |
| | | */ |
| | | |
| | | body { |
| | |
| | | * License. It is allowed to copy, distribute, transmit and to adapt the work |
| | | * by keeping credits to the original autors in the README file. |
| | | * See http://creativecommons.org/licenses/by-sa/3.0/ for details. |
| | | * |
| | | * $Id$ |
| | | */ |
| | | |
| | | input.button { |