liquid_feedback_frontend
changeset 642:ea89fa21b0ab
Optical enhancements
author | bsw |
---|---|
date | Mon Jun 25 19:53:22 2012 +0200 (2012-06-25) |
parents | 26d6d5cb4c7c |
children | 3aff9990b0a1 |
files | app/main/initiative/_list_element.lua app/main/issue/_show.lua static/style.css |
line diff
1.1 --- a/app/main/initiative/_list_element.lua Mon Jun 25 19:42:26 2012 +0200 1.2 +++ b/app/main/initiative/_list_element.lua Mon Jun 25 19:53:22 2012 +0200 1.3 @@ -50,9 +50,9 @@ 1.4 quorum = max_value * quorum, 1.5 quorum_color = "#00F", 1.6 bars = { 1.7 - { color = "#0a0", value = (initiative.satisfied_supporter_count or 0) }, 1.8 - { color = "#999", value = (initiative.supporter_count or 0) - (initiative.satisfied_supporter_count or 0) }, 1.9 - { color = "#ddd", value = max_value - (initiative.supporter_count or 0) }, 1.10 + { color = "#0a5", value = (initiative.satisfied_supporter_count or 0) }, 1.11 + { color = "#aaa", value = (initiative.supporter_count or 0) - (initiative.satisfied_supporter_count or 0) }, 1.12 + { color = "#fff", value = max_value - (initiative.supporter_count or 0) }, 1.13 } 1.14 } 1.15 end
2.1 --- a/app/main/issue/_show.lua Mon Jun 25 19:42:26 2012 +0200 2.2 +++ b/app/main/issue/_show.lua Mon Jun 25 19:53:22 2012 +0200 2.3 @@ -220,7 +220,7 @@ 2.4 2.5 end 2.6 2.7 - ui.container{ attr = { class = "initiative_list" }, content = function() 2.8 + ui.container{ attr = { class = "initiative_list content" }, content = function() 2.9 2.10 local initiatives_selector = issue:get_reference_selector("initiatives") 2.11 local highlight_string = param.get("highlight_string")
3.1 --- a/static/style.css Mon Jun 25 19:42:26 2012 +0200 3.2 +++ b/static/style.css Mon Jun 25 19:53:22 2012 +0200 3.3 @@ -48,7 +48,7 @@ 3.4 */ 3.5 3.6 body { 3.7 - background: #fff; 3.8 + background: #fafafa; 3.9 line-height: 120%: 3.10 } 3.11 3.12 @@ -307,7 +307,27 @@ 3.13 border-radius: 0 0 8px 8px; 3.14 } 3.15 3.16 -.slot_head div:last-child { 3.17 + 3.18 +.slot_head, 3.19 +.area_list, 3.20 +.initiative_head, 3.21 +.issues .issue, 3.22 +.ui_tabs_links a, 3.23 +.draft_content, 3.24 +.help, 3.25 +.use_terms, 3.26 +.motd, 3.27 +.vote_info .content, 3.28 +.box, 3.29 +div.notifications { 3.30 + background-color: #fff; 3.31 + box-shadow: #777 0px 5px 5px -5px; 3.32 + -mox-box-shadow: #777 0px 5px 5px -5px; 3.33 + -webkit-box-shadow: #ddd 3px 3px 3px -1px; 3.34 + clear: both; 3.35 +} 3.36 + 3.37 +.slot_head > div:last-child { 3.38 border-radius: 0 0 8px 8px; 3.39 } 3.40 3.41 @@ -492,18 +512,18 @@ 3.42 /************************************************************************* 3.43 * ui.tab 3.44 */ 3.45 -.ui_tabs { 3.46 - margin: 20px 0px; 3.47 +.ui_tabs_links { 3.48 + margin: 20px 0px 10px 0px; 3.49 } 3.50 3.51 .ui_tabs_links a { 3.52 padding: 1ex 1em; 3.53 line-height: 300%; 3.54 background-color: #444; 3.55 - background-image: -webkit-linear-gradient(top, #000 0%, #444 70%, #777 90%, #888 100%); 3.56 + background-image: -webkit-linear-gradient(top, #000, #666); 3.57 color: #fff; 3.58 white-space: nowrap; 3.59 - border-radius: 10px; 3.60 + border-radius: 8px; 3.61 font-weight: bold; 3.62 margin: 3px; 3.63 } 3.64 @@ -1142,12 +1162,12 @@ 3.65 .initiator_invite_info, 3.66 .motd, 3.67 .public_access_issue_head { 3.68 - background-color: #fffbce; 3.69 + background-color: #fda; 3.70 padding: 1ex; 3.71 margin-top: 1ex; 3.72 margin-bottom: 2ex; 3.73 - border-top: 1px solid #ffe900; 3.74 - border-bottom: 1px solid #ffe900; 3.75 + border: 1px solid #fa0; 3.76 + border-radius: 10px; 3.77 } 3.78 3.79 .suggestion_fulfilled { 3.80 @@ -1394,24 +1414,6 @@ 3.81 padding: 1ex; 3.82 } 3.83 3.84 -.slot_head, 3.85 -.area_list, 3.86 -.initiative_head, 3.87 -.issues .issue, 3.88 -.ui_tabs_links a, 3.89 -.draft_content, 3.90 -.help, 3.91 -.use_terms, 3.92 -.motd, 3.93 -.vote_info .content, 3.94 -.box, 3.95 -div.notifications { 3.96 - box-shadow: #777 0px 5px 5px -5px; 3.97 - -mox-box-shadow: #777 0px 5px 5px -5px; 3.98 - -webkit-box-shadow: #ddd 3px 3px 3px -1px; 3.99 - clear: both; 3.100 -} 3.101 - 3.102 .slot_footer { 3.103 margin: 0 1%; 3.104 border-top: 1px solid #ccc;