mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
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:
parent
4b16e2fc57
commit
bcf3c19f81
2 changed files with 31 additions and 43 deletions
app
|
@ -1,30 +1,18 @@
|
|||
#docs-components-view
|
||||
color: saddlebrown
|
||||
|
||||
.main
|
||||
position : relative
|
||||
.row
|
||||
|
||||
.left
|
||||
bottom: 10em
|
||||
left: 10em
|
||||
overflow-y: scroll
|
||||
overflow-x: hidden
|
||||
position: fixed
|
||||
top: 5em
|
||||
white-space: nowrap
|
||||
width: 20%
|
||||
-webkit-overflow-scrolling: touch
|
||||
.index-column, .documentation-column
|
||||
overflow-y: scroll
|
||||
overflow-x: hidden
|
||||
min-height: 600px
|
||||
|
||||
.right
|
||||
left: 28em
|
||||
bottom: 10em
|
||||
position: fixed
|
||||
overflow-y: scroll
|
||||
overflow-x: hidden
|
||||
right: 10em
|
||||
top: 5em
|
||||
//width: 80%
|
||||
-webkit-overflow-scrolling: touch
|
||||
> ul
|
||||
padding: 0px 20px 20px 20px
|
||||
|
||||
.specialList
|
||||
list-style-type: none
|
||||
|
||||
.documentation-column
|
||||
|
||||
.specialList
|
||||
list-style-type: none
|
||||
|
|
|
@ -2,22 +2,22 @@ extends /templates/base
|
|||
|
||||
|
||||
block content
|
||||
div.main
|
||||
div.left
|
||||
ul
|
||||
for component in components
|
||||
li= component.get('name')
|
||||
ul
|
||||
each doc in component.attributes.propertyDocumentation
|
||||
a(href="##{component.get('name')}#{doc.name}")
|
||||
li
|
||||
| #{doc.name}
|
||||
|
||||
div.right
|
||||
ul
|
||||
for component in components
|
||||
each doc in component.attributes.propertyDocumentation
|
||||
li(id="#{component.get('name')}#{doc.name}")
|
||||
| #{doc.name}
|
||||
ul.specialList
|
||||
li=doc.description
|
||||
.row
|
||||
.col-xs-3.index-column.nano
|
||||
ul.nav.nav-list.list-group.nano-content
|
||||
for component in components
|
||||
li= component.get('name')
|
||||
ul
|
||||
each doc in component.attributes.propertyDocumentation
|
||||
a(href="##{component.get('name')}#{doc.name}")
|
||||
li
|
||||
| #{doc.name}
|
||||
.col-xs-9.documentation-column.nano
|
||||
ul.nano-content
|
||||
for component in components
|
||||
each doc in component.attributes.propertyDocumentation
|
||||
li(id="#{component.get('name')}#{doc.name}")
|
||||
| #{doc.name}
|
||||
ul.specialList
|
||||
li=doc.description
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue