silverstrap 

silverstrap Commit Details

Date:2013-06-10 23:41:59 (6 years 3 months ago)
Author:Nicola Fontana
Branch:bootstrap2, dev, master, master-1.0, ss3
Commit:a8bfe573472598f8da0db1e8bf48544e6d40bf41
Parents: b6ae530127b2cad6658c16b7c48fea12937c4209
Message:Using TOC instead of page tree in nav

Changes:
Dtemplates/Includes/Sidebar.ss (full)
Mcss/silverstrap.css (1 diff)
Mtemplates/Includes/Content.ss (1 diff)

File differences

css/silverstrap.css
11
22
33
4
4
55
6
7
8
9
10
11
612
713
814
body {
padding-top: 40px;
}
ul.nav {
.nav {
margin-top: 20px;
padding-left: 15px;
margin-right: -15px;
}
.nav .nav {
margin-top: 0;
margin-bottom: 8px;
}
form {
margin-top: 3ex;
templates/Includes/Content.ss
1
1
22
3
3
44
55
66
<div class="row"><% if Menu(2) %>
<div class="row"><% if TOC %>
<aside class="span3">
<% include Sidebar %>
<% include TOC %>
</aside>
<div class="span9"><% else %>
<div class="span12"><% end_if %>
templates/Includes/Sidebar.ss
1
2
3
4
<ul class="nav nav-list affix">
<li class="nav-header">$Level(1).Title</li><% loop Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="$Title">$MenuTitle</a></li><% end_loop %>
</ul>

Archive Download the corresponding diff file