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

View File

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