changeset 2398:fe1f88d7e38a

Fixes #36, comments toggle enabled
author sharky93 <rishabhr123@gmail.com>
date Sun, 18 Aug 2013 04:27:27 +0530
parents 4aacb749947b
children 4112a46ce81d
files MoinMoin/templates/common.js MoinMoin/themes/basic/static/css/basic.css MoinMoin/themes/basic/static/custom-less/basic.less
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/common.js	Sun Aug 18 03:30:24 2013 +0530
+++ b/MoinMoin/templates/common.js	Sun Aug 18 04:27:27 2013 +0530
@@ -68,6 +68,7 @@
     if (pageComments.length > 0) {
         // There are comments, so show itemview Comments button
         $('.moin-toggle-comments-button').css('display', '');
+        $('.moin-toggle-comments-button').click(toggleComments);
         // comments are visible; per user option, hide comments if there is not a <br id="moin-show-comments" />
         if (!document.getElementById('moin-show-comments')) {
             toggleComments();
--- a/MoinMoin/themes/basic/static/css/basic.css	Sun Aug 18 03:30:24 2013 +0530
+++ b/MoinMoin/themes/basic/static/css/basic.css	Sun Aug 18 04:27:27 2013 +0530
@@ -4466,3 +4466,7 @@
   background-color: #555555;
   color: #428bca;
 }
+.comment {
+  color: #333333;
+  background-color: #e1edf7;
+}
--- a/MoinMoin/themes/basic/static/custom-less/basic.less	Sun Aug 18 03:30:24 2013 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/basic.less	Sun Aug 18 04:27:27 2013 +0530
@@ -133,3 +133,8 @@
     background-color: @gray;
     color: @link-color;
 }
+
+.comment {
+  color: @text-color;
+  background-color: lighten(@link-color, 40%);
+}