Fix glow effect (#528)

* index.js: fix glow effect

* header.php: fix glow effect rule
This commit is contained in:
TheME
2017-06-29 00:26:47 +02:00
committed by Adam Warner
parent 557ebbbc7c
commit 74a6dc3276
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -410,7 +410,7 @@ function updateSummaryData(runOnce) {
var todayElement = $("span#" + today);
todayElement.text() !== data[today] &&
todayElement.text() !== data[today] + "%" &&
$("h3#" + today).addClass("glow");
$("span#" + today).addClass("glow");
});
window.setTimeout(function() {
@@ -418,7 +418,7 @@ function updateSummaryData(runOnce) {
var textData = (idx === 3 && data[header] !== "to") ? data[header] + "%" : data[header];
$("span#" + header).text(textData);
});
$("h3.statistic.glow").removeClass("glow");
$("span.glow").removeClass("glow");
}, 500);
}).done(function() {
+1 -1
View File
@@ -191,7 +191,7 @@
<link rel="icon" type="image/png" sizes="160x160" href="img/logo.svg" />
<style type="text/css">
.glow { text-shadow: 0px 0px 5px #fff; }
h3 { transition-duration: 500ms }
.small-box span { transition-duration: 500ms }
</style>
<!--[if lt IE 9]>