changeset 1525:0187fccb4af3

Foobar theme visited vs non-visited link color
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Sat, 07 Jul 2012 02:37:33 +0530
parents b94049006440
children de029fd0bf9c
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/foobar/templates/layout.html
diffstat 3 files changed, 12 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Thu Jul 05 16:53:07 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Sat Jul 07 02:37:33 2012 +0530
@@ -200,8 +200,8 @@
 #moin-footer ul a,#moin-credits a{color:#616161}
 #moin-footer-logos{float:right;}
 #moin-footer-logos ul li{display:inline}
-.moin-itemviews a[title="Show"],.moin-itemviews a[title="Delete this item"],.moin-itemviews a[title="Completely destroy this item"],.moin-itemviews a[title="Rename this item"],.moin-itemviews a[title="Edit or Upload"]{color:#4fa8fa}
-#moin-global-panel a.moin-usersettings,#moin-global-panel a.moin-logout{color:#4fa8fa}
+.moin-itemviews a:visited,#moin-trail a:visited,#moin-user a:visited{color:#4fa8fa}
+.moin-itemviews a:hover,#moin-trail a:hover,#moin-user a:hover{color:#007cef}
 label{display:block;font-weight:bold}
 input[type="submit"],input[type="button"],button{font-weight:bold;font-size:.75em;background:#d6d5d0;padding:4px 15px;border:1px solid #ccc;border-radius:6px;box-shadow:1px 1px 2px #9d9d9b;cursor:pointer;}
 input[type="submit"]:hover,input[type="button"]:hover,button:hover{box-shadow:1px 1px 2px #000}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Jul 05 16:53:07 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Sat Jul 07 02:37:33 2012 +0530
@@ -188,13 +188,14 @@
     ul li
         display inline
 
-.moin-itemviews
-    a[title="Show"], a[title="Delete this item"], a[title="Completely destroy this item"],
-    a[title="Rename this item"], a[title="Edit or Upload"]
-        color link_color
-#moin-global-panel
-    a.moin-usersettings, a.moin-logout
-        color link_color
+.moin-itemviews,
+#moin-trail,
+#moin-user
+    a
+        &:visited
+            color link_color
+        &:hover
+            color hover_color
         
 // form
 label
--- a/MoinMoin/themes/foobar/templates/layout.html	Thu Jul 05 16:53:07 2012 +0530
+++ b/MoinMoin/themes/foobar/templates/layout.html	Sat Jul 07 02:37:33 2012 +0530
@@ -35,7 +35,7 @@
 
         {% set trail_items = theme_supp.path_breadcrumbs() %}
         {% if trail_items %}
-        <li>Trail
+        <li id="moin-trail">Trail
             <ul>
             {% for wiki_name, item_name, item_href, exists, err in trail_items %}
                 <li>
@@ -56,7 +56,7 @@
             </ul>
         </li>
         {% endif %}
-        <li>User
+        <li id="moin-user">User
         <ul>
         {% if user.valid -%}
 	    {% set avatar = user.avatar(20) %}