mirror of https://github.com/BOINC/boinc.git
web: fixes for dark background; make button text normal size
This commit is contained in:
parent
dfe7261cda
commit
0a94ab9d30
|
@ -588,7 +588,7 @@ function show_post(
|
|||
|
||||
$url = "pm.php?action=new&userid=".$user->id;
|
||||
$name = $user->name;
|
||||
show_button($url, tra("Send message"), tra("Send %1 a private message",$name));
|
||||
show_button_small($url, tra("Send message"), tra("Send %1 a private message",$name));
|
||||
echo '<br>'.tra("Joined: %1", gmdate('j M y', $user->create_time)), "<br>";
|
||||
|
||||
if (!isset($user->nposts)) {
|
||||
|
|
|
@ -843,7 +843,7 @@ function button_text($url, $text, $desc=null, $class="btn-success btn-sm") {
|
|||
if (!$desc) {
|
||||
$desc = $text;
|
||||
}
|
||||
return sprintf(' <a href="%s" title="%s" class="btn %s"><span style="font-size:1.2em">%s</span></a>',
|
||||
return sprintf(' <a href="%s" title="%s" class="btn %s">%s</a>',
|
||||
$url, $desc, $class, $text
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# fixes to dark-backround themes to increase legibility
|
||||
|
||||
body, navbar-text, panel {
|
||||
body, navbar-text, panel, a:btn {
|
||||
color:white;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue