diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-01-09 05:46:10 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-01-09 05:46:10 +0200 |
commit | ae676be6beb76e5bc9c0d977057348a3c78cf3e2 (patch) | |
tree | 08632e16a5b58d3425823036c67dd6d25003ec08 /web/dashboard.css | |
parent | 721683bf2a7485e316b1cdb02a3d0034bc1f2192 (diff) |
added gauge.js and adapted dashboard to use it
Diffstat (limited to 'web/dashboard.css')
-rwxr-xr-x | web/dashboard.css | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/web/dashboard.css b/web/dashboard.css index 98c877f7fb..937825d7f5 100755 --- a/web/dashboard.css +++ b/web/dashboard.css @@ -330,6 +330,7 @@ html { display: inline-block; position: absolute; float: left; + left: 0; width: 100%; text-align: center; color: #333333; @@ -340,6 +341,7 @@ html { display: inline-block; position: absolute; float: left; + left: 0; width: 64%; margin-left: 18%; text-align: center; @@ -351,9 +353,85 @@ html { display: inline-block; position: absolute; float: left; + left: 0; width: 60%; margin-left: 20%; text-align: center; color: #999999; font-weight: normal; } + + +.gaugeChart { + position: relative; + text-align: center; +} + +.gaugeChart canvas { + position: absolute; + top: 0; + left: 0; + z-index: 0; +} + +.gaugeChartLabel { + display: inline-block; + position: absolute; + float: left; + left: 0; + width: 100%; + text-align: center; + color: #FFFFFF; + font-weight: bold; + z-index: 1; +} + +.gaugeChartTitle { + display: inline-block; + position: absolute; + float: left; + left: 0; + width: 100%; + text-align: center; + color: #999999; + font-weight: bold; +} + +.gaugeChartUnits { + display: inline-block; + position: absolute; + float: left; + left: 0; + bottom: 0; + width: 100%; + text-align: left; + margin-left: 5%; + color: #999999; + font-weight: normal; +} + +.gaugeChartMin { + display: inline-block; + position: absolute; + float: left; + left: 0; + bottom: 10%; + width: 92%; + margin-left: 8%; + text-align: left; + color: #999999; + font-weight: normal; +} + +.gaugeChartMax { + display: inline-block; + position: absolute; + float: left; + left: 0; + bottom: 10%; + width: 95%; + margin-right: 5%; + text-align: right; + color: #999999; + font-weight: normal; +} |