From 0bb79d525ccf525d7d41f88d30d2bed1fea9c7d8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 11 Mar 2025 11:59:00 +0100 Subject: đŸ’„ better display of error message on ajax call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/custom.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'scss/custom.scss') diff --git a/scss/custom.scss b/scss/custom.scss index 6c310607e..8903a52c3 100644 --- a/scss/custom.scss +++ b/scss/custom.scss @@ -1237,14 +1237,18 @@ ul.simple, #message { z-index: 42200; position: fixed; - top: 5px; - right: 5px; + top: 60px; + right: 60px; background: #fff; padding: 0.5em 1em; border: 1px solid; border-radius: 3px; } +#message.error { + background-color: lighten(red, 40%); +} + #message span{ padding: 0 1em; } @@ -1418,6 +1422,7 @@ $dark-theme-red: #912d2d; border-color: $gray-600; } + #message.error, .import-row-error, #main-container .table-striped tbody tr:nth-of-type(2n).import-row-error, #main-container .table-striped tbody tr:nth-of-type(2n+1).import-row-error { -- cgit v1.2.3