# HG changeset patch # User bsw # Date 1332355424 -3600 # Node ID 03c205fc17f0cdf187f96dccc3676e36e12216f2 # Parent cda574707b1c640f111e1a6a7bcd0d09942ec98f Show blue quorum bar in bargraph more clear, fixed too big quorum in ie diff -r cda574707b1c -r 03c205fc17f0 env/ui/bargraph.lua --- a/env/ui/bargraph.lua Wed Mar 21 12:20:39 2012 +0100 +++ b/env/ui/bargraph.lua Wed Mar 21 19:43:44 2012 +0100 @@ -31,9 +31,10 @@ end ui.container{ attr = { + class = "quorum", style = "width: 1px; background-color: " .. (args.quorum_color or "blue") ..";", }, - content = function() slot.put(" ") end + content = function() slot.put("") end } length = dlength + 1 value = value - dlength diff -r cda574707b1c -r 03c205fc17f0 static/style.css --- a/static/style.css Wed Mar 21 12:20:39 2012 +0100 +++ b/static/style.css Wed Mar 21 19:43:44 2012 +0100 @@ -651,6 +651,11 @@ height: 1.3ex; } +.bargraph .quorum { + margin-top: 0.2ex; + height: 1.9ex; +} + /************************************************************************* * vertical ui.form */