/* chat logs */
.chat-log .wiki p          { padding-left: 40px; }
.chat-log .wiki p.user     { margin-bottom:0; }
.chat-log .wiki em.info    { float:right; }
.chat-log .wiki p.user + p { margin-top:0; }
.chat-log .wiki.action     { color: #888; }
.chat-log .contextual      { margin-top: -2px; }

/* Icons */
dt.chat-log, dt.chat_log_entry { background-image: url('/plugin_assets/redmine_chat/images/user_comment.png'); }
.icon-status-online { background-image: url('/plugin_assets/redmine_chat/images/bullet_green.png'); }

/* associated chat logs on issues */
#issue-changesets.issue-chats { clear:right;}
#issue-changesets .chat-log a.user,
#issue-changesets .chat-log p.action-user { float:left;}
#issue-changesets .chat-log p.user + p:before  { content: ": ";}
#issue-changesets .chat-log p.action-user + p:before  { content: "\00a0 ";}
#issue-changesets .chat-log p {margin-bottom: 0; padding-left:.5em;}
#issue-changesets .chat-log p.user,
#issue-changesets .chat-log p.action-user {padding-left:0;}

/* chatbox loading indicator */
.ui-chatbox-log.ui-state-disabled:after {
  padding-left:120px;
  margin-top:110px;
  width: 100%;
  display:block;

  background-position: 90px;;
  background-repeat: no-repeat;
  background-image: url(../../../images/loading.gif);
  position:absolute;
  z-index: -1000;
}

.ui-chatbox {
  font-size: inherit;
}

.ui-chatbox-msg em.fr {
  float:right !important;
}

.ui-chatbox-msg div.ui-chatbox-msg-element p {
  line-height: inherit;
}
.ui-chatbox-msg em.ui-chatbox-msg-element p.action-user,
.ui-chatbox-msg em.ui-chatbox-msg-element p.action-user + p {
  display:inline;
  line-height:1.4em;
}
.ui-chatbox-msg em.ui-chatbox-msg-element p.action-user + p:before  { content: "\00a0 ";}

.chat-peer-away { color: #999; }
