preserve doxygen 1.6.x look also with doxygen 1.7.x: it produces more readable navigation tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<meta name="created" content="$datetime"/>
|
<meta name="created" content="$datetime"/>
|
||||||
<meta name="keywords" content="wxWidgets"/>
|
<meta name="keywords" content="wxWidgets"/>
|
||||||
<link href="wxwidgets.css" rel="stylesheet" type="text/css"/>
|
<link href="wxwidgets.css" rel="stylesheet" type="text/css"/>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="wxtabs.css" rel="stylesheet" type="text/css"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
BIN
docs/doxygen/images/tab_b.gif
Normal file
BIN
docs/doxygen/images/tab_b.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 B |
BIN
docs/doxygen/images/tab_l.gif
Normal file
BIN
docs/doxygen/images/tab_l.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 706 B |
BIN
docs/doxygen/images/tab_r.gif
Normal file
BIN
docs/doxygen/images/tab_r.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
@@ -11,18 +11,21 @@ mkdir out\html\wxgtk 2>&1 >NUL
|
|||||||
mkdir out\html\wxmsw 2>&1 >NUL
|
mkdir out\html\wxmsw 2>&1 >NUL
|
||||||
mkdir out\html\wxmac 2>&1 >NUL
|
mkdir out\html\wxmac 2>&1 >NUL
|
||||||
|
|
||||||
REM These not automatically copied by Doxygen because it's not
|
REM These not automatically copied by Doxygen because they're not
|
||||||
REM used in doxygen documentation, only in our html footer.
|
REM used in doxygen documentation, only in our html footer and by our
|
||||||
|
REM custom aliases
|
||||||
copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL
|
copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL
|
||||||
copy images\logo_*.png out\html 2>&1 >NUL
|
copy images\logo_*.png out\html 2>&1 >NUL
|
||||||
|
copy images\tab_*.gif out\html 2>&1 >NUL
|
||||||
copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL
|
copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL
|
||||||
copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL
|
copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL
|
||||||
copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL
|
copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL
|
||||||
copy wxwidgets.js out\html 2>&1 >NUL
|
copy wxwidgets.js out\html 2>&1 >NUL
|
||||||
|
|
||||||
REM this CSS is automatically copied by Doxygen because it's
|
REM these CSS are not automatically copied by Doxygen because they're
|
||||||
REM included by our custom html header...
|
REM included by our custom html header...
|
||||||
copy wxwidgets.css out\html 2>&1 >NUL
|
copy wxwidgets.css out\html 2>&1 >NUL
|
||||||
|
copy wxtabs.css out\html 2>&1 >NUL
|
||||||
|
|
||||||
REM set cfgfile variable to the right doxyfile to use,
|
REM set cfgfile variable to the right doxyfile to use,
|
||||||
REM using MS broken batch scripting
|
REM using MS broken batch scripting
|
||||||
|
@@ -31,14 +31,16 @@ mkdir -p out/html/wxmsw out/html/wxgtk out/html/wxmac
|
|||||||
# custom aliases
|
# custom aliases
|
||||||
cp images/powered-by-wxwidgets.png out/html
|
cp images/powered-by-wxwidgets.png out/html
|
||||||
cp images/logo_*.png out/html
|
cp images/logo_*.png out/html
|
||||||
|
cp images/tab_*.gif out/html
|
||||||
cp images/wxmsw/*png out/html/wxmsw
|
cp images/wxmsw/*png out/html/wxmsw
|
||||||
cp images/wxmac/*png out/html/wxmac
|
cp images/wxmac/*png out/html/wxmac
|
||||||
cp images/wxgtk/*png out/html/wxgtk
|
cp images/wxgtk/*png out/html/wxgtk
|
||||||
cp wxwidgets.js out/html
|
cp wxwidgets.js out/html
|
||||||
|
|
||||||
# this CSS is not automatically copied by Doxygen because it's
|
# these CSS are not automatically copied by Doxygen because they're
|
||||||
# included by our custom html header...
|
# included by our custom html header...
|
||||||
cp wxwidgets.css out/html
|
cp wxwidgets.css out/html
|
||||||
|
cp wxtabs.css out/html
|
||||||
|
|
||||||
# which configuration should we use?
|
# which configuration should we use?
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
|
217
docs/doxygen/wxtabs.css
Normal file
217
docs/doxygen/wxtabs.css
Normal file
@@ -0,0 +1,217 @@
|
|||||||
|
/*****************************************************************************
|
||||||
|
** Name: wxtabs.css
|
||||||
|
** Purpose: The wxWidgets documentation CSS
|
||||||
|
** Author: Doxygen team
|
||||||
|
** RCS-ID: $Id$
|
||||||
|
** Licence: wxWindows licence
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Doxygen classic tabs styles, based on http://www.alistapart.com/articles/slidingdoors
|
||||||
|
*/
|
||||||
|
|
||||||
|
DIV.tabs
|
||||||
|
{
|
||||||
|
float : left;
|
||||||
|
width : 100%;
|
||||||
|
background : url("tab_b.gif") repeat-x bottom;
|
||||||
|
margin-bottom : 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs UL
|
||||||
|
{
|
||||||
|
margin : 0px;
|
||||||
|
padding-left : 10px;
|
||||||
|
list-style : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs LI, DIV.tabs FORM
|
||||||
|
{
|
||||||
|
display : inline;
|
||||||
|
margin : 0px;
|
||||||
|
padding : 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs FORM
|
||||||
|
{
|
||||||
|
float : right;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs A
|
||||||
|
{
|
||||||
|
float : left;
|
||||||
|
background : url("tab_r.gif") no-repeat right top;
|
||||||
|
border-bottom : 1px solid #84B0C7;
|
||||||
|
font-size : 80%;
|
||||||
|
font-weight : bold;
|
||||||
|
text-decoration : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs A:hover
|
||||||
|
{
|
||||||
|
background-position: 100% -150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs A:link, DIV.tabs A:visited,
|
||||||
|
DIV.tabs A:active, DIV.tabs A:hover
|
||||||
|
{
|
||||||
|
color: #1A419D;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs SPAN
|
||||||
|
{
|
||||||
|
float : left;
|
||||||
|
display : block;
|
||||||
|
background : url("tab_l.gif") no-repeat left top;
|
||||||
|
padding : 5px 9px;
|
||||||
|
white-space : nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs INPUT
|
||||||
|
{
|
||||||
|
float : right;
|
||||||
|
display : inline;
|
||||||
|
font-size : 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs TD
|
||||||
|
{
|
||||||
|
font-size : 80%;
|
||||||
|
font-weight : bold;
|
||||||
|
text-decoration : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
||||||
|
DIV.tabs SPAN {float : none;}
|
||||||
|
/* End IE5-Mac hack */
|
||||||
|
|
||||||
|
DIV.tabs A:hover SPAN
|
||||||
|
{
|
||||||
|
background-position: 0% -150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs LI.current A
|
||||||
|
{
|
||||||
|
background-position: 100% -150px;
|
||||||
|
border-width : 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs LI.current SPAN
|
||||||
|
{
|
||||||
|
background-position: 0% -150px;
|
||||||
|
padding-bottom : 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.navpath
|
||||||
|
{
|
||||||
|
background : none;
|
||||||
|
border : none;
|
||||||
|
border-bottom : 1px solid #84B0C7;
|
||||||
|
text-align : center;
|
||||||
|
margin : 2px;
|
||||||
|
padding : 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
NOTE: since v. 1.7.0 Doxygen uses new style names for some tabs... and in particular uses "tabs2" for
|
||||||
|
the CSS style names of the "Class List, Class Index, Class Hierarchy, Class Members" tabs.
|
||||||
|
For now we keep for "tabs2" tabs the same style used with other ones.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
DIV.tabs2
|
||||||
|
{
|
||||||
|
float : left;
|
||||||
|
width : 100%;
|
||||||
|
background : url("tab_b.gif") repeat-x bottom;
|
||||||
|
margin-bottom : 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 UL
|
||||||
|
{
|
||||||
|
margin : 0px;
|
||||||
|
padding-left : 10px;
|
||||||
|
list-style : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 LI, DIV.tabs2 FORM
|
||||||
|
{
|
||||||
|
display : inline;
|
||||||
|
margin : 0px;
|
||||||
|
padding : 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 FORM
|
||||||
|
{
|
||||||
|
float : right;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 A
|
||||||
|
{
|
||||||
|
float : left;
|
||||||
|
background : url("tab_r.gif") no-repeat right top;
|
||||||
|
border-bottom : 1px solid #84B0C7;
|
||||||
|
font-size : 80%;
|
||||||
|
font-weight : bold;
|
||||||
|
text-decoration : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 A:hover
|
||||||
|
{
|
||||||
|
background-position: 100% -150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 A:link, DIV.tabs2 A:visited,
|
||||||
|
DIV.tabs2 A:active, DIV.tabs2 A:hover
|
||||||
|
{
|
||||||
|
color: #1A419D;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 SPAN
|
||||||
|
{
|
||||||
|
float : left;
|
||||||
|
display : block;
|
||||||
|
background : url("tab_l.gif") no-repeat left top;
|
||||||
|
padding : 5px 9px;
|
||||||
|
white-space : nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 INPUT
|
||||||
|
{
|
||||||
|
float : right;
|
||||||
|
display : inline;
|
||||||
|
font-size : 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 TD
|
||||||
|
{
|
||||||
|
font-size : 80%;
|
||||||
|
font-weight : bold;
|
||||||
|
text-decoration : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
||||||
|
DIV.tabs2 SPAN {float : none;}
|
||||||
|
/* End IE5-Mac hack */
|
||||||
|
|
||||||
|
DIV.tabs2 A:hover SPAN
|
||||||
|
{
|
||||||
|
background-position: 0% -150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 LI.current A
|
||||||
|
{
|
||||||
|
background-position: 100% -150px;
|
||||||
|
border-width : 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
DIV.tabs2 LI.current SPAN
|
||||||
|
{
|
||||||
|
background-position: 0% -150px;
|
||||||
|
padding-bottom : 6px;
|
||||||
|
}
|
Reference in New Issue
Block a user