From 615867a85704d259e358c45b2f7bd25a92475163 Mon Sep 17 00:00:00 2001 From: Linty Date: Fri, 31 Oct 2025 14:47:51 +0100 Subject: [PATCH] fixes #2427 add styles for infos banner Introduced .infos-message class with specific background, text color, and border styles for both light and dark themes in standard pages. --- themes/standard_pages/theme.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/themes/standard_pages/theme.css b/themes/standard_pages/theme.css index 82d4d3a1f..b26875f74 100644 --- a/themes/standard_pages/theme.css +++ b/themes/standard_pages/theme.css @@ -382,7 +382,8 @@ a.btn-main{ text-decoration:underline; } -.success-message{ +.success-message, +.infos-message { width: calc(100% - 34px); display: block; padding: 15px; @@ -950,6 +951,12 @@ input:checked + .slider:before, input:checked + .slider::after { border-left: 4px solid #6DCE5E; } +.light .infos-message{ + background-color: #bde5f8; + color: #00529b !important; + border-left: 4px solid #00529b; +} + .light input:checked + .slider { background-color: #FFA646; } @@ -1077,6 +1084,12 @@ input:checked + .slider:before, input:checked + .slider::after { border-left: 4px solid #AAF6E4; } +.dark .infos-message{ + background-color: #4f71a4; + color: #bad6ff !important; + border-left: 4px solid #bad6ff; +} + .dark .btn-secondary { background-color: #202020!important; color: white!important;