# HG changeset patch
# User bsw
# Date 1340732429 -7200
# Node ID a2d907f12dd8650a87306ba7ef6dadaf17022f92
# Parent 7d157aab3ffdf551c5d9773923ceb453f06a8a6e
Optical improvements
diff -r 7d157aab3ffd -r a2d907f12dd8 app/main/member/_profile.lua
--- a/app/main/member/_profile.lua Tue Jun 26 19:29:58 2012 +0200
+++ b/app/main/member/_profile.lua Tue Jun 26 19:40:29 2012 +0200
@@ -10,7 +10,7 @@
end
ui.form{
- attr = { class = "box member vertical" },
+ attr = { class = "member_statement member vertical" },
record = member,
readonly = true,
content = function()
@@ -110,16 +110,16 @@
if member.last_activity then
ui.field.text{ label = _"Last activity (updated daily)", value = format.date(member.last_activity) or _"not yet" }
end
+ slot.put("
")
if member.statement and #member.statement > 0 then
ui.container{
- attr = { class = "member_statement wiki" },
+ attr = { class = " wiki" },
content = function()
slot.put(member:get_content("html"))
end
}
end
- slot.put("
")
end
}
diff -r 7d157aab3ffd -r a2d907f12dd8 static/style.css
--- a/static/style.css Tue Jun 26 19:29:58 2012 +0200
+++ b/static/style.css Tue Jun 26 19:40:29 2012 +0200
@@ -671,7 +671,7 @@
background: -o-linear-gradient(#fec, #fc9);
background: linear-gradient(#fec, #fc9);
padding: 0.5ex;
- border: 1px solid #fc0;
+ border: 1px solid #777;
}
.notifications ul {
@@ -865,7 +865,7 @@
}
.area_list .area {
- border-top: 1px solid #444;
+ border-top: 1px solid #777;
}
.area_list .area:first-child {
@@ -1176,10 +1176,6 @@
}
-.member_statement {
- margin-right: 250px;
-}
-
#suggestion_description {
height: 15ex;
}
@@ -1420,14 +1416,20 @@
.suggestion_content,
.initiative_head,
.box {
- border: 1px solid #aaa;
+ border: 1px solid #777;
}
.member_statement,
.draft_content,
.suggestion_content,
.box {
- padding: 1ex;
+ padding: 0 12px;
+}
+
+.suggestion_content,
+.member_statement,
+.draft_content {
+ border-left: 12px solid #777;
}
.slot_footer {