1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-17 23:05:08 -05:00
kaiwa/public/style.css

216 lines
3.3 KiB
CSS
Raw Normal View History

2013-08-20 13:45:06 -04:00
html, body {
font-family: 'lucida grande';
font-size: 11px;
padding: 0px;
margin: 0px;
background-color: #ecf0f2;
}
#pages {
2013-08-23 19:02:50 -04:00
margin-left: 201px;
}
#log {
padding: 5px;
2013-08-20 13:45:06 -04:00
}
#contactList {
top: 0px;
left: 0px;
width: 200px;
height: 100%;
background-color: #1C232D;
position: fixed;
overflow-y: auto;
overflow-x: hidden;
padding: 0px;
margin: 0px;
border-right: 1px solid black;
color: #efefef;
text-shadow: 1px 1px 1px #444;
}
#contactList > li {
list-style-type: none;
padding: 10px;
margin: 0px;
position: relative;
}
#contactList li:nth-child(2n) {
background-color: #1e252f;
}
#contactList li:hover {
background-color: #2a323f;
}
.contact {
min-height: 20px;
}
.contact .avatar {
vertical-align: top;
margin-right: 5px;
border-radius: 5px;
width: 30px;
height: 30px;
position: absolute;
left: 5px;
top: 5px;
}
.contact .name {
margin: 0px;
margin-left: 40px;
}
.contact .status {
color: #ccc;
font-style: italic;
font-size: 10px;
margin: 0px;
margin-left: 40px;
}
.contact.offline img {
opacity: 0.25;
}
.contact.online img, .contact.chat img {
opacity: 1;
}
.contact.dnd img {
opacity: 1;
}
.contact.away img, .contact.xa img {
opacity: 1;
}
.contact.online, .contact.chat {
border-left: 2px solid green;
}
.contact.away {
border-left: 2px solid orange;
}
.contact.dnd {
border-left: 2px solid red;
}
.contact.xa {
border-left: 2px solid orange;
}
.contact.offline {
border-left: 2px solid #222;
color: #aaa;
}
.contact.composing {
border-right: 4px solid orange;
}
.contact.offline .status {
color: #777;
}
#conversation {
background: #ecf0f2;
box-sizing: border-box;
bottom: 0;
margin: 0;
max-width: 100%;
padding: 0;
overflow-x: hidden;
}
#conversation li {
position: relative;
z-index: 1;
list-style: none;
margin: 0;
padding: 0;
width: 100%;
display: block;
}
#conversation .message {
color: #33404c;
font-size: 11px;
padding: 7px 10px;
display: inline-block;
margin: 0;
padding-right: 10px;
min-width: 20px;
width: 100%;
2013-08-23 19:02:50 -04:00
border-bottom: 1px solid #ccc;
/* background: #f1fce7; */
2013-08-20 13:45:06 -04:00
}
#conversation .body {
display: inline;
word-break: break-word;
padding: 0;
margin: 0;
color: #111;
}
#conversation .message.mine {
background: #EAF7FF;
border-bottom: 1px solid #BBE0FA;
}
#conversation .timestamp {
font-size: 11px;
2013-08-23 19:02:50 -04:00
color: #bbb;
2013-08-20 13:45:06 -04:00
font-weight: bold;
float: right;
display: block;
2013-08-23 19:02:50 -04:00
margin-right: 15px;
2013-08-20 13:45:06 -04:00
}
#conversation .mine .timestamp {
color: #BBE0FA;
}
2013-08-23 19:02:50 -04:00
2013-08-20 13:45:06 -04:00
.delayed .timestamp:before {
content: '@ '
}
.edited .timestamp:before {
content: 'edited '
}
2013-08-23 19:02:50 -04:00
.contactInfo {
padding: 5px;
background-image: #bccad0;
background-image: -moz-linear-gradient(top, #bccad0, #95a4a9);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #bccad0), color-stop(1, #95a4a9));
min-height: 30px;
position: relative;
}
.contactInfo .avatar {
float: left;
margin-right: 5px;
border-radius: 5px;
width: 30px;
height: 30px;
position: absolute;
top: 10px;
left: 10px;
}
.contactInfo .name {
margin-left: 50px;
font-size: 14px;
}
#me {
display: none;
}