- Patch #234785 by Rowanw, yoroy, flobruit, et al: usability: improve visibility of the 'more help' link by adding an icon.

merge-requests/26/head
Dries Buytaert 2008-04-02 20:23:15 +00:00
parent a65fd88dcb
commit 0a8be2adda
3 changed files with 8 additions and 4 deletions

View File

@ -1449,7 +1449,7 @@ function theme_item_list($items = array(), $title = NULL, $type = 'ul', $attribu
* Returns code that emits the 'more help'-link.
*/
function theme_more_help_link($url) {
return '<div class="more-help-link">'. t('[<a href="@link">more help...</a>]', array('@link' => check_url($url))) .'</div>';
return '<div class="more-help-link">'. t('<a href="@link">More help</a>', array('@link' => check_url($url))) .'</div>';
}
/**

BIN
misc/help.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

View File

@ -153,11 +153,15 @@ tr.merge-up, tr.merge-up td, tr.merge-up th {
.marker, .form-required {
color: #f00;
}
.more-link {
.more-help-link {
text-align: right; /* LTR */
}
.more-help-link {
font-size: 0.85em;
.more-help-link a {
padding: 1px 0 1px 20px;
background-image: url(../../misc/help.png);
background-repeat: no-repeat;
}
.more-link {
text-align: right; /* LTR */
}
.nowrap {