Permalink
Browse files

more text change

  • Loading branch information...
1 parent 763683a commit b1c0720e1cd1cbdb8dc760f42711e7aab8903a16 @kristopolous committed May 19, 2012
Showing with 13 additions and 9 deletions.
  1. +7 −3 index.html
  2. +4 −4 js/mt80s.js
  3. +2 −2 node/channel_server_v3.js
View
@@ -29,11 +29,15 @@
#message img{max-width:195px}
#message{border-top:1px solid #222;font-family:Tahoma,Geneva;font-size:0.9em;color:#ccc; padding:0 0.5em}
#message > div{padding:0.35em 0;overflow:hidden;white-space:normal}
-#message div.author{color:#555;font-size:0.7em;margin:-0.25em 0 0}
-#message p {margin-left:0.25em;font-size:0.9em;line-height:1.30em}
+#message div.author{color:#555;font-size:0.7em;margin:-1em 0 0;text-align:right;border-bottom:1px solid #222}
+#message p {margin-left:0.25em;font-size:0.9em}
#message p.announce{font-size:0.7em;color:#555;margin:0;padding:0.15 0}
#message .delist{float:right;color:#222;cursor:pointer}
#message .delist:hover{color:#333}
+#message .title {margin:0.15em 0 0.5em 0;display:block;}
+#message .title img{width:40px;height:30px;padding:0.1em}
+
+.action em{font-size:0.6em;font-style:normal;color:#555;font-size:11px;margin-left:0.2em}
.c, .c a{color:#ccc}
.c0,.c0 a{color:#DC92A8}
.c1,.c1 a{color:#9aa6e4}
@@ -42,7 +46,7 @@
.c4,.c4 a{color:#cfd58b}
.c5,.c5 a{color:#F4E557}
.c6,.c6 a{color:#b86db0}
-.c7,.c7 a{color:#9cff7b}
+.c7,.c7 a{color:#c0ffab}
.c8,.c8 a{color:#b3b3e9}
.c9,.c9 a{color:#83C3F0}
.title {text-decoration:none}
View
@@ -628,7 +628,7 @@ function loadPlayer(domain, ix) {
}
function addmessage(data) {
- _chat.data.push([_chat.lastid, "<p>" + data + "</p>"]);
+ _chat.data.push([_chat.lastid, "<p class=announce>" + data + "</p>"]);
showmessage();
}
@@ -1006,9 +1006,6 @@ function showchat(){
entry = $("<div>").html(lastEntry);
_chat.lastauthor = _chat.data[lastindex][3];
- if(_chat.lastauthor) {
- entry.prepend("<div class=author>" + _chat.lastauthor + "</div>");
- }
entryList.push(entry);
@@ -1018,6 +1015,9 @@ function showchat(){
entry.addClass("c");
}
$("#message").prepend(entry);
+ if(_chat.lastauthor) {
+ entry.append("<div class=author>~ " + _chat.lastauthor + ".</div>");
+ }
_chat.lastentry = entry;
} else {
_chat.lastentry.prepend(lastEntry);
@@ -85,8 +85,8 @@ setInterval(function(){
add("log:" + data.channel, [
chat_id,
- "<div class=c>" +
- "Skipped:" +
+ "<div class=action>" +
+ "<em>Skipped:</em>" +
"<a title='DELIST THIS SONG. Please Use With Caution' class=delist onclick=Song.reallyDelist('" + data.track.vid + "',this)>x</a><br>" +
"<a class=title target=_blank href=http://youtube.com/watch?v=" + id + ">" +
"<img src=http://i3.ytimg.com/vi/" + id + "/default.jpg>" +

0 comments on commit b1c0720

Please sign in to comment.