Docs theme updated

This commit is contained in:
Diego Najar 2017-08-26 12:19:33 +02:00
parent ccfdfd0e15
commit 24724a3c90
3 changed files with 23 additions and 12 deletions

View File

@ -226,7 +226,7 @@ class HTML {
$html .= '<div class="empty-images uk-block uk-text-center uk-block-muted" '.( !empty($thumbnailList)?'style="display:none"':'' ).'>'.$L->g('There are no images').'</div>'; $html .= '<div class="empty-images uk-block uk-text-center uk-block-muted" '.( !empty($thumbnailList)?'style="display:none"':'' ).'>'.$L->g('There are no images').'</div>';
$html .= ' $html .= '
<a data-uk-modal href="#bludit-images-v8" class="moreImages uk-button"><i class="uk-icon-folder-o"></i> '.$L->g('More images').'</a> <a data-uk-modal href="#bludit-images-v8" class="moreImages uk-button">'.$L->g('Upload and More Images').'</a>
</div> </div>
'; ';

View File

@ -71,7 +71,7 @@ th, td {
} }
pre, pre code { pre, pre code {
font-size: 14px; font-size: 14px !important;
} }
pre, code { pre, code {
border-radius: 3px; border-radius: 3px;
@ -100,6 +100,7 @@ pre {
code { code {
background: #f6f6f6; background: #f6f6f6;
padding: 4px; padding: 4px;
font-size: 14px !important;
} }
blockquote { blockquote {
@ -334,10 +335,6 @@ div.plugin-content {
padding: 0 10px; padding: 0 10px;
} }
div.plugin-content li {
margin-top: 5px;
}
div.plugin-content ul { div.plugin-content ul {
display: block; display: block;
list-style-type: none; list-style-type: none;
@ -346,17 +343,27 @@ div.plugin-content ul {
} }
div.plugin-content ul > li > ul > li { div.plugin-content ul > li > ul > li {
margin: 10px; border-left: 1px solid #dddddd;
padding-left: 10px;
padding: 5px 0 5px 10px;
margin-left: 13px;
font-size: 0.9em;
} }
div.plugin-content ul > li > ul > li > a { div.plugin-content ul > li > ul > li > a {
color: #555; color: #555;
cursor: pointer;
}
div.plugin-content ul > li > ul > li.selected {
border-left: 4px solid #2672ec;
margin-left: 10px;
} }
div.plugin-pages span.parent { div.plugin-pages span.parent {
color: #2672ec; color: #2672ec;
display: inline-block; display: inline-block;
font-size: 1.2em; font-size: 1em;
margin: 8px 0 2px; margin: 8px 0 2px;
padding: 10px 0 4px 10px; padding: 10px 0 4px 10px;
} }

View File

@ -11,14 +11,18 @@ $html = '<div class="plugin plugin-pages">';
$html .= '<div class="plugin-content">'; $html .= '<div class="plugin-content">';
$html .= '<ul class="parent">'; $html .= '<ul class="parent">';
foreach($pagesByParent[PARENT] as $parent) { foreach ($pagesByParent[PARENT] as $parent) {
$html .= '<li class="parent">'; $html .= '<li class="parent">';
$html .= '<span class="parent">'.$parent->title().'</span>'; $html .= '<span class="parent">'.$parent->title().'</span>';
if(!empty($pagesByParent[$parent->key()])) { if (!empty($pagesByParent[$parent->key()])) {
$html .= '<ul class="child">'; $html .= '<ul class="child">';
foreach($pagesByParent[$parent->key()] as $child) { foreach ($pagesByParent[$parent->key()] as $child) {
$html .= '<li class="child">'; if ($child->key()==$page->key()) {
$html .= '<li class="child selected">';
} else {
$html .= '<li class="child">';
}
$html .= '<a class="child" href="'.$child->permalink().'">'; $html .= '<a class="child" href="'.$child->permalink().'">';
$html .= $child->title(); $html .= $child->title();
$html .= '</a>'; $html .= '</a>';