Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update backpack template to Dokuwiki version 2009-12-25

Initially, this was posted as a patch on this page:

http://www.dokuwiki.org/template:backpack
  • Loading branch information...
commit 690169453cfb2aaf66ff450b921c378bab7f8e05 1 parent e27bf5f
@wsmith1 authored
View
43 _admin.css
@@ -0,0 +1,43 @@
+
+.dokuwiki ul.admin_tasks {
+ font-size: 115%;
+ float: left;
+ width: 40%;
+ list-style-type: none;
+}
+
+.dokuwiki ul.admin_tasks li {
+ line-height: 22px;
+ padding-left: 35px;
+ margin: 1em 0;
+ background: transparent none no-repeat scroll 0 0;
+ text-align: left;
+}
+
+.dokuwiki ul.admin_tasks li div.li {
+ font-weight: bold;
+}
+
+.dokuwiki ul.admin_tasks li.admin_acl {
+ background-image: url(../../images/admin/acl.png);
+}
+
+.dokuwiki ul.admin_tasks li.admin_usermanager {
+ background-image: url(../../images/admin/usermanager.png);
+}
+
+.dokuwiki ul.admin_tasks li.admin_plugin {
+ background-image: url(../../images/admin/plugin.png);
+}
+
+.dokuwiki ul.admin_tasks li.admin_config {
+ background-image: url(../../images/admin/config.png);
+}
+
+.dokuwiki ul.admin_tasks li.admin_revert {
+ background-image: url(../../images/admin/revert.png);
+}
+
+.dokuwiki ul.admin_tasks li.admin_popularity {
+ background-image: url(../../images/admin/popularity.png);
+}
View
68 _linkwiz.css
@@ -0,0 +1,68 @@
+#link__wiz {
+ position: absolute;
+ display: block;
+ z-index: 99;
+ width: 300px;
+ height: 250px;
+ padding: 0;
+ margin: 0;
+ overflow: hidden;
+ border: 1px solid __border__;
+ background-color: __background_neu__;
+ text-align: center;
+}
+
+#link__wiz_header {
+ background-color: __background_alt__;
+ height: 16px;
+ margin-bottom: 5px;
+}
+
+#link__wiz_close {
+ cursor: pointer;
+ margin: 0;
+}
+
+#link__wiz_result {
+ background-color: __background__;
+ width: 293px;
+ height: 193px;
+ overflow: auto;
+ border: 1px solid __border__;
+ margin: 3px auto;
+ text-align: left;
+}
+
+#link__wiz_result div.type_u {
+ padding: 3px 3px 3px 22px;
+ background: transparent url(../../images/up.png) 3px 3px no-repeat;
+}
+
+#link__wiz_result div.type_f {
+ padding: 3px 3px 3px 22px;
+ background: transparent url(../../images/page.png) 3px 3px no-repeat;
+}
+
+#link__wiz_result div.type_d {
+ padding: 3px 3px 3px 22px;
+ background: transparent url(../../images/ns.png) 3px 3px no-repeat;
+}
+
+#link__wiz_result div.even {
+ background-color: __background_neu__;
+}
+
+#link__wiz_result div.selected {
+ background-color: __background_alt__;
+}
+
+#link__wiz_result span {
+ display: block;
+ color: __text_neu__;
+}
+
+/*FIXME maybe move to a more general style sheet*/
+.ondrag {
+ cursor: move;
+ opacity: 0.8;
+}
View
80 design.css
@@ -141,6 +141,7 @@ div.dokuwiki textarea.edit[disabled],
div.dokuwiki textarea.edit[readonly],
div.dokuwiki input.edit[disabled],
div.dokuwiki input.edit[readonly],
+div.dokuwiki input.button[disabled],
div.dokuwiki select.edit[disabled] {
background-color: __background_neu__!important;
color: __text_neu__!important;
@@ -416,11 +417,11 @@ div.dokuwiki h4 {font-size: 120%; margin-left: 0px; border-bottom: none; font-we
div.dokuwiki h5 {font-size: 100%; margin-left: 0px; border-bottom: none; font-weight: bold;}
div.dokuwiki h2 a {background:#fff;padding:0 5px;}
/* indent different sections */
-div.dokuwiki div.level1 {margin-left: 3px;}
-div.dokuwiki div.level2 {margin-left: 3px;}
-div.dokuwiki div.level3 {margin-left: 3px;}
-div.dokuwiki div.level4 {margin-left: 3px;}
-div.dokuwiki div.level5 {margin-left: 3px;}
+div.dokuwiki div.level1 { margin-left: 3px; }
+div.dokuwiki div.level2 { margin-left: 3px; }
+div.dokuwiki div.level3 { margin-left: 3px; }
+div.dokuwiki div.level4 { margin-left: 3px; }
+div.dokuwiki div.level5 { margin-left: 3px; }
/* unordered lists */
div.dokuwiki ul {
@@ -440,12 +441,10 @@ div.dokuwiki ol {
font-weight: bold;
}
-/* no gap in between nested lists */
-div.dokuwiki li ul {
- margin-bottom: 0;
-}
+/* no bottom gap in between and smaller left margin for nested lists */
+div.dokuwiki li ul,
div.dokuwiki li ol {
- margin-bottom: 0;
+ margin: 0 0 0 1.5em;
}
/* the list items overriding the ul/ol definition */
@@ -454,10 +453,10 @@ div.dokuwiki .li {
font-weight: normal;
}
-div.dokuwiki ol {list-style-type: decimal}
-div.dokuwiki ol ol {list-style-type: upper-roman}
-div.dokuwiki ol ol ol {list-style-type: lower-alpha}
-div.dokuwiki ol ol ol ol {list-style-type: lower-greek}
+div.dokuwiki ol { list-style-type: decimal; }
+div.dokuwiki ol ol { list-style-type: upper-roman; }
+div.dokuwiki ol ol ol { list-style-type: lower-alpha; }
+div.dokuwiki ol ol ol ol { list-style-type: lower-greek; }
div.dokuwiki li.open {
list-style-image: url(images/open.gif);
@@ -492,16 +491,47 @@ div.dokuwiki pre.code {
background-color: __background_other__;
}
-/* inline code words */
-div.dokuwiki code {
- font-size: 120%;
-}
-
/* code blocks by file tag */
div.dokuwiki pre.file {
background-color: __background_alt__;
}
+/* filenames for file and code blocks */
+div.dokuwiki dl.file,
+div.dokuwiki dl.code {
+ margin-top: 2em;
+ margin-bottom: 2.5em;
+}
+
+div.dokuwiki dl.file dt,
+div.dokuwiki dl.code dt {
+ border: 1px dashed __border__;
+ display: inline;
+ padding: 0.1em 1em;
+ margin-left: 2em;
+}
+
+div.dokuwiki dl.code dt a,
+div.dokuwiki dl.file dt a {
+ color: __text__;
+}
+
+div.dokuwiki dl.code dt {
+ background-color: __background_other__;
+ border-bottom: 1px solid __background_other__;
+}
+
+div.dokuwiki dl.file dt {
+ background-color: __background_alt__;
+ border-bottom: 1px solid __background_alt__;
+}
+
+
+/* inline code words */
+div.dokuwiki code {
+ font-size: 120%;
+}
+
/* inline tables */
div.dokuwiki table.inline {
background-color: __background__;
@@ -719,10 +749,14 @@ div.dokuwiki ul.search_quickhits {
div.dokuwiki ul.search_quickhits li {
margin: 0 1.0em 0 1.0em;
- float:left;
+ float: left;
width: 30%;
}
+div.dokuwiki div.section_highlight {
+ background-color: __background_alt__;
+}
+
/* ------------------ Additional ---------------------- */
div.footerinc {
@@ -773,6 +807,10 @@ div.picker {
background-color: __background_alt__;
}
+div.pk_hl {
+ width: 125px;
+}
+
button.pickerbutton {
padding: 0px;
margin: 0 1px 1px 0;
@@ -804,6 +842,6 @@ div.dokuwiki div.imagemeta {
}
div.dokuwiki div.imagemeta img.thumb {
- float:left;
+ float: left;
margin-right: 0.1em;
}
View
2  detail.php
@@ -53,7 +53,7 @@
<dl class="img_tags">
<?php
$t = tpl_img_getTag('Date.EarliestTime');
- if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.strftime($conf['dformat'],$t).'</dd>';
+ if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.dformat($t).'</dd>';
$t = tpl_img_getTag('File.Name');
if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>';
View
BIN  images/button-php.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
8 layout.css
@@ -68,10 +68,10 @@ div.dokuwiki .bar-right {
div.dokuwiki #bar__bottom {
border-bottom: 1px solid __border__;
border-bottom: 0px;
- margin-bottom:0px;
- background:#f5f5f5;
- border-top:1px solid #eee;
- margin-top:10px;
+ margin-bottom: 0px;
+ background: #f5f5f5;
+ border-top: 1px solid #eee;
+ margin-top: 10px;
}
div.dokuwiki .breadcrumbs {
margin-bottom:10px;
View
1  main.php
@@ -113,6 +113,7 @@
<div class="bar-left" id="bar__bottomleft">
<?php tpl_button('edit')?>
<?php tpl_button('history')?>
+ <?php tpl_button('revert')?>
</div>
<div class="bar-right" id="bar__bottomright">
<?php tpl_button('subscribe')?>
View
2  media.css
@@ -35,7 +35,7 @@
/* --- Tree formatting --- */
#media__tree img {
- float:left;
+ float: left;
padding: 0.5em 0.3em 0 0;
}
View
74 print.css
@@ -7,26 +7,26 @@ body {
table {
font-size: 100%;
- padding:0;
- margin:0;
+ padding: 0;
+ margin: 0;
}
-tr,td,th {padding:0; margin:0;}
+tr,td,th { padding: 0; margin: 0; }
-img {border:0}
+img { border: 0; }
a {
- color:#000000;
- text-decoration:none;
+ color: #000000;
+ text-decoration: none;
background: none !important;
}
div.meta {
- clear:both;
+ clear: both;
margin-top: 1em;
- font-size:70%;
- text-align:right;
+ font-size: 70%;
+ text-align: right;
}
@@ -36,7 +36,7 @@ div.success,
div.error,
div.breadcrumbs,
div.secedit {
- display:none;
+ display: none;
}
/* --------------------- Text formating -------------------------------- */
@@ -60,7 +60,7 @@ a.mail:after {
}
/* existing wikilink */
-a.wikilink1 {text-decoration:underline }
+a.wikilink1 { text-decoration: underline; }
/* the document */
div.page {
@@ -83,15 +83,15 @@ h1, h2, h3, h4, h5 {
padding-top: 0.5em;
padding-bottom: 0;
border-bottom: 1px solid #000000;
- clear:left;
+ clear: left;
}
/* special headlines */
-h1 {font-size: 160%; font-weight: bold;}
-h2 {font-size: 150%; }
-h3 {font-size: 140%; border-bottom: none; }
-h4 {font-size: 120%; border-bottom: none; }
-h5 {font-size: 100%; border-bottom: none; }
+h1 { font-size: 160%; font-weight: bold; }
+h2 { font-size: 150%; }
+h3 { font-size: 140%; border-bottom: none; }
+h4 { font-size: 120%; border-bottom: none; }
+h5 { font-size: 100%; border-bottom: none; }
/* embedded images */
img.media {
@@ -133,10 +133,10 @@ div.dokuwiki li ol {
margin-bottom: 0;
}
-div.dokuwiki ol {list-style-type: decimal}
-div.dokuwiki ol ol {list-style-type: upper-roman}
-div.dokuwiki ol ol ol {list-style-type: lower-alpha}
-div.dokuwiki ol ol ol ol {list-style-type: lower-greek}
+div.dokuwiki ol { list-style-type: decimal; }
+div.dokuwiki ol ol { list-style-type: upper-roman; }
+div.dokuwiki ol ol ol { list-style-type: lower-alpha; }
+div.dokuwiki ol ol ol ol { list-style-type: lower-greek; }
/* the list items overriding the ol definition */
span.li {
@@ -176,29 +176,29 @@ pre.file {
}
/* footnotes */
-div.footnotes{
- clear:both;
+div.footnotes {
+ clear: both;
border-top: 1px solid #000000;
padding-left: 1em;
margin-top: 1em;
}
-div.fn{
- font-size:90%;
+div.fn {
+ font-size: 90%;
}
-a.fn_top{
- vertical-align:super;
- font-size:80%;
+a.fn_top {
+ vertical-align: super;
+ font-size: 80%;
}
-a.fn_bot{
- vertical-align:super;
- font-size:80%;
- font-weight:bold;
+a.fn_bot {
+ vertical-align: super;
+ font-size: 80%;
+ font-weight: bold;
}
-acronym{
+acronym {
border: 0;
}
@@ -222,17 +222,17 @@ table.inline td {
border: 1px solid #000000;
}
-.leftalign{
+.leftalign {
text-align: left;
}
-.centeralign{
+.centeralign {
text-align: center;
}
-.rightalign{
+.rightalign {
text-align: right;
}
-.toc, .footerinc, .header, .bar, .user {display:none}
+.toc, .footerinc, .header, .bar, .user { display: none; }
View
26 rtl.css
@@ -34,7 +34,7 @@ label.simple {
}
div.meta div.user {
- float: right
+ float: right;
}
div.meta div.doc {
@@ -72,18 +72,18 @@ div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki
}
/* special headlines */
-div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;}
-div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;}
-div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;}
-div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;}
-div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;}
+div.dokuwiki h1 { margin-left: 0px; margin-right: 0px; }
+div.dokuwiki h2 { margin-left: 0px; margin-right: 20px; }
+div.dokuwiki h3 { margin-left: 0px; margin-right: 40px; }
+div.dokuwiki h4 { margin-left: 0px; margin-right: 60px; }
+div.dokuwiki h5 { margin-left: 0px; margin-right: 80px; }
/* indent different sections */
-div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;}
-div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;}
-div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;}
-div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;}
-div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;}
+div.dokuwiki div.level1 { margin-left: 0px; margin-right: 3px; }
+div.dokuwiki div.level2 { margin-left: 0px; margin-right: 23px; }
+div.dokuwiki div.level3 { margin-left: 0px; margin-right: 43px; }
+div.dokuwiki div.level4 { margin-left: 0px; margin-right: 63px; }
+div.dokuwiki div.level5 { margin-left: 0px; margin-right: 83px; }
/* TOC control */
div.dokuwiki div.toc {
@@ -105,12 +105,12 @@ div.dokuwiki ul.toc {
div.dokuwiki ul.toc li {
background-position: right 0.6em;
- padding-right:0.4em;
+ padding-right: 0.4em;
direction: rtl;
}
div.dokuwiki ul.toc li.clear {
- padding-right:0.4em;
+ padding-right: 0.4em;
}
div.dokuwiki pre {
View
2  style.ini
@@ -11,6 +11,8 @@ design.css = screen
style.css = screen
media.css = screen
+_admin.css = screen
+_linkwiz.css = screen
rtl.css = rtl
print.css = print
Please sign in to comment.
Something went wrong with that request. Please try again.