@import (reference) "../less/index"; .AlertBox--container { .margin--y--m(); .padding--s(); .border--s(transparent); } .AlertBox--title { .margin--none(); .margin--bottom--s(); .padding--none(); .text--large(); .text--semi-bold(); color: @neutral_black; } .AlertBox--header { .padding--bottom--2xs(); } .AlertBox--Icon--container { .margin--left--s(); .margin--right--m(); } .AlertBox--Icon { margin-top: 0.6rem; } .AlertBox--children { .margin--top--2xs(); } .AlertBox--processing { border-color: @neutral_dark_gray; background-color: fade(@neutral_dark_gray, 2%); } .AlertBox--Icon--processing { color: @neutral_dark_gray; } .AlertBox--warning { border-color: @alert_orange; background-color: fade(@alert_orange, 2%); } .AlertBox--Icon--warning { color: @alert_orange; } .AlertBox--success { border-color: @alert_green; background-color: fade(@alert_green, 2%); } .AlertBox--Icon--success { color: @alert_green; } .AlertBox--error { border-color: @alert_red; background-color: fade(@alert_red, 2%); } .AlertBox--Icon--error { color: @alert_red; } .AlertBox--info { border-color: @primary_blue; background-color: fade(@primary_blue, 2%); } .AlertBox--Icon--info { color: @primary_blue; } .AlertBox--close { cursor: pointer; height: @size_m; width: @size_m; background: none; outline: none; border: none; padding: 0; margin: 0; opacity: 0.6; float: right; &:hover { opacity: 1; } &:focus { outline: @borderRadiusM solid @accent_purple_shade_2; } }