diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/contact_template.tpl | 12 | ||||
-rw-r--r-- | view/theme/duepuntozero/style.css | 31 |
2 files changed, 42 insertions, 1 deletions
diff --git a/view/contact_template.tpl b/view/contact_template.tpl index e9f616760..a74cebab5 100644 --- a/view/contact_template.tpl +++ b/view/contact_template.tpl @@ -12,8 +12,18 @@ <div class="contact-entry-edit-end"></div> </div> <div class="contact-entry-nav-end"></div> - <div class="contact-entry-photo" id="contact-entry-photo-$id" > + <div class="contact-entry-photo" id="contact-entry-photo-$id" + onmouseover="if (typeof t$id != 'undefined') clearTimeout(t$id); openMenu('contact-photo-menu-button-$id')" onmouseout="t$id=setTimeout('closeMenu(\'contact-photo-menu-button-$id\'); closeMenu(\'contact-photo-menu-$id\');',200)"> + <a href="$url" title="$img_hover" /><img src="$thumb" $sparkle alt="$name" /></a> + + <span onclick="openClose('contact-photo-menu-$id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$id">menu</span> + <div class="contact-photo-menu" id="contact-photo-menu-$id"> + <ul> + $contact_photo_menu + </ul> + </div> + </div> </div> diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 5943e5061..66e9f857e 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -744,6 +744,7 @@ input#dfrn-url { .contact-entry-wrapper { float: left; width: 180px; + height: 120px; } .contact-entry-direction-icon { @@ -1458,6 +1459,36 @@ input#dfrn-url { /*margin-left: 50px;*/ } + +.contact-photo-menu-button { + display: block; +/* position: absolute; */ + background-image: url("photo-menu.jpg"); + background-position: top left; + background-repeat: no-repeat; + margin: 0px; padding: 0px; + width: 16px; + height: 16px; + top: 60px; left:10px; + overflow: hidden; + text-indent: 40px; + display: none; + +} +.contact-photo-menu { + width: auto; + border: 2px solid #444444; + background: #FFFFFF; +/* position: absolute; */ + left: 10px; top: 90px; + display: none; + z-index: 10000; +} +.contact-photo-menu ul { margin:0px; padding: 0px; list-style: none } +.contact-photo-menu li a { display: block; padding: 2px; } +.contact-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } + + #block-message, #ignore-message { margin-top: 20px; color: #FF0000; |