From f17fbaed2d322a59968e502d0f7eaabbbb41fc3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:21:28 +0100 Subject: [PATCH] fix statusmessage --- assets/style.css | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/assets/style.css b/assets/style.css index 90acb11..bf14160 100644 --- a/assets/style.css +++ b/assets/style.css @@ -232,22 +232,24 @@ ul.navpage_list } } -.status-message -{ - background-color:#dff0d8; - border:1px solid #3c763d; - color:#3c763d; - margin-bottom:10px; - opacity:1; - padding:15px; - transition:opacity .5s ease-in-out; +.status-message { + position: fixed; + top: 20px; + right: 20px; + z-index: 9999; + background-color: #dff0d8; /* Success background color */ + border: 1px solid #3c763d; /* Success border color */ + color: #3c763d; /* Success text color */ + padding: 15px; + margin-bottom: 10px; + opacity: 1; + transition: opacity 0.5s ease-in-out; } -.status-message.failure -{ - background-color:#f2dede; - border:1px solid #a94442; - color:#a94442; +.status-message.failure { + background-color: #f2dede; /* Failure background color */ + border: 1px solid #a94442; /* Failure border color */ + color: #a94442; /* Failure text color */ } .wrapper-40x .error