From 654abe60ed924a63a70de58ad6249676dbfab750 Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 1 Jul 2015 10:40:04 -0400 Subject: [PATCH] Fix error message style being overrided --- app/assets/stylesheets/common/notices.css.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/notices.css.scss b/app/assets/stylesheets/common/notices.css.scss index a54a1e7ec..f92ebacc1 100644 --- a/app/assets/stylesheets/common/notices.css.scss +++ b/app/assets/stylesheets/common/notices.css.scss @@ -15,8 +15,11 @@ div#notice { left: 25%; width: 50%; z-index: 100; - background-color: #FFFBBF;; - border: 1px solid #CCC999; + + &:not(.ui-state-error) { + background-color: #FFFBBF; + border: 1px solid #CCC999; + } } a#close-notice-link {