liquid_feedback_frontend
changeset 317:9c639a2f3262
More color changes and some shadows added
author | bsw |
---|---|
date | Tue Feb 28 15:43:22 2012 +0100 (2012-02-28) |
parents | ec2699978a1f |
children | 8ed77fae6d77 |
files | app/main/initiative/_list_element.lua app/main/issue/_show_head.lua static/style.css |
line diff
1.1 --- a/app/main/initiative/_list_element.lua Tue Feb 28 15:11:34 2012 +0100 1.2 +++ b/app/main/initiative/_list_element.lua Tue Feb 28 15:43:22 2012 +0100 1.3 @@ -68,7 +68,7 @@ 1.4 bars = { 1.5 { color = "#0a0", value = (initiative.satisfied_supporter_count or 0) }, 1.6 { color = "#bbb", value = (initiative.supporter_count or 0) - (initiative.satisfied_supporter_count or 0) }, 1.7 - { color = "#eee", value = max_value - (initiative.supporter_count or 0) }, 1.8 + { color = "#f7f7f7", value = max_value - (initiative.supporter_count or 0) }, 1.9 } 1.10 } 1.11 end
2.1 --- a/app/main/issue/_show_head.lua Tue Feb 28 15:11:34 2012 +0100 2.2 +++ b/app/main/issue/_show_head.lua Tue Feb 28 15:43:22 2012 +0100 2.3 @@ -41,6 +41,7 @@ 2.4 slot.select("title2", function() 2.5 ui.tag{ 2.6 tag = "div", 2.7 + attr = { class = "issue_policy_info" }, 2.8 content = function() 2.9 2.10 ui.link{
3.1 --- a/static/style.css Tue Feb 28 15:11:34 2012 +0100 3.2 +++ b/static/style.css Tue Feb 28 15:43:22 2012 +0100 3.3 @@ -202,11 +202,29 @@ 3.4 .title, 3.5 .title2, 3.6 .actions { 3.7 - background-color: #eee; 3.8 + background-color: #f2f2f2; 3.9 margin-left: 10px; 3.10 margin-right: 10px; 3.11 } 3.12 3.13 +.actions, 3.14 +.issues .issue, 3.15 +.initiatives_list, 3.16 +.ui_tabs_links a, 3.17 +.draft_content, 3.18 +.help, 3.19 +.use_terms { 3.20 + box-shadow: #777 0px 5px 5px -5px; 3.21 +} 3.22 + 3.23 +.issues .issue { 3.24 + border: 1px solid #eee; 3.25 +} 3.26 + 3.27 +.initiative_head .actions { 3.28 + box-shadow: none; 3.29 +} 3.30 + 3.31 .actions { 3.32 border-radius: 0 0 8px 8px; 3.33 } 3.34 @@ -220,7 +238,7 @@ 3.35 margin-top: 1ex; 3.36 margin-left: 10px; 3.37 margin-right: 10px; 3.38 - background-color: #eee; 3.39 + background-color: #f2f2f2; 3.40 border-radius: 8px; 3.41 } 3.42 3.43 @@ -296,7 +314,7 @@ 3.44 } 3.45 3.46 .slot_initiative_head { 3.47 - padding-left: 1em; 3.48 + padding-left: 10px; 3.49 padding-top: 2ex; 3.50 } 3.51 3.52 @@ -364,7 +382,7 @@ 3.53 .actions .supporter, 3.54 .actions .potential_supporter { 3.55 border-radius: 5px; 3.56 - border: 1px solid #fff; 3.57 + border: 1px solid #5f6675; 3.58 } 3.59 3.60 .delegation .head_active, 3.61 @@ -381,7 +399,7 @@ 3.62 } 3.63 3.64 .slot_support .head_initiator { 3.65 - background-color: #eee; 3.66 + background-color: #f2f2f2; 3.67 border-radius: 5px; 3.68 } 3.69 3.70 @@ -495,7 +513,7 @@ 3.71 .ui_tabs_links a { 3.72 padding: 1ex; 3.73 line-height: 300%; 3.74 - background-color: #eee; 3.75 + background-color: #f2f2f2; 3.76 white-space: nowrap; 3.77 border-radius: 5px; 3.78 margin-right: 5px; 3.79 @@ -747,7 +765,7 @@ 3.80 } 3.81 3.82 tr:hover td { 3.83 - background-color: #eee; 3.84 + background-color: #f2f2f2; 3.85 } 3.86 3.87 .nohover tr:hover td { 3.88 @@ -755,11 +773,11 @@ 3.89 } 3.90 3.91 .initiatives_list .nohover tr:hover td { 3.92 - background-color: #eee; 3.93 + background-color: #f2f2f2; 3.94 } 3.95 3.96 .nohover table tr:hover td { 3.97 - background-color: #eee; 3.98 + background-color: #f2f2f2; 3.99 } 3.100 3.101 3.102 @@ -824,7 +842,7 @@ 3.103 } 3.104 3.105 .issues .issue .issue_info { 3.106 - padding: 1ex; 3.107 + padding: 1ex 1em; 3.108 line-height: 140%; 3.109 background: -webkit-gradient(linear, left top, left bottom, 3.110 color-stop(0%,#e7e7e7), color-stop(66%,#fff)); 3.111 @@ -840,7 +858,7 @@ 3.112 font-size: 125%; 3.113 } 3.114 3.115 -.issues .issue .issue_policy_info { 3.116 +.issue_policy_info { 3.117 font-style: italic; 3.118 } 3.119 3.120 @@ -917,7 +935,7 @@ 3.121 height: 48px; 3.122 display: block; 3.123 float: left; 3.124 - background-color: #eee; 3.125 + background-color: #f2f2f2; 3.126 overflow: hidden; 3.127 position: relative; 3.128 border-radius: 7px; 3.129 @@ -997,7 +1015,7 @@ 3.130 .member_statement, 3.131 .draft_content, 3.132 .suggestion_content { 3.133 - background-color: #eee; 3.134 + background-color: #f2f2f2; 3.135 padding: 1ex; 3.136 border-radius: 8px; 3.137 } 3.138 @@ -1011,7 +1029,7 @@ 3.139 } 3.140 3.141 .diff { 3.142 - background-color: #eee; 3.143 + background-color: #f2f2f2; 3.144 border: 1px solid #ccc; 3.145 padding: 1ex; 3.146 } 3.147 @@ -1027,7 +1045,7 @@ 3.148 } 3.149 3.150 .slot_issue_info { 3.151 - background-color: #eee; 3.152 + background-color: #f2f2f2; 3.153 border: 1px solid #ccc; 3.154 float: right; 3.155 padding: 0.5ex; 3.156 @@ -1086,7 +1104,7 @@ 3.157 .help, 3.158 .use_terms { 3.159 border-radius: 8px; 3.160 - background-color: #cdf; 3.161 + background-color: #fffbce; 3.162 color: #000; 3.163 padding: 1ex; 3.164 } 3.165 @@ -1212,7 +1230,7 @@ 3.166 background-color: #ccc; 3.167 } 3.168 #voting .abstention .movable { 3.169 - background-color: #eee; 3.170 + background-color: #f2f2f2; 3.171 } 3.172 #voting .disapproval { 3.173 background-color: #f88;