MyBB Community Forums

Full Version: Which template is this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: GIAXeDpwIQ8T0fb3aLyt.png]

As you can see, the background is still white and I need to edit it to a dark background. Where do you edit this?
TEMPLATES/STYLE > GLOBAL.CSS

body {}
(2013-04-02, 04:46 AM)Stupid Ghost Wrote: [ -> ]TEMPLATES/STYLE > GLOBAL.CSS

body {}

<div class="red_alert"><a href="modcp.php?action=reports">{$lang->unread_reports}</a></div>
<br />

Looks like this, what will I need to add for a black background?
You'd need to change the properties for ".red_alert" then.
.red_alert {
background: #2B0000;
.
.
.
}
Thanks lads.

Also, which is this:

[Image: xy-BTeABXHk805dW4t89.png]
Moderator Control Panel Templates -> modcp_reports Smile
(2013-04-02, 10:25 AM)Vernier Wrote: [ -> ]Moderator Control Panel Templates -> modcp_reports Smile

[spoiler]
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reported_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="modcp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="page" value="{$page}" />
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="7"><strong>{$lang->reported_posts_note}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->post_id}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->poster}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reporter}</strong></span></td>
<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->report_reason}</strong></span></td>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->report_time}</strong></span></td>
<td class="tcat" align="center" width="5%"><input type="checkbox" name="allbox" onclick="selectReportedPosts();" /></td>
</tr>
{$reports}
{$reportspages}
<tr>
<td class="tfoot" colspan="7" align="right"><span class="smalltext"><strong><a href="modcp.php?action=allreports">{$lang->view_all_reported_posts}</a></strong></span></td>
</tr>
</table>
<br />
<div align="center"><input type="hidden" name="action" value="do_reports" /><input type="submit" class="button" name="reportsubmit" value="{$lang->mark_read}" /></div>
</td>
</tr>
</table>
</form>
{$footer}
<script type="text/javascript">
<!--
	var checked = false;
	function selectReportedPosts()
	{
		if(checked == false)
		{
			checked = true;
			$$('input[type="checkbox"]').invoke('writeAttribute', 'checked', 'checked');
		}
		else
		{
			checked = false;
			$$('input[type="checkbox"]').invoke('writeAttribute', 'checked', '');
		}
	}
// -->
</script>
</body>
</html>
[/spoiler]

It looks exactly like that. What do I need to add for a BLACK background of the box?
That bg color is associated with trow_shaded class and instead of removing {$altbg} variable just add some styling rules for trow_shaded in global.css
.trow_shaded {
 color:#000000;
}

.trow_shaded a:link,
.trow_shaded a:visited {
  color:#000000;
}

.trow_shaded a:hover,
.trow_shaded a:active {
  color:#2a2a2a;
}


And the template is modcp_reports_report ({$altbg} - generates - trow1/2 and trow_shaded classes).