Markup and styles for search help and errors

This commit is contained in:
Sarven Capadisli 2009-04-07 21:02:47 +00:00
parent c42995e3a2
commit 658462ce85
3 changed files with 19 additions and 6 deletions

View File

@ -152,8 +152,11 @@ You can also try your search on other engines:
E_O_T
), $qe, $qe, $qe, $qe);
$this->elementStart('div', 'blankfiller');
$this->elementStart('dl', array('id' => 'help_search', 'class' => 'help'));
$this->element('dt', null, _('Search help'));
$this->elementStart('dd', 'instructions');
$this->raw(common_markup_to_html($message));
$this->elementEnd('dd');
$this->elementEnd('div');
}
}

View File

@ -83,12 +83,13 @@ left:0;
border:0;
}
#page_notice .error,
#page_notice .success {
.error,
.success {
padding:4px 7px;
border-radius:4px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
margin-bottom:18px;
}
form label.submit {
display:none;
@ -1145,4 +1146,13 @@ clear:both;
margin-bottom:0;
}
.instructions ul {
list-style-position:inside;
}
.instructions p,
.instructions ul {
margin-bottom:18px;
}
.help dt {
display:none;
}

View File

@ -113,10 +113,10 @@ background-color:rgba(255, 255, 255, 0.7);
}
#page_notice .error {
.error {
background-color:#F7E8E8;
}
#page_notice .success {
.success {
background-color:#EFF3DC;
}