From 94d3b2b896e4204f7830305704d842818df4ed56 Mon Sep 17 00:00:00 2001 From: ue57749 Date: Thu, 19 Jul 2018 10:32:30 +0200 Subject: [PATCH] feat: rename CSS class for workbench icon font from 'wb-font' to 'wb-icons' --- .../src/lib/notification/notification.component.html | 2 +- .../src/lib/view-part/view-tab/view-tab.component.html | 2 +- projects/scion/workbench/src/theme/_font-theme.scss | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/projects/scion/workbench/src/lib/notification/notification.component.html b/projects/scion/workbench/src/lib/notification/notification.component.html index 61eca6805..d39c8aaaa 100644 --- a/projects/scion/workbench/src/lib/notification/notification.component.html +++ b/projects/scion/workbench/src/lib/notification/notification.component.html @@ -1,7 +1,7 @@

{{title}}

{{text}} - +
diff --git a/projects/scion/workbench/src/lib/view-part/view-tab/view-tab.component.html b/projects/scion/workbench/src/lib/view-part/view-tab/view-tab.component.html index f40ba9219..22f9479a6 100644 --- a/projects/scion/workbench/src/lib/view-part/view-tab/view-tab.component.html +++ b/projects/scion/workbench/src/lib/view-part/view-tab/view-tab.component.html @@ -4,6 +4,6 @@
{{heading}}
diff --git a/projects/scion/workbench/src/theme/_font-theme.scss b/projects/scion/workbench/src/theme/_font-theme.scss index 0ae34483a..6cf04371c 100644 --- a/projects/scion/workbench/src/theme/_font-theme.scss +++ b/projects/scion/workbench/src/theme/_font-theme.scss @@ -26,7 +26,7 @@ font-style: normal; } - .wb-font { + .wb-icons { /* use !important to prevent issues with browser extensions that change fonts */ font-family: wb-icon !important; speak: none; @@ -40,19 +40,19 @@ } .wb-icon-search::before { - @extend .wb-font; + @extend .wb-icons; content: "\e900"; } .wb-icon-cancel::before { - @extend .wb-font; + @extend .wb-icons; content: "\e5c9"; } .wb-icon-close::before { - @extend .wb-font; + @extend .wb-icons; content: "\e5cd"; } .wb-icon-edit::before { - @extend .wb-font; + @extend .wb-icons; content: "\e254"; } }