1
0
Fork 0

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
This commit is contained in:
Fabio Comuni 2011-05-23 11:39:57 +02:00
commit e1107b55c6
33 changed files with 123 additions and 75 deletions

View file

@ -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>

View file

@ -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
**/

View file

@ -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;

View file

@ -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;