From b1b0cfabe1371aecabcebcf720d7a13ea3d38e67 Mon Sep 17 00:00:00 2001 From: ztimson Date: Thu, 29 Aug 2019 19:03:57 -0400 Subject: [PATCH] Fixed toolbar selection --- src/app/components/toolbar/toolbar.component.scss | 3 +++ src/app/components/toolbar/toolbar.component.ts | 1 + 2 files changed, 4 insertions(+) create mode 100644 src/app/components/toolbar/toolbar.component.scss diff --git a/src/app/components/toolbar/toolbar.component.scss b/src/app/components/toolbar/toolbar.component.scss new file mode 100644 index 0000000..61d7488 --- /dev/null +++ b/src/app/components/toolbar/toolbar.component.scss @@ -0,0 +1,3 @@ +.selected { + background-color: rgba(70, 70, 70, 0.8); +} diff --git a/src/app/components/toolbar/toolbar.component.ts b/src/app/components/toolbar/toolbar.component.ts index f976301..4c72db8 100644 --- a/src/app/components/toolbar/toolbar.component.ts +++ b/src/app/components/toolbar/toolbar.component.ts @@ -5,6 +5,7 @@ import {version} from '../../../../package.json'; @Component({ selector: 'toolbar', templateUrl: 'toolbar.component.html', + styleUrls: ['toolbar.component.scss'] }) export class ToolbarComponent implements OnInit, AfterViewInit { @Input() menuItems: ToolbarItem[];