Some slight improvements to the components docs page; still don't know how to get it to be full-height with independently scrolling columsn, though.

This commit is contained in:
Nick Winter 2014-07-09 15:32:57 -07:00
parent 4b16e2fc57
commit bcf3c19f81
2 changed files with 31 additions and 43 deletions
app
styles/docs
templates/docs

View file

@ -1,30 +1,18 @@
#docs-components-view #docs-components-view
color: saddlebrown color: saddlebrown
.main .row
position : relative
.left .index-column, .documentation-column
bottom: 10em
left: 10em
overflow-y: scroll overflow-y: scroll
overflow-x: hidden overflow-x: hidden
position: fixed min-height: 600px
top: 5em
white-space: nowrap
width: 20%
-webkit-overflow-scrolling: touch
.right > ul
left: 28em padding: 0px 20px 20px 20px
bottom: 10em
position: fixed
overflow-y: scroll .documentation-column
overflow-x: hidden
right: 10em
top: 5em
//width: 80%
-webkit-overflow-scrolling: touch
.specialList .specialList
list-style-type: none list-style-type: none

View file

@ -2,9 +2,9 @@ extends /templates/base
block content block content
div.main .row
div.left .col-xs-3.index-column.nano
ul ul.nav.nav-list.list-group.nano-content
for component in components for component in components
li= component.get('name') li= component.get('name')
ul ul
@ -12,12 +12,12 @@ block content
a(href="##{component.get('name')}#{doc.name}") a(href="##{component.get('name')}#{doc.name}")
li li
| #{doc.name} | #{doc.name}
.col-xs-9.documentation-column.nano
div.right ul.nano-content
ul
for component in components for component in components
each doc in component.attributes.propertyDocumentation each doc in component.attributes.propertyDocumentation
li(id="#{component.get('name')}#{doc.name}") li(id="#{component.get('name')}#{doc.name}")
| #{doc.name} | #{doc.name}
ul.specialList ul.specialList
li=doc.description li=doc.description