Fixed speedometer showing up at login

This commit is contained in:
hydrant
2018-10-30 18:55:43 +01:00
parent 705b4d38da
commit e6ae999f43
2 changed files with 8 additions and 11 deletions

View File

@@ -22,12 +22,12 @@ html {
body { body {
margin: 0; margin: 0;
opacity: 1; opacity: 0;
transition: opacity 1s; transition: opacity 1s;
} }
body.fade { body.fade {
opacity: 0; opacity: 1;
} }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {

View File

@@ -49,23 +49,20 @@
document.getElementById("repairState").innerHTML = "<img src=\"..\\Images\\engine_soft.png\" width=\"18px\">"; document.getElementById("repairState").innerHTML = "<img src=\"..\\Images\\engine_soft.png\" width=\"18px\">";
} }
} }
function showSpeedo() function showSpeedo()
{ {
document.body.className = ""; document.body.className = "fade";
} }
function hideSpeedo() function hideSpeedo()
{ {
document.body.className = "fade"; document.body.className = "";
} }
</script> </script>
<style> <style>
.blinker_arrow{ .blinker_arrow{
color: #FFF; color: #FFF;
} }
body {
font-family: Arial !important;
}
</style> </style>
</head> </head>
<body onload="hideSpeedo()"> <body onload="hideSpeedo()">