diff --git a/src/app/core/components/search-bar/search-bar.component.html b/src/app/core/components/search-bar/search-bar.component.html
new file mode 100644
index 00000000..4ac02829
--- /dev/null
+++ b/src/app/core/components/search-bar/search-bar.component.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/core/components/search-bar/search-bar.component.scss b/src/app/core/components/search-bar/search-bar.component.scss
new file mode 100644
index 00000000..ba8aa4ef
--- /dev/null
+++ b/src/app/core/components/search-bar/search-bar.component.scss
@@ -0,0 +1,64 @@
+@import "src/app/core/scss/fuse";
+
+:host {
+
+ .fuse-search-bar {
+ height: 64px;
+ font-size: 13px;
+
+ .fuse-search-bar-expander,
+ .fuse-search-bar-collapser {
+ cursor: pointer;
+ padding: 0 20px;
+ margin: 0;
+ width: 64px !important;
+ height: 64px !important;
+ line-height: 64px !important;
+ }
+
+ .fuse-search-bar-loader {
+ width: 64px !important;
+ height: 64px !important;
+ line-height: 64px !important;
+ }
+
+ .fuse-search-bar-collapser {
+ display: none;
+ }
+
+ #fuse-search-bar-input {
+ display: none;
+ min-height: 64px;
+ background-color: transparent;
+ font-size: 16px;
+ }
+
+ &.expanded {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background: #FFFFFF;
+ z-index: 10;
+
+ #fuse-search-bar-input {
+ display: block;
+ }
+
+ .fuse-search-bar-collapser {
+ display: block;
+ }
+ }
+ }
+
+ body {
+
+ &.fuse-search-bar-expanded {
+
+ #toolbar {
+ z-index: 999 !important;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/app/core/components/search-bar/search-bar.component.ts b/src/app/core/components/search-bar/search-bar.component.ts
new file mode 100644
index 00000000..26ef8268
--- /dev/null
+++ b/src/app/core/components/search-bar/search-bar.component.ts
@@ -0,0 +1,41 @@
+import { Component, EventEmitter, OnInit, Output } from '@angular/core';
+
+@Component({
+ selector : 'fuse-search-bar',
+ templateUrl: './search-bar.component.html',
+ styleUrls : ['./search-bar.component.scss']
+})
+export class FuseSearchBarComponent implements OnInit
+{
+ collapsed: boolean;
+
+ @Output() onInput: EventEmitter = new EventEmitter();
+
+ constructor()
+ {
+ this.collapsed = true;
+ }
+
+ ngOnInit()
+ {
+
+ }
+
+ collapse()
+ {
+ this.collapsed = true;
+ }
+
+ expand()
+ {
+ this.collapsed = false;
+ }
+
+ search(event)
+ {
+ const value = event.target.value;
+
+ this.onInput.emit(value);
+ }
+
+}
diff --git a/src/app/core/components/search-bar/search-bar.module.ts b/src/app/core/components/search-bar/search-bar.module.ts
new file mode 100644
index 00000000..d996cc9d
--- /dev/null
+++ b/src/app/core/components/search-bar/search-bar.module.ts
@@ -0,0 +1,21 @@
+import { NgModule } from '@angular/core';
+import { RouterModule } from '@angular/router';
+
+import { SharedModule } from '../../modules/shared.module';
+import { FuseSearchBarComponent } from './search-bar.component';
+
+@NgModule({
+ declarations: [
+ FuseSearchBarComponent
+ ],
+ imports : [
+ SharedModule,
+ RouterModule
+ ],
+ exports : [
+ FuseSearchBarComponent
+ ]
+})
+export class FuseSearchBarModule
+{
+}
diff --git a/src/app/main/main.module.ts b/src/app/main/main.module.ts
index 9c881512..48f3e516 100644
--- a/src/app/main/main.module.ts
+++ b/src/app/main/main.module.ts
@@ -11,6 +11,7 @@ import { FuseNavbarToggleDirective } from './navbar/navbar-toggle.directive';
import { QuickPanelComponent } from './quick-panel/quick-panel.component';
import { FuseThemeOptionsComponent } from '../core/components/theme-options/theme-options.component';
import { FuseShortcutsModule } from '../core/components/shortcuts/shortcuts.module';
+import { FuseSearchBarModule } from '../core/components/search-bar/search-bar.module';
@NgModule({
declarations: [
@@ -27,7 +28,8 @@ import { FuseShortcutsModule } from '../core/components/shortcuts/shortcuts.modu
SharedModule,
RouterModule,
FuseNavigationModule,
- FuseShortcutsModule
+ FuseShortcutsModule,
+ FuseSearchBarModule
],
exports : [
FuseMainComponent
diff --git a/src/app/main/toolbar/toolbar.component.html b/src/app/main/toolbar/toolbar.component.html
index a2c0cd82..eeeec1eb 100644
--- a/src/app/main/toolbar/toolbar.component.html
+++ b/src/app/main/toolbar/toolbar.component.html
@@ -49,11 +49,7 @@
-
+
diff --git a/src/app/main/toolbar/toolbar.component.scss b/src/app/main/toolbar/toolbar.component.scss
index 568bef00..7f1f65b7 100644
--- a/src/app/main/toolbar/toolbar.component.scss
+++ b/src/app/main/toolbar/toolbar.component.scss
@@ -1,4 +1,5 @@
:host {
+ position: relative;
z-index: 4;
&.below{
diff --git a/src/app/main/toolbar/toolbar.component.ts b/src/app/main/toolbar/toolbar.component.ts
index f767ffea..eea278d6 100644
--- a/src/app/main/toolbar/toolbar.component.ts
+++ b/src/app/main/toolbar/toolbar.component.ts
@@ -77,4 +77,10 @@ export class FuseToolbarComponent
}
});
}
+
+ search(value)
+ {
+ // Do your search here...
+ console.log(value);
+ }
}