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 .= '
<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>
';

View File

@ -71,7 +71,7 @@ th, td {
}
pre, pre code {
font-size: 14px;
font-size: 14px !important;
}
pre, code {
border-radius: 3px;
@ -100,6 +100,7 @@ pre {
code {
background: #f6f6f6;
padding: 4px;
font-size: 14px !important;
}
blockquote {
@ -334,10 +335,6 @@ div.plugin-content {
padding: 0 10px;
}
div.plugin-content li {
margin-top: 5px;
}
div.plugin-content ul {
display: block;
list-style-type: none;
@ -346,17 +343,27 @@ div.plugin-content ul {
}
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 {
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 {
color: #2672ec;
display: inline-block;
font-size: 1.2em;
font-size: 1em;
margin: 8px 0 2px;
padding: 10px 0 4px 10px;
}

View File

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