Better messages and some styling

This commit is contained in:
Nicolas A. Tonne
2015-04-17 21:20:33 +02:00
parent 4e9388c67f
commit 997e26c3a5
2 changed files with 11 additions and 11 deletions

View File

@@ -211,7 +211,7 @@ hide mdi-action-visibility mdi-action-visibility-off
text-transform: none; text-transform: none;
text-rendering: auto; text-rendering: auto;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
content: "\e800"; content: "\e684";/*"\e800";*/
color:white; color:white;
font-size:44px; font-size:44px;
position:absolute; position:absolute;
@@ -219,7 +219,7 @@ hide mdi-action-visibility mdi-action-visibility-off
top:0; left:0; top:0; left:0;
background:rgba(0,0,0,0.8); background:rgba(0,0,0,0.8);
opacity:0; opacity:0;
transition: all 0.3s; transition: all .1s ease;
} }
.list-song:hover .list-image:after { .list-song:hover .list-image:after {
opacity:1; opacity:1;

View File

@@ -7,31 +7,31 @@ socket.on("toast", function(msg)
pass_corr = "correct"; pass_corr = "correct";
switch(msg) { switch(msg) {
case "savedsettings": case "savedsettings":
msg="Saved settings" msg="I saved your settings <3"
break; break;
case "wrongpass": case "wrongpass":
msg="Wrong password" msg="That's not the right password! ಠ_ಠ"
break; break;
case "shuffled": case "shuffled":
msg="Shuffled playlist" msg="I vigorously stirred your playlist! (J °O°)J"
break; break;
case "deletesong": case "deletesong":
msg="Deleted song" msg="Your song is now in a better place..."
break; break;
case "voted": case "voted":
msg="Voted on song" msg="You vote like a boss \\(*0*)/"
break; break;
case "alreadyvoted": case "alreadyvoted":
msg="You have already voted on that song" msg="You can't vote twice on that song! (¬_¬)"
break; break;
case "listhaspass": case "listhaspass":
msg="The list is passwordprotected" msg="I'm sorry, but you have to be an admin to do that (⌒_⌒;)"
break; break;
case "noskip": case "noskip":
msg="Only admin can skip songs on this channel" msg="Only Admins can skip songs, peasant (`∀´)Ψ"
break; break;
case "alreadyskip": case "alreadyskip":
msg="You've already voted to skip!" msg="Skipping is democratic, only one vote per person! (〃・ω・〃)"
break; break;
} }
Materialize.toast(msg, 4000); Materialize.toast(msg, 4000);