aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-05-23 11:39:57 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-05-23 11:39:57 +0200
commite1107b55c6715d131ca808890ce51c6301e56ccc (patch)
treefe082a84a1b20b68141e3b1ffdac697051ae73b6 /view
parent3ea145fae7defaf959b04797afc8482bd0190352 (diff)
downloadvolse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.tar.gz
volse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.tar.bz2
volse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.zip
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
Diffstat (limited to 'view')
-rw-r--r--view/settings_nick_set.tpl4
-rw-r--r--view/theme/dispy/style.css15
-rw-r--r--view/theme/duepuntozero/style.css8
-rw-r--r--view/theme/loozah/style.css8
4 files changed, 32 insertions, 3 deletions
diff --git a/view/settings_nick_set.tpl b/view/settings_nick_set.tpl
index 1b0766099..eb4721d50 100644
--- a/view/settings_nick_set.tpl
+++ b/view/settings_nick_set.tpl
@@ -1,7 +1,5 @@
<div id="settings-nick-wrapper" >
-<p id="settings-nickname-desc">
-<div class="error-message">$desc <strong>'$nickname@$basepath'</strong>$subdir</div>
-</p>
+<div id="settings-nickname-desc" class="info-message">$desc <strong>'$nickname@$basepath'</strong>$subdir</div>
</div>
<div id="settings-nick-end" ></div>
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;