[Doxygen-develop] Style bug: In need of a nest list class in CSS
Brought to you by:
dimitri
From: Jeff F. <jc...@tp...> - 2004-11-17 03:45:46
|
Dimitri, I have come across a style bug with unumbered lists. It's only a bug if you try to set a custom style on <ul>. I use doxygen to document a large C++ project - it's great, thank you! I want to give the unnumbered lists that are used to list the class members at the top of the generated HTML pages a custom background color, so they stand out more as a group. I added an entry for <ul> to my custom CSS file. I use a light page background color (darker than white) and have the list background color a few shades lighter. On its own it doesn't look good but when you give the list a much darker one pixel border I looks great. The subtle difference in shades becomes more obvious and the lists appears to stand out from the page. Unfortunately this is where the style bug occurs. The custom style also gets applied to the nested <ul> that are used to display the class hierarchy entries in the 'hierarchy.html' file. Not only does the top level <ul> have a border but all the nested <ul> do as well - and it looks ugly. So I have to manually edit the file to remove the borders, and its a long file - about 420 classes across two libraries. Everywhere else top level lists look OK. Would it be possible to implement a nested <ul> class in the CSS that could be used to reverse any style changes applied to a top level <ul>. Then all nested <ul> could be generated with this nested <ul> class instead of a standard <ul>. I don't know if you ever intended such a style to be applied to lists but it looks good, and I'm sure it would add new design possibilites to Doxygen documentation. Regards, Jeff Franks. |