# HG changeset patch # User bsw # Date 1331398260 -3600 # Node ID 54a7daa4d35c1c6e2565fe9249c3842cb44cc3ec # Parent 2570b9fff7e05ce1e168538535d441f844980e2a Added missing boxes diff -r 2570b9fff7e0 -r 54a7daa4d35c app/main/area/_list.lua --- a/app/main/area/_list.lua Sat Mar 10 17:41:55 2012 +0100 +++ b/app/main/area/_list.lua Sat Mar 10 17:51:00 2012 +0100 @@ -30,7 +30,7 @@ end -ui.container{ attr = { class = "area_list" }, content = function() +ui.container{ attr = { class = "box area_list" }, content = function() ui.container{ attr = { class = "area head" }, content = function() diff -r 2570b9fff7e0 -r 54a7daa4d35c app/main/member/_profile.lua --- a/app/main/member/_profile.lua Sat Mar 10 17:41:55 2012 +0100 +++ b/app/main/member/_profile.lua Sat Mar 10 17:51:00 2012 +0100 @@ -43,7 +43,7 @@ --end) ui.form{ - attr = { class = "member vertical" }, + attr = { class = "box member vertical" }, record = member, readonly = true, content = function() @@ -152,5 +152,6 @@ end } end + slot.put("
") end } diff -r 2570b9fff7e0 -r 54a7daa4d35c app/main/unit/list.lua --- a/app/main/unit/list.lua Sat Mar 10 17:41:55 2012 +0100 +++ b/app/main/unit/list.lua Sat Mar 10 17:51:00 2012 +0100 @@ -2,4 +2,6 @@ util.help("unit.list", _"Unit list") -execute.view{ module = "unit", view = "_list" } \ No newline at end of file +ui.container{ attr = { class = "box" }, content = function() + execute.view{ module = "unit", view = "_list" } +end } \ No newline at end of file diff -r 2570b9fff7e0 -r 54a7daa4d35c static/style.css --- a/static/style.css Sat Mar 10 17:41:55 2012 +0100 +++ b/static/style.css Sat Mar 10 17:51:00 2012 +0100 @@ -1515,6 +1515,17 @@ /* shadows */ +.box { + border: 1px solid #aaa; + border-radius: 8px; + padding: 1ex; +} + +.member_area_list .box { + border: none; + padding: 0; +} + .slot_initiatives_list, .actions, .issues .issue, @@ -1525,10 +1536,17 @@ .motd, .ui_filter a.active, .vote_info .content, -.member_area_list { +.member_area_list, +.box { box-shadow: #777 0px 5px 5px -5px; -mox-box-shadow: #777 0px 5px 5px -5px; -webkit-box-shadow: #777 0px 5px 5px -5px; } +.member_area_list .box { + box-shadow: none; + -mox-box-shadow: none; + -webkit-box-shadow: none; +} +