From ef7f03ad8383051d1b1e6d216dc0d536bbf3eef5 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sun, 25 Jul 2010 11:05:43 +0000 Subject: [PATCH] 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 --- docs/doxygen/htmlheader.inc | 2 +- docs/doxygen/images/tab_b.gif | Bin 0 -> 35 bytes docs/doxygen/images/tab_l.gif | Bin 0 -> 706 bytes docs/doxygen/images/tab_r.gif | Bin 0 -> 2585 bytes docs/doxygen/regen.bat | 9 +- docs/doxygen/regen.sh | 4 +- docs/doxygen/wxtabs.css | 217 ++++++++++++++++++++++++++++++++++ 7 files changed, 227 insertions(+), 5 deletions(-) create mode 100644 docs/doxygen/images/tab_b.gif create mode 100644 docs/doxygen/images/tab_l.gif create mode 100644 docs/doxygen/images/tab_r.gif create mode 100644 docs/doxygen/wxtabs.css diff --git a/docs/doxygen/htmlheader.inc b/docs/doxygen/htmlheader.inc index 967dcfed11..d972448929 100644 --- a/docs/doxygen/htmlheader.inc +++ b/docs/doxygen/htmlheader.inc @@ -11,7 +11,7 @@ - + diff --git a/docs/doxygen/images/tab_b.gif b/docs/doxygen/images/tab_b.gif new file mode 100644 index 0000000000000000000000000000000000000000..0d623483ffdf5f9f96900108042a7ab0643fe2a3 GIT binary patch literal 35 ncmZ?wbhEHbWMp7uXkcJy*>IeJfk6j|fqX^=1|}vKMh0sDa2W*H literal 0 HcmV?d00001 diff --git a/docs/doxygen/images/tab_l.gif b/docs/doxygen/images/tab_l.gif new file mode 100644 index 0000000000000000000000000000000000000000..9b1e6337c9299a700401a2a78a2c6ffced475216 GIT binary patch literal 706 zcmZ?wbhEHbZT`}F1e&(Gg}Y(8=I;HA5#Z$3JI=gGB)FQ#odI(O&E^@q;x zK6mr*m3xOS-#u~t!I@i+u0DKm^U160k6t`|^WpV}&n+8{U%dD9&a>B#U%!9-@yol< zU%&tQ{rk_K|NsC0`}dE5ET99@1@a36+kb~?0UJ*yc&I3X_m z!ND^5$O7$#8OFRuDhG}!?8z?cdZK&!`PWjdR;Aj^wZ` zeK{IEYHBJ)6K8VIp1`BVt++swf6j+=L{p1*nO(VhE`pFexG@5$|>uaCcd z`0m=9m+yak{QmXN#Sc$^{$X9h9&q2jiKAI|&T)a;PPx2K9p`YIdw8HtR5k2Q$2-O2 z*;3y{MQ-RnJTgJfI&R5|O)AHxDf_00XbPvDZPy4t=hHd)nfLPvms&O`Ok(sD()5v$ z5U@&h;a=#xbxVbo2~X&Xj0Ie(f{v>vERH+qC+nTG=B8Nca=wU-O$?1&vUgV~9=!H; zx>3p9Yn%*<>t~sk+&0xfyS8RsPfYBd<~wWK%j-LmpU>O7yX^h#UCp1x-p#i7@bE;py8XI6 zmY<)m>~)W~yIWcMVoiPg{duuf<*)9qZ9l$m*Ph&W&$jlv*Vpa+{pH@n=IQ$L?0$ax ec60Ul|8o2P|NVbd{6P)#weSbE3}s?04AuZvx_~SI literal 0 HcmV?d00001 diff --git a/docs/doxygen/images/tab_r.gif b/docs/doxygen/images/tab_r.gif new file mode 100644 index 0000000000000000000000000000000000000000..ce9dd9f533cb5486d6941844f442b59d4a9e9175 GIT binary patch literal 2585 zcmbV}`9Bkk1ILFF--w5zJc=ZZT(zjE=;2|_S)Qm~rCWz1Pc)KPl;jv%A#&v2*x}yc zmf2~Jm~&=xjJY?PqwIN}f8qQ2{r$uH{c*nJbmr{cR5??*egHrs-B=MzCF`3%e{FAW z{oL5xTHn~5TM{jaB;@|_Ue5F&Zb@p(kMyG{*;gWDg zyeL|eZf7Qd8=#bXzSiR{yzRgLSj-fJS8>lBjVHN z^o-0eS=nE6a`W;LChBs=`+QAJP~{b93>H^eRb5kCSC1zUNezun%`L5M?RDzv#%jk7 zYVRX=vATPD`+oEfum^{RM@GjuP?-r=yh0!p;Vx^T9G7~`7%5ydH%70=jyJ;;`d;hv92x3R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yHK{En;mmShDUIEw03`j(DBIsM}Rjki2J#SQa3gFZTKBPDeIiLt9Z z%bL3(B@Qw%(B`wSMS~dPh$=R`(}lBoFXKy(s|*{#ru$wjsBc_O#zxNk9w+UUHmx(U zmJ8+M+ndtnZ<7|VU9Mbt61zpo9T&3%Wx&XII=#QJxjR`CZf22ac3d51Z?GD%LEe_&*t46Qf;4`bZ7p2K(Ab5>GfT^}4! zBT&HZD`^PEgWoI&{~o-ID0F?O`75sm(87x%A{(}Ch1)QlzdJ)1B-eqe5a(weg0`4lQIf1evjvbBY50DVbzO7CLf|vP z2#0(U-|jZ`H{y5N^o7%iK6H>_HEGN->U6^!)1{XpJV!!4(Ig7wzZQ*9WYF4X1rG0x z=1uA@i`rIAciubDC{;~b(|&|A@xkjRP5aRcvRU9tvIm}jDB6J eQ0-6-y)mpwdT=ayS0tBxKDA*~;EWmo literal 0 HcmV?d00001 diff --git a/docs/doxygen/regen.bat b/docs/doxygen/regen.bat index 9d44db8ede..fa85d3b4c8 100644 --- a/docs/doxygen/regen.bat +++ b/docs/doxygen/regen.bat @@ -11,18 +11,21 @@ mkdir out\html\wxgtk 2>&1 >NUL mkdir out\html\wxmsw 2>&1 >NUL mkdir out\html\wxmac 2>&1 >NUL -REM These not automatically copied by Doxygen because it's not -REM used in doxygen documentation, only in our html footer. +REM These not automatically copied by Doxygen because they're not +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\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\wxmsw\*.png out\html\wxmsw 2>&1 >NUL copy images\wxmac\*.png out\html\wxmac 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... 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 using MS broken batch scripting diff --git a/docs/doxygen/regen.sh b/docs/doxygen/regen.sh index a9dd32c9eb..2f2c713446 100755 --- a/docs/doxygen/regen.sh +++ b/docs/doxygen/regen.sh @@ -31,14 +31,16 @@ mkdir -p out/html/wxmsw out/html/wxgtk out/html/wxmac # custom aliases cp images/powered-by-wxwidgets.png out/html cp images/logo_*.png out/html +cp images/tab_*.gif out/html cp images/wxmsw/*png out/html/wxmsw cp images/wxmac/*png out/html/wxmac cp images/wxgtk/*png out/html/wxgtk 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... cp wxwidgets.css out/html +cp wxtabs.css out/html # which configuration should we use? if [[ -z "$1" ]]; then diff --git a/docs/doxygen/wxtabs.css b/docs/doxygen/wxtabs.css new file mode 100644 index 0000000000..91ac28e79e --- /dev/null +++ b/docs/doxygen/wxtabs.css @@ -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; +} \ No newline at end of file -- 2.45.2