liquid_feedback_frontend
changeset 500:03c205fc17f0
Show blue quorum bar in bargraph more clear, fixed too big quorum in ie
author | bsw |
---|---|
date | Wed Mar 21 19:43:44 2012 +0100 (2012-03-21) |
parents | cda574707b1c |
children | 9582f42fd4bc |
files | env/ui/bargraph.lua static/style.css |
line diff
1.1 --- a/env/ui/bargraph.lua Wed Mar 21 12:20:39 2012 +0100 1.2 +++ b/env/ui/bargraph.lua Wed Mar 21 19:43:44 2012 +0100 1.3 @@ -31,9 +31,10 @@ 1.4 end 1.5 ui.container{ 1.6 attr = { 1.7 + class = "quorum", 1.8 style = "width: 1px; background-color: " .. (args.quorum_color or "blue") ..";", 1.9 }, 1.10 - content = function() slot.put(" ") end 1.11 + content = function() slot.put("") end 1.12 } 1.13 length = dlength + 1 1.14 value = value - dlength
2.1 --- a/static/style.css Wed Mar 21 12:20:39 2012 +0100 2.2 +++ b/static/style.css Wed Mar 21 19:43:44 2012 +0100 2.3 @@ -651,6 +651,11 @@ 2.4 height: 1.3ex; 2.5 } 2.6 2.7 +.bargraph .quorum { 2.8 + margin-top: 0.2ex; 2.9 + height: 1.9ex; 2.10 +} 2.11 + 2.12 /************************************************************************* 2.13 * vertical ui.form 2.14 */