From e8f9eda6e4e32c8533535fc99a3e81c8f6b2a7cf Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 15 Nov 2017 12:38:40 -0500 Subject: [PATCH] theme changes for nodebb/nodebb#6069 --- less/modules/alerts.less | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/less/modules/alerts.less b/less/modules/alerts.less index d2ebcd8..9ad5444 100644 --- a/less/modules/alerts.less +++ b/less/modules/alerts.less @@ -7,6 +7,39 @@ bottom: 0px; .alert { + &::before { + position: relative; + top: -15px; + left: -15px; + display: block; + height: 2px; + width: 0; + transition: inherit; + } + + &.alert-info::before { + background-color: @material-info; + } + + &.alert-warning::before { + background-color: @material-warning; + } + + &.alert-success::before { + background-color: @material-success; + } + + &.alert-danger::before { + background-color: @material-danger; + } + + &.animate { + &::before { + width: ~"calc(100% + 50px)"; + background-color: lighten(@material-info, 50%); + } + } + background-color: white; border: 0; border-left: 5px solid !important;