cryptalk/client/public/css/default.css

126 lines
2.2 KiB
CSS
Raw Normal View History

2014-09-18 12:21:07 -04:00
html {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
2021-11-09 17:43:21 -05:00
box-sizing: border-box; /* Opera/IE 8+ */
2014-09-18 12:21:07 -04:00
}
2021-11-09 17:43:21 -05:00
*,
*:before,
*:after {
2014-09-18 12:21:07 -04:00
box-sizing: inherit;
font-family: monospace, 'Courier New';
font-size: 12px;
}
2021-11-09 17:43:21 -05:00
body,
html {
2014-09-18 12:21:07 -04:00
min-height: 100%;
2014-09-21 05:21:31 -04:00
min-width: 600px;
2021-11-09 17:43:21 -05:00
background-color: #181a1d;
2014-09-18 12:21:07 -04:00
overflow: hidden;
padding: 0px;
2021-11-09 17:43:21 -05:00
margin: 0px;
color: #00dd00;
2014-09-18 12:21:07 -04:00
}
2021-11-09 17:43:21 -05:00
.good { color: #99ff99; }
.bad { color: #ff7777; }
2021-11-09 17:43:21 -05:00
.info { color: #99ffff; }
.neutral { color: #eeeeee; }
2014-09-18 12:21:07 -04:00
/*------------------------------------*\
CHAT
\*------------------------------------*/
#chat {
left: 0;
right: 0;
bottom: 40px;
position: absolute;
list-style-type: none;
2021-11-09 17:43:21 -05:00
padding: 0;
margin: 0;
2014-09-18 12:21:07 -04:00
}
/* Messages */
#chat li {
white-space: pre;
2014-09-18 15:38:15 -04:00
padding: 2px 15px;
2017-02-22 16:22:28 -05:00
color: #808008;
}
#chat li .timestamp {
2021-11-09 17:43:21 -05:00
color: #a0a00a;
2014-09-18 12:21:07 -04:00
}
/* Message types */
/* the `i` element hold the actual message */
#chat i {
font-style: normal;
}
2021-11-09 17:43:21 -05:00
#chat i.motd {
color: #99ff99;
display:inline-block;
line-height: 12px !important;
}
2014-09-18 15:38:15 -04:00
#chat i.info { color: #999999; }
2021-11-09 17:43:21 -05:00
#chat i.server { color: #99ffff; }
2014-09-18 12:21:07 -04:00
#chat i.error { color: #ff7777; }
#chat i.message { color: #eeeeee; }
2021-11-09 17:43:21 -05:00
#chat i.nick { color: #99ff99; }
2014-09-21 13:53:57 -04:00
#chat i.fatal { color: #ff7777; }
2014-09-18 12:21:07 -04:00
/*------------------------------------*\
INPUT & LOADER
2014-09-18 12:21:07 -04:00
\*------------------------------------*/
#input_wrapper {
2021-11-09 17:43:21 -05:00
right: 0;
bottom: 0;
left: 0;
2014-09-18 12:21:07 -04:00
position: absolute;
2021-11-09 17:43:21 -05:00
height: 30px;
2014-09-18 12:21:07 -04:00
}
#input,
#loader {
2014-09-18 12:21:07 -04:00
top: 0;
bottom: 0;
width: 100%;
position: absolute;
border: 0;
outline: 0;
padding: 5px 5px 5px 15px;
2021-11-09 17:43:21 -05:00
color: #ffffff;
background-color:#272a2e;
2014-09-21 10:33:52 -04:00
height:30px;
2017-02-22 16:22:28 -05:00
border-top: 2px solid #153315;
}
2021-11-09 17:43:21 -05:00
#input {
z-index: 1;
}
#loader {
z-index: 0;
line-height: 20px;
font-size: 14px;
font-weight: 100;
font-family: tahoma;
}
.loading #loader {
z-index: 2;
}
.loading #loader span {
margin-left:-2px;
-webkit-animation: rotation 1s infinite linear;
}
@-webkit-keyframes rotation {
2021-11-09 17:43:21 -05:00
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(359deg); }
2014-09-18 12:21:07 -04:00
}