From: Brion Vibber Date: Mon, 28 Feb 2011 20:50:26 +0000 (-0800) Subject: some quick visual tweaks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb9418b99d656d3b68d3d2c50bead8cb577067b3;p=quix0rs-gnu-social.git some quick visual tweaks --- 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;