Author: nathangray
New Revision: 54777
URL: http://svn.stylite.de/viewvc/egroupware?rev=54777&view=rev
Log:
Slightly increase specificity for higher precedence, allowing default colors if the category has no color
Modified:
trunk/phpgwapi/categories.php
Modified: trunk/phpgwapi/categories.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/categories.php?rev=54777&r1=54776&r2=54777&view=diff
— trunk/phpgwapi/categories.php (original)
+++ trunk/phpgwapi/categories.php Tue Jan 19 22:50:13 2016
@@ -36,7 +36,9 @@
{
if($cat[‘data’][‘color’])
{
-
$content .= ".cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n";
-
// Use slightly more specific selector that just class, to allow defaults -
// if the category has no color -
}$content .= "tr.cat_{$cat['id']}, div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n";
if($cat[‘data’][‘icon’])
{
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs