Mercurial > hg > nodescore
view www/m/css/chat.css @ 22:bb02a593b7d5
server side push of datetime to client
author | tzara <rc-web@kiben.net> |
---|---|
date | Wed, 11 Jul 2012 09:51:05 +0100 |
parents | 9070b2a7ca65 |
children | ea8d61c851c0 |
line wrap: on
line source
#nicknames { position: relative; background-color: #666; padding: 6px 6px 6px; font: 15px Helvetica; } .nickname-set #nickname { display: none; } #chat, #nickname, #messages { width: 300px; background-color: white; z-index: 2; } #chat { left: 700px; top: 500px; border: 1px solid #ccc; background-color: white; font: 12px Helvetica; position: absolute; z-index: 2; opacity:0.5; } #chatclient { right: 2px; border: 1px solid #ccc; background-color: black; # width: 300px; font: 12px Helvetica; position: absolute; bottom:50px; } #nickname, #connecting { position: relative; height: 210px; width: 300px; color: #666; display: block; top:150px; font: 12px Helvetica; } #nickname .wrap, #connecting .wrap { padding-top: 10px; } #nickname input { border: 1px solid #ccc; padding: 10px; } #nickname input:focus { border-color: #999; outline: 0; } #nickname #nickname-err { color: #8b0000; font-size: 12px; visibility: hidden; } .connected #connecting { display: none; } .nickname-set #nickname { display: none; } #messages { height: 100px; } #messages em { text-shadow: 0 1px 0 #fff; color: #999; } #messages p { padding: 0; margin: 0; font: 12px Helvetica, Arial; padding: 5px 10px; color:light-gray; background: white; } #messages p b { display: inline-block; padding-right: 10px; color:black; background: white; } #messages p:nth-child(even) { background: white; color: gray; } #messages #nicknames span { color: #000; color: blue; } #messages #nicknames b { display: inline-block; color: blue; background: #999; padding: 3px 6px; margin-right: 5px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; text-shadow: 0 1px 0 #666; } #messages #lines { height: 80px; overflow: auto; overflow-x:hidden; overflow-y: auto; background-color: white; font-size: 18px; color: black; } #messages #lines::-webkit-scrollbar { width: 6px; height: 6px; color: blue; } #messages #lines::-webkit-scrollbar-button:start:decrement, #messages #lines ::-webkit-scrollbar-button:end:increment { display: block; height: 10px; color: blue; } #messages #lines::-webkit-scrollbar-button:vertical:increment { background-color: #fff; color: blue; } #messages #lines::-webkit-scrollbar-track-piece { background-color: #fff; -webkit-border-radius: 3px; } #messages #lines::-webkit-scrollbar-thumb:vertical { height: 50px; background-color: #ccc; -webkit-border-radius: 3px; color: blue; } #messages #lines::-webkit-scrollbar-thumb:horizontal { width: 50px; background-color: #fff; -webkit-border-radius: 3px; color: black; } #send-message { background: #fff; position: relative; } #send-message input { height: 30px; line-height: 30px; vertical-align: middle; width: 300px; border: 1px solid #ccc; background-color:white; color: black; font: 15px Helvetica, Arial; } #send-message input:focus { outline: 0; } #send-message button { position: absolute; top: 5px; right: 5px; }