[gatewiki-commits] SF.net SVN: gatewiki:[1745] trunk/cow/web-app/css/page.css

View: New views
1 Messages — Rating Filter:   Alert me  

[gatewiki-commits] SF.net SVN: gatewiki:[1745] trunk/cow/web-app/css/page.css

by ian_roberts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 1745
          http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1745&view=rev
Author:   ian_roberts
Date:     2009-10-25 22:16:58 +0000 (Sun, 25 Oct 2009)

Log Message:
-----------
Extra trick to treat links contained in a <b> element the same as links with
class="submenu" in menu structures.  This makes it easier to define menu
structures in YAM rather than having to use custom classes in the HTML.  Now I
just have to find a way to avoid having to wrap the <ul> in a <div
class="horizontal menu">...

- *%(/help/gatewiki.html,Help documentation)*
  - %(/help/yam-summary.html,YAM summary)
  - %(/help/yam-syntax.html,YAM syntax)

Modified Paths:
--------------
    trunk/cow/web-app/css/page.css

Modified: trunk/cow/web-app/css/page.css
===================================================================
--- trunk/cow/web-app/css/page.css 2009-10-25 13:19:39 UTC (rev 1744)
+++ trunk/cow/web-app/css/page.css 2009-10-25 22:16:58 UTC (rev 1745)
@@ -225,19 +225,26 @@
   font: bold 14px Verdana,Arial,sans-serif;
 }
 
+/* Tream links nested in a <b> tag as submenus, to make it easier to define
+ * menus in yam. */
 .horizontal a.submenu,
-.vertical a.submenu {
+.vertical a.submenu,
+.horizontal b a,
+.vertical b a {
   padding-right: 23px;
   background-position: center right;
   background-repeat: no-repeat;
 }
 
-.horizontal a.submenu {
+.horizontal a.submenu,
+.horizontal b a {
   background-image: url('../_images/menu/down.gif');
 }
 
 .vertical a.submenu,
-.horizontal ul ul a.submenu {
+.horizontal ul ul a.submenu,
+.vertical b a,
+.horizontal ul ul b a {
   background-image: url('../_images/menu/right.gif');
 }
 
@@ -258,6 +265,7 @@
   margin: 0;
   border-top-width: 0;
   border-bottom: 1px solid gray;
+  font-weight: normal;
 }
 
 /* Pop all vertical menus and all second-level-and-beyond horizontal ones out


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits