Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

make the icon in info toast blue

Behrokh Satarnejadc18d839104d1
diff --git a/frontend/src/global_styles/content/_toast.sass b/frontend/src/global_styles/content/_toast.sass
index d9dd294f7b5..e9f1866a8b1 100644
--- a/frontend/src/global_styles/content/_toast.sass
+++ b/frontend/src/global_styles/content/_toast.sass
@@ -46,7 +46,7 @@ $nm-color-warning-border: #ef9e56
$nm-color-warning-icon: #ef9e56
$nm-color-warning-background: #ffe6c6
-$nm-color-info-icon: #333
+$nm-color-info-icon: #155282
$nm-color-border: #8fc0db
$nm-color-background: #e3f5ff
@@ -78,7 +78,6 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
%nm-icon-info
@include icon-mixin-info1
- color: $nm-color-info-icon
%error-placeholder
background-color: $nm-color-error-background
@@ -145,21 +144,21 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
&.-error
@extend %error-placeholder
- &::before
+ &:not(.toast-icon)::before
@include messages-icon
@extend %nm-icon-error
&.-success
@extend %success-placeholder
- &::before
+ &:not(.toast-icon)::before
@include messages-icon
@extend %nm-icon-success
&.-warning
@extend %warning-placeholder
- &::before
+ &:not(.toast-icon)::before
@include messages-icon
@extend %nm-icon-warning
@@ -167,9 +166,16 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
@extend %info-placeholder
&::before
+ color: $nm-color-info-icon
+
+ &:not(.toast-icon)::before
@include messages-icon
@extend %nm-icon-info
+ &.toast-icon
+ &::before
+ @include messages-icon
+
&.-loading
@extend %info-placeholder