aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-04 18:10:42 -0700
committerredmatrix <git@macgirvin.com>2016-06-04 18:10:42 -0700
commitdd6718c2cdf2cadaf7478b848eb892dcda1dc7e9 (patch)
tree37ebd008e439d2523c5bf5d9b2273c787d41bb53
parentc1a24d44a35feca7539df6aa6909b00062072d28 (diff)
downloadvolse-hubzilla-dd6718c2cdf2cadaf7478b848eb892dcda1dc7e9.tar.gz
volse-hubzilla-dd6718c2cdf2cadaf7478b848eb892dcda1dc7e9.tar.bz2
volse-hubzilla-dd6718c2cdf2cadaf7478b848eb892dcda1dc7e9.zip
provide a hover class for smiley emojis which renders them slightly larger on compatible devices when you single them out for inspection
-rw-r--r--include/text.php2
-rw-r--r--view/css/conversation.css5
2 files changed, 6 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 7d1e22170..1bc19da34 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1166,7 +1166,7 @@ function list_smilies() {
if(strpos($e['shortname'],':tone') === 0)
continue;
$texts[] = $e['shortname'];
- $icons[] = '<img height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
+ $icons[] = '<img class="smiley emoji" height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
}
}
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 328f9df02..b6e316121 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -312,3 +312,8 @@ code.inline-code {
.overline {
text-decoration: overline;
}
+
+img.smiley.emoji:hover {
+ width: 32px;
+ height: 32px;
+} \ No newline at end of file