summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-07 10:34:56 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-07 10:34:56 +0200
commitf8c96f737c1916377e361e3fbaa8a415c4101ca4 (patch)
treefc4120fe893a77d0806c8744906d4b7e236170a0 /skins
parentd1d0564a91812e3e58569bfa0ef413d36e130d24 (diff)
Enable attachments drag&drop upload for default skin
Diffstat (limited to 'skins')
-rw-r--r--skins/default/mail.css8
-rw-r--r--skins/default/templates/compose.html1
2 files changed, 9 insertions, 0 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css
index c8db8e0c8..0e928f0e8 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -1448,6 +1448,14 @@ input.from_address
background-color: #F9F9F9;
}
+#compose-attachments.droptarget.hover
+{
+ background-color: #F0F0EE;
+ box-shadow: 0 0 5px 0 #999;
+ -moz-box-shadow: 0 0 5px 0 #999;
+ -o-box-shadow: 0 0 5px 0 #999;
+}
+
#compose-attachments ul
{
margin: 0px;
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index adb0949c1..caebf31a0 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -49,6 +49,7 @@
<roundcube:button name="uploadmenulink" id="uploadmenulink" type="link" title="addattachment" class="button addgroup" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " />
</div>
</div>
+<roundcube:object name="fileDropArea" id="compose-attachments" />
<script type="text/javascript">
var composesplitv = new rcube_splitter({id:'composesplitterv', p1: 'compose-attachments', p2: 'compose-container', orientation: 'v', relative: true, start: 175});