From 462eb19087a4c9aa4e802fe76057ffa1dd262e0d Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 8 Apr 2016 15:26:26 -0700 Subject: [PATCH] Changing ngToast success color --- .../notification-templates-list/list.controller.js | 3 ++- .../client/src/notifications/notifications.block.less | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/notifications/notification-templates-list/list.controller.js b/awx/ui/client/src/notifications/notification-templates-list/list.controller.js index f099d6520e..d462b62aa1 100644 --- a/awx/ui/client/src/notifications/notification-templates-list/list.controller.js +++ b/awx/ui/client/src/notifications/notification-templates-list/list.controller.js @@ -155,7 +155,8 @@ export default Rest.post({}) .then(function () { ngToast.success({ - content: `Test Notification Success: ${name} ` + content: ` Test Notification Success: ${name} `, + className: 'Toast-success' }); }) diff --git a/awx/ui/client/src/notifications/notifications.block.less b/awx/ui/client/src/notifications/notifications.block.less index 84b75be218..9ee78f9ae2 100644 --- a/awx/ui/client/src/notifications/notifications.block.less +++ b/awx/ui/client/src/notifications/notifications.block.less @@ -5,3 +5,14 @@ .NotifierList-lastColumn{ text-align: left!important; } + +.alert-success{ + background-color: #3cb878; + color: #fff; +} + +.Toast-successIcon{ + font-size: x-large; + vertical-align: middle; + padding-right: 10px; +}