From fbb70cd46c83603118705ed879c6bac41808f2f8 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Thu, 19 Jun 2014 21:52:51 +0200 Subject: [PATCH] Improvided chat list. --- src/styles/components/_chat.scss | 15 +++++++++------ static/partials/chat.html | 14 +++++++------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/styles/components/_chat.scss b/src/styles/components/_chat.scss index 6d34f46b..27e8041b 100644 --- a/src/styles/components/_chat.scss +++ b/src/styles/components/_chat.scss @@ -86,15 +86,17 @@ border-right: none; border-left: none; border-radius: 0; - padding-right: 30px; + padding-right: 70px; position: relative; + min-height: 51px; + line-height: 26px; &.newmessage { animation: newmessage 1s ease -0.3s infinite; } &.disabled { color: $chat-disabled; } - &:hover .item-btn { + &:hover button { display: inline; } .fa-lg { @@ -105,13 +107,14 @@ .badge { background: $chat-badge; border: 1px solid white; - font-size: .8em; + position: absolute; + right: 50px; + top: 14px; } - .item-btn { - cursor: pointer; + button { display: none; position: absolute; - right: 12px; + right: 10px; } } } diff --git a/static/partials/chat.html b/static/partials/chat.html index 02b97677..bd850c32 100644 --- a/static/partials/chat.html +++ b/static/partials/chat.html @@ -5,13 +5,13 @@
{{_("Chat sessions")}}