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