From 4cce57fbd403b981695680e80b426aa186cecf5a Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Wed, 8 Nov 2017 22:30:23 +0200 Subject: [PATCH] Drawer component Rebuilt, working better than ever. --- docs/v3/DEVLOG.md | 2 + docs/v3_dev/src/App.js | 5 +- docs/v3_dev/src/index.css | 198 ++++++++++++++++++-------------------- src/flavors/mini-doc.scss | 105 -------------------- src/mini/_navigation.scss | 140 +++++++++++++++++++++++++-- 5 files changed, 232 insertions(+), 218 deletions(-) diff --git a/docs/v3/DEVLOG.md b/docs/v3/DEVLOG.md index 92202a6..cef0fa2 100644 --- a/docs/v3/DEVLOG.md +++ b/docs/v3/DEVLOG.md @@ -122,3 +122,5 @@ - Styled `.logo` in `header`. The styling is now far simpler and easier to use. - Removed `display:block` fix from `nav` as it was targeting IE 9-. - Tweaked and rebuilt the styling of `nav` elements. It should now be more mobile-friendly, too, especially when used in combination with a `.drawer`. +- Rebuilt `.drawer`, breaking changes in the old code, but managable as far as I can tell. +- `.drawer` will now be either left or right, no option for both. This can be altered in the code or by hand (if I make a tool, I should remember to add an option - *TODO*). diff --git a/docs/v3_dev/src/App.js b/docs/v3_dev/src/App.js index 67fafbc..7d16685 100644 --- a/docs/v3_dev/src/App.js +++ b/docs/v3_dev/src/App.js @@ -9,11 +9,12 @@ class App extends Component { Get started - {/**/} +
- +