liquid_feedback_frontend

changeset 289:6f79a181a921

Changed colors for interest/support
author bsw
date Sat Feb 25 12:43:10 2012 +0100 (2012-02-25)
parents ad5d7a4eb13d
children 24f8920e05f1
files app/main/issue/_list.lua static/style.css
line diff
     1.1 --- a/app/main/issue/_list.lua	Sat Feb 25 12:42:42 2012 +0100
     1.2 +++ b/app/main/issue/_list.lua	Sat Feb 25 12:43:10 2012 +0100
     1.3 @@ -35,8 +35,10 @@
     1.4          for i, issue in ipairs(issues) do
     1.5  
     1.6            local class = "issue"
     1.7 -          if issue.is_interested or issue.is_interested_by_delegation_to_member_id then
     1.8 +          if issue.is_interested then
     1.9              class = class .. " interested"
    1.10 +          elseif issue.is_interested_by_delegation_to_member_id then
    1.11 +            class = class .. " interested_by_delegation"
    1.12            end
    1.13            ui.container{ attr = { class = class }, content = function()
    1.14  
     2.1 --- a/static/style.css	Sat Feb 25 12:42:42 2012 +0100
     2.2 +++ b/static/style.css	Sat Feb 25 12:43:10 2012 +0100
     2.3 @@ -365,8 +365,26 @@
     2.4  .interest .head_active,
     2.5  .actions .supporter,
     2.6  .actions .potential_supporter {
     2.7 +  border-radius: 5px;
     2.8 +}
     2.9 +
    2.10 +.delegation .head_active,
    2.11 +.interest .head_active,
    2.12 +.actions .supporter,
    2.13 +.actions .potential_supporter {
    2.14    background-color: #cdf;
    2.15 -  border-radius: 5px;
    2.16 +}
    2.17 +
    2.18 +.interest .head_active {
    2.19 +  background-color: #fec;
    2.20 +}
    2.21 +
    2.22 +.actions .supporter {
    2.23 +  background-color: #cfd;
    2.24 +}
    2.25 +
    2.26 +.actions .potential_supporter {
    2.27 +  background-color: #fec;
    2.28  }
    2.29  
    2.30  .slot_support .head_initiator {
    2.31 @@ -813,9 +831,10 @@
    2.32      color-stop(0%,#e7e7e7), color-stop(66%,#fff));
    2.33  }
    2.34  
    2.35 -.issues .issue.interested .issue_info{
    2.36 +.issues .issue.interested .issue_info,
    2.37 +.issues .issue.interested_by_delegation .issue_info  {
    2.38    background: -webkit-gradient(linear, left top, left bottom,
    2.39 -    color-stop(0%,#cdf), color-stop(66%,#fff));
    2.40 +    color-stop(0%,#fec), color-stop(66%,#fff));
    2.41  }
    2.42  
    2.43  .issues .issue .issue_info .issue_id {
    2.44 @@ -852,11 +871,16 @@
    2.45    font-weight: bold;
    2.46  }
    2.47  
    2.48 -.initiative_link.supported,
    2.49 +.initiative_link.supported {
    2.50 +  background-color: #cfd;
    2.51 +  border-radius: 5px;
    2.52 +  xbackground: -webkit-radial-gradient(center, ellipse cover, #cfd 50%,#fff 100%); /* Chrome10+,Safari5.1+ */
    2.53 +}
    2.54 +
    2.55  .initiative_link.potentially_supported {
    2.56 -  background-color: #cdf;
    2.57 +  background-color: #fec;
    2.58    border-radius: 5px;
    2.59 -  background: -webkit-radial-gradient(center, ellipse cover, #cdf 50%,#fff 100%); /* Chrome10+,Safari5.1+ */
    2.60 +  xbackground: -webkit-radial-gradient(center, ellipse cover, #fec 50%,#fff 100%); /* Chrome10+,Safari5.1+ */
    2.61  }
    2.62  
    2.63  .lang_chooser {

Impressum / About Us