From 74f8687d4ab358c071bd081b0b7709eba5a521c2 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Mon, 10 Feb 2020 12:28:37 -0800 Subject: Add responsive layout The main navigation will be collapsed until the viewport minimum width reaches the Bootstrap defined 'lg' breakpoint (defaults to 992px). - Adding motion variables and updating some CSS values to use existing Sass variables Signed-off-by: Yoshie Muranaka Change-Id: Id159b84da6adf55fdb15842b0e33b1ede4eeceb4 --- src/assets/styles/_obmc-custom.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/assets/styles/_obmc-custom.scss') diff --git a/src/assets/styles/_obmc-custom.scss b/src/assets/styles/_obmc-custom.scss index 2e360193..aff37529 100644 --- a/src/assets/styles/_obmc-custom.scss +++ b/src/assets/styles/_obmc-custom.scss @@ -1,10 +1,14 @@ $enable-rounded: false; $enable-validation-icons: false; +$responsive-layout-bp: lg; +$header-height: 56px; +$navigation-width: 300px; // Required @import "~bootstrap/scss/functions"; @import "./functions"; @import "./colors"; +@import "./motion"; @import "~bootstrap/scss/variables"; @import "~bootstrap/scss/mixins"; -- cgit v1.2.3