From 919e5fb44bb55e33aba06d438ad04c405e4abecf Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Tue, 26 Nov 2019 08:06:07 -0800 Subject: [PATCH] Theme for mat icons updated --- .../nodes-menu/nodes-menu.component.html | 10 +++++----- .../nodes-menu/nodes-menu.component.scss | 8 ++++++++ .../project-map-menu.component.html | 16 ++++++---------- .../project-map-menu.component.scss | 8 ++++++++ .../project-map/project-map.component.html | 4 ++-- .../project-map/project-map.component.scss | 8 ++++++++ src/theme-light.scss | 7 ------- 7 files changed, 37 insertions(+), 24 deletions(-) diff --git a/src/app/components/project-map/nodes-menu/nodes-menu.component.html b/src/app/components/project-map/nodes-menu/nodes-menu.component.html index aab5972f..9f3b04ef 100644 --- a/src/app/components/project-map/nodes-menu/nodes-menu.component.html +++ b/src/app/components/project-map/nodes-menu/nodes-menu.component.html @@ -4,7 +4,7 @@ (click)="startConsoleForAllNodes()" class="menu-button" > - web_asset + web_asset diff --git a/src/app/components/project-map/nodes-menu/nodes-menu.component.scss b/src/app/components/project-map/nodes-menu/nodes-menu.component.scss index cfac8782..79ef3a63 100644 --- a/src/app/components/project-map/nodes-menu/nodes-menu.component.scss +++ b/src/app/components/project-map/nodes-menu/nodes-menu.component.scss @@ -10,3 +10,11 @@ border: none; background-color: transparent; } + +.unmarked { + color: white!important; +} + +.marked { + color: #0097a7!important; +} diff --git a/src/app/components/project-map/project-map-menu/project-map-menu.component.html b/src/app/components/project-map/project-map-menu/project-map-menu.component.html index 4d099f56..985ba085 100644 --- a/src/app/components/project-map/project-map-menu/project-map-menu.component.html +++ b/src/app/components/project-map/project-map-menu/project-map-menu.component.html @@ -2,9 +2,8 @@ matTooltip="Add a note" mat-icon-button class="menu-button" - [color]="drawTools.isTextChosen ? 'primary' : 'basic'" (click)="addDrawing('text')"> - create + create - image + image
- +
diff --git a/src/app/components/project-map/project-map.component.scss b/src/app/components/project-map/project-map.component.scss index e7458af0..20465534 100644 --- a/src/app/components/project-map/project-map.component.scss +++ b/src/app/components/project-map/project-map.component.scss @@ -93,6 +93,14 @@ mat-divider.divider { color: gray; } +.unmarked { + color: white!important; +} + +.marked { + color: #0097a7!important; +} + #zoom-buttons { position: fixed; background: #263238; diff --git a/src/theme-light.scss b/src/theme-light.scss index 65e23d82..29585d89 100644 --- a/src/theme-light.scss +++ b/src/theme-light.scss @@ -38,13 +38,6 @@ $theme: map-merge( ) ); -@mixin mat-button-theme($theme) { - .mat-button, .mat-icon-button, .mat-stroked-button { - color: white; - background: transparent; - } -} - @include mat-core-theme($theme); @include mat-autocomplete-theme($theme); @include mat-button-theme($theme);