diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2008-11-25 12:24:44 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2008-11-25 12:24:44 +0100 |
commit | fad9d38acdcb2bf1e12f4991bb01e207d0cf64a5 (patch) | |
tree | 8a5deae39bafd2bfd1b451bc084d44f9f5d141f6 | |
parent | 30a4bd7f9ccf42fbfb3c7406d88f5041773ea355 (diff) |
Split action items into global and per-page ones.
-rw-r--r-- | .templates/page.tmpl | 18 | ||||
-rw-r--r-- | local.css | 9 |
2 files changed, 19 insertions, 8 deletions
diff --git a/.templates/page.tmpl b/.templates/page.tmpl index 8c2ca668..ae9347fb 100644 --- a/.templates/page.tmpl +++ b/.templates/page.tmpl @@ -36,23 +36,29 @@ <TMPL_IF NAME="HAVE_ACTIONS"> <div class="actions"> +<span class="global"> <ul> -<TMPL_IF NAME="EDITURL"> -<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li> -</TMPL_IF> <TMPL_IF NAME="RECENTCHANGESURL"> <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li> </TMPL_IF> -<TMPL_IF NAME="HISTORYURL"> -<li><a href="<TMPL_VAR HISTORYURL>">History</a></li> -</TMPL_IF> <TMPL_IF NAME="PREFSURL"> <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li> </TMPL_IF> +</ul> +</span> +<span class="per_page"> +<ul> +<TMPL_IF NAME="EDITURL"> +<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li> +</TMPL_IF> +<TMPL_IF NAME="HISTORYURL"> +<li><a href="<TMPL_VAR HISTORYURL>">History</a></li> +</TMPL_IF> <TMPL_IF NAME="DISCUSSIONLINK"> <li><TMPL_VAR DISCUSSIONLINK><br /></li> </TMPL_IF> </ul> +</span> </div> </TMPL_IF> </div> <!-- .pageheader --> @@ -57,7 +57,6 @@ a { text-decoration: none; } - a:hover { border-bottom: 1px dotted blue; @@ -99,6 +98,13 @@ a:hover border-top: 1px solid #999999; } +.pageheader .actions .global +{ + max-width: 50%; + float: left; + margin-right: 40px; +} + .pageheader .actions ul { border: none; @@ -111,7 +117,6 @@ a:hover border: 1px solid #e7e7e7; border-top: 1px solid #999999; } - .pageheader .actions li:hover { background-color: #f0f0f0; |