From fc862f8434b136b697b38f7440f1c0f8cbd3f279 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 6 Apr 2017 16:24:22 +0200 Subject: [PATCH] remove border radius from alerts --- src/Umbraco.Web.UI.Client/src/less/alerts.less | 2 +- src/Umbraco.Web.UI.Client/src/less/variables.less | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/alerts.less b/src/Umbraco.Web.UI.Client/src/less/alerts.less index c575f58f0c..47ee38a70f 100644 --- a/src/Umbraco.Web.UI.Client/src/less/alerts.less +++ b/src/Umbraco.Web.UI.Client/src/less/alerts.less @@ -11,7 +11,7 @@ margin-bottom: @baseLineHeight; background-color: @warningBackground; border: 1px solid @warningBorder; - .border-radius(@baseBorderRadius); + .border-radius(@alertBorderRadius); } .alert, .alert h4, diff --git a/src/Umbraco.Web.UI.Client/src/less/variables.less b/src/Umbraco.Web.UI.Client/src/less/variables.less index 68db985e63..ed415decee 100644 --- a/src/Umbraco.Web.UI.Client/src/less/variables.less +++ b/src/Umbraco.Web.UI.Client/src/less/variables.less @@ -327,6 +327,8 @@ @infoBackground: @turquoise-d1; @infoBorder: transparent; +@alertBorderRadius: 0; + // SD: Had to duplicate the above but prefix with 'form' inversed colors // because we cannot share the above alert colors with forms otherwise we end up with white // text and giant red backgrounds.