From e1107b55c6715d131ca808890ce51c6301e56ccc Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 23 May 2011 11:39:57 +0200 Subject: add info() function. Works like notice() but show messages in a div with class info-message. update code to use info() instead of notice() when appropriate (non-error message) add info-message class style in themes --- view/theme/dispy/style.css | 15 +++++++++++++++ view/theme/duepuntozero/style.css | 8 ++++++++ view/theme/loozah/style.css | 8 ++++++++ 3 files changed, 31 insertions(+) (limited to 'view/theme') diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index a212c1935..b7c41c89c 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -171,6 +171,18 @@ nav .nav-link { #home-update { background-position: -90px 0px; } /** sysmsg **/ +#sysmsg_info{ + position:fixed; + bottom: 0px; right:20%; + -moz-box-shadow: 0px 0px 5px #888; + -webkit-box-shadow: 0px 0px 5px #888; + box-shadow: 0px 0px 5px #888; + padding: 10px; + background-color: #fcaf3e; border:2px solid #f8911b; + border-bottom:0px; + padding-bottom: 50px; + z-index: 1000; +} #sysmsg { position:fixed; bottom: 0px; right:10%; @@ -183,12 +195,15 @@ nav .nav-link { padding-bottom: 50px; z-index: 1000; } +#sysmsg_info br, #sysmsg br { display:block; margin:2px 0px; border-top: 1px solid #ccccce; } + + /** * aside **/ diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 9e7ebbc06..61da54231 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -93,6 +93,14 @@ nav #site-location { padding: 10px; } +.info-message { + color: #204a87; + font-size: 1.1em; + border: 1px solid #3465a4; + background-color: #d7e3f1; + padding: 10px; +} + nav #banner { display: block; diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index 0ae2ab4cd..92c2c20a7 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -290,6 +290,14 @@ nav { background-color: #FFEEEE; padding: 10px; } +.info-message { + color: #204a87; + font-size: 1.1em; + border: 1px solid #3465a4; + background-color: #d7e3f1; + padding: 10px; +} + .nav-link { float: right; -- cgit v1.2.3