summaryrefslogtreecommitdiff
path: root/src/assets
diff options
context:
space:
mode:
authorSurenNeware <sneware9@in.ibm.com>2020-08-07 15:52:47 +0300
committerDerick Montague <derick.montague@ibm.com>2020-08-12 00:40:22 +0300
commit57b2262843db8724ecbfbcc6cef0906d736f2834 (patch)
treee32cf72468094e79d4674ba85a2644c54114d07a /src/assets
parente409b738ed46becc9d04120c7a4227e7f52b3072 (diff)
downloadwebui-vue-57b2262843db8724ecbfbcc6cef0906d736f2834.tar.xz
Add info icon for informational alert
-Add new style carbon icon for informational alert -Change alert icon position from center to top Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: If32d712db16472ce9a78e04e5871d0b799bb5895
Diffstat (limited to 'src/assets')
-rw-r--r--src/assets/styles/bmc/custom/_alert.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/assets/styles/bmc/custom/_alert.scss b/src/assets/styles/bmc/custom/_alert.scss
index 1d28f2ae..741eb692 100644
--- a/src/assets/styles/bmc/custom/_alert.scss
+++ b/src/assets/styles/bmc/custom/_alert.scss
@@ -17,7 +17,7 @@
.alert-icon {
display: inline-flex;
- align-items: center;
+ align-items: flex-start;
margin-right: $spacer;
margin-bottom: $spacer;
@@ -50,6 +50,12 @@
fill: theme-color("info");
}
+ &.alert-success {
+ border-left-color: theme-color("success");
+ background-color: $success-light;
+ fill: theme-color("success");
+ }
+
&.alert-danger {
border-left-color: theme-color("danger");
background-color: $danger-light;