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 {
margin: 0;
opacity: 1;
opacity: 0;
transition: opacity 1s;
}
body.fade {
opacity: 0;
opacity: 1;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {

View File

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