aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-24 22:40:26 -0700
committerFriendika <info@friendika.com>2011-08-24 22:40:26 -0700
commit74d61ed00b9ff6fe768d4a0f4a27da246020c270 (patch)
treef31cb2780937abbfbfb222590071952a4a92051e /view
parent8f6ae2b66044a36996ac92a8db1a540db9c71fe3 (diff)
downloadvolse-hubzilla-74d61ed00b9ff6fe768d4a0f4a27da246020c270.tar.gz
volse-hubzilla-74d61ed00b9ff6fe768d4a0f4a27da246020c270.tar.bz2
volse-hubzilla-74d61ed00b9ff6fe768d4a0f4a27da246020c270.zip
contact menu beginnings
Diffstat (limited to 'view')
-rw-r--r--view/contact_template.tpl12
-rw-r--r--view/theme/duepuntozero/style.css31
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;