chat.css 5.43 KB
#chat {
  width: 250px;
  height: 100%;
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 900;
}

#chat #buddy-list {
  background-color: #303030;
  width: 250px;
  height: 100%;
  overflow: hidden;
}
#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:hover, .occupant-list li a:hover {
  background: #257CAD;
}
#buddy-list .buddy-list li a, .occupant-list li a {
  background: none;
  display: block;
  padding-left: 20px;
  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;
  margin-left: 5px;
}
#buddy-list .buddy-list li a img, .occupant-list li a img, #chat .avatar {
  height: 32px;
  max-width: 32px;
  border-radius: 5px;
}
#buddy-list .buddy-list li.offline, .occupant-list li.offline {
  display: none;
}
#chat #buddy-list .toolbar {
  border: 0;
  height: 40px;
  background-color: rgb(39, 39, 39);
  border-bottom: 1px solid #383838;
}
#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: 0;
  padding: 0 20px 15px 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: 41px;
  bottom: 100px;
  overflow: hidden;
  width: 100%;
  background-color: #303030;
}
.msie7 #chat-window .conversation .history {
  overflow-x: hidden;
}
#chat .unread-messages {
  float: right;
  margin-right: 25px;
  padding-left: 22px;
  background-position: 0;
}
#chat-window .history .message {
  padding: 10px 8px 10px 6px;
}
#chat-window .history .message .time {
  float: right;
  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: #257CAD;
  color: rgb(223, 223, 223);
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  width: 74%;
}
#chat-window .history .message .content a {
  color: rgb(98, 129, 253);
  text-decoration: none;
}
#chat-window .history .message.self .content {
  background-color: #383838;
}

#chat-window .history .message .avatar {
  max-height: 32px;
  max-width: 32px;
  margin: auto;
  display: block;
}
#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;
}

#chat #title-bar {
  height: 34px;
  background: #ccc url(/images/icons-app/chat-22x22.png) 3px 5px no-repeat;
  width: 250px;
  background-color: #303030;
  border-bottom: 1px solid #383838;
}
#title-bar .title {
  margin: 0;
  font-size: 12px;
  padding-left: 30px;
  line-height: 32px;
  color: rgb(82, 212, 253);
}
#chat #chat-templates {
  display: none;
}
.conversation .header {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 40px;
  background-color: rgb(39, 39, 39);
}
.conversation .header .chat-target {
  padding: 6px 6px 0 6px;
  display: inline-block;
  max-width: 70%;
}
.conversation .header .back {
  float: right;
  margin: 6px;
  padding: 7px;
  background-color: rgb(98, 98, 98);
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  color: white;
}
#chat #chat-window .other-name, #chat #chat-window .history .self-name {
  color: #257CAD;
  height: 23px;
  overflow: hidden;
}
#chat #chat-window .history h5 {
  text-align: center;
  word-wrap: break-word;
}
.webkit .simplemenu-submenu.opened {
  top: 18px;
}
#chat .simplemenu-submenu {
  background: #585858;
  border: 1px solid #6B6B6B;
}
#chat .user-status a {
  color: rgb(224, 224, 224);
}
#user-status .avatar {
  position: relative;
  left: 16px;
  top: 2px;
}
.user-status span {
  position: relative;
}
.user-status span, .user-status .ui-icon {
  top: -3px;
}

.buddy-list span.name {
  padding: 20px 0 20px 20px;
  position: relative;
  left: -20px;
}
.buddy-list .dnd span.name {
  background: url(/designs/icons/pidgin/pidgin/status/16/busy.png) 0px 30px no-repeat;
}
.buddy-list .chat span.name {
  background: url(/designs/icons/pidgin/pidgin/status/16/available.png) 0px 30px no-repeat;
}

.conversation .author {
  width: 20%;
  display: inline-block;
  vertical-align: top;
}
.conversation .self .author {
  float: right;
}
#openchat .unread-messages {
  color: red;
  font-weight: bold;
  font-size: 14px;
}