side nag update
This commit is contained in:
parent
0ab35c0735
commit
fa09eb4a81
|
@ -49,5 +49,5 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
||||||
ul.side-nav-tertiary
|
ul.side-nav-tertiary
|
||||||
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
|
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
|
||||||
name = page.menuTitle || page.title
|
name = page.menuTitle || page.title
|
||||||
selected = current.path[4] == slug ? 'is-selected':''
|
selected = current.path[5] == slug ? 'is-selected':''
|
||||||
li(class="#{selected}")<a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button>#{name}</a>
|
li(class="#{selected}")<a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button>#{name}</a>
|
||||||
|
|
|
@ -22,8 +22,8 @@ div.c4
|
||||||
div.c4
|
div.c4
|
||||||
md-card.card
|
md-card.card
|
||||||
md-card-content
|
md-card-content
|
||||||
h3.text-headline.text-uppercase <span class="icon-book"></span> API
|
h3.text-headline.text-uppercase <span class="icon-book"></span> API Preview
|
||||||
p.text-body Proposal for v2.0 API
|
p.text-body API 2.0 Preview
|
||||||
|
|
||||||
footer
|
footer
|
||||||
a(href="/docs/#{current.path[1]}/#{current.path[2]}/api/" class="button" md-button) View API
|
a(href="/docs/#{current.path[1]}/#{current.path[2]}/api/" class="button" md-button) View API
|
||||||
|
|
|
@ -48,7 +48,13 @@
|
||||||
background: $mist;
|
background: $mist;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
a {
|
||||||
|
color: $blueberry;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -167,7 +167,7 @@
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
line-height: ($unit * 5) - 1;
|
line-height: ($unit * 5) - 1;
|
||||||
padding: 0px ($unit * 2) 0px ($unit * 5);
|
padding: 0px ($unit * 2) 0px ($unit * 4);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -187,12 +187,15 @@
|
||||||
.side-nav-tertiary {
|
.side-nav-tertiary {
|
||||||
padding-bottom: ($unit * 1);
|
padding-bottom: ($unit * 1);
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
|
margin: 0px;
|
||||||
|
|
||||||
&.is-selected {
|
&.is-selected {
|
||||||
> a {
|
> a {
|
||||||
background: transparent;
|
background: darken($fog, 3%);
|
||||||
color: $coal;
|
color: $blueberry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -208,8 +211,9 @@
|
||||||
display: block;
|
display: block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
padding: 0px $unit;
|
padding: 0px $unit 0px ($unit * 7);
|
||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
|
color: $metal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue