From fb9418b99d656d3b68d3d2c50bead8cb577067b3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 28 Feb 2011 12:50:26 -0800 Subject: [PATCH] some quick visual tweaks --- lib/threadednoticelist.php | 15 +++++++++++++++ theme/base/css/display.css | 11 +++++++++++ 2 files changed, 26 insertions(+) diff --git a/lib/threadednoticelist.php b/lib/threadednoticelist.php index 871a0eb068..2d3746edef 100644 --- a/lib/threadednoticelist.php +++ b/lib/threadednoticelist.php @@ -223,6 +223,21 @@ class ThreadedNoticeListReplyItem extends NoticeListItem $this->showEnd(); } + /** + * start a single notice. + * + * @return void + */ + + function showStart() + { + if (Event::handle('StartOpenNoticeListItemElement', array($this))) { + $id = (empty($this->repeat)) ? $this->notice->id : $this->repeat->id; + $this->out->elementStart('li', array('class' => 'notice-reply', + 'id' => 'notice-reply-' . $id)); + } + } + function showMiniForm() { $replyToId = $this->notice->id; diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 817de209ba..74f5bb3e30 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1121,6 +1121,17 @@ border-top-style:solid; width: 32px; height: 32px; } +.threaded-notices .notice-reply { + margin: 8px; +} +.threaded-notices .notice-reply textarea { + margin-left: 0; + width: 95%; +} +.threaded-notices .notice-reply input.submit { + text-align: right; +} + /* NOTICES */ #notices_primary { float:left; -- 2.39.5