Commit Graph

10 Commits

Author SHA1 Message Date
tatianamac
beac1ac6f2 ⚒ Fix menu a11y issues 2019-12-18 16:08:14 -08:00
Adekunle Oduye
26a515c3a9 [docs] Sticky Navigation (#373)
* [docNav] Moved h3 title into nav wrapper

* [docNav] Init styles for doc navigation component

* [docNav] Import doc navigation component into sass.css.scss

* [docNav] Functional to make doc navigation sticky on scroll

* [docNav] Rename js class name and changed from single to double quotes

* [docNav] Change class name to sl-js-nav--is-sticky

* [docNav] renamed doc-navigation to navigation and removed nesting

* [docNav] renamed doc-navigation to navigation

* [docNav] Added carriage return after h3
2019-10-12 09:55:30 -07:00
Natalie Weizenbaum
e7ffef4fc9 Avoid an unstyled rendering moment with the tables of contents
Tables of contents are now statically rendered in their appropriately
open/closed states, rather than updated via JavaScript, so they render
correctly on the first page load. In order to make the "page sections"
table still usable without JS, this adds a stylesheet in a <noscript>
tag that forces the sections into an open state.
2019-04-12 00:09:10 -07:00
Natalie Weizenbaum
de561b2370
Make the reference tables of contents collapsible (#320) 2019-04-11 15:30:10 -07:00
Jina Anne
5c23b769eb add headings to navs 2018-12-28 15:04:28 -08:00
Natalie Weizenbaum
97c5ac21af Put the table of contents where it's supposed to go (#267) 2018-12-28 14:49:59 -08:00
Jina Anne
e9d0793c1f make nav conditional 2018-12-27 17:19:19 -08:00
Jina Anne
5787e37007 clarify syntax 2018-12-27 17:04:10 -08:00
Jina Anne
4a5ee52092 fixes #262 2018-12-27 17:02:45 -08:00
Jina Anne
3f1c2d338d lots of clean up 2018-10-23 15:06:39 -07:00