bcgov / Gov-2.0-Bootstrap-Skeleton

An HTML5/CSS3/Bootstrap skeleton to accompany the gov.bc.ca. Developer's Guide.
Apache License 2.0
9 stars 10 forks source link

Add bcgov-wide search to header #10

Open ateucher opened 7 years ago

ateucher commented 7 years ago

This adds responsive search functionality to the 1-Column.html and Master.html templates based on the search on the main gov.bc.ca website.

It is a text box at medium and larger sizes, and collapses to a magnifying glass icon next to the hamburger menu at small and extra small sizes.

You can preview it here: https://rawgit.com/ateucher/Gov-2.0-Bootstrap-Skeleton/gov-wide-search/1-Column.html. I'm happy to add it to the other column templates as well if you like.

I'm a bit hacky when it comes to web development, so if there is a more elegant way to do it let me know!