diff --git a/templates/55/minimal.mk b/templates/55/minimal.mk deleted file mode 100644 index 0d8bb03..0000000 --- a/templates/55/minimal.mk +++ /dev/null @@ -1,55 +0,0 @@ -# Progress Linux: dokuwiki-templates-extra - -# Copyright (C) 2024 Daniel Baumann -# -# SPDX-License-Identifier: GPL-3.0+ -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# Build-Depends: -# none - -SHELL := sh -e - -TEMPLATE := minimal - -all: - -test: - -build: - -install: - mkdir -p $(DESTDIR)/usr/share/dokuwiki/templates-extra - cp -a $(TEMPLATE) $(DESTDIR)/usr/share/dokuwiki/templates-extra - - # removing unused files - rm -f $(DESTDIR)/usr/share/dokuwiki/templates-extra/$(TEMPLATE)/COPYING* - rm -f $(DESTDIR)/usr/share/dokuwiki/templates-extra/$(TEMPLATE)/README* - rm -rf $(DESTDIR)/usr/share/dokuwiki/templates-extra/$(TEMPLATE)/.git* - -uninstall: - rm -rf $(DESTDIR)/usr/share/dokuwiki/templates-extra/$(TEMPLATE) - rmdir --ignore-fail-on-non-empty --parents $(DESTDIR) || true - -clean: - -distclean: - -reinstall: uninstall install - -upstream: - rm -rf $(TEMPLATE) - git clone https://github.com/reactivematter/dokuwiki-template-minimal $(TEMPLATE) - rm -rf $(TEMPLATE)/.git diff --git a/templates/55/minimal/.gitattributes b/templates/55/minimal/.gitattributes deleted file mode 100644 index 26b2adf..0000000 --- a/templates/55/minimal/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -screenshots/ export-ignore diff --git a/templates/55/minimal/COPYING b/templates/55/minimal/COPYING deleted file mode 100644 index d159169..0000000 --- a/templates/55/minimal/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/templates/55/minimal/README b/templates/55/minimal/README deleted file mode 100644 index cd5bed4..0000000 --- a/templates/55/minimal/README +++ /dev/null @@ -1,2 +0,0 @@ -See template.info.txt for main info -See COPYING for license info \ No newline at end of file diff --git a/templates/55/minimal/README.md b/templates/55/minimal/README.md deleted file mode 100644 index b4d16cb..0000000 --- a/templates/55/minimal/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Minimal -A minimial template to quick start a Dokuwiki - -More at [https://www.dokuwiki.org/template:minimal](https://www.dokuwiki.org/template:minimal) - -**Under development:** -- [ ] Tagline support -- [x] Sticky TOC conf -- [x] Themes functionality diff --git a/templates/55/minimal/conf/default.php b/templates/55/minimal/conf/default.php deleted file mode 100644 index d89fe31..0000000 --- a/templates/55/minimal/conf/default.php +++ /dev/null @@ -1,14 +0,0 @@ - array('Top','Above page')); -$meta['siteFooterPosition'] = array('multichoice','_choices' => array('Bottom','Below page')); -$meta['showToc'] = array('onoff'); -$meta['stickyToc'] = array('onoff'); -$meta['hideTools'] = array('onoff'); -$meta['theme'] = array('multichoice','_choices' => array('Default','Dark','Terminal')); diff --git a/templates/55/minimal/css/basic.css b/templates/55/minimal/css/basic.css deleted file mode 100644 index 9cbeed0..0000000 --- a/templates/55/minimal/css/basic.css +++ /dev/null @@ -1,1189 +0,0 @@ -/** - * This file provides the most basic styles. - * - * If you integrate DokuWiki into another project, you might either - * want to integrate this file into the other project as well, or use - * the other project's basic CSS for DokuWiki instead of this one. - * - * @author Reactive Matter - * - */ - -html { - overflow-x: auto; - overflow-y: scroll; -} - -body -{ - --background: __background__; - --background-alt: __background_alt__; - --text-color: __text__; - --site-width: __site_width__; - --text-color-alt: __text_neu__; - --sidebar-width: __sidebar_width__; - --link-color: __link__; - --link-color-existing: __existing__; - --link-color-missing: __missing__; - --border-color: __border__; -} - -body { - background-color: var(--background); - color: var(--text-color); - margin: 0; - padding: 0; - min-height: 100vh; - font-family: sans-serif; - font-size: 16px; - display: flex; - flex-direction: column; - width: 100%; -} - -body:not(.full-width) -{ - max-width: var(--site-width); - margin: auto; -} - -body * -{ - box-sizing: border-box; -} - - - - -.hide -{ - display: none; -} - -/*____________ headers ____________*/ - -h1, -h2, -h3, -h4, -h5, -h6 { - font-weight: bold; - color: var(--text-color-alt); - background-color: inherit; - padding: 0; - line-height: 1.2; - clear: left; /* ideally 'both', but problems with toc */ -} -[dir=rtl] h1, -[dir=rtl] h2, -[dir=rtl] h3, -[dir=rtl] h4, -[dir=rtl] h5, -[dir=rtl] h6 { - clear: right; -} - -h1 { - font-size: 2.25em; - margin: 0 0 0.444em; -} -h2 { - font-size: 1.5em; - margin: 0 0 0.666em; -} -h3 { - font-size: 1.125em; - margin: 0 0 0.888em; -} -h4 { - font-size: 1em; - margin: 0 0 1.0em; -} -h5 { - font-size: .875em; - margin: 0 0 1.1428em; -} -h6 { - font-size: .75em; - margin: 0 0 1.333em; -} -/* bottom margin = 1 / font-size */ - -caption, -figcaption, -summary, -legend { - font-style: italic; - font-weight: normal; - line-height: 1.2; - padding: 0; - margin: 0 0 .35em; -} - - -/*____________ basic margins and paddings ____________*/ - -p, -ul, -ol, -dl, -pre, -table, -hr, -blockquote, -figure, -details, -fieldset, -address { - margin: 0 0 1.4em 0; /* bottom margin = line-height */ - padding: 0; -} - -div { - margin: 0; - padding: 0; -} - - -/*____________ lists ____________*/ - -ul, -ol { - padding: 0 0 0 1.5em; -} -[dir=rtl] ul, -[dir=rtl] ol { - padding: 0 1.5em 0 0; -} - -li, -dd { - padding: 0; - margin: 0 0 0 1.5em; -} -[dir=rtl] li, -[dir=rtl] dd { - margin: 0 1.5em 0 0; -} - -dt { - font-weight: bold; - margin: 0; - padding: 0; -} - -li ul, -li ol, -li dl, -dl ul, -dl ol, -dl dl { - margin-bottom: 0; - padding: 0; -} -li li { - font-size: 100%; -} - -ul { - list-style: disc outside; -} -ol { - list-style: decimal outside; -} -ol ol { - list-style-type: lower-alpha; -} -ol ol ol { - list-style-type: upper-roman; -} -ol ol ol ol { - list-style-type: upper-alpha; -} -ol ol ol ol ol { - list-style-type: lower-roman; -} - - -/*____________ tables ____________*/ - -table { - border-collapse: collapse; - empty-cells: show; - border-spacing: 0; - border: 1px solid var(--border-color); -} - -caption { - caption-side: top; - text-align: left; -} -[dir=rtl] caption { - text-align: right; -} - -th, -td { - padding: .3em .5em; - margin: 0; - vertical-align: top; - border: 1px solid var(--border-color); -} -th { - font-weight: bold; - background-color: __background_alt__; - color: inherit; - text-align: left; -} -[dir=rtl] th { - text-align: right; -} - - -/*____________ links ____________*/ - -a { -} -a:link, -a:visited { - text-decoration: none; - color: var(--link-color); -} - -a:visited:hover, -a:link:focus, -a:visited:focus, -a:link:active, -a:visited:active { - text-decoration: none; -} - - -.dokuwiki a.wikilink2 -{ - color: var(--link-color-missing); -} - -a:hover -{ - text-decoration: underline; -} - - -/*____________ misc ____________*/ - -img, -svg { - border-width: 0; - vertical-align: middle; - color: #666; - background-color: transparent; - font-style: italic; -} - -img, -svg, -object, -embed, -iframe, -video, -audio { - max-width: 100%; -} - -img, -svg, -video { - height: auto; -} - -iframe { - border-width: 0; - background-color: inherit; -} - -button img, -button svg { - max-width: none; -} - -hr { - border-style: solid; - border-width: 1px 0 0; - text-align: center; - height: 0; - width: 100%; - clear: both; -} - -acronym, -abbr { - font-style: normal; -} -acronym[title], -abbr[title] { - cursor: help; - border-bottom: 1px dotted; - text-decoration: none; -} -em acronym, -em abbr { - font-style: italic; -} - -mark { - background: __highlight__; - color: inherit; -} - -pre, -code, -samp, -kbd { - font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; - /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */ - font-size: 1em; - background-color: var(--background-alt); - color: var(--text-color); - direction: ltr; - text-align: left; -} -pre { - border: 1px solid var(--border-color); - padding: 0 .2em; - overflow: auto; - word-wrap: normal; -} - -blockquote { - padding: 0 .5em; - border: solid var(--border-color); - border-width: 0 0 0 .25em; -} -[dir=rtl] blockquote { - border-width: 0 .25em 0 0; -} -q:before, -q:after { - content: ''; -} - -sub, -sup { - font-size: .8em; - line-height: 1; -} -sub { - vertical-align: sub; -} -sup { - vertical-align: super; -} - -small { - font-size: .8em; -} - -wbr { - display: inline-block; -} - -/*____________ forms ____________*/ - -form { - display: inline; - margin: 0; - padding: 0; -} - -fieldset { - padding: .7em 1em 0; - padding: .7rem 1rem; /* for those browsers understanding :last-child */ - border: 1px solid #999; -} -fieldset > :last-child { - margin-bottom: 0; -} -legend { - padding: 0 .1em; -} - -label { - vertical-align: middle; - cursor: pointer; -} - -input, -textarea, -button, -select, -optgroup, -option, -keygen, -output, -meter, -progress { - font: inherit; - color: inherit; - /* background-color destroys button look */ - line-height: normal; - margin: 0; - vertical-align: middle; - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -input, -button, -select, -keygen, -textarea { - padding: .1em; -} -input[type=radio], -input[type=checkbox], -input[type=image], -input.check { - padding: 0; -} - -input[type=submit], -input[type=button], -input[type=reset], -input.button, -button { - cursor: pointer; - overflow: visible; - padding: .1em .4em; -} - -input[disabled], -button[disabled], -select[disabled], -textarea[disabled], -option[disabled], -input[readonly], -button[readonly], -select[readonly], -textarea[readonly] { - cursor: auto; - opacity: .5; -} - -input:focus, -button:focus, -select:focus, -keygen:focus, -textarea:focus { - box-shadow: 0 0 5px #999; - outline: 0; - -} -input::-moz-focus-inner, -button::-moz-focus-inner { - border: 0; - padding: 0; -} - -select { - max-width: 100%; -} -optgroup { - font-style: italic; - font-weight: bold; -} -option { - font-style: normal; - font-weight: normal; -} - -#config__manager tr .input, #config__manager tr input, #config__manager tr textarea, #config__manager tr select,#config__manager fieldset, -#config__manager tr.default .input, #config__manager tr.default input, #config__manager tr.default textarea, #config__manager tr.default select, #config__manager .selectiondefault -{ - color: var(--text-color); -} - -#config__manager tr .input, #config__manager tr input, #config__manager tr textarea, #config__manager tr select -{ - background-color: var(--background); -} - -.JSpopup -{ - background-color: var(--background) !important; - border-color: var(--border-color) !important; -} - - -/*____________ links to wiki pages (addition to _links) ____________*/ - -/* existing wikipage */ -.dokuwiki a.wikilink1 { - color: var(--link-color-existing); - background-color: inherit; -} -/* not existing wikipage */ -.dokuwiki a.wikilink2 { - color: var(--link-color-missing); - background-color: inherit; -} - - -/*____________ images ____________*/ - -/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */ -.dokuwiki img.media { - margin: .2em 0; -} -.dokuwiki img.medialeft { - margin: .2em 1.5em .2em 0; -} -.dokuwiki img.mediaright { - margin: .2em 0 .2em 1.5em; -} -.dokuwiki img.mediacenter { - margin: .2em auto; -} - - -/*____________ tables ____________*/ - -/* div before each table */ -.dokuwiki div.table { -} - -.dokuwiki table.inline { - min-width: 50%; -} -.dokuwiki table.inline tr:hover td { - background-color: var(--background-alt); -} -.dokuwiki table.inline tr:hover th { - background-color: var(--border-color); -} - - -/*____________ code ____________*/ - -/* fix if background-color hides underlining */ -.dokuwiki em.u code { - text-decoration: underline; -} - -/* filenames for downloadable file and code blocks */ -.dokuwiki dl.code, -.dokuwiki dl.file { -} - -.dokuwiki dl.code dt, -.dokuwiki dl.file dt { - background-color: var(--background-alt); - border: solid var(--border-color); - border-width: 1px 1px 0; - color: inherit; - display: inline; - padding: .1em .5em .2em; - margin-left: 1em; -} -[dir=rtl] .dokuwiki dl.code dt, -[dir=rtl] .dokuwiki dl.file dt { - margin-left: 0; - margin-right: 1em; -} -.dokuwiki dl.code dt a, -.dokuwiki dl.file dt a { -} - -.dokuwiki dl.code dd, -.dokuwiki dl.file dd { - margin: 0; -} - -/* for code in */ -.dokuwiki pre.file, -.dokuwiki dl.file pre, -.dokuwiki dl.file dt { - border-color: var(--border-color); -} - - -/*____________ media manager ____________*/ - -/* some headings in the media manager should not look like headings */ -#mediamanager__page h2, -#mediamanager__page h3 { - font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; - color: var(--text-color); -} - -/* to style button-like div in _fileuploader.css to look like other buttons, - please add '.qq-upload-button' to the according styles (which don't really exist in this template) */ -.qq-upload-button { - border: 1px solid var(--border-color); - background-color: var(--background-alt); - padding: 0.125em 0.4em; -} - -/*____________ styling plugin ____________*/ - -#plugin__styling.ispopup { - padding: 1em; -} - - -/*____________ JS popup ____________*/ - -.JSpopup { - background-color: var(--background); - color: var(--text-color); - border: 1px solid var(--border-color); - line-height: 1.2; - padding: 0 .2em; -} - -.JSpopup ul, -.JSpopup ol { - padding-left: 0; -} -[dir=rtl] .JSpopup ul, -[dir=rtl] .JSpopup ol { - padding-right: 0; -} - - -/* CSS starts */ - -.hide -{ - display: none; -} - -.flex-fill -{ - flex-grow: 1; -} - -.left-column { - display: flex; - flex-wrap: wrap; - flex-direction: column; - gap: 16px; - padding: 8px 16px; -} - -.right-column { - display: flex; - flex-wrap: wrap; - flex-direction: column; - flex-grow: 1; - gap: 16px; - padding: 8px 16px; -} - - - -navbar -{ - display: flex; - border-bottom: 1px solid var(--border-color); - line-height: 1; -} - -navbar .site-name -{ - display: flex; - gap: 16px; - align-items: center; -} - - -navbar .site-name .site-logo -{ - width: 24px; - height: 24px; -} -navbar .site-name .site-title -{ - font-weight: bold; - font-size: 1.2rem; - padding: 8px 0px; -} - -navbar a.site-name, navbar a.site-name:hover -{ - color: __title_color__; - text-decoration: none; -} - -navbar form.search button { - background-color: transparent; - background-image: url("images/search.svg"); - border-width: 0; - background-size: 14px; - background-repeat: no-repeat; - width: 19px; - height: 14px; - text-indent: -99999px; - margin-left: -20px; - box-shadow: none; - padding: 0; - position: relative; - top:0px; - right: 5px; - opacity: 0.5; -} - -navbar form.search input -{ - padding: 0.5em 1em; - padding-right: 2em; - width: 20rem; - border: 1px solid var(--border-color); - border-radius: 3px; - box-sizing: border-box; - background-color: var(--background); -} -navbar form.search input:focus -{ - box-shadow: none; -} - -#navbar .left-column -{ - flex-direction: row; - align-items: center; -} -#navbar .right-column { - border: none; - flex-direction: row-reverse; - gap: 16px; - align-items: center; -} - -#qsearch__out -{ - display: none; - padding: 0.5em 1em; - width: 20rem; - left: unset; - top: unset; -} - -#qsearch__out>strong -{ - color: __text_alt__; - margin-bottom: 1em; -} -#qsearch__out ul, #qsearch__out ol, #qsearch__out li -{ - margin: 0px; -} - -#qsearch__out li -{ - margin: 4px 0px; -} - -navbar .right-column .options -{ - display: flex; - flex-direction: row; -} - -#main -{ - display: flex; - flex-grow: 1; -} - -.page-info -{ - margin-top: 24px; - font-size: 0.9em; -} - - - - -div#view>* -{ - padding-left: 0px; - padding-right: 0px; -} - -div#view, div#sidebar -{ - padding-top: 16px; - padding-bottom: 16px; -} - -.site-header -{ - border-bottom: 1px solid var(--border-color); -} - -.site-header -{ - display: flex; - flex-direction: column; - padding-top: 8px; - padding-bottom: 8px; - padding-left: 16px; - padding-right: 16px; - gap: 8px; -} - -#view>.site-header -{ - padding-top: 0px; - padding-left: 0px; - padding-right: 0px; -} - -.site-header .site-header-content -{ - padding: 8px 0px; -} - -#view>.site-header .site-header-content -{ - padding: 0px; -} - -.site-navigation -{ - display: flex; - flex-direction: column; - gap: 8px; -} - - - -.site-header-content>*:last-child, footer>*:last-child -{ - margin-bottom: 0px; -} - -footer -{ - padding: 16px; - border-top: 1px solid var(--border-color); -} - -#view>footer -{ - padding-bottom: 0px; -} - - -article#content -{ - flex-grow: 1; -} - -article#content h1 -{ - font-size: 2em; -} -article#content h2 -{ - font-size: 1.5em; -} - -article#content h3 -{ - font-size: 1.25em; -} - -article#content h4 -{ - font-size: 1em; -} - -h1, h2, h3, h4, h5, h6 -{ - color: var(--text-color); -} - -.menu -{ - position: relative; - cursor: pointer; -} - - -.menu .list -{ - display: none; - position: absolute; - right: 0px; - background-color: var(--background); - border: 1px solid var(--border-color); - min-width: 200px; - padding: 8px 0px; - top: 44px; - z-index: 20000; - border-radius: 3px; -} -.menu .list li -{ - list-style: none; - margin: 0px; - padding: 0px; -} - -.menu .list li>a -{ - display: flex; - flex-direction: row-reverse; - justify-content: flex-end; - align-items: center; - gap: 16px; - text-decoration: none; - color: var(--text-color) ; - padding: 4px 16px ; -} -.menu .list li>a:hover -{ - background-color: __background_alt__; -} -.menu .list li>a svg -{ - fill: __text_alt__; -} - -.menu .list li.top -{ - display: none; -} - -.menu .list .user-name -{ - padding: 8px 16px; - text-align: center; - font-weight: bold; -} - -.menu .button -{ - display: flex; - gap: 4px; - align-items: center; - color: __text_alt__; -} - -.menu .button:hover -{ - color: var(--text-color); -} - -.user-menu .button::before { - mask-image: url('images/user-circle.svg'); -} - -.page-menu .button::before{ - mask-image: url('images/document-text.svg'); -} - -.site-menu .button::before{ - mask-image: url('images/server.svg'); -} - -#showhidesidemenu .button::before -{ - mask-image: url('images/menu.svg'); -} - -#showhideappoptions .button::before -{ - mask-image: url('images/three-dots-vertical.svg'); -} - - -.menu .button::before, .mobile.icon .button::before -{ - display: block; - content: ""; - background-size: 1em; - mask-repeat: no-repeat; - mask-size: contain; - height: 1.2em; - width: 1.2em; - opacity: 0.9; - background: __text_alt__; -} - -.menu .button:hover::before -{ - opacity: 1; -} - - - -.options -{ - display: flex; - gap: 16px; -} - - -navbar .options -{ - gap: 0px; -} - -navbar .options .menu -{ - padding: 8px; -} - -.mobile.icon -{ - display: none; - cursor: pointer; -} - -.mobile-menu -{ - display: none; -} - -/* Correcting Dokuwiki defaults */ -ul.actions, .dokuwiki .editBar .editButtons -{ - display: flex; - gap: 10px; - flex-wrap: wrap; -} -#wiki__editbar -{ - margin-top: 15px; - display: flex; - flex-direction: column; - gap: 15px; -} - -div#sidebar -{ - width: var(--sidebar-width); - border-right: 1px solid var(--border-color); - flex-shrink:0; - flex-grow: 0; -} - -article#content -{ - position: relative; -} - -#dw__toc -{ - background-color: transparent; - border: none; - position: absolute; - right: 0px; - width: 15em; -} - -#dw__toc>div -{ - background-color: var(--background); - border: 1px solid var(--border-color); - border-radius: 3px; - margin-top: 28px; - width: 100%; - padding: 0.5em 1em; -} - -article#content #dw__toc .toggle::before -{ - display: block; - content: ""; - width: 24px; - height: 24px; - background: __text_alt__; - mask: url('images/bullets.svg'); - mask-size: contain; - cursor: pointer; - opacity: 0.7; - position: absolute; - right: 0px; -} - -article#content #dw__toc .toggle -{ - height: 0px; - margin: 0px; - padding: 0px; - overflow: hidden; -} - -#dw__toc -{ - display: none; -} - -#config__manager fieldset, #config__manager tr.default .input, #config__manager .value input, -#config__manager tr.default .input, #config__manager tr.default input, #config__manager tr.default textarea, #config__manager tr.default select, #config__manager .selectiondefault -{ - background: none; -} - -#config__manager .value input, #config__manager .value select, #config__manager .value textarea -{ - border: 1px solid var(--border-color); - padding: 0.5em 1em; - -} -#config__manager .value input:focus, #config__manager .value select:focus, #config__manager .value textarea:focus -{ - border: 1px solid #00b7ff; - background-color: var(--background); - box-shadow: none; -} - -.dokuwiki #config__manager table.inline tr:hover td -{ - background-color: var(--background); -} - -.dokuwiki .editBar .summary -{ - margin-bottom: 16px; -} - -.dokuwiki .editBar .summary input -{ - background: var(--background); - border: 1px solid var(--border-color); - padding: 0.2em 0.5em; - border-radius: 3px; - margin-left: 10px; - margin-right: 10px; -} - -.dokuwiki .editBar .summary input.missing -{ - background: none; - border-color: red; - -} - -pre.code -{ - padding: 0.5em 1em; -} - -#dw__toc ul li div.li -{ - padding: 0.25em; -} - - -.dokuwiki.stoc #dw__toc -{ - position: sticky; - top: 10px; -} diff --git a/templates/55/minimal/css/content.css b/templates/55/minimal/css/content.css deleted file mode 100644 index edd8fab..0000000 --- a/templates/55/minimal/css/content.css +++ /dev/null @@ -1,169 +0,0 @@ -/** - * This file provides the main design styles for the page content. - * - * @author Anika Henke - * @author Andreas Gohr - */ - - -/*____________ section indenting ____________ - -.dokuwiki .page h1 {margin-left: 0;} -.dokuwiki .page h2 {margin-left: .666em;} -.dokuwiki .page h3 {margin-left: 1.776em;} -.dokuwiki .page h4 {margin-left: 3em;} -.dokuwiki .page h5 {margin-left: 4.5712em;} -.dokuwiki .page div.level1 {margin-left: 0;} -.dokuwiki .page div.level2 {margin-left: 1em;} -.dokuwiki .page div.level3 {margin-left: 2em;} -.dokuwiki .page div.level4 {margin-left: 3em;} -.dokuwiki .page div.level5 {margin-left: 4em;} - -[dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;} -[dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;} -[dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;} -[dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;} -[dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;} -[dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;} -[dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;} -[dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;} -[dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;} -[dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;} -*/ -/* hx margin-left = (1 / font-size) * .levelx-margin */ - - -/*____________ links to wiki pages (addition to _links) ____________*/ - -/* existing wikipage */ -.dokuwiki a.wikilink1 { - color: __existing__; - background-color: inherit; -} -/* not existing wikipage */ -.dokuwiki a.wikilink2 { - color: __missing__; - background-color: inherit; -} - - -/*____________ images ____________*/ - -/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */ -.dokuwiki img.media { - margin: .2em 0; -} -.dokuwiki img.medialeft { - margin: .2em 1.5em .2em 0; -} -.dokuwiki img.mediaright { - margin: .2em 0 .2em 1.5em; -} -.dokuwiki img.mediacenter { - margin: .2em auto; -} - - -/*____________ tables ____________*/ - -/* div before each table */ -.dokuwiki div.table { -} - -.dokuwiki table.inline { - min-width: 50%; -} -.dokuwiki table.inline tr:hover td { - background-color: __background_alt__; -} -.dokuwiki table.inline tr:hover th { - background-color: __border__; -} - - -/*____________ code ____________*/ - -/* fix if background-color hides underlining */ -.dokuwiki em.u code { - text-decoration: underline; -} - -/* filenames for downloadable file and code blocks */ -.dokuwiki dl.code, -.dokuwiki dl.file { -} - -.dokuwiki dl.code dt, -.dokuwiki dl.file dt { - background-color: __background_alt__; - border: solid __border__; - border-width: 1px 1px 0; - color: inherit; - display: inline; - padding: .1em .5em .2em; - margin-left: 1em; -} -[dir=rtl] .dokuwiki dl.code dt, -[dir=rtl] .dokuwiki dl.file dt { - margin-left: 0; - margin-right: 1em; -} -.dokuwiki dl.code dt a, -.dokuwiki dl.file dt a { -} - -.dokuwiki dl.code dd, -.dokuwiki dl.file dd { - margin: 0; -} - -/* for code in */ -.dokuwiki pre.file, -.dokuwiki dl.file pre, -.dokuwiki dl.file dt { - border-color: __text_neu__; -} - - -/*____________ media manager ____________*/ - -/* some headings in the media manager should not look like headings */ -#mediamanager__page h2, -#mediamanager__page h3 { - font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; - color: __text__; -} - -/* to style button-like div in _fileuploader.css to look like other buttons, - please add '.qq-upload-button' to the according styles (which don't really exist in this template) */ -.qq-upload-button { - border: 1px solid __border__; - background-color: __background_alt__; - padding: 0.125em 0.4em; -} - -/*____________ styling plugin ____________*/ - -#plugin__styling.ispopup { - padding: 1em; -} - - -/*____________ JS popup ____________*/ - -.JSpopup { - background-color: __background__; - color: __text__; - border: 1px solid __border__; - line-height: 1.2; - padding: 0 .2em; -} - -.JSpopup ul, -.JSpopup ol { - padding-left: 0; -} -[dir=rtl] .JSpopup ul, -[dir=rtl] .JSpopup ol { - padding-right: 0; -} diff --git a/templates/55/minimal/css/mobile.css b/templates/55/minimal/css/mobile.css deleted file mode 100644 index d6be4a6..0000000 --- a/templates/55/minimal/css/mobile.css +++ /dev/null @@ -1,120 +0,0 @@ -/*For mobile */ -@media screen and (max-width: __mobile_breakpoint__) { - #view.right-column { - padding: 16px; - } - #main .container { - flex-direction: column; - } - - #main .left-column { - width: 100%; - display: none; - } - - #main .right-column { - width: 100%; - } - - #navbar .left-column { - flex-grow: 1; - } - #navbar .right-column { - width: 100%; - padding: 20px; - } - - .table-responsive table { - min-width: 800px; - } - - #navbar .left-column a.site-name - { - margin: auto; - } - - /*Nav bar for mobile */ - .mobile.icon { - display: flex; - align-items: center; - padding: 16px; - } - - - #sidebar { - width: 100%; - display: none; - } - - #navbar .right-column { - background: rgb(255, 255, 255); - position: absolute; - flex-direction: column-reverse; - right: 0px; - z-index: 1099; - align-items: baseline; - width: 100%; - top: 60px; - display: none; - } - - #navbar .right-column .icon, #navbar .right-column a.navitem - { - display: flex; - gap: 16px; - } - - #navbar .right-column .icon.dropdown-toggle::after - { - align-self: center; - } - - #qsearch__in, .search, #qsearch__out - { - width: 100%; - } - - navbar .right-column .options - { - flex-direction: column; - } - - navbar .right-column .menu:not(.mobile-menu) - { - display: none; - } - - navbar .right-column .mobile-menu.menu, .mobile-menu.menu .list - { - display: block; - } - navbar .right-column .options - { - width: 100%; - } - - navbar .right-column .mobile-menu - { - padding: 0px; - border: none; - display: flex; - flex-direction: column; - } - - .mobile-menu.menu .list - { - position: relative; - top: 0px; - border: none; - z-index: 1; - - } - - .dokuwiki .wrap_box.wrap_side.wrap_big, .dokuwiki .wrap_box.wrap_side - { - width: 100%; - margin-left: 0px; - margin-right: 0px; - } - -} \ No newline at end of file diff --git a/templates/55/minimal/css/print.css b/templates/55/minimal/css/print.css deleted file mode 100644 index 7f74c8c..0000000 --- a/templates/55/minimal/css/print.css +++ /dev/null @@ -1,161 +0,0 @@ -/** - * This file provides the styles for printing. - * - * @todo: improve and finish - */ - -body { - font: sans-serif; - background-color: #fff; - color: #000; -} - -/* hide certain sections */ -audio, -video, -#dokuwiki__header .tools, -#dokuwiki__aside, -.dokuwiki .breadcrumbs, -.dokuwiki .toc, -#dw__toc, -#dokuwiki__pagetools, -#dokuwiki__footer { - display: none; -} - -h1, -h2, -h3, -h4, -h5, -caption, -legend { - clear: both; -} - -ul { - list-style: disc outside; -} -ol { - list-style: decimal outside; -} -ol ol { - list-style-type: lower-alpha; -} -ol ol ol { - list-style-type: upper-roman; -} -ol ol ol ol { - list-style-type: upper-alpha; -} -ol ol ol ol ol { - list-style-type: lower-roman; -} - -/* undo icons */ -a:link, -a:visited { - text-decoration: none; - border-bottom: 1pt dotted; - color: #333; - background-color: inherit; - background-image: none; - padding: 0; -} - -/* display href after link */ -a.urlextern:after, -a.interwiki:after, -a.mail:after { - content: " [" attr(href) "]"; - font-size: 90%; -} - -/* code blocks */ -pre { - font-family: monospace; -} -dl.code dt, -dl.file dt { - font-weight: bold; -} - -/* images */ -img, -svg { - border-width: 0; - vertical-align: middle; -} -img.media { - margin: .2em 0; -} -img.medialeft { - margin: .2em 1.5em .2em 0; -} -img.mediaright { - margin: .2em 0 .2em 1.5em; -} -img.mediacenter { - margin: .2em auto; -} - -mark { - font-weight: bold; -} - -blockquote { - padding: 0 10pt; - margin: 0; - border: solid #ccc; - border-width: 0 0 0 2pt; -} -[dir=rtl] blockquote { - border-width: 0 2pt 0 0; -} - -/* tables */ -table { - border-collapse: collapse; - empty-cells: show; - border-spacing: 0; - border: 1pt solid #ccc; -} -th, -td { - padding: 3pt 5pt; - margin: 0; - vertical-align: top; - border: 1pt solid #666; - text-align: left; -} -[dir=rtl] th, -[dir=rtl] td { - text-align: right; -} -th { - font-weight: bold; -} - - -/*____________ a bit of layout ____________*/ - -#dokuwiki__header { - border-bottom: 2pt solid #ccc; -} -#dokuwiki__header h1 { - font-size: 1.5em; -} -#dokuwiki__header h1 a { - text-decoration: none; -} -.dokuwiki div.footnotes { - clear: both; - border-top: 1pt solid #000; - margin-top: 10pt; -} - - -navbar, .site-header, footer, .page-info, #sidebar -{ - display: none; -} diff --git a/templates/55/minimal/css/prosemirror.css b/templates/55/minimal/css/prosemirror.css deleted file mode 100644 index e8c5965..0000000 --- a/templates/55/minimal/css/prosemirror.css +++ /dev/null @@ -1,13 +0,0 @@ -.ProseMirror -{ - padding: 16px; -} - -.prosemirror_wrapper .menubar.prosemirror-menubar-fixed - -{ - position: sticky; - border: none; - border: 1px solid #ccc; - padding: 0px; -} \ No newline at end of file diff --git a/templates/55/minimal/css/themes.less b/templates/55/minimal/css/themes.less deleted file mode 100644 index 1c4562d..0000000 --- a/templates/55/minimal/css/themes.less +++ /dev/null @@ -1,212 +0,0 @@ -/** - * This file provides the colour css for themes. - */ - - -body.theme-dark -{ - --background: #333; - --background-alt: #555; - --text-color: #eee; - --text-color-alt: #999; - --border-color: #666; - --link-color: #abccff; - - navbar a.site-name, navbar a.site-name:hover - { - color: #eee; - } - - *:not(.ui-dialog):not(.ui-dialog *) - { - a.wikilink2 - { - color: #ff9a79; - } - - a.wikilink1 - { - color: #9dff9d; - } - } - -} - - -body.theme-terminal -{ - --background: #111; - --background-alt: #050; - --text-color: #0c0; - --text-color-alt: #0a0; - --border-color: #070; - --link-color: #0c0; - - font-family: Monospace, Sans-serif; - - navbar a.site-name, navbar a.site-name:hover - { - color: #0c0; - } - - *:not(.ui-dialog):not(.ui-dialog *) - { - a.wikilink2, a.wikilink1 - { - text-decoration: underline; - } - - } - -} - - -/*Corrections which are common for all themes */ - - -body.theme-dark, body.theme-terminal -{ - navbar form.search button - { - filter: invert(100%); - } - - /* For body elements not in navbar / footer */ - *:not(.ui-dialog):not(.ui-dialog *) - { - - input, input.edit - { - background-color: var(--background); - border: 1px solid var(--border-color); - color: var(--text-color); - } - - - div.ui-admin ul li a span.icon svg>path - { - fill: var(--link-color); - } - - - .menu .list li > a:hover - { - background-color: var(--background-alt); - } - - .menu .list li > a svg - { - fill: var(--text-color-alt) - } - .menu .button - { - color: var(--text-color-alt); - } - - .menu .button::before, .mobile.icon .button::before - { - background: var(--text-color-alt); - } - - button:not(form.search button) - { - background: var(--background-alt); - color: var(--text-color); - border: 1px solid var(--border-color); - border-radius: 0.1em; - } - - #extension__manager .panelHeader - { - background: var(--background-alt); - color: var(--text-color); - } - - .tabs > ul li a, ul.tabs li strong, ul.tabs li a, .tabs > ul li a:hover, .tabs > ul li a:active, .tabs > ul li a:focus, .tabs > ul li .curid a, .tabs > ul .active a, ul.tabs li a:hover, ul.tabs li a:active, ul.tabs li a:focus, ul.tabs li.active a, ul.tabs li strong - { - background: var(--background-alt); - color: var(--text-color); - } - - #extension__manager ul.tabs li.active a, #extension__manager ul.tabs li:hover, - { - background: var(--background-alt); - color: var(--text-color); - filter: brightness(125%); - - } - - #mediamanager__page .panelHeader, #mediamanager__page .file dl dt, #mediamanager__page .namespaces h2 - { - background: var(--background-alt); - color: var(--text-color); - } - - #mediamanager__page .file dl dd - { - background: var(--background); - color: var(--text-color); - } - - #mediamanager__page .filelist .thumbs li, #mediamanager__page .filelist .rows li:nth-child(2n+1), #mediamanager__page .namespaces ul .selected - { - background: var(--background-alt); - color: var(--text-color); - } - - - - .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus, .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active - { - background: var(--background); - color: var(--text-color); - } - - .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover - { - background: var(--background-alt); - color: var(--text-color); - } - - fieldset - { - border-color: var(--border-color); - } - - .prosemirror_wrapper - { - - .ProseMirror li p - { - color: var(--text-color) !important; - } - - .menubar - { - background: var(--background-alt); - } - - .menubar .menuitem .menuicon svg - { - fill: var(--text-color); - } - - .menubar .menuitem.is-disabled .menuicon svg - { - fill: var(--text-color-alt); - } - - .menubar .dropdown_content - { - background: var(--background-alt); - } - - .menubar .menulabel - { - color: var(--text-color); - } - } - -} - -} diff --git a/templates/55/minimal/css/wrap_classes.less b/templates/55/minimal/css/wrap_classes.less deleted file mode 100644 index 277d26e..0000000 --- a/templates/55/minimal/css/wrap_classes.less +++ /dev/null @@ -1,107 +0,0 @@ -/** - * This file provides use full classes to be used with the Wrap Plugin. - */ - -/*Boxes custom*/ - -.dokuwiki - -{ - -div.wrap_box -{ - margin-top:1em; - margin-bottom:1em; - background: #eee; - border: 1px solid #ccc; - padding: 0.5em 0.75em; - box-sizing:border-box; - border-radius: 3px; -} - -.wrap_box>*:first-child -{ - margin-top:0; -} -.wrap_box>*:last-child -{ - margin-bottom:0; -} - -.site-header .wrap_box:only-child -{ - margin: 0px; -} - -.wrap_box.wrap_white -{ - background: #fff; - border: 1px solid #ccc; -} - - -.wrap_box.wrap_red -{ - background: #ffe3e3; - border: 1px solid #ffcfcf; - -} - -.wrap_box.wrap_blue -{ - background: #e3f2fd; - border: 1px solid #c2e5fe; -} - -.wrap_box.wrap_green -{ - background: #dcfdd5; - border: 1px solid #b8efac; -} - -.wrap_box.wrap_yellow -{ - background: #ffa; - border: 1px solid #ee0; -} - -.wrap_box.wrap_pink -{ - background: #fce4f3; - border: 1px solid #feceec; -} -.wrap_box.wrap_purple -{ - background: #f3e5f5; - border: 1px solid #e7cceb; -} - -/* Side boxes */ - -.wrap_box.wrap_side -{ - width:__sidebox_width__; - margin-top:0; - margin-bottom:0.wrap_5em; - float:right; - margin-left:0.5em; -} - - -.wrap_box.wrap_side.wrap_left -{ - float: left; - margin-right:0.5em; -} - -.wrap_box img -{ - max-width:100%; - height:auto; -} -.wrap_nb -{ - border:none !important; -} - -} diff --git a/templates/55/minimal/detail.php b/templates/55/minimal/detail.php deleted file mode 100644 index 34b7953..0000000 --- a/templates/55/minimal/detail.php +++ /dev/null @@ -1,98 +0,0 @@ - - * @author Anika Henke - * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) - */ - -// must be run from within DokuWiki -if (!defined('DOKU_INC')) die(); - -@require_once(dirname(__FILE__).'/template_plugin.php'); /* include hook for template functions */ - -?> - - - - - <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> - [<?php echo strip_tags($conf['title'])?>] - - - - - - - - -> -
- - - - - -
- -

