"color: $onecrm_help_css_head_font_col;", '.kbbox' => "background-color: $onecrm_help_css_color; color: $onecrm_help_css_p_font_col; border: $borders; $shadows", '.onecrm-p-counter' => "color: $onecrm_help_css_p_counter_col;", '.onecrm-p-view-grid' => "background: $onecrm_help_css_p_icon_col_inactive;", '.onecrm-p-view-list' => "background: $onecrm_help_css_p_icon_col_inactive;", '.onecrm-p-view-icons.view-list .onecrm-p-view-list' => "background: $onecrm_help_css_p_icon_col_active; ", '.onecrm-p-view-icons.view-grid .onecrm-p-view-grid' => "background: $onecrm_help_css_p_icon_col_active; ", '.onecrm-p-view-icons.view-list .onecrm-p-view-list-outer' => "$icon_border", '.onecrm-p-view-icons.view-grid .onecrm-p-view-grid-outer' => "$icon_border;", ]; $css = ''; foreach ($rules as $selector => $r) { $css .= "div.onecrmhelp.onecrm-p-themed $selector { $r }\n"; } $css .= get_option("onecrm_help_custom_css"); return $css; }