Update orbit_bootstrap template

This commit is contained in:
rulingcom 2014-07-07 13:29:33 +08:00
parent 60aef1426a
commit ba3219c704
6 changed files with 52 additions and 0 deletions

View File

@ -99,10 +99,12 @@
}
.modules-menu-level-1 {
display: none;
min-width: 100%;
margin: 0 -15px;
padding: 0;
background-color: $theme-gray-dark;
list-style: none;
z-index: 1;
& > li {
position: relative;
& + li {

View File

@ -21,6 +21,10 @@
@import "modules/gallery";
@import "modules/archives";
// Widget
@import "widget/breadcrumb";
@import "widget/sitemenu";
body {
font-family: 'Droid Sans';
margin-top: 40px;

View File

@ -0,0 +1,12 @@
.widget-breadcrumb {
&.widget1 {
li {
&:last-child {
a {
color: $theme-gray-dark;
pointer-events: none;
}
}
}
}
}

View File

@ -0,0 +1,7 @@
.widget-sitemenu {
.widget-title {
@extend .unity-title;
}
&.widget1 {
}
}

View File

@ -0,0 +1,7 @@
<div class="widget-breadcrumb widget1">
<ul class="list-inline breadcrumb" data-list="crumbs" data-level="0">
<li>
<a href="{{url}}">{{page_name}}</a>
</li>
</ul>
</div>

View File

@ -0,0 +1,20 @@
<div class="widget-sitemenu widget1">
<h3 class="widget-title">
<span>{{widget-title}}</span>
</h3>
<ul class="list-unstyled modules-menu-level-0" data-list="pages" data-level="0">
<li>
<a href="{{url}}" target="{{target}}">{{page_name}}</a>
<ul class="list-unstyled modules-menu-level-1" data-list="children" data-level="1">
<li>
<a href="{{url}}" target="{{target}}">{{page_name}}</a>
<ul class="list-unstyled modules-menu-level-2" data-list="children" data-level="2">
<li>
<a href="{{url}}" target="{{target}}">{{page_name}}</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>