# HG changeset patch # User bsw # Date 1340646802 -7200 # Node ID ea89fa21b0ab56cf12958598460d8e4211204bde # Parent 26d6d5cb4c7ccde813e41490711c48a045ac8eb4 Optical enhancements diff -r 26d6d5cb4c7c -r ea89fa21b0ab app/main/initiative/_list_element.lua --- a/app/main/initiative/_list_element.lua Mon Jun 25 19:42:26 2012 +0200 +++ b/app/main/initiative/_list_element.lua Mon Jun 25 19:53:22 2012 +0200 @@ -50,9 +50,9 @@ quorum = max_value * quorum, quorum_color = "#00F", bars = { - { color = "#0a0", value = (initiative.satisfied_supporter_count or 0) }, - { color = "#999", value = (initiative.supporter_count or 0) - (initiative.satisfied_supporter_count or 0) }, - { color = "#ddd", value = max_value - (initiative.supporter_count or 0) }, + { color = "#0a5", value = (initiative.satisfied_supporter_count or 0) }, + { color = "#aaa", value = (initiative.supporter_count or 0) - (initiative.satisfied_supporter_count or 0) }, + { color = "#fff", value = max_value - (initiative.supporter_count or 0) }, } } end diff -r 26d6d5cb4c7c -r ea89fa21b0ab app/main/issue/_show.lua --- a/app/main/issue/_show.lua Mon Jun 25 19:42:26 2012 +0200 +++ b/app/main/issue/_show.lua Mon Jun 25 19:53:22 2012 +0200 @@ -220,7 +220,7 @@ end - ui.container{ attr = { class = "initiative_list" }, content = function() + ui.container{ attr = { class = "initiative_list content" }, content = function() local initiatives_selector = issue:get_reference_selector("initiatives") local highlight_string = param.get("highlight_string") diff -r 26d6d5cb4c7c -r ea89fa21b0ab static/style.css --- a/static/style.css Mon Jun 25 19:42:26 2012 +0200 +++ b/static/style.css Mon Jun 25 19:53:22 2012 +0200 @@ -48,7 +48,7 @@ */ body { - background: #fff; + background: #fafafa; line-height: 120%: } @@ -307,7 +307,27 @@ border-radius: 0 0 8px 8px; } -.slot_head div:last-child { + +.slot_head, +.area_list, +.initiative_head, +.issues .issue, +.ui_tabs_links a, +.draft_content, +.help, +.use_terms, +.motd, +.vote_info .content, +.box, +div.notifications { + background-color: #fff; + box-shadow: #777 0px 5px 5px -5px; + -mox-box-shadow: #777 0px 5px 5px -5px; + -webkit-box-shadow: #ddd 3px 3px 3px -1px; + clear: both; +} + +.slot_head > div:last-child { border-radius: 0 0 8px 8px; } @@ -492,18 +512,18 @@ /************************************************************************* * ui.tab */ -.ui_tabs { - margin: 20px 0px; +.ui_tabs_links { + margin: 20px 0px 10px 0px; } .ui_tabs_links a { padding: 1ex 1em; line-height: 300%; background-color: #444; - background-image: -webkit-linear-gradient(top, #000 0%, #444 70%, #777 90%, #888 100%); + background-image: -webkit-linear-gradient(top, #000, #666); color: #fff; white-space: nowrap; - border-radius: 10px; + border-radius: 8px; font-weight: bold; margin: 3px; } @@ -1142,12 +1162,12 @@ .initiator_invite_info, .motd, .public_access_issue_head { - background-color: #fffbce; + background-color: #fda; padding: 1ex; margin-top: 1ex; margin-bottom: 2ex; - border-top: 1px solid #ffe900; - border-bottom: 1px solid #ffe900; + border: 1px solid #fa0; + border-radius: 10px; } .suggestion_fulfilled { @@ -1394,24 +1414,6 @@ padding: 1ex; } -.slot_head, -.area_list, -.initiative_head, -.issues .issue, -.ui_tabs_links a, -.draft_content, -.help, -.use_terms, -.motd, -.vote_info .content, -.box, -div.notifications { - box-shadow: #777 0px 5px 5px -5px; - -mox-box-shadow: #777 0px 5px 5px -5px; - -webkit-box-shadow: #ddd 3px 3px 3px -1px; - clear: both; -} - .slot_footer { margin: 0 1%; border-top: 1px solid #ccc;