Moved toasts to the left

This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-16 02:02:55 +02:00
parent ca96f7b73c
commit 9e4a58e2ef
3 changed files with 5 additions and 5 deletions

View File

@@ -5404,7 +5404,7 @@ small {
right: 0; right: 0;
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 18%; height: 18%;
} }
.card .card-image .card-title { .card .card-image .card-title {
@@ -5468,7 +5468,7 @@ small {
#toast-container { #toast-container {
min-width: 8%; min-width: 8%;
top: 10%; top: 10%;
right: 7%; } } left: 2%; } }
.toast { .toast {
border-radius: 2px; border-radius: 2px;

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,7 @@ var pass_corr = "";
socket.on("toast", function(msg) socket.on("toast", function(msg)
{ {
pass_corr = "correct"; pass_corr = "correct";
Materialize.toast(msg, 4000); Materialize.toast(msg, 200000);
/*document.getElementById("sBar").innerHTML = msg; /*document.getElementById("sBar").innerHTML = msg;
$("#sBar").addClass("opacityFull"); $("#sBar").addClass("opacityFull");
document.getElementById("passbox").value = ""; document.getElementById("passbox").value = "";