update to sidenav and ngbindable
This commit is contained in:
parent
2f15f05325
commit
95e60ce204
@ -49,4 +49,4 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
|||||||
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[4] == 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>
|
||||||
|
@ -11,7 +11,7 @@ html(lang="en" ng-app="angularIOApp")
|
|||||||
if banner
|
if banner
|
||||||
!= partial("../../../../_includes/_banner")
|
!= partial("../../../../_includes/_banner")
|
||||||
|
|
||||||
article.l-content-small.grid-fluid.docs-content
|
article.l-content-small.grid-fluid.docs-content(ng-non-bindable)
|
||||||
!= yield
|
!= yield
|
||||||
!= partial("../../../../_includes/_next-item")
|
!= partial("../../../../_includes/_next-item")
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ p.
|
|||||||
|
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2#section-showing-properties-with-interpolation Showing properties with interpolation
|
h2#section-showing-properties-with-interpolation Showing properties with interpolation
|
||||||
p.text-body(ng-non-bindable)
|
p.text-body
|
||||||
| The simple method for binding text into templates is through interpolation where you put the name of a property
|
| The simple method for binding text into templates is through interpolation where you put the name of a property
|
||||||
| inside <strong>{{ }}</strong>.
|
| inside <strong>{{ }}</strong>.
|
||||||
|
|
||||||
|
@ -185,11 +185,9 @@
|
|||||||
// SECONDARY SIDENAV BUTTON
|
// SECONDARY SIDENAV BUTTON
|
||||||
.side-nav-tertiary {
|
.side-nav-tertiary {
|
||||||
padding-bottom: ($unit * 1);
|
padding-bottom: ($unit * 1);
|
||||||
margin: 0px 0px 0px ($unit * 2);
|
margin: 0px;
|
||||||
list-style-type: disc;
|
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
|
|
||||||
&.is-selected {
|
&.is-selected {
|
||||||
> a {
|
> a {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user