changeset 1593:0f40eefb12ba

Selected link class name changed due to duplication
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 02 Aug 2012 22:57:57 +0530
parents 640da44961b2
children a1e8a1d104e8
files MoinMoin/templates/common.js MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/common.js	Thu Aug 02 02:56:15 2012 +0530
+++ b/MoinMoin/templates/common.js	Thu Aug 02 22:57:57 2012 +0530
@@ -34,7 +34,7 @@
          var link = nav_links[i].attributes.href.value;
              
              if (link == selected) {
-               nav_links[i].setAttribute('class', 'current');
+               nav_links[i].setAttribute('class', 'current-link');
                break;
             }
         }
--- a/MoinMoin/themes/foobar/static/css/common.css	Thu Aug 02 02:56:15 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Thu Aug 02 22:57:57 2012 +0530
@@ -327,7 +327,7 @@
 a.moin-nonexistent:visited{color:#808080}
 a.moin-nonexistent:hover{color:#ff2727}
 a.moin-nonexistent:active{color:#ff2727}
-.current{color:#f82a2a !important}
+.current-link{color:#f82a2a !important}
 .moin-flash{margin:0;padding:6px 6px 6px 38px;background-color:#fff;border-bottom:border style;background-repeat:no-repeat;background-position:16px center}
 .moin-flash-hint{background-image:url("../img/smileys/idea.png");color:#007cef}
 .moin-flash-info{background-image:url("../img/smileys/icon-info.png");color:#007cef}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Aug 02 02:56:15 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Aug 02 22:57:57 2012 +0530
@@ -710,7 +710,7 @@
     &.moin-nonexistent:active
         color nonexistent_hover_color
 
-.current
+.current-link
     color selected_link_color !important
 
 // moin-flash & error