Commit Graph

47 Commits

Author SHA1 Message Date
Misty Stanley-Jones c6391e5998 Enable hide/show of elements that don't apply to archives (#4798) 2017-10-04 14:59:29 -07:00
Misty Stanley-Jones 322593c050 Add code to enable keeping archive.js in master (#4790) 2017-10-03 13:12:28 -07:00
John Mulhausen 102c00e071 Docker Library import (#3063)
* Docker Library import

* Auto-gen Samples TOC

* Modular hovers on Glossary page

* TOC sync fix
2017-05-17 12:33:09 -07:00
John Mulhausen a36d37dae6 Fix for glossary 2017-04-21 14:31:32 -07:00
Vladimir Jimenez f466f24742 Fix sidebar scrolling (#2860)
* Simplify both left and right sidebars

- Rewrite the sidebars to use the same CSS class instead of having two
  very similar classes. This involves removing all affix related
  attributes and functionality from the sidebars and replaced them with
  `position: sticky`.
- The table of content elements should not be floated
- Removed unused CSS rules related to the sidebars
- Remove JavaScript used to resize the sidebars

* Improve the mobile menu to be fixed

- Simply JS used to hide/display the navigation bar on mobile viewports
- The mobile menu should be fixed so it can be viewable from the bottom
  of the page. Before this change, you would have to scroll up to see
  the menu that `position: absolute`

* Fix disappearing top navbar on homepage

- Change the calculation of the affix offset for the navbar on the home
  page to ensure the navbar never leaves the viewport. This change also
  takes into account the change of how the sidebars' offsets are used

* Fix auto scrolling on overflow

* Add polyfill for 'position: sticky' on IE

* Fix hamburger menu at incorrect breakpoint

* Fix left nav hidden after expanding from mobile

If you expand and collapse the left nav while on mobile and expand to a
desktop view, the left nav would be hidden; this has been fixed

* Unify navbar on homepage with rest of website
2017-04-21 11:04:19 -05:00
Misty Stanley-Jones 1f31104630 Definition in search results (#2712) 2017-04-10 17:27:08 -07:00
John Mulhausen 96b09c113b
Fix for upstream files w/bad keywords 2017-04-07 16:12:33 -07:00
John Mulhausen 1a6874fcb4 Merge conflict (#2662) 2017-04-07 13:10:04 -07:00
Josh south 492074c717 Various post-launch fixes (#2549)
* WIP #2052

- Adding sass
- Test components
- Night mode
- docker con banner
- archive legacy css

* add compressed css

* Update branding for cloud api docs

* split out global header

* rescale mods

* adjust viewport rescaling

* sync

* test

* testing deploy

* john rules, please update man

* test: removing all styles

* trying to make netlify work

* add min-height to sidebars

* testing

* Update style.css

manually add css

* testing

* test

* Update style.css

* adding dockercon svg

* add svgs

add svgs

* remove css

* re-add

* s/container-fluid/container
2017-03-31 16:07:37 -07:00
Misty Stanley-Jones c6aca8acee Improve bootstrap tabs (#2546)
Use data-target instead of href
Move tab-syncing code into site-wide JS so everyone can use it
Add example for syncing tab groups on the same page
2017-03-30 12:57:37 -07:00
Misty Stanley-Jones 0cc78dfce2 jsonify 2017-03-08 15:34:35 -08:00
Misty Stanley-Jones fcc4ea05c7 Archives improvements:
- Renamed docker-compose.yaml to archives.yaml since we are not using it
  as a docker-compose.yaml anymore
- Added current docs into that archive list, added a  key that can
  be set to  to indicate that the archive is the latest
- Output a new file  that can be used by non-current
  archives to build up a list of all archives including what's current,
  dynamically
- Single-sourced and liquefied the list that builds up the archives in
  the latest version
2017-03-08 14:32:52 -08:00
John Mulhausen 56940587a8 Fix for anchor links 2017-03-02 10:35:12 -08:00
John Mulhausen 6ea1e97916 Add scrolling to hamburger menu 2017-03-02 05:34:29 -08:00
John Mulhausen 3f7d989c9e Restore hamburger (partial) 2017-03-02 05:26:16 -08:00
John Mulhausen 1b62d79f39 Fix for black space on mobile 2017-03-02 05:08:07 -08:00
John Mulhausen 02bb0de07d Anchor links fix 2017-03-02 04:37:13 -08:00
John Mulhausen 910dd4c588 Share images, JS fixes, Marketo removal 2017-03-02 03:59:35 -08:00
John Mulhausen 919b46bebd JS error fixes 2017-03-01 22:47:55 -08:00
John Mulhausen 384eae4483 Fix for JS error on homepage 2017-03-01 22:28:46 -08:00
John Mulhausen 3e12e75626 Fix for overzealous resizing, JS redundancies 2017-03-01 22:13:14 -08:00
John Mulhausen 18a7003915
Left and right nav resizing w/footer scroll and window resize 2017-03-01 20:18:29 -08:00
John Mulhausen 397c29a661
Slightly slower right-nav highlighting, correct version 2017-03-01 15:57:37 -08:00
John Mulhausen af58236190
Right-nav highlighting and auto-scroll 2017-03-01 15:21:44 -08:00
Josh south e88f2b25bb Newsite tabs (#2004)
* Layout updates, dark themes, tons o stuff

* Update themes

Theme updates + scaffolding
2017-02-27 13:48:48 -08:00
John Mulhausen 20c91a529b
Add cookie saving for day/night mode 2017-02-24 16:24:16 -08:00
Josh south 12c25322c3 Layout updates, dark themes, tons o stuff (#1971) 2017-02-24 12:24:59 -08:00
John Mulhausen 1b2a71b4af Merge branch 'master' into newsite-tabs 2017-02-16 16:46:42 -08:00
John Mulhausen aa7614f695
Fixing JS error 2017-02-16 15:46:12 -08:00
John Mulhausen f478f1bf0a Hooking up nav to real TOC data, formatting fixes 2017-02-16 03:20:03 -08:00
John Mulhausen b513ecde18 Tabs-based organization (#1420)
* First pass of tabs-based organization

* Improvements

* Second pass at tabs org

* Move tab highlighting to Liquid instead of JS

* Adding forwarding links for in-product TOCs

* Move to pre-rendered left-navs instead of post-load JS for TOC sync

* Optimizations and nosync-ing the Reference section

* Optimizations, fix Cloud YAML

* Make a "Sample applications" node

* Tabs CSS fixes and 12-factor reposition

* Fix auto-complete left-padding

* Fix auto-complete right-padding (for symmetry)

* Fix for no left-nav on Compose file

* Fix weird wrapping on smaller screens for tabs

* reorganized d4mac, d4win per tabs structure, split out install guides

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Update reference urls to latest DDC version

* Reintroduces changes ebe778b..9abc9e to TOC

* Update allpagelinks.md

* hid the on-page TOC's for d4mac d4win topics as needed

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Add a Hopscotch tour of the new navigation
2017-02-15 17:23:45 -08:00
Josh south b5c9366474 Theme Start (#1709) 2017-02-15 17:07:36 -08:00
Martin Nordholts b6f9c36342 Expand menu items after 'click', not 'touchend' (#1549)
The problem with using 'touchend' is that if you scroll with your finger on a touch screen, like an an iPhone or on a PC laptop with a touch screen, the menu items will be expanded when you let go, even if you wanted to just scroll.
2017-02-07 17:42:26 -08:00
John Mulhausen c24fec68b6 Move to pre-rendered left-navs instead of post-load JS for TOC sync 2017-02-03 15:24:49 -08:00
John Mulhausen 2be1e89e27 Move tab highlighting to Liquid instead of JS 2017-02-03 15:24:49 -08:00
John Mulhausen b76c058bb5 First pass of tabs-based organization 2017-02-03 15:21:18 -08:00
Misty Stanley-Jones 8d3145ff3b Add an automatic TOC to pages that don't have no_toc in front-matter 2017-02-01 19:49:07 -08:00
johndmulhausen 89ea7cd2ff Fix searches not running on Enter, CS Release notes 2017-01-17 18:51:22 -08:00
John Mulhausen 53ec54f84c Initial pass of autocomplete; removal of detritus (#723)
* Initial pass of autocomplete; removal of detritus

* Update menu.js

* Added arrow-based navigation

* CSS fixes

* Add ranking to autocomplete result matching

* Shorten 'see all' text

* Filter for less-than-three
2016-12-06 16:39:04 -08:00
John Mulhausen 5e83b9659f Switch to touchend/mouseup for mobile compat 2016-11-17 15:35:37 -08:00
John Mulhausen 2d730c0354 Fix for flickering blue mobile menu 2016-11-16 15:16:57 -08:00
John Mulhausen d549e4c504 Remove references to toc.txt 2016-11-16 11:25:36 -08:00
John Mulhausen 4b05d07fb7 Pre-render nav 2016-11-15 11:49:18 -08:00
John Mulhausen d9701c4b51 Fix for 404 bg object, right-nav 2016-10-11 01:00:32 -07:00
John Mulhausen 6b2de29fa7 Fix for nesting of TOC 2016-10-10 20:15:50 -07:00
John Mulhausen 843b052401 Fix for in-page anchor links 2016-09-29 22:56:42 -07:00
Misty Stanley-Jones d53c6798c9 Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00