<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Firewall Rules Color]]></title><description><![CDATA[<p dir="auto">Hi, is it possible to make firewall rules colorize?<br />
For example block in full red , reject full yellow, allow full green. Something like this? or Firewall rules with color tags</p>
]]></description><link>https://forum.netgate.com/topic/187968/firewall-rules-color</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 11:11:54 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/187968.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 May 2024 23:04:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Firewall Rules Color on Sun, 05 May 2024 13:33:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/antibiotic">@<bdi>Antibiotic</bdi></a> I have no knowledge about making themes, sorry.</p>
]]></description><link>https://forum.netgate.com/post/1167258</link><guid isPermaLink="true">https://forum.netgate.com/post/1167258</guid><dc:creator><![CDATA[SteveITS]]></dc:creator><pubDate>Sun, 05 May 2024 13:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to Firewall Rules Color on Sun, 05 May 2024 12:26:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steveits">@<bdi>SteveITS</bdi></a> Any links for custom pfsense themes?  I tried to search in github but all too old!Pfsense-dark-beta is it buggy theme?</p>
]]></description><link>https://forum.netgate.com/post/1167246</link><guid isPermaLink="true">https://forum.netgate.com/post/1167246</guid><dc:creator><![CDATA[Antibiotic]]></dc:creator><pubDate>Sun, 05 May 2024 12:26:23 GMT</pubDate></item><item><title><![CDATA[Reply to Firewall Rules Color on Sun, 05 May 2024 01:59:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/antibiotic">@<bdi>Antibiotic</bdi></a> Yes and no.  You could create your own pfSense theme.</p>
<p dir="auto">Coloring can be done with CSS, perhaps crudely here based on the title attribute of the second cell (since the row isn't classed as pass/block/reject):</p>
<pre><code>tr:has(td:nth-child(2)[title="traffic is rejected"]) {
   background-color: #ff000033;
}
tr:has(td:nth-child(2)[title="traffic is passed"]) {
  background-color: #00ff0033;
}
</code></pre>
<p dir="auto">However the table of rules is (faintly) striped, and the more specific disabled overrides the coloring, using</p>
<pre><code>.table-striped &gt; tbody &gt; tr.disabled:nth-of-type(2n+1) {
and
.table-striped &gt; tbody &gt; tr.disabled:nth-of-type(2n) {
</code></pre>
<p dir="auto">...so some work would need to be done on getting the CSS to be correct for all cases.</p>
<p dir="auto">image:<br />
<img src="/assets/uploads/files/1714874375634-d8691e1b-2041-4e54-b779-d5b5a706e2de-image.png" alt="d8691e1b-2041-4e54-b779-d5b5a706e2de-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1167204</link><guid isPermaLink="true">https://forum.netgate.com/post/1167204</guid><dc:creator><![CDATA[SteveITS]]></dc:creator><pubDate>Sun, 05 May 2024 01:59:44 GMT</pubDate></item></channel></rss>