chat.css 4.42 KB
#chat {
  width: 250px;
  display: none;
}

#buddy-list {
  background-color: #303030;
  position: absolute;
  bottom: 0;
  top: 25px;
  -webkit-top: 5px;
  width: 250px;
  overflow-y: auto;
  right: 0;
}
#buddy-list .buddy-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#buddy-list .buddy-list li {
  line-height: 30px;
  border-bottom: 1px solid #383838;
}
#buddy-list .buddy-list li a, .occupant-list li a {
  background: none;
  display: block;
  padding-left: 30px;
  padding-top: 10px;
  text-decoration: none;
  color: rgb(238, 238, 238);
}
#buddy-list .buddy-list li a .name, .occupant-list li a .name {
  vertical-align: top;
}
#buddy-list .buddy-list li a img, .occupant-list li a img {
  max-height: 32px;
  max-width: 32px;
}
#buddy-list .buddy-list li.offline, .occupant-list li.offline {
  display: none;
}
#buddy-list .toolbar {
  border-left: 0;
  border-right: 0;
  background-position: 90%;
  position: relative;
  height: 20px;
}
#buddy-list .toolbar .dialog-error {
  position: absolute;
  top: 30px;
  left: 10px;
  padding: 5px;
  width: 170px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background: white;
  border: 1px solid #888;
}
#buddy-list .toolbar .dialog-error p {
  margin: 0 0 5px 0;
}
#chat-window {
  background: white;
}
.conversation {
  margin: 15px;
}
.conversation .input-div {
  position: absolute;
  right: 0;
  bottom: 40px;
  padding: 0 20px 10px 15px;
}
.msie7 .conversation .input-div {
  padding-left: 5px;
  margin-right: 10px;
}
.conversation .input-div .icon-chat {
  width: 16px;
  height: 16px;
  position: relative;
  bottom: -23px;
  left: 5px;
}
.msie7 .conversation .input-div .icon-chat {
  left: 20px;
}
.conversation textarea {
  height: 60px;
  padding-left: 25px;
  overflow: auto;
}
.conversation .history {
  position: absolute;
  right: 0;
  top: 25px;
  bottom: 125px;
  overflow: hidden;
  padding-top: 5px;
  width: 250px;
  background-color: #303030;
}
.msie7 #chat-window .conversation .history {
  overflow-x: hidden;
}
#chat .unread-messages {
  background: red;
  position: absolute;
  right: 22px;
  margin: 2px 0;
  padding: 0 2px;
  color: white;
  display: block;
  line-height: 1em;
}
#chat .tabs-bottom .ui-tabs-nav {
  position: absolute;
  left: 0;
  bottom: 0;
  right:0;
  padding: 0 5px 10px 5px;
  border: 0;
  background: #eee;
}
#chat .tabs-bottom .ui-tabs-nav li {
  top: 0;
  margin-top: 0;
  margin-bottom: 0;
  border: 1px solid transparent;
  border-top: none;
}
#chat .tabs-bottom .ui-tabs-nav li a {
  padding: 0.3em 0.5em 0.3em 2.0em;
  background-position: 0.5em 50%;
}
#chat .tabs-bottom .ui-tabs-nav li:hover, #chat .tabs-bottom .ui-tabs-nav .ui-state-active {
  border: 1px solid #AAAAAA !important;
  border-top: 0 !important;
}
#chat .tabs-bottom li .ui-icon-close {
  margin: 0.4em 0.5em 0 0 !important;
}
#chat .ui-tabs .ui-tabs-panel {
  border: none;
}
#chat-window .history .message {
  padding: 0 10px;
  /*position: relative;*/
}
#chat-window .history .message .time {
  position: absolute;
  right: 10px;
  top: 5px;
  color: gray;
  font-style: italic;
  font-size: 11px;
}
#chat-window .history .message h5, #chat-window .history .message p {
  margin: 0;
}
#chat-window .history .message p {
  max-width: 100%;
  overflow: auto;
}

#chat-window .history .message .content {
  background-color: #383838;
  color: rgb(223, 223, 223);
  padding: 5px;
}

#chat-window .history .message .avatar {
  max-height: 32px;
  max-width: 32px;
}
#chat-window .history .notice {
  font-size: 10px;
  font-style: italic;
  color: gray;
  text-align: center;
  display: block;
}
.conversation .occupant-list {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  bottom: 125px;
}
.conversation .occupant-list ul {
  padding: 0;
  list-style: none;
  font-size: 12px;
}
#chat-window .history.room {
  right: 200px
}
#chat-window .comment-balloon-content {
  min-height: 50px;
  padding: 5px 0 5px 25px;
  position: relative;
}
#chat-window .comment-wrapper-1 {
  margin-left: 0;
}

#title-bar {
  top: 0;
  height: 25px;
  position: absolute;
  background: #ccc url(/images/icons-app/chat-22x22.png) 2px 2px no-repeat;
  width: 250px;
  right: 0;
}
#title-bar .title {
  margin: 0;
  font-size: 12px;
  margin: 4px 0;
  padding-left: 30px;
}
#chat #chat-templates {
  display: none;
}
.conversation .back {
  position: absolute;
  top: 5px;
  right: 8px;
  color: white;
}
#chat #chat-window .history .other-name {
  color: #6C9EDD;
}
#chat #chat-window .history .self-name {
  color: #6C87DD;
}