Module: check_mk
Branch: master
Commit: bcc2ad5004bf0f6ef0e62d652e105eaee8d6f728
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bcc2ad5004bf0f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 16 16:43:31 2017 +0200
Improved styling of error messages in sidebar snapins
Change-Id: I5fc5e8f728305f7b1eac1855193ce4082e396e47
---
web/htdocs/check_mk.css | 10 ++++++++++
web/htdocs/pages.css | 4 ----
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index 2cb1f85..d964b18 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -406,6 +406,16 @@ ul.closed {
| Styles for messages-boxes in various situations (called by htmllib.py) |
'-------------------------------------------------------------------------*/
+div.really, div.success, div.error, div.message, div.warning {
+ margin: 0.25em;
+ border-radius: 1ex;
+ padding: 0.5em 1em;
+ box-shadow: 0 0 3px #444;
+}
+
+div.message {
+ color: black;
+}
div.really {
background-color: #fdc400;
border-color: #800;
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index beb8e8d..8ebc40a 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -997,11 +997,7 @@ table.nform tr.bottom td {
'-------------------------------------------------------------------------*/
div.really, div.success, div.error, div.message, div.warning {
margin: 2em 0em;
- border-radius: 1ex;
padding: 1em 2em;
- box-shadow: 0 0 3px #444;
- /* border-width: 2px;
- border-style: solid;*/
}
div.message {