]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
some quick visual tweaks
authorBrion Vibber <brion@pobox.com>
Mon, 28 Feb 2011 20:50:26 +0000 (12:50 -0800)
committerBrion Vibber <brion@pobox.com>
Mon, 28 Feb 2011 20:50:26 +0000 (12:50 -0800)
lib/threadednoticelist.php
theme/base/css/display.css

index 871a0eb0685f056957710f8e9d036cb6a899a789..2d3746edef66ee218017efabebdf9446c0ed3258 100644 (file)
@@ -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;
index 817de209baf4ac37df345e960869a5ad577253aa..74f5bb3e30ee195904a850e68b9fe0bc33ed22d8 100644 (file)
@@ -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;