mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Moved toasts to the left
This commit is contained in:
4
static/css/materialize.css
vendored
4
static/css/materialize.css
vendored
@@ -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;
|
||||||
|
|||||||
4
static/css/materialize.min.css
vendored
4
static/css/materialize.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -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 = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user