]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
v5: Adjust docs sidebar and navbar (#31119)
authorMark Otto <markd.otto@gmail.com>
Fri, 25 Sep 2020 16:35:24 +0000 (09:35 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Sep 2020 16:35:24 +0000 (09:35 -0700)
commit74279460c2647853d44d5b03f2965792fc243f45
tree1bea70b348187dab3267c8126aea5034a2e646a4
parentca225788484e6aa11186434595984242882af126
v5: Adjust docs sidebar and navbar (#31119)

* Hide the docs nav on mobile, redesign it for two columns on narrow devices

* Tweak spacing on ToC

* Redesign sidebar and subnav

* Revamp subnav mobile layout so everything's on one line

* Tighten up masthead a little

* Switch the icon for the subnav and do a little icon toggling

* Fix mobile overflow since we changed guters stuff

* Add the widths

* make the subnav icon purple
13 files changed:
site/assets/scss/_masthead.scss
site/assets/scss/_navbar.scss
site/assets/scss/_sidebar.scss
site/assets/scss/_subnav.scss
site/layouts/_default/docs.html
site/layouts/partials/docs-navbar.html
site/layouts/partials/docs-sidebar.html
site/layouts/partials/docs-subnav.html
site/layouts/partials/docs-versions.html
site/layouts/partials/home/masthead.html
site/layouts/partials/icons/collapse.svg [new file with mode: 0644]
site/layouts/partials/icons/expand.svg [new file with mode: 0644]
site/layouts/partials/icons/list.svg [new file with mode: 0644]