From 0ebc591d4580450f44e6d627812550c89d6ab0e7 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 7 Sep 2017 14:46:48 +0200 Subject: [PATCH] Add fullline_cat_bg class for fields which need to get categories colors as background. --- api/categories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/categories.php b/api/categories.php index 9be37f2f22..9ef15f0b83 100644 --- a/api/categories.php +++ b/api/categories.php @@ -41,7 +41,7 @@ foreach($categories as $cat) { // Use slightly more specific selector that just class, to allow defaults // if the category has no color - $content .= ".egwGridView_scrollarea tr.cat_{$cat['id']} > td:first-child, .select-cat li.cat_{$cat['id']}, .nextmatch_header_row .et2_selectbox.select-cat.cat_{$cat['id']} a.chzn-single {border-left-color: {$cat['data']['color']};} div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n"; + $content .= ".egwGridView_scrollarea tr.cat_{$cat['id']} > td:first-child, .select-cat li.cat_{$cat['id']}, .nextmatch_header_row .et2_selectbox.select-cat.cat_{$cat['id']} a.chzn-single {border-left-color: {$cat['data']['color']};} .cat_{$cat['id']}.fullline_cat_bg, div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n"; } if (!empty($cat['data']['icon'])) {