diff --git a/src/@fuse/components/search-bar/search-bar.component.html b/src/@fuse/components/search-bar/search-bar.component.html index a79f270f..92330c9b 100644 --- a/src/@fuse/components/search-bar/search-bar.component.html +++ b/src/@fuse/components/search-bar/search-bar.component.html @@ -17,7 +17,7 @@ diff --git a/src/app/layout/components/navbar/navbar.component.html b/src/app/layout/components/navbar/navbar.component.html index 6532818a..037d9c58 100644 --- a/src/app/layout/components/navbar/navbar.component.html +++ b/src/app/layout/components/navbar/navbar.component.html @@ -9,12 +9,12 @@ FUSE - - diff --git a/src/app/layout/components/navbar/navbar.component.scss b/src/app/layout/components/navbar/navbar.component.scss index 09837358..8bd2d7ba 100644 --- a/src/app/layout/components/navbar/navbar.component.scss +++ b/src/app/layout/components/navbar/navbar.component.scss @@ -1,28 +1,5 @@ @import "src/@fuse/scss/fuse"; -body { - - &.fuse-sidebar-folded { - - .content-wrapper { - - &:last-child { - padding-left: 64px !important; - } - - &:first-child { - padding-right: 64px !important; - } - - &:first-child:last-child { - padding-left: 0 !important; - padding-right: 0 !important; - } - - } - } -} - fuse-sidebar { &.folded:not(.unfolded) { @@ -89,16 +66,14 @@ navbar { flex: 1; } } -} -.top-navbar + #wrapper { + &.right-navbar { - & > .left-navbar { - display: none !important; + .toggle-sidebar-opened { - @include media-breakpoint-down(md) { - display: flex !important; + mat-icon { + transform: rotate(180deg); + } } } } - diff --git a/src/app/layout/components/toolbar/toolbar.component.html b/src/app/layout/components/toolbar/toolbar.component.html index e118746c..8de3436e 100644 --- a/src/app/layout/components/toolbar/toolbar.component.html +++ b/src/app/layout/components/toolbar/toolbar.component.html @@ -6,13 +6,12 @@
- -
+
diff --git a/src/app/layout/components/toolbar/toolbar.component.scss b/src/app/layout/components/toolbar/toolbar.component.scss index ea7692af..3813e171 100644 --- a/src/app/layout/components/toolbar/toolbar.component.scss +++ b/src/app/layout/components/toolbar/toolbar.component.scss @@ -45,7 +45,7 @@ } } - .toggle-button-navbar { + .navbar-toggle-button { min-width: 56px; height: 56px; } diff --git a/src/app/layout/components/toolbar/toolbar.component.ts b/src/app/layout/components/toolbar/toolbar.component.ts index ac21c3de..3783d894 100644 --- a/src/app/layout/components/toolbar/toolbar.component.ts +++ b/src/app/layout/components/toolbar/toolbar.component.ts @@ -18,9 +18,10 @@ import { navigation } from 'app/navigation/navigation'; export class ToolbarComponent implements OnInit, OnDestroy { - horizontalNav: boolean; + horizontalNavbar: boolean; + rightNavbar: boolean; + hiddenNavbar: boolean; languages: any; - noNav: boolean; navigation: any; selectedLanguage: any; showLoadingBar: boolean; @@ -123,8 +124,9 @@ export class ToolbarComponent implements OnInit, OnDestroy this._fuseConfigService.config .pipe(takeUntil(this._unsubscribeAll)) .subscribe((settings) => { - this.horizontalNav = settings.layout.navbar.position === 'top'; - this.noNav = settings.layout.navbar.position === 'none'; + this.horizontalNavbar = settings.layout.navbar.position === 'top'; + this.rightNavbar = settings.layout.navbar.position === 'right'; + this.hiddenNavbar = settings.layout.navbar.hidden === true; }); // Set the selected language from default languages diff --git a/src/app/layout/horizontal/layout-1/layout-1.component.html b/src/app/layout/horizontal/layout-1/layout-1.component.html index f71c2da1..aa7ab758 100644 --- a/src/app/layout/horizontal/layout-1/layout-1.component.html +++ b/src/app/layout/horizontal/layout-1/layout-1.component.html @@ -82,8 +82,8 @@ @@ -93,9 +93,8 @@ - + diff --git a/src/app/layout/vertical/layout-1/body-scroll/body-scroll.component.html b/src/app/layout/vertical/layout-1/body-scroll/body-scroll.component.html index 8981cf8f..6eb66b31 100644 --- a/src/app/layout/vertical/layout-1/body-scroll/body-scroll.component.html +++ b/src/app/layout/vertical/layout-1/body-scroll/body-scroll.component.html @@ -96,9 +96,8 @@ - + @@ -108,9 +107,8 @@ - + \ No newline at end of file diff --git a/src/app/layout/vertical/layout-1/content-scroll/content-scroll.component.html b/src/app/layout/vertical/layout-1/content-scroll/content-scroll.component.html index 086e8d5f..e6b32e29 100644 --- a/src/app/layout/vertical/layout-1/content-scroll/content-scroll.component.html +++ b/src/app/layout/vertical/layout-1/content-scroll/content-scroll.component.html @@ -96,9 +96,8 @@ - + @@ -108,9 +107,8 @@ - + \ No newline at end of file diff --git a/src/app/layout/vertical/layout-2/layout-2.component.html b/src/app/layout/vertical/layout-2/layout-2.component.html index ed0b3969..f6468ccc 100644 --- a/src/app/layout/vertical/layout-2/layout-2.component.html +++ b/src/app/layout/vertical/layout-2/layout-2.component.html @@ -82,9 +82,8 @@ - + @@ -94,9 +93,8 @@ - + \ No newline at end of file