You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

252 lines
5.1 KiB

/*
* # Semantic - Chat Room
* http://github.com/jlukic/semantic-ui/
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Chat Room
*******************************/
.ui.chatroom {
background-color: #F8F8F8;
width: 330px;
height: 370px;
padding: 0px;
}
.ui.chatroom .room {
position: relative;
background-color: #FFFFFF;
overflow: hidden;
height: 286px;
border: 1px solid rgba(0, 0, 0, 0.1);
border-top: none;
border-bottom: none;
}
.ui.chatroom .room .loader {
display: none;
margin: -25px -25px 0px 0px;
}
/* Chat Room Actions */
.ui.chatroom .actions {
overflow: hidden;
background-color: #EEEEEE;
padding: 4px;
border: 1px solid rgba(0, 0, 0, 0.1);
-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}
.ui.chatroom .actions .button {
float: left;
margin-right: 3px;
}
/* Online User Count */
.ui.chatroom .actions .message {
float: right;
margin-right: 6px;
font-size: 11px;
color: #AAAAAA;
text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.8);
line-height: 28px;
}
.ui.chatroom .actions .message .loader {
display: inline-block;
margin-left: 8px;
}
/* Chat Room Text Log */
.ui.chatroom .log {
float: right;
overflow: auto;
overflow-x: hidden;
overflow-y: auto;
}
.ui.chatroom .log .message {
padding: 3px 0px;
border-top: 1px dotted #DADADA;
}
.ui.chatroom .log .message:first-child {
border-top: none;
}
/* status event */
.ui.chatroom .status {
padding: 5px 0px;
color: #AAAAAA;
font-size: 12px;
font-style: italic;
line-height: 1.33;
border-top: 1px dotted #DADADA;
}
.ui.chatroom .log .status:first-child {
border-top: none;
}
.ui.chatroom .log .flag {
float: right;
}
.ui.chatroom .log p {
margin-right: 0px;
}
.ui.chatroom .log .author {
font-weight: bold;
-webkit-transition: color 0.3s ease-out;
-moz-transition: color 0.3s ease-out;
-o-transition: color 0.3s ease-out;
-ms-transition: color 0.3s ease-out;
transition: color 0.3s ease-out;
}
.ui.chatroom .log a.author:hover {
opacity: 0.8;
}
.ui.chatroom .log .message.admin p {
font-weight: bold;
margin: 1px 23px 0px 0px;
}
.ui.chatroom .log .divider {
margin: -1px 0px;
font-size: 11px;
padding: 10px 0px;
border-top: 1px solid #F8F8F8;
border-bottom: 1px solid #F8F8F8;
}
.ui.chatroom .log .divider .rule {
top: 50%;
width: 15%;
}
.ui.chatroom .log .divider .label {
color: #777777;
margin: 0px;
}
/* Chat Room User List */
.ui.chatroom .room .list {
position: relative;
overflow: auto;
overflow-x: hidden;
overflow-y: auto;
float: right;
background-color: #EEEEEE;
border-right: 1px solid #DDDDDD;
}
.ui.chatroom .room .list .user {
display: table;
padding: 3px 7px;
border-bottom: 1px solid #DDDDDD;
}
.ui.chatroom .room .list .user:hover {
background-color: #F8F8F8;
}
.ui.chatroom .room .list .image {
display: table-cell;
vertical-align: middle;
width: 20px;
}
.ui.chatroom .room .list .image img {
width: 20px;
height: 20px;
vertical-align: middle;
}
.ui.chatroom .room .list p {
display: table-cell;
vertical-align: middle;
padding-right: 7px;
padding-left: 14px;
font-size: 11px;
line-height: 1.2;
font-weight: bold;
}
.ui.chatroom .room .list a:hover {
opacity: 0.8;
}
/* User List Loading */
.ui.chatroom.loading .loader {
display: block;
}
/* Chat Room Talk Input */
.ui.chatroom .talk {
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 5px 0px 0px;
background-color: #EEEEEE;
-webkit-border-radius: 0px 0px 5px 5px;
-moz-border-radius: 0px 0px 5px 5px;
border-radius: 0px 0px 5px 5px;
}
.ui.chatroom .talk .avatar,
.ui.chatroom .talk input,
.ui.chatroom .talk .button {
float: right;
}
.ui.chatroom .talk .avatar img {
display: block;
width: 30px;
height: 30px;
margin-left: 4px;
border-radius: 500rem;
}
.ui.chatroom .talk input {
border: 1px solid #CCCCCC;
margin: 0px;
width: 196px;
height: 14px;
padding: 8px 5px;
font-size: 12px;
color: #555555;
}
.ui.chatroom .talk input.focus {
border: 1px solid #AAAAAA;
}
.ui.chatroom .send {
width: 80px;
height: 32px;
margin-right: -1px;
padding: 4px 12px;
font-size: 12px;
line-height: 23px;
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
border-radius: 5px 0 0 5px;
}
.ui.chatroom .talk .log-in.button {
display: block;
float: none;
margin-top: -6px;
height: 22px;
border-radius: 0px 0px 4px 4px;
}
.ui.chatroom .talk .log-in.button i {
vertical-align: text-top;
}
/* Quirky Flags */
.ui.chatroom .log .team.flag {
width: 18px;
}
/* Chat room Loaded */
.ui.chatroom.loading .loader {
display: block;
}
/* Standard Size */
.ui.chatroom {
width: 330px;
height: 370px;
}
.ui.chatroom .room .container {
width: 3000px;
}
.ui.chatroom .log {
width: 314px;
height: 278px;
padding: 4px 7px;
}
.ui.chatroom .room .list {
width: 124px;
height: 278px;
padding: 4px 0px;
}
.ui.chatroom .room .list .user {
width: 110px;
}
.ui.chatroom .talk {
height: 40px;
}