Begin chat change

This commit is contained in:
Lars van Hijfte
2017-01-23 17:22:22 +01:00
parent 348b66c08c
commit 7eec0cfa2a
2 changed files with 6 additions and 12 deletions

View File

@@ -1,12 +1,4 @@
$(document).ready(function() { $(document).ready(function() {
// Hide notification center.
$("#profile-menu-popup").hide();
// $("#own-profile-picture").click(function() {
// $("#profile-menu-popup").toggle();
// $("#profile-hello-popup").toggle();
// });
$("#own-profile-picture").click(function() { $("#own-profile-picture").click(function() {
if($("#notification-center").css('right') == "-256px") { if($("#notification-center").css('right') == "-256px") {
$(".content").animate({ $(".content").animate({

View File

@@ -25,6 +25,7 @@
/* Chat history. */ /* Chat history. */
.chat-history { .chat-history {
overflow-y: auto; overflow-y: auto;
overflow-x: hidden;
height: 100%; height: 100%;
padding: 10px; padding: 10px;
} }
@@ -46,14 +47,15 @@
.chat-message-self { .chat-message-self {
float: right; float: right;
margin-right: 10px; margin-right: 10px;
background-color: darkgreen; background-color: #FBC02D;
color: white; color: white;
} }
.chat-message-other { .chat-message-other {
float: left; float: left;
margin-left: 10px; margin-left: 10px;
background-color: aquamarine; background-color: #4CAF50;
color: white;
} }
/* Chat reply field */ /* Chat reply field */
@@ -91,6 +93,6 @@
} }
.active-friend-chat { .active-friend-chat {
background: aquamarine; background: #4CAF50;
color: #333; color: white;
} }