| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- ##
- ## kwiki-openpkg.pm -- Kwiki OpenPKG Theme
- ##
- package Kwiki::Theme::OpenPKG;
- use strict;
- use warnings;
- use Kwiki::Theme '-Base';
- use mixin 'Kwiki::Installer';
- our $VERSION = '1.0';
- const theme_id => 'openpkg';
- const class_title => 'OpenPKG Wiki Theme';
- 1;
- __DATA__
- =head1 NAME
- Kwiki::Theme::OpenPKG - Kwiki OpenPKG Theme
- =head1 SYNOPSIS
- =head1 DESCRIPTION
- This is the Kwiki theme of the OpenPKG Wiki http://wiki.openpkg.org/
- =head1 AUTHOR
- Ralf S. Engelschall <rse@engelschall.com>
- =cut
- __theme/openpkg/template/tt2/kwiki_screen.html__
- [%- INCLUDE kwiki_doctype.html %]
- [% INCLUDE kwiki_begin.html %]
- <div>
- <table width=100%>
- <tr>
- <td align=left valign=bottom>
- <a href="http://www.openpkg.org/"><img src="http://www.openpkg.org/openpkg.gif" alt="OpenPKG" border="0"></a>
- </td>
- <td align=right valign=bottom>
- <table><tr><td>
- [% hub.widgets.html %]
- </td></tr></table>
- </td>
- </tr>
- </table>
- <p/>
- <table id="canvas">
- <tr>
- <td>
- <span class="title">
- OpenPKG Wiki: [% screen_title || self.class_title %]
- </span>
- <p/>
- <table id="toolbar">
- <tr>
- <td class="left">
- [% hub.toolbar.html %]
- </td>
- <td class="mid">
- </td>
- <td class="right">
- [% IF hub.have_plugin('user_name') %]
- [% INCLUDE user_name_title.html %]
- [% END %]
- </td>
- </tr>
- </table>
- <p/>
- <div id="content_pane">
- [% INCLUDE $content_pane %]
- </div>
- <p/>
- <div id="status_pane">
- [% hub.status.html %]
- </div>
- </td>
- </tr>
- </table>
- </div>
- [% INCLUDE kwiki_end.html -%]
- __theme/openpkg/css/kwiki.css__
- /* document canvas */
- html, body, body > div {
- width: 100%;
- height: auto;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- body {
- background-color: #c0c0c0;
- color: #333333;
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- border: 10px solid #c0c0c0;
- }
- body > div {
- background-color: #ffffff;
- background: url(http://www.openpkg.org/bg.jpg);
- border-top: 1px solid #000000;
- border-left: 1px solid #000000;
- border-right: 1px solid #000000;
- border-bottom: 1px solid #000000;
- padding: 20px 100px 60px 100px;
- font-family: serif,times,palatino,tahoma;
- }
- @media print {
- body {
- background-color: #ffffff;
- color: #000000;
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- border: 0;
- }
- body > div {
- background-color: #ffffff;
- border: 0;
- padding: 20px 80px 20px 80px;
- }
- }
- h1,h2,h3,h4,h5,h6 {
- font-family: tahoma,helvetica,serif;
- margin: 0px;
- }
- h1 { font-size: 200%; }
- h2 { font-size: 180%; }
- h3 { font-size: 160%; }
- h4 { font-size: 140%; }
- h5 { font-size: 120%; }
- h6 { font-size: 100%; }
- #content_pane {
- font-family: sans-serif;
- }
- #canvas {
- width: 100%;
- }
- #toolbar {
- width: 100%;
- border: 1px solid #cccccc;
- padding: 0px 20px 0px 20px;
- font-family: sans-serif;
- }
- #toolbar td.mid {
- text-align: left;
- vertical-align: middle;
- }
- #toolbar td.right {
- text-align: right;
- }
- .title {
- font-weight: bold;
- font-family: tahoma,arial,sans-serif;
- font-size: 200%;
- }
- hr {
- color: #999999;
- background-color: #999999;
- border-style: none;
- height: 1px;
- width: 100%;
- }
- A { text-decoration: none; font-weight: bold; }
- A:link { text-decoration: none; font-weight: bold; color: #a09080; }
- A:visited { text-decoration: none; font-weight: bold; color: #a09080; }
- A:hover { text-decoration: none; font-weight: bold; color: #a09080; text-decoration: underline; }
- PRE.formatter_pre {
- background: none !important;
- border: 1px solid #cccccc;
- }
- /* style: Kwiki messages */
- .error, .empty {
- color: #cc3333;
- }
- /* style Kwiki::Search Button */
- form.search input {
- background: #ffffff;
- }
- /* style Kwiki::Display "Changed by..." */
- .changedby {
- color: #666666;
- border: 1px solid #cccccc;
- padding: 2px 20px 2px 20px;
- }
- /* style Kwiki::UserName text */
- div#user_name_title {
- float: none !important;
- }
- /* style Kwiki::Favorite */
- input.favorite {
- background: #f5f0e5;
- }
- /* style Kwiki::Diff */
- .diff-added {
- background: #bbbbee !important;
- }
- .diff-removed {
- background: #ff6666 !important;
- }
- .diff-unmodified {
- background: inherit;
- }
- .diff-changed {
- background: #e5e0d5 !important;
- }
- table.diff {
- border: 1px solid #cccccc !important;
- }
- table th {
- border-bottom: 1px solid #cccccc !important;
- }
- th.lhs, td.lhs {
- padding-left: 1em;
- padding-right: 1em;
- }
- th.rhs, td.rhs {
- padding-left: 1em;
- padding-right: 1em;
- border-left: 1px solid #cccccc !important;
- }
- /* style Kwiki::VimColor */
- pre.vim {
- padding: 10px 10px 10px 10px !important;
- border: 1px solid #e0e0e0 !important;
- }
- .synComment { color: #6666cc !important; }
- .synConstant { color: #cc3333 !important; }
- .synIdentifier { color: #000000 !important; }
- .synStatement { color: #333333 !important; font-weight: bold !important; }
- .synPreProc { color: #cc3333 !important; }
- .synType { color: #333333 !important; font-weight: bold !important; }
- .synSpecial { color: #cc3333 !important; }
- .synUnderlined { color: #000000 !important; text-decoration: underline !important; }
- .synError { color: #ffffff !important; background: #cc3333 none !important; }
- .synTodo { color: #ffffff !important; background: #cc3333 none !important; }
|