liquid_feedback_frontend
changeset 418:54a7daa4d35c
Added missing boxes
author | bsw |
---|---|
date | Sat Mar 10 17:51:00 2012 +0100 (2012-03-10) |
parents | 2570b9fff7e0 |
children | 977c5374a120 |
files | app/main/area/_list.lua app/main/member/_profile.lua app/main/unit/list.lua static/style.css |
line diff
1.1 --- a/app/main/area/_list.lua Sat Mar 10 17:41:55 2012 +0100 1.2 +++ b/app/main/area/_list.lua Sat Mar 10 17:51:00 2012 +0100 1.3 @@ -30,7 +30,7 @@ 1.4 end 1.5 1.6 1.7 -ui.container{ attr = { class = "area_list" }, content = function() 1.8 +ui.container{ attr = { class = "box area_list" }, content = function() 1.9 1.10 ui.container{ attr = { class = "area head" }, content = function() 1.11
2.1 --- a/app/main/member/_profile.lua Sat Mar 10 17:41:55 2012 +0100 2.2 +++ b/app/main/member/_profile.lua Sat Mar 10 17:51:00 2012 +0100 2.3 @@ -43,7 +43,7 @@ 2.4 --end) 2.5 2.6 ui.form{ 2.7 - attr = { class = "member vertical" }, 2.8 + attr = { class = "box member vertical" }, 2.9 record = member, 2.10 readonly = true, 2.11 content = function() 2.12 @@ -152,5 +152,6 @@ 2.13 end 2.14 } 2.15 end 2.16 + slot.put("<br style=\"clear: both;\" />") 2.17 end 2.18 }
3.1 --- a/app/main/unit/list.lua Sat Mar 10 17:41:55 2012 +0100 3.2 +++ b/app/main/unit/list.lua Sat Mar 10 17:51:00 2012 +0100 3.3 @@ -2,4 +2,6 @@ 3.4 3.5 util.help("unit.list", _"Unit list") 3.6 3.7 -execute.view{ module = "unit", view = "_list" } 3.8 \ No newline at end of file 3.9 +ui.container{ attr = { class = "box" }, content = function() 3.10 + execute.view{ module = "unit", view = "_list" } 3.11 +end } 3.12 \ No newline at end of file
4.1 --- a/static/style.css Sat Mar 10 17:41:55 2012 +0100 4.2 +++ b/static/style.css Sat Mar 10 17:51:00 2012 +0100 4.3 @@ -1515,6 +1515,17 @@ 4.4 4.5 /* shadows */ 4.6 4.7 +.box { 4.8 + border: 1px solid #aaa; 4.9 + border-radius: 8px; 4.10 + padding: 1ex; 4.11 +} 4.12 + 4.13 +.member_area_list .box { 4.14 + border: none; 4.15 + padding: 0; 4.16 +} 4.17 + 4.18 .slot_initiatives_list, 4.19 .actions, 4.20 .issues .issue, 4.21 @@ -1525,10 +1536,17 @@ 4.22 .motd, 4.23 .ui_filter a.active, 4.24 .vote_info .content, 4.25 -.member_area_list { 4.26 +.member_area_list, 4.27 +.box { 4.28 box-shadow: #777 0px 5px 5px -5px; 4.29 -mox-box-shadow: #777 0px 5px 5px -5px; 4.30 -webkit-box-shadow: #777 0px 5px 5px -5px; 4.31 } 4.32 4.33 +.member_area_list .box { 4.34 + box-shadow: none; 4.35 + -mox-box-shadow: none; 4.36 + -webkit-box-shadow: none; 4.37 +} 4.38 4.39 +