Skip to content

Commit e1c89a6

Browse files
committed
more breadcrumbs
Closes #743 LGTM given by: @devoncarew, @sethladd Squashed commit of the following: commit 6c4bb8a Author: Seth Ladd <[email protected]> Date: Wed Jul 29 13:07:32 2015 -0700 more breadcrumbs commit d71753c Author: Seth Ladd <[email protected]> Date: Wed Jul 29 13:05:18 2015 -0700 breadcrumbs in left nav commit 8116795 Author: Seth Ladd <[email protected]> Date: Tue Jul 28 10:47:21 2015 -0700 fix padding for ULs
1 parent c83d24f commit e1c89a6

File tree

11 files changed

+47
-13
lines changed

11 files changed

+47
-13
lines changed

lib/resources/styles.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ footer .container-fluid {
320320

321321
.gt-separated {
322322
list-style: none;
323+
padding: 0;
323324
}
324325

325326
.gt-separated li {
@@ -487,14 +488,19 @@ span.top-level-variable-type {
487488

488489
.sidebar-offcanvas-left {
489490
background-color: #f7f7f7;
491+
padding: 0;
490492
}
491493

492494
.sidebar ol {
493495
list-style: none;
494-
padding: 16px 0 16px 0;
495496
font-size: 14px;
496497
line-height: 24px;
497498
margin-bottom: 0;
499+
padding: 0;
500+
}
501+
502+
.sidebar-offcanvas-left ol {
503+
padding: 16px;
498504
}
499505

500506
.sidebar ol li {
@@ -564,7 +570,6 @@ button {
564570
transition:all .25s ease-out;
565571
z-index: 2000;
566572
top:0;
567-
padding-left: 15px;
568573
width: 280px; /* works all the way down to an iphone 4 */
569574
height: 100%;
570575
background-color: white;
@@ -578,10 +583,17 @@ button {
578583

579584
.sidebar h5 {
580585
color: #727272;
586+
padding-bottom: 16px;
581587
}
582588

583589
.sidebar-offcanvas-left h5 {
584-
margin-top: 16px;
590+
border-bottom: 1px solid #dddddd;
591+
padding: 16px;
592+
}
593+
594+
.sidebar-offcanvas-left h5:last-of-type {
595+
border: 0;
596+
padding: 16px 16px 0 16px;
585597
}
586598

587599
/* the right nav disappears out of view when the window shrinks */

lib/templates/class.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 col-md-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{library.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
7+
58
{{>sidebar_for_library}}
69
</div>
710

lib/templates/constant.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
44

5-
<h5>{{class.name}}</h5>
5+
{{#navLinks}}
6+
<h5><a href="{{href}}">{{name}}</a></h5>
7+
{{/navLinks}}
68

79
{{>sidebar_for_class}}
810

lib/templates/constructor.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
44

5-
<h5>{{class.name}}</h5>
5+
{{#navLinks}}
6+
<h5><a href="{{href}}">{{name}}</a></h5>
7+
{{/navLinks}}
68

79
{{>sidebar_for_class}}
810

lib/templates/function.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{library.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
57
{{>sidebar_for_library}}
68
</div><!--/.sidebar-offcanvas-left-->
79

lib/templates/library.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 col-md-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{package.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
7+
58
<ol>
69
<li class="section-title"><a href="index.html">Libraries</a></li>
710
{{#package.libraries}}

lib/templates/method.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{class.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
57

68
{{>sidebar_for_class}}
79

lib/templates/property.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{class.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
57

68
{{>sidebar_for_class}}
79

lib/templates/top_level_constant.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{library.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
57
{{>sidebar_for_library}}
68
</div><!--/.sidebar-offcanvas-left-->
79

lib/templates/top_level_property.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{>head}}
22

33
<div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
4-
<h5>{{library.name}}</h5>
4+
{{#navLinks}}
5+
<h5><a href="{{href}}">{{name}}</a></h5>
6+
{{/navLinks}}
57
{{>sidebar_for_library}}
68
</div><!--/.sidebar-offcanvas-left-->
79

0 commit comments

Comments
 (0)