liquid_feedback_frontend
changeset 674:117a505fbe64
Optical improvements
author | bsw |
---|---|
date | Tue Jun 26 17:04:35 2012 +0200 (2012-06-26) |
parents | da77d9b2d140 |
children | e98b56d8e53f |
files | app/main/initiative/_list_element.lua static/style.css |
line diff
1.1 --- a/app/main/initiative/_list_element.lua Tue Jun 26 16:45:02 2012 +0200 1.2 +++ b/app/main/initiative/_list_element.lua Tue Jun 26 17:04:35 2012 +0200 1.3 @@ -25,7 +25,7 @@ 1.4 max_value = max_value, 1.5 width = 100, 1.6 bars = { 1.7 - { color = "#0a0", value = initiative.positive_votes }, 1.8 + { color = "#0a5", value = initiative.positive_votes }, 1.9 { color = "#aaa", value = max_value - initiative.negative_votes - initiative.positive_votes }, 1.10 { color = "#a00", value = initiative.negative_votes }, 1.11 }
2.1 --- a/static/style.css Tue Jun 26 16:45:02 2012 +0200 2.2 +++ b/static/style.css Tue Jun 26 17:04:35 2012 +0200 2.3 @@ -529,12 +529,12 @@ 2.4 .ui_tabs_links a { 2.5 padding: 1.33ex 1em; 2.6 background-color: #444; 2.7 - background: -webkit-linear-gradient(top, #555, #000); 2.8 - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #555), color-stop(100%,#000)); 2.9 - background: -moz-linear-gradient(#555, #000); 2.10 - background: -ms-linear-gradient(#555, #000); 2.11 - background: -o-linear-gradient(#555, #000); 2.12 - background: linear-gradient(#555, #000); 2.13 + background: -webkit-linear-gradient(top, #777, #000); 2.14 + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #777), color-stop(100%,#000)); 2.15 + background: -moz-linear-gradient(#777, #000); 2.16 + background: -ms-linear-gradient(#777, #000); 2.17 + background: -o-linear-gradient(#777, #000); 2.18 + background: linear-gradient(#777, #000); 2.19 color: #fff; 2.20 white-space: nowrap; 2.21 border-radius: 8px; 2.22 @@ -586,15 +586,15 @@ 2.23 2.24 2.25 .ui_filter_head a.active { 2.26 - border: 1px solid #000; 2.27 + border: 1px solid #666; 2.28 text-decoration: none; 2.29 background-color: #444; 2.30 - background: -webkit-linear-gradient(top, #555, #000); 2.31 + background: -webkit-linear-gradient(top, #666, #222); 2.32 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #666), color-stop(100%,#222)); 2.33 - background: -moz-linear-gradient(#555, #000); 2.34 - background: -ms-linear-gradient(#555, #000); 2.35 - background: -o-linear-gradient(#555, #000); 2.36 - background: linear-gradient(#555, #000); 2.37 + background: -moz-linear-gradient(#666, #222); 2.38 + background: -ms-linear-gradient(#666, #222); 2.39 + background: -o-linear-gradient(#666, #222); 2.40 + background: linear-gradient(#666, #222); 2.41 color: #fff; 2.42 } 2.43 2.44 @@ -900,7 +900,7 @@ 2.45 2.46 .issues .issue { 2.47 overflow: hidden; 2.48 - border: 1px solid #ddd; 2.49 + border: 1px solid #d0ddff; 2.50 border-radius: 8px; 2.51 margin-bottom: 2ex; 2.52 } 2.53 @@ -928,7 +928,17 @@ 2.54 } 2.55 2.56 .issue_policy_info { 2.57 + line-height: 200%; 2.58 + display: inline; 2.59 + padding: 5px; 2.60 + background-color: #d0ddff; 2.61 + color: #000; 2.62 font-style: italic; 2.63 + border-radius: 8px 8px 0 0; 2.64 +} 2.65 + 2.66 +.events .issue { 2.67 + border-radius: 0 8px 8px 8px; 2.68 } 2.69 2.70 .issue_policy_info .event_name {