diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-06-26 11:49:47 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-06-26 11:49:47 +0200 |
commit | 0be8bd11e2efa5ddabe576fb535e086cb78cc42c (patch) | |
tree | 1f20f7919b0470551ac8613117ec6f5f4ab80887 /skins/larry/addressbook.css | |
parent | 7ab9c1775243217f3f6cb0717b1894a98303d04e (diff) |
Enable drag & drop file upload for contact photos
Diffstat (limited to 'skins/larry/addressbook.css')
-rw-r--r-- | skins/larry/addressbook.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css index a9a3c9883..9856e2836 100644 --- a/skins/larry/addressbook.css +++ b/skins/larry/addressbook.css @@ -160,6 +160,29 @@ #contactpic img { width: 112px; + visibility: inherit; +} + +#contactpic.droptarget { + background-image: url(images/filedrop.png); + background-position: center; + background-repeat: no-repeat; +} + +#contactpic.droptarget.hover { + background-color: #d9ecf4; + box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9); + -moz-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9); + -webkit-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9); + -o-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9); +} + +#contactpic.droptarget.active img { + opacity: 0.15; +} + +#contactpic.droptarget.hover img { + opacity: 0.05; } #contacthead { |