Skip to content

Commit

Permalink
Update backpack template to Dokuwiki version 2009-12-25
Browse files Browse the repository at this point in the history
Initially, this was posted as a patch on this page:

http://www.dokuwiki.org/template:backpack
  • Loading branch information
wsmith1 committed Jun 5, 2011
1 parent e27bf5f commit 6901694
Show file tree
Hide file tree
Showing 11 changed files with 229 additions and 77 deletions.
43 changes: 43 additions & 0 deletions _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);
}
68 changes: 68 additions & 0 deletions _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;
}
80 changes: 59 additions & 21 deletions design.css
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -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 */
Expand All @@ -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);
Expand Down Expand Up @@ -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__;
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -773,6 +807,10 @@ div.picker {
background-color: __background_alt__;
}

div.pk_hl {
width: 125px;
}

button.pickerbutton {
padding: 0px;
margin: 0 1px 1px 0;
Expand Down Expand Up @@ -804,6 +842,6 @@ div.dokuwiki div.imagemeta {
}

div.dokuwiki div.imagemeta img.thumb {
float:left;
float: left;
margin-right: 0.1em;
}
2 changes: 1 addition & 1 deletion detail.php
Expand Up @@ -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>';
Expand Down
Binary file modified 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.
8 changes: 4 additions & 4 deletions layout.css
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions main.php
Expand Up @@ -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')?>
Expand Down
2 changes: 1 addition & 1 deletion media.css
Expand Up @@ -35,7 +35,7 @@
/* --- Tree formatting --- */

#media__tree img {
float:left;
float: left;
padding: 0.5em 0.3em 0 0;
}

Expand Down

0 comments on commit 6901694

Please sign in to comment.