Fixed speedometer showing up at login
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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()">
|
||||
|
||||
Reference in New Issue
Block a user