From 1639f5b83d39be33ccbf07ac29b7a86cc11a4d14 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 5 Sep 2016 17:08:48 -0700 Subject: add links to zcards #500 ; also provide drag/drop highlighting of comment regions when a link is being dragged over them --- Zotlabs/Module/Oembed.php | 2 +- view/css/conversation.css | 7 +++++++ view/tpl/comment_item.tpl | 2 +- view/tpl/jot-header.tpl | 25 ++++++++++++++++++++++++- view/tpl/zcard_embed.tpl | 4 ++-- 5 files changed, 35 insertions(+), 5 deletions(-) diff --git a/Zotlabs/Module/Oembed.php b/Zotlabs/Module/Oembed.php index b02182053..6f61ab4d8 100644 --- a/Zotlabs/Module/Oembed.php +++ b/Zotlabs/Module/Oembed.php @@ -22,7 +22,7 @@ class Oembed extends \Zotlabs\Web\Controller { } else { - echo ""; + echo ""; $src = base64url_decode(argv(1)); $j = oembed_fetch_url($src); echo $j->html; diff --git a/view/css/conversation.css b/view/css/conversation.css index 4f2eee17d..e8b2f926b 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -46,6 +46,13 @@ box-shadow: inset 0 0px 7px #5cb85c; } +.comment-edit-text-empty.hover, .comment-edit-text-full.hover { + background-color: aliceblue; + opacity: 0.5; + box-shadow: inset 0 0px 7px #5cb85c; +} + + .jot-attachment { border: 0px; padding: 10px; diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 5920efafa..a98b9e5eb 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -10,7 +10,7 @@ - + {{if $qcomment}}