From 1e65ccffdc6dac3578c7ccf61b04cb4b3da60ecf Mon Sep 17 00:00:00 2001 From: Virginie Ky Date: Thu, 23 Jan 2020 09:43:57 +0100 Subject: [PATCH] border Signed-off-by: Virginie Ky --- .../admin/src/components/Notification/Li.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/strapi-admin/admin/src/components/Notification/Li.js b/packages/strapi-admin/admin/src/components/Notification/Li.js index cb88ebefaf..8762ee5227 100644 --- a/packages/strapi-admin/admin/src/components/Notification/Li.js +++ b/packages/strapi-admin/admin/src/components/Notification/Li.js @@ -20,7 +20,7 @@ const GlobalNotification = createGlobalStyle` margin: auto; color: ${props => props.theme.main.colors.green}; width: 10px; - height: 9px; + height: 10px; } } } @@ -135,6 +135,15 @@ const Li = styled.li` overflow: hidden; z-index: 10; border-left: 2px solid ${props => props.theme.main.colors.green}; + &.notificationError { + border-color: ${props => props.theme.main.colors.red}; + } + &.notificationWarning { + border-color: ${props => props.theme.main.colors.orange}; + } + &.notificationInfo { + border-color: ${props => props.theme.main.colors.blue}; + } // The last notification must appear from // the background of the previous one.