From 0e428a44bc3672fe756f74ef1c5d6184229c29bc Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Fri, 20 Mar 2020 17:25:35 -0500 Subject: [PATCH] Less busy PM list --- chat/ChatView.vue | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/chat/ChatView.vue b/chat/ChatView.vue index 125802a..7439d4f 100644 --- a/chat/ChatView.vue +++ b/chat/ChatView.vue @@ -40,11 +40,8 @@ {{conversation.character.name}}
- + - @@ -281,6 +278,14 @@ getOnlineStatusIconClasses(conversation: PrivateConversation): Record { const status = conversation.character.status; + if ((conversation.typingStatus === 'typing') || (conversation.typingStatus === 'paused')) { + return { + fas: true, + 'fa-comment-dots': (conversation.typingStatus === 'typing'), + 'fa-comment': (conversation.typingStatus === 'paused') + }; + } + const styling = { crown: { color: 'online', icon: ['fas', 'fa-crown'] }, online: { color: 'online', icon: ['fas', 'fa-circle'] }, @@ -402,12 +407,17 @@ padding-top: 0; padding-bottom: 0; - .offline, - .online, - .away { - font-size: 80%; + .online-status { + padding-left: 1px; + font-size: 85%; } + /*.offline,*/ + /*.online,*/ + /*.away {*/ + /* font-size: 80%;*/ + /*}*/ + .offline { color: #5c5c84; } @@ -420,9 +430,14 @@ color: #c7894f; } - .fa-eye { - margin-right: 3px; + .fa-comment, + .fa-comment-dots { + color: #cbcbe5; } + + /*.fa-eye {*/ + /* // margin-right: 3px;*/ + /*}*/ } img { height: 40px;