This commit is contained in:
Rick Falkvinge
2017-01-09 16:07:37 +01:00
parent a3b9425e99
commit 19cfdb2645
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">
<div class="box" style="background-image: url(/Images/Other/member-background-istockphoto.jpg); background-size: 700px 110px"><div class="content">
<div class="odometer-wrapper"><div class="elementFloatFar odometer odometer-currency" id="odoGlobalParticipation">12345689.1</div><div class="odometer-label">Random Odometer (Testing new code)</div>
<div class="odometer-wrapper"><div class="elementFloatFar odometer odometer-currency" id="odoGlobalParticipation">12345689.001</div><div class="odometer-label">Random Odometer (Testing new code)</div>
</div></div></div>
<h2>Dashboard Placeholder</h2>
+1 -1
View File
@@ -88,7 +88,7 @@
value: this.innerText,
// Two decimals format
format: '(<%= Thread.CurrentThread.CurrentUICulture.NumberFormat.NumberGroupSeparator%>ddd).dd'
format: '(<%= Thread.CurrentThread.CurrentUICulture.NumberFormat.NumberGroupSeparator%>ddd).ddd'
});
});
+7 -1
View File
@@ -101,7 +101,7 @@
-webkit-border-radius: 0.2em;
border-radius: 0.2em 0 0 0.2em;
}
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:last-child, .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(2), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:last-child, .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(2) {
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(3), .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(2), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(3), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(2) {
-moz-border-radius: 0 0.2em 0.2em 0;
-webkit-border-radius: 0;
border-radius: 0 0.2em 0.2em 0;
@@ -110,6 +110,12 @@
background-color: #FFD580;
color: #000;
}
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(1) {
display: none;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner, .odometer.odometer-theme-car .odometer-digit .odometer-digit-inner {
left: 0.15em;
}