From e5aa02d696bd14a5a4fa6f1c3fa5c40ccb980908 Mon Sep 17 00:00:00 2001 From: Alistair McKinlay Date: Sat, 9 Jan 2016 15:51:54 +0000 Subject: [PATCH 1/2] Change user buttons to as. Allows highlighting on firefox. --- client/js/shout.templates.js | 4 ++-- client/views/msg.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/js/shout.templates.js b/client/js/shout.templates.js index 37c9eaf4..47f8b66f 100644 --- a/client/js/shout.templates.js +++ b/client/js/shout.templates.js @@ -76,12 +76,12 @@ templates['msg'] = template({"1":function(depth0,helpers,partials,data) { return "self"; },"3":function(depth0,helpers,partials,data) { var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function"; - return " \n"; + + "\n"; },"5":function(depth0,helpers,partials,data) { var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "
\n + {{mode}}{{from}} {{/if}} From e3e4cc9fb73edb4655adf640c60bb3db1af787d8 Mon Sep 17 00:00:00 2001 From: Alistair McKinlay Date: Sun, 24 Jan 2016 09:12:41 +0000 Subject: [PATCH 2/2] Fix styles for .user instead of button --- client/css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index e3c756a5..cef583e4 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -97,7 +97,7 @@ h2 { input { outline: 0; } -button { +button, .user { border: none; background: none; margin: 0; @@ -520,7 +520,7 @@ button { font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace; line-height: 1.4; } -#chat button:hover { +#chat button:hover, .user:hover { opacity: .6; } #chat .chat, @@ -634,8 +634,8 @@ button { color: #84ce88; color: #50a656; } -#chat.no-colors .from button, -#chat.no-colors .sidebar button { +#chat.no-colors .from .user, +#chat.no-colors .sidebar .user { color: #50a656 !important; } #chat .text {