- - - -
-

- - - - -
- $tag){ - $t = array(); - if (!empty($tag[0])) { - $t = array($tag[0]); - } - if(is_array($tag[3])) { - $t = array_merge($t,$tag[3]); - } - $value = tpl_img_getTag($t); - if ($value) { - echo '
'.$lang[$tag[1]].':
'; - if ($tag[2] == 'date') { - echo dformat($value); - } else { - echo hsc($value); - } - echo '
'; - } - } - ?> -
- - -
-
- - - - -
- - diff --git a/templates/55/minimal/images/apple-touch-icon.png b/templates/55/minimal/images/apple-touch-icon.png deleted file mode 100644 index 45fa4e7..0000000 Binary files a/templates/55/minimal/images/apple-touch-icon.png and /dev/null differ diff --git a/templates/55/minimal/images/bullets.svg b/templates/55/minimal/images/bullets.svg deleted file mode 100644 index 22dfa0a..0000000 --- a/templates/55/minimal/images/bullets.svg +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/templates/55/minimal/images/case.svg b/templates/55/minimal/images/case.svg deleted file mode 100644 index 6a26969..0000000 --- a/templates/55/minimal/images/case.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/check.svg b/templates/55/minimal/images/check.svg deleted file mode 100644 index 1969493..0000000 --- a/templates/55/minimal/images/check.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/document-text.svg b/templates/55/minimal/images/document-text.svg deleted file mode 100644 index 2b9a68d..0000000 --- a/templates/55/minimal/images/document-text.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/favicon.ico b/templates/55/minimal/images/favicon.ico deleted file mode 100644 index 8b9616a..0000000 Binary files a/templates/55/minimal/images/favicon.ico and /dev/null differ diff --git a/templates/55/minimal/images/menu-dots.svg b/templates/55/minimal/images/menu-dots.svg deleted file mode 100644 index 80eff55..0000000 --- a/templates/55/minimal/images/menu-dots.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/menu.svg b/templates/55/minimal/images/menu.svg deleted file mode 100644 index 335cb31..0000000 --- a/templates/55/minimal/images/menu.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/search.svg b/templates/55/minimal/images/search.svg deleted file mode 100644 index d777b55..0000000 --- a/templates/55/minimal/images/search.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/server.svg b/templates/55/minimal/images/server.svg deleted file mode 100644 index 2364cfc..0000000 --- a/templates/55/minimal/images/server.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/three-dots-vertical.svg b/templates/55/minimal/images/three-dots-vertical.svg deleted file mode 100644 index 9aa4411..0000000 --- a/templates/55/minimal/images/three-dots-vertical.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/55/minimal/images/user-circle.svg b/templates/55/minimal/images/user-circle.svg deleted file mode 100644 index 1e8141f..0000000 --- a/templates/55/minimal/images/user-circle.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/templates/55/minimal/lang/en/lang.php b/templates/55/minimal/lang/en/lang.php deleted file mode 100644 index 64cb6d6..0000000 --- a/templates/55/minimal/lang/en/lang.php +++ /dev/null @@ -1,15 +0,0 @@ - - * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) - */ - -if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ - -@require_once(dirname(__FILE__).'/template_plugin.php'); /* include hook for template functions */ - -$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) ); -$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); -?> - - - - - - <?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>] - - - - - - - - - -
- -
-
-
- - -
- -
- getItems())>0):?> - - - getItems())>0):?> - - - getItems())>0):?> - - - -
- - - - -
-
-
-
- -
- - - '; - } - ?> - - - - - - - - -
- - - - - - -
- - - '; - } - ?> - - - - - -
- - -
- - - -
- - - -
- - -
- - - - '; - tpl_include_page(':footer'); - echo ''; - } - ?> - -
-
- - '; - tpl_include_page(':footer'); - echo ''; - } - ?> - - diff --git a/templates/55/minimal/mediamanager.php b/templates/55/minimal/mediamanager.php deleted file mode 100644 index 01ae577..0000000 --- a/templates/55/minimal/mediamanager.php +++ /dev/null @@ -1,46 +0,0 @@ - - * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) - */ -// must be run from within DokuWiki -if (!defined('DOKU_INC')) die(); - -@require_once(dirname(__FILE__).'/template_plugin.php'); /* include hook for template functions */ - -?> - - - - - <?php echo hsc($lang['mediaselect'])?> - [<?php echo strip_tags($conf['title'])?>] - - - - - - - - -> -
- - - -
- -
-
- - diff --git a/templates/55/minimal/screenshots/boxes.png b/templates/55/minimal/screenshots/boxes.png deleted file mode 100644 index e3b286f..0000000 Binary files a/templates/55/minimal/screenshots/boxes.png and /dev/null differ diff --git a/templates/55/minimal/screenshots/minimal.png b/templates/55/minimal/screenshots/minimal.png deleted file mode 100644 index ff50281..0000000 Binary files a/templates/55/minimal/screenshots/minimal.png and /dev/null differ diff --git a/templates/55/minimal/screenshots/minimal_mobile_1.png b/templates/55/minimal/screenshots/minimal_mobile_1.png deleted file mode 100644 index ead0dc7..0000000 Binary files a/templates/55/minimal/screenshots/minimal_mobile_1.png and /dev/null differ diff --git a/templates/55/minimal/screenshots/sidebox.png b/templates/55/minimal/screenshots/sidebox.png deleted file mode 100644 index cf012d4..0000000 Binary files a/templates/55/minimal/screenshots/sidebox.png and /dev/null differ diff --git a/templates/55/minimal/script.js b/templates/55/minimal/script.js deleted file mode 100644 index d90c401..0000000 --- a/templates/55/minimal/script.js +++ /dev/null @@ -1,59 +0,0 @@ -jQuery(document).on('click', function(e) { - if (!jQuery(e.target).closest('.menu').length) { - jQuery('.menu:not(.mobile-menu) .list').hide(); - } - - if (!jQuery(e.target).closest('.dw__toc').length) { - jQuery('#dw__toc>div').hide(); - jQuery('#dw__toc>div>ul').hide(); - jQuery('#dw__toc').css('display','block'); - } -}); -jQuery('.menu:not(.mobile-menu)').on('click', function(e) { - jQuery('.menu:not(.mobile-menu) .list').not(jQuery(this).children('.list')).hide(); - jQuery(this).children('.list').slideToggle('fast'); -}); - -jQuery(document).ready(function(){ -jQuery('#dw__toc>div').hide(); -jQuery('#dw__toc>div>ul').hide(); -jQuery('#dw__toc').css('display','block'); -}); - - -jQuery("#showhidesidemenu").on("click", () => { - - if(jQuery("#sidebar").css("display") == "none") - { - jQuery("#navbar .right-column").css("display","none"); - jQuery("#sidebar").css("display","flex"); - jQuery("#view, .site-header, #footer").css("display","none"); - } - else - { - jQuery("#navbar .right-column").css("display","none"); - jQuery("#sidebar").css("display","none"); - jQuery("#view, .site-header, #footer").css("display","flex"); - } - - - -}); - -jQuery("#showhideappoptions").on("click", () => { - - - if(jQuery("#navbar .right-column").css("display") == "none") - { - jQuery("#navbar .right-column").css("display","flex"); - jQuery("#sidebar").css("display","none"); - jQuery("#view, .site-header, #footer").css("display","none"); - } - else - { - jQuery("#navbar .right-column").css("display","none"); - jQuery("#sidebar").css("display","none"); - jQuery("#view, .site-header, #footer").css("display","flex"); - } - -}); \ No newline at end of file diff --git a/templates/55/minimal/style.ini b/templates/55/minimal/style.ini deleted file mode 100644 index de641dc..0000000 --- a/templates/55/minimal/style.ini +++ /dev/null @@ -1,91 +0,0 @@ -; Please see https://www.php.net/manual/en/function.parse-ini-file.php -; for limitations of the ini format used here - -; To extend this file or make changes to it, it is recommended to create -; a local conf/tpl//style.ini file to prevent losing -; any changes after an upgrade. -; Please don't forget to copy the section your changes should be under -; (i.e. [stylesheets] or [replacements]) into that file as well. - -; Define the stylesheets your template uses here. The second value -; defines for which output media the style should be loaded. Currently -; print, screen and all are supported. -; You can reference CSS and LESS files here. Files referenced here will -; be checked for updates when considering a cache rebuild while files -; included through LESS' @import statements are not - -[stylesheets] - -; load styles from the default 'dokuwiki' template -; some of these have been renamed from *.css to *.less -; but .css still loads the same file and is backwards compatible -../dokuwiki/css/_imgdetail.css = screen -../dokuwiki/css/_media_popup.css = screen -../dokuwiki/css/_media_fullscreen.css = screen -../dokuwiki/css/_fileuploader.css = screen -../dokuwiki/css/_tabs.css = screen -../dokuwiki/css/_links.css = screen -../dokuwiki/css/_toc.css = screen -../dokuwiki/css/_footnotes.css = screen -../dokuwiki/css/_search.less = screen -../dokuwiki/css/_recent.css = screen -../dokuwiki/css/_diff.css = screen -../dokuwiki/css/_edit.css = screen -../dokuwiki/css/_modal.css = screen -../dokuwiki/css/_forms.css = screen -../dokuwiki/css/_admin.less = screen - -; load the rest of the styles -css/basic.css = all -css/themes.css = all -css/wrap_classes.css = all -css/prosemirror.css = screen - -css/mobile.css = all -css/print.css = print - - -; This section is used to configure some placeholder values used in -; the stylesheets. Changing this file is the simplest method to -; give your wiki a new look. -; Placeholders defined here will also be made available as LESS variables -; (with surrounding underscores removed, and the prefix @ini_ added) - -[replacements] - -;-------------------------------------------------------------------------- -;------ guaranteed dokuwiki color placeholders that every plugin can use - -; main text and background colors -__title_color__ = "#333" - -__text__ = "#333" ; @ini_text -__background__ = "#fff" ; @ini_background - -; alternative text and background colors -__text_alt__ = "#777" ; @ini_text_alt -__background_alt__ = "#eee" ; @ini_background_alt - -; border color -__border__ = "#ccc" ; @ini_border - -; highlighted text (e.g. search snippets) -__highlight__ = "#ff9" ; @ini_highlight - -; link color -__link__ = "#245db6" ; @ini_link - -;-------------------------------------------------------------------------- - -; these are used for other links -__existing__ = "#090" ; @ini_existing -__missing__ = "#c30" ; @ini_missing - -; widths -__site_width__ = "64em" ; @ini_site_width -__sidebar_width__ = "16em" ; @ini_sidebar_width -__mobile_breakpoint__ = "800px" ; @ini_mobile_breakpoint -__sidebox_width__ = "300px" ; @ini_sidebox_width - -; color of the web app (used by the core, not by the template) -__theme_color__ = "#fff" ; @ini_theme_color \ No newline at end of file diff --git a/templates/55/minimal/template.info.txt b/templates/55/minimal/template.info.txt deleted file mode 100644 index cacd573..0000000 --- a/templates/55/minimal/template.info.txt +++ /dev/null @@ -1,7 +0,0 @@ -base minimal -author Reactive Matter -email reactivematter@protonmail.com -date 2025-03-30 -name Minimal -desc A minimial template to quick start a Dokuwiki -url https://www.dokuwiki.org/template:minimal \ No newline at end of file diff --git a/templates/55/minimal/template_plugin.php b/templates/55/minimal/template_plugin.php deleted file mode 100644 index 1c4a778..0000000 --- a/templates/55/minimal/template_plugin.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) - */ - -// must be run from within DokuWiki -if (!defined('DOKU_INC')) die(); - -// must be run from within DokuWiki -if (!defined('DOKU_INC')) die(); - -function tpl_minimal_classes() -{ - global $conf, $ACT; - $theme = ''; - if(tpl_getConf('theme')!='Default') - { - $theme = ' theme-'.strtolower(tpl_getConf('theme')); - } - - $toc = tpl_getConf('stickyToc')?' stoc':''; - $width = tpl_getConf('fullWidthSite')?' full-width':''; - $sidebar = (page_findnearest($conf['sidebar']) && ($ACT=='show')) ? ' sidebar' : ''; - return tpl_classes().$toc.$width.$sidebar.$theme; -} - - diff --git a/templates/55/minimal/theme.ini b/templates/55/minimal/theme.ini deleted file mode 100644 index 8f22b5b..0000000 --- a/templates/55/minimal/theme.ini +++ /dev/null @@ -1,3 +0,0 @@ -[Replacements] -__text__ = "#333" -__background__ = "#000" \ No newline at end of file