# HG changeset patch # User bsw # Date 1330170190 -3600 # Node ID 6f79a181a92115126187b256ef78d9b701555740 # Parent ad5d7a4eb13da253f45fe24538fa540b11eb0d06 Changed colors for interest/support diff -r ad5d7a4eb13d -r 6f79a181a921 app/main/issue/_list.lua --- a/app/main/issue/_list.lua Sat Feb 25 12:42:42 2012 +0100 +++ b/app/main/issue/_list.lua Sat Feb 25 12:43:10 2012 +0100 @@ -35,8 +35,10 @@ for i, issue in ipairs(issues) do local class = "issue" - if issue.is_interested or issue.is_interested_by_delegation_to_member_id then + if issue.is_interested then class = class .. " interested" + elseif issue.is_interested_by_delegation_to_member_id then + class = class .. " interested_by_delegation" end ui.container{ attr = { class = class }, content = function() diff -r ad5d7a4eb13d -r 6f79a181a921 static/style.css --- a/static/style.css Sat Feb 25 12:42:42 2012 +0100 +++ b/static/style.css Sat Feb 25 12:43:10 2012 +0100 @@ -365,8 +365,26 @@ .interest .head_active, .actions .supporter, .actions .potential_supporter { + border-radius: 5px; +} + +.delegation .head_active, +.interest .head_active, +.actions .supporter, +.actions .potential_supporter { background-color: #cdf; - border-radius: 5px; +} + +.interest .head_active { + background-color: #fec; +} + +.actions .supporter { + background-color: #cfd; +} + +.actions .potential_supporter { + background-color: #fec; } .slot_support .head_initiator { @@ -813,9 +831,10 @@ color-stop(0%,#e7e7e7), color-stop(66%,#fff)); } -.issues .issue.interested .issue_info{ +.issues .issue.interested .issue_info, +.issues .issue.interested_by_delegation .issue_info { background: -webkit-gradient(linear, left top, left bottom, - color-stop(0%,#cdf), color-stop(66%,#fff)); + color-stop(0%,#fec), color-stop(66%,#fff)); } .issues .issue .issue_info .issue_id { @@ -852,11 +871,16 @@ font-weight: bold; } -.initiative_link.supported, +.initiative_link.supported { + background-color: #cfd; + border-radius: 5px; + xbackground: -webkit-radial-gradient(center, ellipse cover, #cfd 50%,#fff 100%); /* Chrome10+,Safari5.1+ */ +} + .initiative_link.potentially_supported { - background-color: #cdf; + background-color: #fec; border-radius: 5px; - background: -webkit-radial-gradient(center, ellipse cover, #cdf 50%,#fff 100%); /* Chrome10+,Safari5.1+ */ + xbackground: -webkit-radial-gradient(center, ellipse cover, #fec 50%,#fff 100%); /* Chrome10+,Safari5.1+ */ } .lang_chooser {