diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-14 00:44:31 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-14 00:44:31 -0800 |
commit | 319da55b31b57557848fe6a60fed612532bff71a (patch) | |
tree | 6bb9550c0ea591c886e89047d53e89c25f655d41 /css | |
parent | f65cf9406397ac688ec4060ba070e172af0cd90b (diff) | |
download | pathery-319da55b31b57557848fe6a60fed612532bff71a.tar.xz |
Chat restyled.
Diffstat (limited to 'css')
-rw-r--r-- | css/chat.css | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/css/chat.css b/css/chat.css new file mode 100644 index 0000000..1af7c4d --- /dev/null +++ b/css/chat.css @@ -0,0 +1,117 @@ + +.chatInputMessage { + font-family:Comic Sans MS, Comic Sans MS5, cursive; + border: 1px solid gray; + background-color:#999; + width: 700px; + margin: 7px; + padding: 2px; + border-radius: 10px; + border-bottom-right-radius: 20px; + border-top-right-radius: 20px; +} +.chatButton { + margin: 4px; +} + +#chatContainer { + width:800px; + margin:0 auto; + height:400px; + overflow:auto; +} +#sendChat { + margin-left: 10px; +} + + + + +.chatBadge { + height:100%; + float:left; +} +.chatUsername { + font-family: 'Trebuchet MS1', 'Trebuchet MS', sans-serif; + font-size: 17px; + text-overflow: ellipsis; + overflow:hidden; + float: left; + padding-top: 5px; + width: 115px; +} +.chatText { + font-family: 'Trebuchet MS1', 'Trebuchet MS', sans-serif; + font-size: 16px; + display: inline-block; + width: 525px; + padding: 5px 5px 5px 5px; +} +.chatTimestamp { + font-family:"Times New Roman", Times, serif; + float:left; + padding: 5px 3px 3px 3px; + min-width:70px; + overflow:hidden; + text-overflow: ellipsis; + white-space:nowrap; +} +.chatColumn1 { + + width:120px; + min-height: 35px; + padding-left: 7px; + position:absolute; + left:0;top:0;bottom:0; +} +.chatColumn2 { + text-align:left; + margin-left:130px; + min-height: 35px; +} + +.chatMessage { + width:780px; + min-height:35px; + margin:1px; + display:block; + clear:both; + margin-bottom:3px; + position:relative; + background-color:#333; + border-radius:20px; + border-bottom-left-radius: 10px; + border-top-left-radius: 10px; +} +.chatMessage.self { + background-color: #444; +} + +.chatContainer2 { + background-color: #222; + border-radius: 12px; + width:810px; + margin:0 auto 5px; + height:450px; + overflow:auto; + +background: rgb(34,34,34); /* Old browsers */ +background: -moz-radial-gradient(center, ellipse cover, rgba(34,34,34,1) 0%, rgba(119,119,119,1) 100%); /* FF3.6+ */ +background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(34,34,34,1)), color-stop(100%,rgba(119,119,119,1))); /* Chrome,Safari4+ */ +background: -webkit-radial-gradient(center, ellipse cover, rgba(34,34,34,1) 0%,rgba(119,119,119,1) 100%); /* Chrome10+,Safari5.1+ */ +background: -o-radial-gradient(center, ellipse cover, rgba(34,34,34,1) 0%,rgba(119,119,119,1) 100%); /* Opera 12+ */ +background: -ms-radial-gradient(center, ellipse cover, rgba(34,34,34,1) 0%,rgba(119,119,119,1) 100%); /* IE10+ */ +background: radial-gradient(ellipse at center, rgba(34,34,34,1) 0%,rgba(119,119,119,1) 100%); /* W3C */ +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222222', endColorstr='#777777',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ + +} + + + + + + + + + + |