Odometer style work

This commit is contained in:
Rick Falkvinge
2018-02-26 20:26:16 +01:00
parent 10f4b3d3ef
commit df3d40f489
2 changed files with 3 additions and 3 deletions
+2 -2
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: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) {
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(2), .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(1), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(2), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(1) {
-moz-border-radius: 0 0.2em 0.2em 0;
-webkit-border-radius: 0;
border-radius: 0 0.2em 0.2em 0;
@@ -112,7 +112,7 @@
}
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:last-child, .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(1), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:last-child, .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(1) {
display: none;
/*display: none;*/
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner, .odometer.odometer-theme-car .odometer-digit .odometer-digit-inner {
+1 -1
View File
@@ -329,7 +329,7 @@ body.rtl .odometer-label {
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:last-child, .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(1), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:last-child, .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(1) {
display: none; /* redundant workaround for cent rounding - moved here to escape caching of styles; main file has a cache buster and others don't */
/* display: none; */ /* redundant workaround for cent rounding - moved here to escape caching of styles; main file has a cache buster and others don't */
}