1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-29 12:42:16 -05:00
kaiwa/public/style.css

404 lines
6.9 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;
color: #2e2d2d;
2013-08-20 13:45:06 -04:00
}
#pages {
2013-08-24 02:44:15 -04:00
margin-left: 176px;
2013-08-23 19:02:50 -04:00
}
#log {
padding: 5px;
2013-08-20 13:45:06 -04:00
}
#connectionOverlay {
z-index: 5000;
left: 0px;
2013-08-20 13:45:06 -04:00
top: 0px;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, .5);
}
#connectionOverlay {
display: none;
}
#me {
display: none;
}
nav.main {
background-color: #1C232D;
width: 176px;
border-right: 1px solid black;
padding: 5px;
margin: 0px;
text-align: center;
box-sizing: border-box;
-moz-box-sizing: border-box;
position: fixed;
bottom: 0px;
2013-08-20 13:45:06 -04:00
left: 0px;
}
nav.main li {
display: inline-block;
margin: 5px;
}
nav.main a {
display: block;
text-decoration: none;
text-align: center;
border-radius: 3px;
border: none;
height: 20px;
padding: 0 1em;
color: white;
background-color: #333;
line-height: 20px;
font-size: 12px;
cursor: pointer;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
#contactList {
top: 0px;
bottom: 40px;
2013-08-24 02:44:15 -04:00
width: 175px;
2013-08-20 13:45:06 -04:00
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;
}
2013-09-09 19:13:42 -04:00
.contact.paused {
border-right: 4px solid #666;
}
2013-08-20 13:45:06 -04:00
.contact.offline .status {
color: #777;
}
.contact.activeContact {
background-color: #35c8ff;
background-image: -moz-linear-gradient(top, #35c8ff, #00aeef);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #35c8ff), color-stop(1, #00aeef));
}
2013-08-29 23:38:28 -04:00
.chatView {
position: relative;
}
2013-08-20 13:45:06 -04:00
#conversation {
background: #ecf0f2;
box-sizing: border-box;
-moz-box-sizing: border-box;
2013-08-20 13:45:06 -04:00
bottom: 0;
margin: 0;
2013-08-29 23:38:28 -04:00
padding-bottom: 30px;
2013-08-20 13:45:06 -04:00
max-width: 100%;
padding: 0;
overflow-x: hidden;
2013-08-29 23:38:28 -04:00
position: relative;
margin-top: 50px;
padding-top: 30px;
2013-08-29 23:38:28 -04:00
bottom: 50px;
2013-08-20 13:45:06 -04:00
}
#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;
2013-08-29 23:38:28 -04:00
background-color: #bccad0;
2013-08-23 19:02:50 -04:00
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;
2013-08-29 23:38:28 -04:00
position: fixed;
top: 0px;
width: 100%;
z-index: 1000;
2013-08-23 19:02:50 -04:00
}
.contactInfo .avatar {
float: left;
margin-right: 5px;
border-radius: 5px;
width: 30px;
height: 30px;
position: absolute;
top: 10px;
left: 10px;
}
.contactInfo .name {
2013-08-24 02:44:15 -04:00
margin-left: 45px;
2013-08-23 19:02:50 -04:00
font-size: 14px;
}
.contact .unread {
2013-08-23 19:02:50 -04:00
display: none;
color: white;
width: 20px;
border-radius: 10px;
position: relative;
text-align: center;
background-color: red;
}
.contact.hasUnread .unread {
display: block;
2013-08-23 19:02:50 -04:00
}
2013-08-29 23:38:28 -04:00
#chatInput {
position: fixed;
bottom: 0px;
left: 176px;
right: 0px;
z-index: 100;
background: #ecf0f2;
}
#chatInput form {
background-color: #e1e4e6;
background-image: -moz-linear-gradient(top, #e1e4e6, #cacdce);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e1e4e6), color-stop(1, #cacdce));
padding: 10px;
z-index: 1000;
border-top: 1px solid #fff;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
#chatBuffer {
width: 100%;
padding: 5px;
height: 30px;
line-height: 20px;
font-size: 13px;
resize: none;
outline: none;
border: 1px solid #ccc;
border-top-color: #bbb;
border-radius: 5px;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-family: 'lucida grande';
}
#chatBuffer.editing {
background-color: yellow;
}
2013-09-03 18:25:14 -04:00
#loginbox {
position: relative;
margin: auto;
margin-top: 5%;
padding: 20px;
background-color: white;
width: 75%;
}
#loginbox label {
display: block;
margin-bottom: 5px;
font-size: 13px;
font-weight: bold;
color: #777;
2013-09-03 18:25:14 -04:00
}
#loginbox input {
width: 100%;
2013-09-03 18:25:14 -04:00
display: block;
height: 35px;
font-size: 14px;
padding: 10px 0.5em;
margin-bottom: 15px;
background-color: #f9fafa;
border: 1px solid #eeeeee;
color: #2e2d2d;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
#loginbox input:focus {
border: 1px solid #a7d9eb;
outline: 0px;
}
#loginbox button, .andyetLogin {
text-decoration: none;
text-align: center;
border-radius: 3px;
border: none;
height: 35px;
padding: 0 1em;
color: white;
background-color: #7ec6e2;
line-height: 35px;
font-size: 16px;
cursor: pointer;
}
#loginbox h2 {
padding-bottom: 10px;
border-bottom: 1px solid #f8f8f8
}
.andyetLogin {
display: block;
float: right;
font-size: 14px;
}
.aux header {
margin-top: 10%;
text-align: center;
}
#logo {
margin: auto;
2013-09-03 18:25:14 -04:00
}