Ran out of space on top Trac toolbar

18 views
Skip to first unread message

paul.wilding

unread,
Aug 6, 2012, 9:14:53 AM8/6/12
to trac-...@googlegroups.com
I've ran out of space on the top trac toolbar which includes links to plugins and admin, new ticket etc. Does anyone know how I could solve this by either making each link smaller or perhaps adding a second bar underneath?

Willmer, Alex (PTS)

unread,
Aug 6, 2012, 10:12:23 AM8/6/12
to trac-...@googlegroups.com

If you’re feeling bold then Trac 1.0 beta (fka 0.13dev) automatically wraps the toolbar on overflow. Try it at http://trac.edgewall.org/demo-0.13 by resizing your browser window.

 

Alternatively you can get more-or-less the same behaviour in your existing version by changing .nav li {display:inline} to .nav li {display:inline-block}. This can be done with site.html customization http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance or by directly editing site.css.

 

Regards, Alex

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/L3EP542wjkkJ.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Paul Wilding

unread,
Aug 6, 2012, 10:41:00 AM8/6/12
to trac-...@googlegroups.com

Thanks, that’s worked for me although for some reason I don’t have a site.css file (!) so I had to add it to stylesheet.css instead.

Steffen Hoffmann

unread,
Aug 6, 2012, 1:32:07 PM8/6/12
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 06.08.2012 16:41, schrieb Paul Wilding:
> Thanks, that�s worked for me although for some reason I don�t have a
> site.css file (!) so I had to add it to stylesheet.css instead.

Both are certainly not found in a fresh Trac environment.

You may still get site.css from the Trac source and place your copy as
<env>/htdocs/style.css inside your Trac environment.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAf/5QACgkQ31DJeiZFuHfjagCgsMi/bMC0G/Rn1QUYqmJ2QHy7
KzcAnjh2J92xG0o50gCKve+XfvdiVUN+
=IIVI
-----END PGP SIGNATURE-----

RjOllos

unread,
Aug 6, 2012, 1:58:02 PM8/6/12
to trac-...@googlegroups.com
On Monday, August 6, 2012 6:14:53 AM UTC-7, paul.wilding wrote:
I've ran out of space on the top trac toolbar which includes links to plugins and admin, new ticket etc. Does anyone know how I could solve this by either making each link smaller or perhaps adding a second bar underneath?

There is also the MenusPlugin, though it can be a bit buggy.

http://trac-hacks.org/wiki/MenusPlugin

Olemis Lang

unread,
Aug 6, 2012, 11:08:13 PM8/6/12
to trac-...@googlegroups.com
If you want to know my opinion , this is a problem in general with
Trac nav area .

All previous suggestions are valid . Nonetheless I'd suggest you to
use (or develop) a theme using ThemeEnginePlugin [1]_ . There a sample
theme [2]_ that may be used as a starting point for this particular
purpose . If you want some suggestions I can mention TracMacTheme [3]_
[4]_ and Bloodhound theme [5]_ [6]_ . They both use drop down menus
for main navigation instead of a menu bar .

.. [1] ThemeEnginePlugin
(http://trac-hacks.org/wiki/ThemeEnginePlugin)

.. [2] TracExampleTheme
(http://trac-hacks.org/wiki/TracExampleTheme)

.. [3] MacTheme
(http://trac-hacks.org/wiki/MacTheme)

.. [4] MacTheme - screenshot
(https://bitbucket.org/olemis/trac-macos/raw/tip/tracmacos/htdocs/screenshot.png)

.. [5] Bloodhound theme @ ASF svn repos
(http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/)

.. [6] Bloodhound theme looks something like this ;)
(http://svn.apache.org/repos/asf/incubator/bloodhound/trunk/doc/html-templates/dashboard.html)

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Reply all
Reply to author
Forward
0 new messages