1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/COPYING.txt Sat May 22 21:47:16 2010 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +Licence Agreement 1.5 +----------------- 1.6 + 1.7 +Theme code: 1.8 + 1.9 +Copyright (C) 2009, 2010 Paul Boddie <paul@boddie.org.uk> 1.10 +Copyright (C) 2003-2008 MoinMoin:ThomasWaldmann, 2003-2005 Nir Soffer and others 1.11 + 1.12 +Stylesheets: 1.13 + 1.14 +Copyright (C) 2009, 2010 Paul Boddie <paul@boddie.org.uk> 1.15 +Copyright (C) 2001, 2002, 2003 by Juergen Hermann and others 1.16 + 1.17 +Images: 1.18 + 1.19 +Images from the modernized theme have been placed in the themes/fsfe/img 1.20 +directory. Their copyright is attributed to the MoinMoin development team. 1.21 + 1.22 +Licensing notice: 1.23 + 1.24 +This software is free software; you can redistribute it and/or 1.25 +modify it under the terms of the GNU General Public License as 1.26 +published by the Free Software Foundation; either version 2 of 1.27 +the License, or (at your option) any later version. 1.28 + 1.29 +This software is distributed in the hope that it will be useful, 1.30 +but WITHOUT ANY WARRANTY; without even the implied warranty of 1.31 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.32 +GNU General Public License for more details. 1.33 + 1.34 +You should have received a copy of the GNU General Public 1.35 +License along with this library; see the file LICENCE.txt 1.36 +If not, write to the Free Software Foundation, Inc., 1.37 +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/LICENCE.txt Sat May 22 21:47:16 2010 +0200 2.3 @@ -0,0 +1,339 @@ 2.4 + GNU GENERAL PUBLIC LICENSE 2.5 + Version 2, June 1991 2.6 + 2.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., 2.8 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2.9 + Everyone is permitted to copy and distribute verbatim copies 2.10 + of this license document, but changing it is not allowed. 2.11 + 2.12 + Preamble 2.13 + 2.14 + The licenses for most software are designed to take away your 2.15 +freedom to share and change it. By contrast, the GNU General Public 2.16 +License is intended to guarantee your freedom to share and change free 2.17 +software--to make sure the software is free for all its users. This 2.18 +General Public License applies to most of the Free Software 2.19 +Foundation's software and to any other program whose authors commit to 2.20 +using it. (Some other Free Software Foundation software is covered by 2.21 +the GNU Lesser General Public License instead.) You can apply it to 2.22 +your programs, too. 2.23 + 2.24 + When we speak of free software, we are referring to freedom, not 2.25 +price. Our General Public Licenses are designed to make sure that you 2.26 +have the freedom to distribute copies of free software (and charge for 2.27 +this service if you wish), that you receive source code or can get it 2.28 +if you want it, that you can change the software or use pieces of it 2.29 +in new free programs; and that you know you can do these things. 2.30 + 2.31 + To protect your rights, we need to make restrictions that forbid 2.32 +anyone to deny you these rights or to ask you to surrender the rights. 2.33 +These restrictions translate to certain responsibilities for you if you 2.34 +distribute copies of the software, or if you modify it. 2.35 + 2.36 + For example, if you distribute copies of such a program, whether 2.37 +gratis or for a fee, you must give the recipients all the rights that 2.38 +you have. You must make sure that they, too, receive or can get the 2.39 +source code. And you must show them these terms so they know their 2.40 +rights. 2.41 + 2.42 + We protect your rights with two steps: (1) copyright the software, and 2.43 +(2) offer you this license which gives you legal permission to copy, 2.44 +distribute and/or modify the software. 2.45 + 2.46 + Also, for each author's protection and ours, we want to make certain 2.47 +that everyone understands that there is no warranty for this free 2.48 +software. If the software is modified by someone else and passed on, we 2.49 +want its recipients to know that what they have is not the original, so 2.50 +that any problems introduced by others will not reflect on the original 2.51 +authors' reputations. 2.52 + 2.53 + Finally, any free program is threatened constantly by software 2.54 +patents. We wish to avoid the danger that redistributors of a free 2.55 +program will individually obtain patent licenses, in effect making the 2.56 +program proprietary. To prevent this, we have made it clear that any 2.57 +patent must be licensed for everyone's free use or not licensed at all. 2.58 + 2.59 + The precise terms and conditions for copying, distribution and 2.60 +modification follow. 2.61 + 2.62 + GNU GENERAL PUBLIC LICENSE 2.63 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 2.64 + 2.65 + 0. This License applies to any program or other work which contains 2.66 +a notice placed by the copyright holder saying it may be distributed 2.67 +under the terms of this General Public License. The "Program", below, 2.68 +refers to any such program or work, and a "work based on the Program" 2.69 +means either the Program or any derivative work under copyright law: 2.70 +that is to say, a work containing the Program or a portion of it, 2.71 +either verbatim or with modifications and/or translated into another 2.72 +language. (Hereinafter, translation is included without limitation in 2.73 +the term "modification".) Each licensee is addressed as "you". 2.74 + 2.75 +Activities other than copying, distribution and modification are not 2.76 +covered by this License; they are outside its scope. The act of 2.77 +running the Program is not restricted, and the output from the Program 2.78 +is covered only if its contents constitute a work based on the 2.79 +Program (independent of having been made by running the Program). 2.80 +Whether that is true depends on what the Program does. 2.81 + 2.82 + 1. You may copy and distribute verbatim copies of the Program's 2.83 +source code as you receive it, in any medium, provided that you 2.84 +conspicuously and appropriately publish on each copy an appropriate 2.85 +copyright notice and disclaimer of warranty; keep intact all the 2.86 +notices that refer to this License and to the absence of any warranty; 2.87 +and give any other recipients of the Program a copy of this License 2.88 +along with the Program. 2.89 + 2.90 +You may charge a fee for the physical act of transferring a copy, and 2.91 +you may at your option offer warranty protection in exchange for a fee. 2.92 + 2.93 + 2. You may modify your copy or copies of the Program or any portion 2.94 +of it, thus forming a work based on the Program, and copy and 2.95 +distribute such modifications or work under the terms of Section 1 2.96 +above, provided that you also meet all of these conditions: 2.97 + 2.98 + a) You must cause the modified files to carry prominent notices 2.99 + stating that you changed the files and the date of any change. 2.100 + 2.101 + b) You must cause any work that you distribute or publish, that in 2.102 + whole or in part contains or is derived from the Program or any 2.103 + part thereof, to be licensed as a whole at no charge to all third 2.104 + parties under the terms of this License. 2.105 + 2.106 + c) If the modified program normally reads commands interactively 2.107 + when run, you must cause it, when started running for such 2.108 + interactive use in the most ordinary way, to print or display an 2.109 + announcement including an appropriate copyright notice and a 2.110 + notice that there is no warranty (or else, saying that you provide 2.111 + a warranty) and that users may redistribute the program under 2.112 + these conditions, and telling the user how to view a copy of this 2.113 + License. (Exception: if the Program itself is interactive but 2.114 + does not normally print such an announcement, your work based on 2.115 + the Program is not required to print an announcement.) 2.116 + 2.117 +These requirements apply to the modified work as a whole. If 2.118 +identifiable sections of that work are not derived from the Program, 2.119 +and can be reasonably considered independent and separate works in 2.120 +themselves, then this License, and its terms, do not apply to those 2.121 +sections when you distribute them as separate works. But when you 2.122 +distribute the same sections as part of a whole which is a work based 2.123 +on the Program, the distribution of the whole must be on the terms of 2.124 +this License, whose permissions for other licensees extend to the 2.125 +entire whole, and thus to each and every part regardless of who wrote it. 2.126 + 2.127 +Thus, it is not the intent of this section to claim rights or contest 2.128 +your rights to work written entirely by you; rather, the intent is to 2.129 +exercise the right to control the distribution of derivative or 2.130 +collective works based on the Program. 2.131 + 2.132 +In addition, mere aggregation of another work not based on the Program 2.133 +with the Program (or with a work based on the Program) on a volume of 2.134 +a storage or distribution medium does not bring the other work under 2.135 +the scope of this License. 2.136 + 2.137 + 3. You may copy and distribute the Program (or a work based on it, 2.138 +under Section 2) in object code or executable form under the terms of 2.139 +Sections 1 and 2 above provided that you also do one of the following: 2.140 + 2.141 + a) Accompany it with the complete corresponding machine-readable 2.142 + source code, which must be distributed under the terms of Sections 2.143 + 1 and 2 above on a medium customarily used for software interchange; or, 2.144 + 2.145 + b) Accompany it with a written offer, valid for at least three 2.146 + years, to give any third party, for a charge no more than your 2.147 + cost of physically performing source distribution, a complete 2.148 + machine-readable copy of the corresponding source code, to be 2.149 + distributed under the terms of Sections 1 and 2 above on a medium 2.150 + customarily used for software interchange; or, 2.151 + 2.152 + c) Accompany it with the information you received as to the offer 2.153 + to distribute corresponding source code. (This alternative is 2.154 + allowed only for noncommercial distribution and only if you 2.155 + received the program in object code or executable form with such 2.156 + an offer, in accord with Subsection b above.) 2.157 + 2.158 +The source code for a work means the preferred form of the work for 2.159 +making modifications to it. For an executable work, complete source 2.160 +code means all the source code for all modules it contains, plus any 2.161 +associated interface definition files, plus the scripts used to 2.162 +control compilation and installation of the executable. However, as a 2.163 +special exception, the source code distributed need not include 2.164 +anything that is normally distributed (in either source or binary 2.165 +form) with the major components (compiler, kernel, and so on) of the 2.166 +operating system on which the executable runs, unless that component 2.167 +itself accompanies the executable. 2.168 + 2.169 +If distribution of executable or object code is made by offering 2.170 +access to copy from a designated place, then offering equivalent 2.171 +access to copy the source code from the same place counts as 2.172 +distribution of the source code, even though third parties are not 2.173 +compelled to copy the source along with the object code. 2.174 + 2.175 + 4. You may not copy, modify, sublicense, or distribute the Program 2.176 +except as expressly provided under this License. Any attempt 2.177 +otherwise to copy, modify, sublicense or distribute the Program is 2.178 +void, and will automatically terminate your rights under this License. 2.179 +However, parties who have received copies, or rights, from you under 2.180 +this License will not have their licenses terminated so long as such 2.181 +parties remain in full compliance. 2.182 + 2.183 + 5. You are not required to accept this License, since you have not 2.184 +signed it. However, nothing else grants you permission to modify or 2.185 +distribute the Program or its derivative works. These actions are 2.186 +prohibited by law if you do not accept this License. Therefore, by 2.187 +modifying or distributing the Program (or any work based on the 2.188 +Program), you indicate your acceptance of this License to do so, and 2.189 +all its terms and conditions for copying, distributing or modifying 2.190 +the Program or works based on it. 2.191 + 2.192 + 6. Each time you redistribute the Program (or any work based on the 2.193 +Program), the recipient automatically receives a license from the 2.194 +original licensor to copy, distribute or modify the Program subject to 2.195 +these terms and conditions. You may not impose any further 2.196 +restrictions on the recipients' exercise of the rights granted herein. 2.197 +You are not responsible for enforcing compliance by third parties to 2.198 +this License. 2.199 + 2.200 + 7. If, as a consequence of a court judgment or allegation of patent 2.201 +infringement or for any other reason (not limited to patent issues), 2.202 +conditions are imposed on you (whether by court order, agreement or 2.203 +otherwise) that contradict the conditions of this License, they do not 2.204 +excuse you from the conditions of this License. If you cannot 2.205 +distribute so as to satisfy simultaneously your obligations under this 2.206 +License and any other pertinent obligations, then as a consequence you 2.207 +may not distribute the Program at all. For example, if a patent 2.208 +license would not permit royalty-free redistribution of the Program by 2.209 +all those who receive copies directly or indirectly through you, then 2.210 +the only way you could satisfy both it and this License would be to 2.211 +refrain entirely from distribution of the Program. 2.212 + 2.213 +If any portion of this section is held invalid or unenforceable under 2.214 +any particular circumstance, the balance of the section is intended to 2.215 +apply and the section as a whole is intended to apply in other 2.216 +circumstances. 2.217 + 2.218 +It is not the purpose of this section to induce you to infringe any 2.219 +patents or other property right claims or to contest validity of any 2.220 +such claims; this section has the sole purpose of protecting the 2.221 +integrity of the free software distribution system, which is 2.222 +implemented by public license practices. Many people have made 2.223 +generous contributions to the wide range of software distributed 2.224 +through that system in reliance on consistent application of that 2.225 +system; it is up to the author/donor to decide if he or she is willing 2.226 +to distribute software through any other system and a licensee cannot 2.227 +impose that choice. 2.228 + 2.229 +This section is intended to make thoroughly clear what is believed to 2.230 +be a consequence of the rest of this License. 2.231 + 2.232 + 8. If the distribution and/or use of the Program is restricted in 2.233 +certain countries either by patents or by copyrighted interfaces, the 2.234 +original copyright holder who places the Program under this License 2.235 +may add an explicit geographical distribution limitation excluding 2.236 +those countries, so that distribution is permitted only in or among 2.237 +countries not thus excluded. In such case, this License incorporates 2.238 +the limitation as if written in the body of this License. 2.239 + 2.240 + 9. The Free Software Foundation may publish revised and/or new versions 2.241 +of the General Public License from time to time. Such new versions will 2.242 +be similar in spirit to the present version, but may differ in detail to 2.243 +address new problems or concerns. 2.244 + 2.245 +Each version is given a distinguishing version number. If the Program 2.246 +specifies a version number of this License which applies to it and "any 2.247 +later version", you have the option of following the terms and conditions 2.248 +either of that version or of any later version published by the Free 2.249 +Software Foundation. If the Program does not specify a version number of 2.250 +this License, you may choose any version ever published by the Free Software 2.251 +Foundation. 2.252 + 2.253 + 10. If you wish to incorporate parts of the Program into other free 2.254 +programs whose distribution conditions are different, write to the author 2.255 +to ask for permission. For software which is copyrighted by the Free 2.256 +Software Foundation, write to the Free Software Foundation; we sometimes 2.257 +make exceptions for this. Our decision will be guided by the two goals 2.258 +of preserving the free status of all derivatives of our free software and 2.259 +of promoting the sharing and reuse of software generally. 2.260 + 2.261 + NO WARRANTY 2.262 + 2.263 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 2.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 2.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 2.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 2.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 2.271 +REPAIR OR CORRECTION. 2.272 + 2.273 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 2.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 2.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 2.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 2.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 2.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 2.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 2.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 2.281 +POSSIBILITY OF SUCH DAMAGES. 2.282 + 2.283 + END OF TERMS AND CONDITIONS 2.284 + 2.285 + How to Apply These Terms to Your New Programs 2.286 + 2.287 + If you develop a new program, and you want it to be of the greatest 2.288 +possible use to the public, the best way to achieve this is to make it 2.289 +free software which everyone can redistribute and change under these terms. 2.290 + 2.291 + To do so, attach the following notices to the program. It is safest 2.292 +to attach them to the start of each source file to most effectively 2.293 +convey the exclusion of warranty; and each file should have at least 2.294 +the "copyright" line and a pointer to where the full notice is found. 2.295 + 2.296 + <one line to give the program's name and a brief idea of what it does.> 2.297 + Copyright (C) <year> <name of author> 2.298 + 2.299 + This program is free software; you can redistribute it and/or modify 2.300 + it under the terms of the GNU General Public License as published by 2.301 + the Free Software Foundation; either version 2 of the License, or 2.302 + (at your option) any later version. 2.303 + 2.304 + This program is distributed in the hope that it will be useful, 2.305 + but WITHOUT ANY WARRANTY; without even the implied warranty of 2.306 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2.307 + GNU General Public License for more details. 2.308 + 2.309 + You should have received a copy of the GNU General Public License along 2.310 + with this program; if not, write to the Free Software Foundation, Inc., 2.311 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 2.312 + 2.313 +Also add information on how to contact you by electronic and paper mail. 2.314 + 2.315 +If the program is interactive, make it output a short notice like this 2.316 +when it starts in an interactive mode: 2.317 + 2.318 + Gnomovision version 69, Copyright (C) year name of author 2.319 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 2.320 + This is free software, and you are welcome to redistribute it 2.321 + under certain conditions; type `show c' for details. 2.322 + 2.323 +The hypothetical commands `show w' and `show c' should show the appropriate 2.324 +parts of the General Public License. Of course, the commands you use may 2.325 +be called something other than `show w' and `show c'; they could even be 2.326 +mouse-clicks or menu items--whatever suits your program. 2.327 + 2.328 +You should also get your employer (if you work as a programmer) or your 2.329 +school, if any, to sign a "copyright disclaimer" for the program, if 2.330 +necessary. Here is a sample; alter the names: 2.331 + 2.332 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program 2.333 + `Gnomovision' (which makes passes at compilers) written by James Hacker. 2.334 + 2.335 + <signature of Ty Coon>, 1 April 1989 2.336 + Ty Coon, President of Vice 2.337 + 2.338 +This General Public License does not permit incorporating your program into 2.339 +proprietary programs. If your program is a subroutine library, you may 2.340 +consider it more useful to permit linking proprietary applications with the 2.341 +library. If this is what you want to do, use the GNU Lesser General 2.342 +Public License instead of this License.
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/insttheme Sat May 22 21:47:16 2010 +0200 3.3 @@ -0,0 +1,19 @@ 3.4 +#!/bin/bash 3.5 + 3.6 +if [[ ! $1 ]] ; then 3.7 + echo "Please specify a Wiki directory such as ../mywiki or /tmp/mywiki." 3.8 + echo "This should contain a data directory." 3.9 + exit 3.10 +fi 3.11 + 3.12 +if [[ ! $2 ]] ; then 3.13 + echo "Please also specify the directory containing the theme resources," 3.14 + echo "such as ../moin/share/moin/htdocs." 3.15 + exit 3.16 +fi 3.17 + 3.18 +mkdir -p $2/mercurialwiki 3.19 +cp -ir themes/mercurialwiki/css $2/mercurialwiki 3.20 +cp -r themes/mercurialwiki/img $2/mercurialwiki 3.21 +cp themes/mercurialwiki/mercurialwiki.py $1/data/plugin/theme/ 3.22 +chown www-data: $1/data/plugin/theme/mercurialwiki.py
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/themes/mercurialwiki/css/common.css Sat May 22 21:47:16 2010 +0200 4.3 @@ -0,0 +1,550 @@ 4.4 +/* common.css - MoinMoin Default Styles 4.5 + 4.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann 4.7 +*/ 4.8 + 4.9 +/* content styles */ 4.10 + 4.11 +html { 4.12 + background-color: white; 4.13 + color: black; 4.14 + font-family: sans-serif; 4.15 + font-size: 1em; 4.16 +} 4.17 + 4.18 +body { 4.19 + margin: 0; 4.20 +} 4.21 + 4.22 +/* Links */ 4.23 + 4.24 +a {color: #0044B3;} 4.25 +/* a:visited {color: #597BB3;} */ 4.26 +a:visited {color: #FF7BB3;} 4.27 + 4.28 +a.nonexistent:visited, a.nonexistent, 4.29 +a.badinterwiki:visited, a.badinterwiki {color: gray;} 4.30 + 4.31 +a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;} 4.32 +a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;} 4.33 +a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;} 4.34 +a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;} 4.35 +a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;} 4.36 +a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;} 4.37 +a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;} 4.38 +a.telnet:before, a.ssh:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;} 4.39 +a.irc:before, a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;} 4.40 +a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;} 4.41 +a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;} 4.42 +a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} 4.43 +a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} 4.44 + 4.45 +dl, ol, ul { 4.46 + padding: 0 1em; 4.47 + margin: 0 0.5em; 4.48 +} 4.49 + 4.50 +li p { 4.51 + margin: 0.1em 0; 4.52 +} 4.53 + 4.54 +li.gap { 4.55 + margin-top: 0.25em; 4.56 +} 4.57 + 4.58 +dt { 4.59 + margin-top: 0.25em; 4.60 + font-weight: bold; 4.61 +} 4.62 + 4.63 +dd { 4.64 + margin-top: 0; 4.65 + margin-bottom: 0; 4.66 +} 4.67 + 4.68 +dd p { 4.69 + margin: 0.1em 0; 4.70 +} 4.71 + 4.72 +a, img, img.drawing { 4.73 + border: 0; 4.74 +} 4.75 + 4.76 +pre { 4.77 + border: 1pt solid #AEBDCC; 4.78 + background-color: #F3F5F7; 4.79 + padding: 5pt; 4.80 + font-family: courier, monospace; 4.81 + white-space: pre; 4.82 + /* begin css 3 or browser specific rules - do not remove! 4.83 + see: http://forums.techguy.org/archive/index.php/t-249849.html */ 4.84 + white-space: pre-wrap; 4.85 + word-wrap: break-word; 4.86 + white-space: -moz-pre-wrap; 4.87 + white-space: -pre-wrap; 4.88 + white-space: -o-pre-wrap; 4.89 + /* end css 3 or browser specific rules */ 4.90 +} 4.91 + 4.92 +pre.comment { 4.93 + background-color: #CCCCCC; 4.94 + color: red; 4.95 + padding: 0; 4.96 + margin: 0; 4.97 + border: 0; 4.98 +} 4.99 + 4.100 +pre.comment:before { 4.101 + content: url(../img/attention.png); 4.102 +} 4.103 + 4.104 + 4.105 +/* .comment css definition must be top of .red/.green/.blue or it won't work */ 4.106 +.comment { color: #555555; background-color: #DDDDFF; } 4.107 + 4.108 +.red { background-color: #FFCCCC; } 4.109 +.green { background-color: #CCFFCC; } 4.110 +.blue { background-color: #CCCCFF; } 4.111 +.yellow { background-color: #FFF29F; } 4.112 +.orange { background-color: #FFD59B; } 4.113 + 4.114 +.solid { border: 2px solid #000000; padding: 2px; } 4.115 +.dashed { border: 2px dashed #000000; padding: 2px; } 4.116 +.dotted { border: 2px dotted #000000; padding: 2px; } 4.117 + 4.118 +.left { text-align: left; } 4.119 +.center { text-align: center; } 4.120 +.right { text-align: right; } 4.121 +.justify { text-align: justify; } 4.122 + 4.123 +table 4.124 +{ 4.125 + margin: 0.5em 0 0 0.5em; 4.126 + border-collapse: collapse; 4.127 +} 4.128 + 4.129 +th, td 4.130 +{ 4.131 + padding: 0.25em 0.5em 0.25em 0.5em; 4.132 + border: 1pt solid #ADB9CC; 4.133 +} 4.134 + 4.135 +td p { 4.136 + margin: 0; 4.137 + padding: 0; 4.138 +} 4.139 +/* TableOfContents macro */ 4.140 +div.table-of-contents { 4.141 + border: 1px solid #bbbbbb; 4.142 + color: black; 4.143 + background-color: #eeeeee; 4.144 + font-size: 80%; 4.145 + text-align: left; 4.146 + margin: 0.5em 0 0.5em 1em; 4.147 + padding: 0.5em 0.75em 0.5em 0.5em; 4.148 + max-width: 50%; 4.149 + display: inline-table; 4.150 +} 4.151 +div.table-of-contents ol { 4.152 + margin: 0; 4.153 + padding: 0 0 0 2em; 4.154 +} 4.155 +div.table-of-contents ul { 4.156 + margin: 0; 4.157 + list-style:none; 4.158 +} 4.159 +div.table-of-contents li { 4.160 + margin:0; 4.161 + padding: 0; 4.162 +} 4.163 +p.table-of-contents-heading { 4.164 + font-weight:bold; 4.165 + padding:0; 4.166 + margin: 0 0 0.5em 0; 4.167 + letter-spacing: 0.075em; 4.168 +} 4.169 + 4.170 +/* Navigation macro */ 4.171 +table.navigation { 4.172 + background: #fff; 4.173 + margin: 0; 4.174 +} 4.175 + 4.176 +.footnotes div { 4.177 + width: 5em; 4.178 + border-top: 1pt solid gray; 4.179 +} 4.180 + 4.181 +.footnotes ol { 4.182 + padding: 0 2em; 4.183 + margin: 0 0 1em; 4.184 +} 4.185 + 4.186 +.footnotes li { 4.187 +} 4.188 + 4.189 +.info { 4.190 + float: right; 4.191 + font-size: 0.7em; 4.192 + color: gray; 4.193 +} 4.194 + 4.195 +#pageinfo { 4.196 + margin-top: 2em; 4.197 +} 4.198 + 4.199 +.seperator { 4.200 + color: gray; 4.201 +} 4.202 + 4.203 +#pagebottom {clear: both;} 4.204 + 4.205 +/* standard rule ---- */ 4.206 +hr { 4.207 + height: 1pt; 4.208 + background-color: #9C9C9C; 4.209 + border: 0; 4.210 +} 4.211 + 4.212 +/* custom rules ----- to ---------- */ 4.213 +.hr1 {height: 2pt;} 4.214 +.hr2 {height: 3pt;} 4.215 +.hr3 {height: 4pt;} 4.216 +.hr4 {height: 5pt;} 4.217 +.hr5 {height: 6pt;} 4.218 +.hr6 {height: 7pt;} 4.219 + 4.220 +/* Replacement for deprecated html 3 <u> element and html 4 <strike> */ 4.221 +.u {text-decoration: underline;} 4.222 +.strike {text-decoration: line-through;} 4.223 + 4.224 +/* eye catchers */ 4.225 +.warning 4.226 +{ 4.227 + color: red; 4.228 +} 4.229 + 4.230 +.error 4.231 +{ 4.232 + color: red; 4.233 +} 4.234 + 4.235 +strong.highlight 4.236 +{ 4.237 + background-color: #CCE0FF; 4.238 + padding: 1pt; 4.239 +} 4.240 + 4.241 + 4.242 +/* Recent changes */ 4.243 + 4.244 +.rcrss { 4.245 + float: right; 4.246 + margin: 0 7px 0 14px; 4.247 + height: 0; 4.248 + position: relative; 4.249 + top: 9px; 4.250 +} 4.251 +*[div="rtl"] .rcrss { 4.252 + float: left; 4.253 +} 4.254 +.recentchanges[dir="rtl"] .rcrss { 4.255 + float: left; 4.256 +} 4.257 + 4.258 +.recentchanges table { 4.259 + clear: both; 4.260 + border-collapse: collapse; 4.261 + 4.262 + border: 1px solid #4d7da9; 4.263 +} 4.264 + 4.265 +.recentchanges td { 4.266 + vertical-align: top; 4.267 + border: none; 4.268 + background: #e6eaf0; 4.269 +} 4.270 + 4.271 + 4.272 +.recentchanges .rcdaybreak td { 4.273 + background: #81BBF2; 4.274 + border: none; 4.275 + border: 1px solid #4d7da9; 4.276 +} 4.277 + 4.278 +.rcdaybreak td a { 4.279 + font-size: 0.88em; 4.280 +} 4.281 + 4.282 +.rcicon1, .rcicon2 { 4.283 + text-align: center; 4.284 +} 4.285 + 4.286 +.rcpagelink { 4.287 + width: 33%; 4.288 +} 4.289 + 4.290 +.rctime { 4.291 + font-size: 0.88em; 4.292 + white-space: nowrap; 4.293 +} 4.294 + 4.295 +.rceditor { 4.296 + white-space: nowrap; 4.297 + font-size: 0.88em; 4.298 +} 4.299 + 4.300 +.rccomment { 4.301 + width: 50%; 4.302 + color: gray; 4.303 + font-size: 0.88em; 4.304 +} 4.305 + 4.306 + 4.307 +/* User Preferences */ 4.308 + 4.309 +.userpref table, .userpref td { 4.310 + border: none; 4.311 +} 4.312 + 4.313 +/* CSS for new code_area markup used by Colorizer and ParserBase */ 4.314 + 4.315 +div.codearea { /* the div makes the border */ 4.316 + margin: 0.5em 0; 4.317 + padding: 0; 4.318 + border: 1pt solid #AEBDCC; 4.319 + background-color: #F3F5F7; 4.320 + color: black; 4.321 +} 4.322 + 4.323 +div.codearea pre { /* the pre has no border and is inside the div */ 4.324 + margin: 0; 4.325 + padding: 10pt; 4.326 + border: none; 4.327 +} 4.328 + 4.329 +a.codenumbers { /* format of the line numbering link */ 4.330 + margin: 0 10pt; 4.331 + font-size: 0.85em; 4.332 + color: gray; 4.333 +} 4.334 + 4.335 +/* format of certain syntax spans */ 4.336 +div.codearea pre span.LineNumber {color: gray;} 4.337 +div.codearea pre span.ID {color: #000000;} 4.338 +div.codearea pre span.Operator {color: #0000C0;} 4.339 +div.codearea pre span.Char {color: #004080;} 4.340 +div.codearea pre span.Comment {color: #008000;} 4.341 +div.codearea pre span.Number {color: #0080C0;} 4.342 +div.codearea pre span.String {color: #004080;} 4.343 +div.codearea pre span.SPChar {color: #0000C0;} 4.344 +div.codearea pre span.ResWord {color: #A00000;} 4.345 +div.codearea pre span.ConsWord {color: #008080; font-weight: bold;} 4.346 +div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;} 4.347 +div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;} 4.348 +div.codearea pre span.Special {color: #0000ff;} 4.349 +div.codearea pre span.Preprc {color: #803999;} 4.350 + 4.351 +/* for diff parser */ 4.352 +div.codearea pre span.DiffAdded {color: #4876FF;} 4.353 +div.codearea pre span.DiffRemoved {color: #FF0000;} 4.354 +div.codearea pre span.DiffChanged {color: #FF7F50;} 4.355 +div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold} 4.356 + 4.357 +/* Search results */ 4.358 +.advancedsearch { 4.359 + border: 1pt solid #ADB9CC; 4.360 +} 4.361 + 4.362 +.advancedsearch td { 4.363 + vertical-align: top; 4.364 + background-color: #E7E7E7; 4.365 + border: 0px; 4.366 +} 4.367 + 4.368 +.advancedsearch td.searchfor { 4.369 + font-weight: bold; 4.370 +} 4.371 + 4.372 +.advancedsearch input { 4.373 + border: 1px solid #ADB9CC; 4.374 + background-color: #fff; 4.375 +} 4.376 + 4.377 +.advancedsearch input[disabled] { 4.378 + background-color: #eee; 4.379 +} 4.380 + 4.381 +.advancedsearch td.submit { 4.382 + border-top: 1px solid #ADB9CC; 4.383 + background-color: #fff; 4.384 + text-align: right; 4.385 +} 4.386 + 4.387 +.advancedsearch optioni, 4.388 +.advancedsearch select { 4.389 + border: 1px solid #ADB9CC; 4.390 + background-color: #fff; 4.391 +} 4.392 + 4.393 + 4.394 +.searchresults dt { 4.395 + margin-top: 1em; 4.396 + font-weight: normal; 4.397 +} 4.398 + 4.399 +.searchresults dd, .searchresults p { 4.400 + font-size: 0.85em; 4.401 +} 4.402 + 4.403 +.searchresults .searchhitinfobar { 4.404 + color: #008000; 4.405 + margin-left: 15px; 4.406 + margin-top: 0; 4.407 +} 4.408 + 4.409 +p.searchstats { 4.410 + font-size: 0.8em; 4.411 + text-align: right; 4.412 + width: 100%; 4.413 + background-color: #E6EAF0; 4.414 + border-top: 1px solid #9088DC; 4.415 + padding: 2px; 4.416 +} 4.417 + 4.418 +p.searchhint { 4.419 + background-color: #E6EAF0; 4.420 + border: 1px solid #9088DC; 4.421 + padding: 2px; 4.422 +} 4.423 + 4.424 +.searchpages { 4.425 + margin-left: auto; 4.426 + margin-right: auto; 4.427 +} 4.428 + 4.429 +.searchpages tr, .searchpages td { 4.430 + border: 0; 4.431 + padding: 5px; 4.432 + margin: 0; 4.433 + text-align: center; 4.434 + vertical-align: middle; 4.435 + color: #b93a58; 4.436 + font-weight: bold; 4.437 + font-size: 1.05em; 4.438 +} 4.439 + 4.440 +.searchpages td a, .searchpages td a:link { 4.441 + text-decoration: underline; 4.442 +} 4.443 + 4.444 +/* MonthCalendar css */ 4.445 + 4.446 +/* days without and with pages linked to them */ 4.447 +a.cal-emptyday { 4.448 + color: #777777; 4.449 + text-align: center; 4.450 +} 4.451 +a.cal-usedday { 4.452 + color: #000000; 4.453 + font-weight: bold; 4.454 + text-align: center; 4.455 +} 4.456 +/* general stuff: workdays, weekend, today */ 4.457 +td.cal-workday { 4.458 + background-color: #DDDDFF; 4.459 + text-align: center; 4.460 +} 4.461 +td.cal-weekend { 4.462 + background-color: #FFDDDD; 4.463 + text-align: center; 4.464 +} 4.465 +td.cal-today { 4.466 + background-color: #CCFFCC; 4.467 + border-style: solid; 4.468 + border-width: 2pt; 4.469 + text-align: center; 4.470 +} 4.471 +/* invalid places on the monthly calendar sheet */ 4.472 +td.cal-invalidday { 4.473 + background-color: #CCCCCC; 4.474 +} 4.475 +/* links to prev/next month/year */ 4.476 +a.cal-link { 4.477 + color: #000000; 4.478 + text-decoration: none; 4.479 +} 4.480 +th.cal-header { 4.481 + background-color: #DDBBFF; 4.482 + text-align: center; 4.483 +} 4.484 + 4.485 +/* for MonthCalendar mouseover info boxes */ 4.486 +TABLE.tip { 4.487 + color: black; 4.488 + background-color: #FF8888; 4.489 + font-size: small; 4.490 + font-weight: normal; 4.491 + border-style: solid; 4.492 + border-width: 1px; 4.493 +} 4.494 + 4.495 +TH.tip { 4.496 + background-color: #FF4444; 4.497 + font-weight: bold; 4.498 + text-align: center; 4.499 +} 4.500 + 4.501 +TD.tip { 4.502 + text-align: left; 4.503 +} 4.504 +*[dir="rtl"] TD.tip { 4.505 + text-align: right; 4.506 +} 4.507 + 4.508 +/* end MonthCalendar stuff */ 4.509 + 4.510 +#message .hint {font-style: italic;} 4.511 +#message .info { 4.512 + float: none; 4.513 + font-size: 1em; 4.514 + color: black; 4.515 +} 4.516 +#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;} 4.517 +#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;} 4.518 +#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;} 4.519 + 4.520 + 4.521 +/* admonition start */ 4.522 +#content div.caution, 4.523 +#content div.important, 4.524 +#content div.note, 4.525 +#content div.tip, 4.526 +#content div.warning { 4.527 + border: 1pt solid #E5E5E5; 4.528 + background-color: #F9F9FF; 4.529 + color: black; 4.530 + 4.531 + margin: 10pt 30pt 10pt 30pt; 4.532 + background-repeat: no-repeat; 4.533 + background-position: 8px 8px; 4.534 + min-height: 64px; /*64=48+8+8 but doesn't work with IE*/ 4.535 + padding-left: 64px; 4.536 +} 4.537 + 4.538 +#content div.caution p, 4.539 +#content div.important p, 4.540 +#content div.note p, 4.541 +#content div.tip p, 4.542 +#content div.warning p { 4.543 + margin-top: 8px; /*to align text with bg graphic*/ 4.544 +} 4.545 + 4.546 +#content div.tip { background-image: url("../img/admon-tip.png"); } 4.547 +#content div.note { background-image: url("../img/admon-note.png"); } 4.548 +#content div.important { background-image: url("../img/admon-important.png"); } 4.549 +#content div.caution { background-image: url("../img/admon-caution.png"); } 4.550 +#content div.warning { background-image: url("../img/admon-warning.png"); } 4.551 + 4.552 +/* admonition end */ 4.553 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/themes/mercurialwiki/css/msie.css Sat May 22 21:47:16 2010 +0200 5.3 @@ -0,0 +1,37 @@ 5.4 +/* msie.css - MoinMoin MS Internet explorer bug workarounds */ 5.5 + 5.6 +/* IE6 and IE7 both suck with :before */ 5.7 +a.www { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } 5.8 +a.http { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } 5.9 +a.https { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } 5.10 +a.file { padding-left: 19px; background: url(../img/moin-ftp.png) left center no-repeat; } 5.11 +a.ftp { padding-left: 19px; background: url(../img/moin-ftp.png) left center no-repeat; } 5.12 +a.nntp { padding-left: 19px; background: url(../img/moin-news.png) left center no-repeat; } 5.13 +a.news { padding-left: 19px; background: url(../img/moin-news.png) left center no-repeat; } 5.14 +a.telnet, a.ssh { padding-left: 19px; background: url(../img/moin-telnet.png) left center no-repeat; } 5.15 +a.irc, a.ircs { padding-left: 19px; background: url(../img/moin-telnet.png) left center no-repeat; } 5.16 +a.mailto { padding-left: 19px; background: url(../img/moin-email.png) left center no-repeat; } 5.17 +a.attachment { padding-left: 19px; background: url(../img/moin-attach.png) left center no-repeat; } 5.18 +a.badinterwiki { padding-left: 19px; background: url(../img/moin-inter.png) left center no-repeat; } 5.19 +a.interwiki { padding-left: 19px; background: url(../img/moin-inter.png) left center no-repeat; } 5.20 +#message .warning { padding-left: 21px; background: url(../img/alert.png) left center no-repeat; } 5.21 +#message .error { padding-left: 21px; background: url(../img/icon-error.png) left center no-repeat; } 5.22 + 5.23 +#pagetrail li, #pagelocation li { 5.24 + border-left: 1px solid #AAA; 5.25 + padding: 0 0.3em; 5.26 +} 5.27 + 5.28 +/* Spans for line-anchors - needed for IE6 and IE7 where omitting the "display: none" triggers rendering bugs. */ 5.29 +span.anchor { display: none; } 5.30 + 5.31 +/* Some * html hacks for IE6 and below only (IE7 ignores * html) */ 5.32 + 5.33 +/* IE6 has a bug with rendering of float elements. We workaround this bug by 5.34 + * assigning those elements a height attribute because we currently don't know 5.35 + * a better solution. This results in IE calculating the correct height of the 5.36 + * characters and displaying them correctly. We don't know any negative side 5.37 + * effects of this workaround: 5.38 + */ 5.39 +* html div#page, * html div#header { height: 0.001%; } 5.40 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/themes/mercurialwiki/css/print.css Sat May 22 21:47:16 2010 +0200 6.3 @@ -0,0 +1,53 @@ 6.4 +/* print.css - MoinMoin Default Styles 6.5 + 6.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann 6.7 +*/ 6.8 + 6.9 +/* content styles */ 6.10 + 6.11 +html { 6.12 + font-family: Times, serif; 6.13 + font-size: 12pt; 6.14 +} 6.15 + 6.16 +body { 6.17 + /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */ 6.18 + margin: 1.5cm; 6.19 +} 6.20 + 6.21 +a, a:visited, a.nonexistent, a.badinterwiki { 6.22 + color: black; 6.23 + text-decoration: none; 6.24 +} 6.25 + 6.26 +a:hover { 6.27 + text-decoration: underline; 6.28 +} 6.29 + 6.30 +.info a { 6.31 + color: gray; 6.32 +} 6.33 + 6.34 +pre { 6.35 + font-size: 10pt; 6.36 +} 6.37 + 6.38 +a.interwiki:before, a.badinterwiki:before { 6.39 + content: attr(title) ":"; 6.40 +} 6.41 + 6.42 +a.interwiki img, a.badinterwiki img { 6.43 + display: none; 6.44 +} 6.45 + 6.46 +.footnotes div { 6.47 + width: 5em; 6.48 + border-top: 1pt solid gray; 6.49 +} 6.50 + 6.51 +/* user interface styles */ 6.52 + 6.53 +#header, #sidebar, #footer, #timings, #credits, #interwiki, #pagelocation { 6.54 + display: none; 6.55 +} 6.56 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/themes/mercurialwiki/css/projection.css Sat May 22 21:47:16 2010 +0200 7.3 @@ -0,0 +1,33 @@ 7.4 +/* projection.css - MoinMoin Slide Styles 7.5 + 7.6 +Copyright (c) 2003 by Juergen Hermann 7.7 +*/ 7.8 + 7.9 +@import url(screen.css); 7.10 + 7.11 +html { line-height: 1.8em; } 7.12 + 7.13 +body, b, em, a, span, div, p, td { font-size: 18pt; } 7.14 + 7.15 +h1 { font-size: 26pt; } 7.16 +h2 { font-size: 22pt; } 7.17 +h3 { font-size: 20pt; } 7.18 +h4 { font-size: 18pt; } 7.19 +h5 { font-size: 16pt; } 7.20 +h6 { font-size: 14pt; } 7.21 + 7.22 +tt, pre { font-size: 16pt; } 7.23 +sup, sub { font-size: 12pt; } 7.24 + 7.25 +table.navigation { 7.26 + float: right; 7.27 + margin: 2px; 7.28 +} 7.29 + 7.30 +.navigation td, .navigation a { 7.31 + font-size: 10pt; 7.32 + padding: 2px; 7.33 +} 7.34 + 7.35 +#interwiki, #pagelocation, #pageinfo { display: none; } 7.36 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/themes/mercurialwiki/css/screen.css Sat May 22 21:47:16 2010 +0200 8.3 @@ -0,0 +1,246 @@ 8.4 +/* screen.css - MoinMoin Default Styles 8.5 + 8.6 +Copyright (c) 2010 Paul Boddie <paul@boddie.org.uk> 8.7 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann 8.8 +*/ 8.9 + 8.10 +/* content styles */ 8.11 + 8.12 +body { 8.13 + padding: 0; 8.14 + margin: 0; 8.15 + border: 0; 8.16 +} 8.17 + 8.18 +a:link { color: #00b5f1; text-decoration: underline; } 8.19 +a:link:hover, a:link:active, a:link:focus { text-decoration: none; } 8.20 +a.nonexistent:link { color: #666; text-decoration: underline; } 8.21 +a.nonexistent:hover { text-decoration: none; } 8.22 + 8.23 +a.download { 8.24 + font-size: 120%; 8.25 + letter-spacing: 0.05em; 8.26 + font-weight: bold; 8.27 + background: #E7E7E7; 8.28 + border: 1px solid #9C9C9C; 8.29 + padding: 0.5em; 8.30 + text-align: center; 8.31 +} 8.32 + 8.33 +input { 8.34 +} 8.35 + 8.36 +textarea { 8.37 + font-size: 1em; 8.38 + font-family: monospace; 8.39 +} 8.40 + 8.41 +.disabled { 8.42 + color: gray; 8.43 +} 8.44 + 8.45 +/* Other elements. */ 8.46 + 8.47 +#logo { 8.48 + float: left; 8.49 + margin: 0.5em; 8.50 + padding: 0; 8.51 + /* For text only logo */ 8.52 + font-size: larger; 8.53 + font-weight: bold; 8.54 +} 8.55 + 8.56 +*[dir="rtl"] #logo { 8.57 + float: right; 8.58 +} 8.59 + 8.60 +#logo img { 8.61 + vertical-align: middle; 8.62 +} 8.63 + 8.64 +#logo a { 8.65 + color: black; 8.66 + text-decoration: none; 8.67 +} 8.68 + 8.69 +#searchform { 8.70 + margin: 4px 0.5em 8px 0.5em; 8.71 + padding: 0; 8.72 + font-size: 0.82em; 8.73 + float: right; 8.74 + clear: right; 8.75 + text-align: right; 8.76 +} 8.77 + 8.78 +*[dir="rtl"] #searchform { 8.79 + float: left; 8.80 + clear: left; 8.81 + text-align: left; 8.82 +} 8.83 + 8.84 +#searchform input { 8.85 + font-size: 100%; 8.86 + vertical-align: middle; 8.87 +} 8.88 + 8.89 +#pageline { 8.90 +} 8.91 + 8.92 +#message { 8.93 + clear: both; 8.94 + margin: 0; 8.95 + padding: 5px 10px; 8.96 + border-bottom: 1px solid #c9c9c9; 8.97 + background: #E6EAF0; 8.98 +} 8.99 + 8.100 +#message p { 8.101 + margin: 5px 0; 8.102 + padding: 0; 8.103 + /* font-weight: bold; */ 8.104 +} 8.105 + 8.106 +#message div.buttons { 8.107 + font-weight: normal; 8.108 +} 8.109 + 8.110 +.dialog form { 8.111 + margin: 0 15px; 8.112 +} 8.113 + 8.114 +.dialog td { 8.115 + border: none; 8.116 + padding: 5px; 8.117 +} 8.118 + 8.119 +.dialog td.label { 8.120 + text-align: right; 8.121 + font-weight: bold; 8.122 + width: 25%; 8.123 +} 8.124 + 8.125 +*[dir="rtl"] .dialog td.label { 8.126 + text-align: left; 8.127 +} 8.128 + 8.129 +.dialog td.content input { 8.130 + width: 100%; 8.131 +} 8.132 + 8.133 +#page { 8.134 + background-color: white; 8.135 + margin: 0; 8.136 + padding: 0.25em; 8.137 +} 8.138 + 8.139 +#editor-textarea { 8.140 + padding: 0px; 8.141 +} 8.142 + 8.143 +#editor-textarea, 8.144 +#editor-help { 8.145 + font-family: monospace; 8.146 + border: 1px solid #8cacbb; 8.147 + color: black; 8.148 + background-color: white; 8.149 + width: 100%; 8.150 + margin-top: 0.5em; 8.151 +} 8.152 + 8.153 +#editor-help { 8.154 + font-size: small; 8.155 + background-color: #EEEEFF; 8.156 + padding: 3px; 8.157 +} 8.158 + 8.159 +#editor-comment { 8.160 + font-size: 100%; 8.161 + border: 1px solid #8cacbb; 8.162 + color: black; 8.163 + background-color: white; 8.164 + vertical-align: middle; 8.165 + padding: 1px; 8.166 + display: inline; 8.167 + width: 70%; 8.168 +} 8.169 + 8.170 +#preview, #previewbelow { 8.171 + background: url(../img/draft.png); 8.172 + margin-top: 0.5em; 8.173 +} 8.174 + 8.175 +#textcha { 8.176 + font-size: 100%; 8.177 + margin-top: 0.5em; 8.178 + border: 2px solid #FF8888; 8.179 + color: black; 8.180 + vertical-align: middle; 8.181 + padding: 3px 2px; 8.182 +} 8.183 + 8.184 +#textcha-answer { 8.185 + border: 2px solid #000000; 8.186 + padding: 3px 2px; 8.187 +} 8.188 + 8.189 +input.button { 8.190 +} 8.191 + 8.192 +#credits, #version, #timings{ 8.193 + margin: 5px 10px; 8.194 + padding: 0; 8.195 + text-align: center; 8.196 + font-size: 0.88em; 8.197 + color: #6C7680; 8.198 +} 8.199 + 8.200 +#credits li, #timings li { 8.201 + display: inline; 8.202 + padding: 0 2px; 8.203 + margin: 0 4px; 8.204 +} 8.205 + 8.206 +#credits img { 8.207 + vertical-align: middle; 8.208 +} 8.209 + 8.210 +.diff { 8.211 + width:99%; 8.212 +} 8.213 + 8.214 +.diff-header { 8.215 + font-weight: bold; 8.216 +} 8.217 + 8.218 +.diff-title { 8.219 + background-color: #C0C0C0; 8.220 +} 8.221 + 8.222 +.diff-added { 8.223 + background-color: #E0FFE0; 8.224 + vertical-align: sub; 8.225 +} 8.226 + 8.227 +.diff-removed { 8.228 + background-color: #FFFFE0; 8.229 + vertical-align: sub; 8.230 +} 8.231 + 8.232 +.diff-added span { 8.233 + background-color: #80FF80; 8.234 +} 8.235 + 8.236 +.diff-removed span { 8.237 + background-color: #FFFF80; 8.238 +} 8.239 + 8.240 +table.navigation { 8.241 + float: right; 8.242 + margin: 2px; 8.243 +} 8.244 + 8.245 +#openididentifier { 8.246 + background: url(../../common/openid.png) no-repeat; 8.247 + background-position: 0 50%; 8.248 + padding-left: 18px; 8.249 +}
9.1 Binary file themes/mercurialwiki/img/PythonPowered.png has changed
10.1 Binary file themes/mercurialwiki/img/admon-caution.png has changed
11.1 Binary file themes/mercurialwiki/img/admon-important.png has changed
12.1 Binary file themes/mercurialwiki/img/admon-note.png has changed
13.1 Binary file themes/mercurialwiki/img/admon-tip.png has changed
14.1 Binary file themes/mercurialwiki/img/admon-warning.png has changed
15.1 Binary file themes/mercurialwiki/img/alert.png has changed
16.1 Binary file themes/mercurialwiki/img/angry.png has changed
17.1 Binary file themes/mercurialwiki/img/attach.png has changed
18.1 Binary file themes/mercurialwiki/img/attention.png has changed
19.1 Binary file themes/mercurialwiki/img/biggrin.png has changed
20.1 Binary file themes/mercurialwiki/img/checkmark.png has changed
21.1 Binary file themes/mercurialwiki/img/devil.png has changed
22.1 Binary file themes/mercurialwiki/img/draft.png has changed
23.1 Binary file themes/mercurialwiki/img/frown.png has changed
24.1 Binary file themes/mercurialwiki/img/icon-error.png has changed
25.1 Binary file themes/mercurialwiki/img/icon-info.png has changed
26.1 Binary file themes/mercurialwiki/img/idea.png has changed
27.1 Binary file themes/mercurialwiki/img/moin-attach.png has changed
28.1 Binary file themes/mercurialwiki/img/moin-bottom.png has changed
29.1 Binary file themes/mercurialwiki/img/moin-conflict.png has changed
30.1 Binary file themes/mercurialwiki/img/moin-deleted.png has changed
31.1 Binary file themes/mercurialwiki/img/moin-diff.png has changed
32.1 Binary file themes/mercurialwiki/img/moin-download.png has changed
33.1 Binary file themes/mercurialwiki/img/moin-edit.png has changed
34.1 Binary file themes/mercurialwiki/img/moin-email.png has changed
35.1 Binary file themes/mercurialwiki/img/moin-ftp.png has changed
36.1 Binary file themes/mercurialwiki/img/moin-help.png has changed
37.1 Binary file themes/mercurialwiki/img/moin-home.png has changed
38.1 Binary file themes/mercurialwiki/img/moin-icon.png has changed
39.1 Binary file themes/mercurialwiki/img/moin-info.png has changed
40.1 Binary file themes/mercurialwiki/img/moin-inter.png has changed
41.1 Binary file themes/mercurialwiki/img/moin-jabber.png has changed
42.1 Binary file themes/mercurialwiki/img/moin-new.png has changed
43.1 Binary file themes/mercurialwiki/img/moin-news.png has changed
44.1 Binary file themes/mercurialwiki/img/moin-parent.png has changed
45.1 Binary file themes/mercurialwiki/img/moin-print.png has changed
46.1 Binary file themes/mercurialwiki/img/moin-raw.png has changed
47.1 Binary file themes/mercurialwiki/img/moin-readonly.png has changed
48.1 Binary file themes/mercurialwiki/img/moin-renamed.png has changed
49.1 Binary file themes/mercurialwiki/img/moin-rss.png has changed
50.1 Binary file themes/mercurialwiki/img/moin-search.png has changed
51.1 Binary file themes/mercurialwiki/img/moin-show.png has changed
52.1 Binary file themes/mercurialwiki/img/moin-subscribe.png has changed
53.1 Binary file themes/mercurialwiki/img/moin-telnet.png has changed
54.1 Binary file themes/mercurialwiki/img/moin-top.png has changed
55.1 Binary file themes/mercurialwiki/img/moin-unsubscribe.png has changed
56.1 Binary file themes/mercurialwiki/img/moin-up.png has changed
57.1 Binary file themes/mercurialwiki/img/moin-updated.png has changed
58.1 Binary file themes/mercurialwiki/img/moin-www.png has changed
59.1 Binary file themes/mercurialwiki/img/ohwell.png has changed
60.1 Binary file themes/mercurialwiki/img/prio1.png has changed
61.1 Binary file themes/mercurialwiki/img/prio2.png has changed
62.1 Binary file themes/mercurialwiki/img/prio3.png has changed
63.1 Binary file themes/mercurialwiki/img/redface.png has changed
64.1 Binary file themes/mercurialwiki/img/sad.png has changed
65.1 Binary file themes/mercurialwiki/img/smile.png has changed
66.1 Binary file themes/mercurialwiki/img/smile2.png has changed
67.1 Binary file themes/mercurialwiki/img/smile3.png has changed
68.1 Binary file themes/mercurialwiki/img/smile4.png has changed
69.1 Binary file themes/mercurialwiki/img/star_off.png has changed
70.1 Binary file themes/mercurialwiki/img/star_on.png has changed
71.1 Binary file themes/mercurialwiki/img/thumbs-up.png has changed
72.1 Binary file themes/mercurialwiki/img/tired.png has changed
73.1 Binary file themes/mercurialwiki/img/tongue.png has changed
74.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 74.2 +++ b/themes/mercurialwiki/mercurialwiki.py Sat May 22 21:47:16 2010 +0200 74.3 @@ -0,0 +1,188 @@ 74.4 +# -*- coding: iso-8859-1 -*- 74.5 + 74.6 +""" 74.7 + MoinMoin - MercurialWiki theme 74.8 + @copyright: 2009, 2010 Paul Boddie <paul@boddie.org.uk> 74.9 + @copyright: (portions) 2003-2008 MoinMoin:ThomasWaldmann, 2003-2005 Nir Soffer 74.10 + @license: GNU GPL (v2 or later), see COPYING.txt for details. 74.11 +""" 74.12 + 74.13 +from MoinMoin.theme import ThemeBase 74.14 +from MoinMoin import i18n 74.15 +from MoinMoin import wikiutil 74.16 +from MoinMoin import version 74.17 +from MoinMoin.Page import Page 74.18 +import re 74.19 + 74.20 +class Theme(ThemeBase): 74.21 + 74.22 + name = "mercurialwiki" 74.23 + 74.24 + # Icon definitions from the modernized theme... 74.25 + 74.26 + _ = lambda x: x # We don't have gettext at this moment, so we fake it 74.27 + icons = { 74.28 + # key alt icon filename w h 74.29 + # FileAttach 74.30 + 'attach': ("%(attach_count)s", "moin-attach.png", 16, 16), 74.31 + 'info': ("[INFO]", "moin-info.png", 16, 16), 74.32 + 'attachimg': (_("[ATTACH]"), "attach.png", 32, 32), 74.33 + # RecentChanges 74.34 + 'rss': (_("[RSS]"), "moin-rss.png", 16, 16), 74.35 + 'deleted': (_("[DELETED]"), "moin-deleted.png", 16, 16), 74.36 + 'updated': (_("[UPDATED]"), "moin-updated.png", 16, 16), 74.37 + 'renamed': (_("[RENAMED]"), "moin-renamed.png", 16, 16), 74.38 + 'conflict': (_("[CONFLICT]"), "moin-conflict.png", 16, 16), 74.39 + 'new': (_("[NEW]"), "moin-new.png", 16, 16), 74.40 + 'diffrc': (_("[DIFF]"), "moin-diff.png", 16, 16), 74.41 + # General 74.42 + 'bottom': (_("[BOTTOM]"), "moin-bottom.png", 16, 16), 74.43 + 'top': (_("[TOP]"), "moin-top.png", 16, 16), 74.44 + 'www': ("[WWW]", "moin-www.png", 16, 16), 74.45 + 'mailto': ("[MAILTO]", "moin-email.png", 16, 16), 74.46 + 'news': ("[NEWS]", "moin-news.png", 16, 16), 74.47 + 'telnet': ("[TELNET]", "moin-telnet.png", 16, 16), 74.48 + 'ftp': ("[FTP]", "moin-ftp.png", 16, 16), 74.49 + 'file': ("[FILE]", "moin-ftp.png", 16, 16), 74.50 + # search forms 74.51 + 'searchbutton': ("[?]", "moin-search.png", 16, 16), 74.52 + 'interwiki': ("[%(wikitag)s]", "moin-inter.png", 16, 16), 74.53 + 74.54 + # smileys (this is CONTENT, but good looking smileys depend on looking 74.55 + # adapted to the theme background color and theme style in general) 74.56 + #vvv == vvv this must be the same for GUI editor converter 74.57 + 'X-(': ("X-(", 'angry.png', 16, 16), 74.58 + ':D': (":D", 'biggrin.png', 16, 16), 74.59 + '<:(': ("<:(", 'frown.png', 16, 16), 74.60 + ':o': (":o", 'redface.png', 16, 16), 74.61 + ':(': (":(", 'sad.png', 16, 16), 74.62 + ':)': (":)", 'smile.png', 16, 16), 74.63 + 'B)': ("B)", 'smile2.png', 16, 16), 74.64 + ':))': (":))", 'smile3.png', 16, 16), 74.65 + ';)': (";)", 'smile4.png', 16, 16), 74.66 + '/!\\': ("/!\\", 'alert.png', 16, 16), 74.67 + '<!>': ("<!>", 'attention.png', 16, 16), 74.68 + '(!)': ("(!)", 'idea.png', 16, 16), 74.69 + ':-?': (":-?", 'tongue.png', 16, 16), 74.70 + ':\\': (":\\", 'ohwell.png', 16, 16), 74.71 + '>:>': (">:>", 'devil.png', 16, 16), 74.72 + '|)': ("|)", 'tired.png', 16, 16), 74.73 + ':-(': (":-(", 'sad.png', 16, 16), 74.74 + ':-)': (":-)", 'smile.png', 16, 16), 74.75 + 'B-)': ("B-)", 'smile2.png', 16, 16), 74.76 + ':-))': (":-))", 'smile3.png', 16, 16), 74.77 + ';-)': (";-)", 'smile4.png', 16, 16), 74.78 + '|-)': ("|-)", 'tired.png', 16, 16), 74.79 + '(./)': ("(./)", 'checkmark.png', 16, 16), 74.80 + '{OK}': ("{OK}", 'thumbs-up.png', 16, 16), 74.81 + '{X}': ("{X}", 'icon-error.png', 16, 16), 74.82 + '{i}': ("{i}", 'icon-info.png', 16, 16), 74.83 + '{1}': ("{1}", 'prio1.png', 15, 13), 74.84 + '{2}': ("{2}", 'prio2.png', 15, 13), 74.85 + '{3}': ("{3}", 'prio3.png', 15, 13), 74.86 + '{*}': ("{*}", 'star_on.png', 16, 16), 74.87 + '{o}': ("{o}", 'star_off.png', 16, 16), 74.88 + } 74.89 + del _ 74.90 + 74.91 + def header(self, d, **kw): 74.92 + """ Assemble page header 74.93 + 74.94 + @param d: parameter dictionary 74.95 + @rtype: unicode 74.96 + @return: page header html 74.97 + """ 74.98 + 74.99 + request = self.request 74.100 + fmt = request.formatter 74.101 + html = [] 74.102 + 74.103 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.104 + # NOTE: theme. 74.105 + 74.106 + show_section_numbers = fmt._show_section_numbers 74.107 + fmt._show_section_numbers = 0 74.108 + 74.109 + # The header section. 74.110 + 74.111 + html.append(fmt.div(on=1, attr={"id" : "header"})) 74.112 + 74.113 + html.append(self.logo()) 74.114 + html.append(self.navibar(d)) 74.115 + html.append(self.searchform(d)) 74.116 + 74.117 + html.append(fmt.div(on=0)) 74.118 + 74.119 + # Show any pertinent message. 74.120 + 74.121 + html.append(self.msg(d)) 74.122 + 74.123 + # Complete the header. 74.124 + 74.125 + html.append(self.startPage()) 74.126 + 74.127 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.128 + # NOTE: theme. 74.129 + 74.130 + fmt._show_section_numbers = show_section_numbers 74.131 + 74.132 + return u''.join(html) 74.133 + 74.134 + editorheader = header 74.135 + 74.136 + def footer(self, d, **kw): 74.137 + """ Assemble page footer 74.138 + 74.139 + @param d: parameter dictionary 74.140 + @rtype: unicode 74.141 + @return: page footer html 74.142 + """ 74.143 + 74.144 + request = self.request 74.145 + fmt = request.formatter 74.146 + _ = request.getText 74.147 + page = d["page"] 74.148 + html = [] 74.149 + 74.150 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.151 + # NOTE: theme. 74.152 + 74.153 + show_section_numbers = fmt._show_section_numbers 74.154 + fmt._show_section_numbers = 0 74.155 + 74.156 + # End the page. 74.157 + 74.158 + html.append(self.endPage()) 74.159 + 74.160 + # The footer section. 74.161 + 74.162 + html.append(fmt.div(on=1, attr={"id" : "footer"})) 74.163 + 74.164 + if self.shouldShowEditbar(page): 74.165 + html.append(self.editbar(d)) 74.166 + html.append(self.credits(d)) 74.167 + 74.168 + #html.append(self.trail(d)) 74.169 + 74.170 + html.append(fmt.div(on=0)) 74.171 + 74.172 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.173 + # NOTE: theme. 74.174 + 74.175 + fmt._show_section_numbers = show_section_numbers 74.176 + 74.177 + return u''.join(html) 74.178 + 74.179 +# Theme instantiation. 74.180 + 74.181 +def execute(request): 74.182 + """ 74.183 + Generate and return a theme object 74.184 + 74.185 + @param request: the request object 74.186 + @rtype: MoinTheme 74.187 + @return: Theme object 74.188 + """ 74.189 + return Theme(request) 74.190 + 74.191 +# vim: tabstop=4 expandtab shiftwidth=4