Indicate visitors by making them lighter grey

This commit is contained in:
JC Brand 2017-12-14 13:45:14 +00:00
parent a68cb85969
commit 23e2aceaca
6 changed files with 12 additions and 1 deletions

View File

@ -2658,6 +2658,9 @@
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul li.moderator, #converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul li.moderator,
#conversejs .chatroom .box-flyout .chatroom-body .occupants ul li.moderator { #conversejs .chatroom .box-flyout .chatroom-body .occupants ul li.moderator {
color: #D24E2B; } color: #D24E2B; }
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul li.visitor,
#conversejs .chatroom .box-flyout .chatroom-body .occupants ul li.visitor {
color: #A8ABA1; }
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .chatroom-form-container, #converse-embedded-chat .chatroom .box-flyout .chatroom-body .chatroom-form-container,
#conversejs .chatroom .box-flyout .chatroom-body .chatroom-form-container { #conversejs .chatroom .box-flyout .chatroom-body .chatroom-form-container {
background-color: white; background-color: white;

View File

@ -2820,6 +2820,9 @@ body {
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul li.moderator, #converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul li.moderator,
#conversejs .chatroom .box-flyout .chatroom-body .occupants ul li.moderator { #conversejs .chatroom .box-flyout .chatroom-body .occupants ul li.moderator {
color: #E77051; } color: #E77051; }
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .occupants ul li.visitor,
#conversejs .chatroom .box-flyout .chatroom-body .occupants ul li.visitor {
color: #A8ABA1; }
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .chatroom-form-container, #converse-embedded-chat .chatroom .box-flyout .chatroom-body .chatroom-form-container,
#conversejs .chatroom .box-flyout .chatroom-body .chatroom-form-container { #conversejs .chatroom .box-flyout .chatroom-body .chatroom-form-container {
background-color: white; background-color: white;

View File

@ -182,6 +182,9 @@
&.moderator { &.moderator {
color: $moderator-color; color: $moderator-color;
} }
&.visitor {
color: $visitor-color;
}
} }
} }
} }

View File

@ -7,6 +7,7 @@
$subdued-color: #A8ABA1 !default; $subdued-color: #A8ABA1 !default;
$gray-color: #818479 !default; $gray-color: #818479 !default;
$dark-gray-color: #585B51!default; $dark-gray-color: #585B51!default;
$visitor-color: #A8ABA1 !default;
$lightest-blue: #89B7CD; $lightest-blue: #89B7CD;
$light-blue: #578EA9; $light-blue: #578EA9;

View File

@ -7,6 +7,7 @@
$subdued-color: #A8ABA1 !default; $subdued-color: #A8ABA1 !default;
$gray-color: #818479 !default; $gray-color: #818479 !default;
$dark-gray-color: #585B51!default; $dark-gray-color: #585B51!default;
$visitor-color: #A8ABA1 !default;
$lightest-blue: #89B7CD; $lightest-blue: #89B7CD;
$light-blue: #578EA9; $light-blue: #578EA9;

View File

@ -1801,7 +1801,7 @@
if (notification.reason) { if (notification.reason) {
this.showStatusNotification(__('The reason given is: "%1$s".', notification.reason), true); this.showStatusNotification(__('The reason given is: "%1$s".', notification.reason), true);
} }
if (notification.messages.length) { if (_.get(notification.messages, 'length')) {
this.scrollDown(); this.scrollDown();
} }
}, },