Commit 552fcc0c authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Initial porting from builtin CSS

parent 7433cfc1
PLUGIN_NAME = Theme
PLUGIN_NAME = MittelTheme
all:
@ git archive HEAD --prefix=${PLUGIN_NAME}/ --format=zip -o ${PLUGIN_NAME}.zip
<?php
namespace Kanboard\Plugin\Theme;
namespace Kanboard\Plugin\MittelTheme;
use Kanboard\Core\Plugin\Base;
class Plugin extends Base
{
public function initialize()
{
$this->template->hook->attach('template:layout:head', 'theme:layout/head');
$this->template->hook->attach('template:layout:top', 'theme:layout/top');
$this->template->setTemplateOverride('header', 'theme:layout/header');
$this->template->hook->attach('template:layout:head', 'MittelTheme:layout/head');
# $this->template->hook->attach('template:layout:top', 'MittelTheme:layout/top');
# $this->template->setTemplateOverride('header', 'mitteltheme:layout/header');
}
}
<style>
#top-bar {
background: #666;
color: #fff;
text-align: center;
line-height: 30px;
}
header nav {
color: red;
font-weight: bold;
}
body {
color: #fff;
background-color: #222;
}
a, table th a {
color: #0ce3ac;
}
table th {
background-color: #375a7f;
border-color: #375a7f;
}
table td {
border-color: #375a7f;
}
table#board td a:hover {
color: #000;
}
table.table-striped tr:nth-child(2n+1) {
background-color: #444;
}
.accordion-title > h3, .views-switcher-component, .task-board-icons, .dropdown-submenu-open {
color: #000;
}
#popover-content, #popover-content h2 {
color: #000;
}
.sidebar > ul a:hover, .dropdown-menu-link-text, .dropdown-menu-link-icon, .action-menu, a:hover, .sidebar > ul li.active a, .sidebar > ul li.active a:focus, .sidebar > ul li.active a:hover, .page-header h2 a, h1, h2, h3, .dashboard-table-link {
color: #fff;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment