cryptalk/public/css/default.css

130 lines
2.5 KiB
CSS

/*------------------------------------*\
GENERIC
\*------------------------------------*/
html {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
*, *:before, *:after {
box-sizing: inherit;
font-family: monospace, 'Courier New';
font-size: 12px;
}
body, html {
min-height: 100%;
min-width: 600px;
background-color: #181A1D;
overflow: hidden;
padding: 0px;
margin:0px;
color: #00DD00;
}
.good { color: #99FF99; }
.bad { color: #ff7777; }
.info { color: #99FFFF; }
.neutral { color: #eeeeee; }
/*------------------------------------*\
PARTICIPANTS
\*------------------------------------*/
#participants {
right: 0;
top: 0;
bottom: 0;
width: 200px;
position: absolute;
padding:0;
margin:0;
background-color: #282A2D;
}
/*------------------------------------*\
CHAT
\*------------------------------------*/
#chat {
left: 0;
right: 0;
bottom: 40px;
position: absolute;
list-style-type: none;
padding:0;
margin:0;
}
/* Messages */
#chat li {
white-space: pre;
padding: 2px 15px;
color: #808008;
}
#chat li .timestamp {
color: #A0A00A;
}
/* Message types */
/* the `i` element hold the actual message */
#chat i {
font-style: normal;
}
#chat i.motd { color: #99FF99; display:inline-block; line-height: 12px !important; }
#chat i.info { color: #999999; }
#chat i.server { color: #99FFFF; }
#chat i.error { color: #ff7777; }
#chat i.message { color: #eeeeee; }
#chat i.nick { color: #99FF99; }
#chat i.fatal { color: #ff7777; }
/*------------------------------------*\
INPUT & LOADER
\*------------------------------------*/
#input_wrapper {
right:200px;
bottom:0;
left:0;
position: absolute;
height:30px;
}
#input,
#loader {
top: 0;
bottom: 0;
width: 100%;
position: absolute;
border: 0;
outline: 0;
padding: 5px 5px 5px 15px;
color: #FFFFFF;
background-color:#272A2E;
height:30px;
border-top: 2px solid #153315;
}
#input { z-index: 1; }
#loader { z-index: 0; line-height: 20px; font-size: 14px; font-weight: 100; font-family: tahoma;}
/*------------------------------------*\
SPINNER
\*------------------------------------*/
.loading #loader { z-index: 2; }
.loading #loader span {
margin-left:-2px;
-webkit-animation: rotation 1s infinite linear;
}
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(359deg);}
}