<?php
/**
 * @package			No Boss Extensions
 * @subpackage  	No Boss Calendar
 * @author			No Boss Technology <contact@nobosstechnology.com>
 * @copyright		Copyright (C) 2020 No Boss Technology. All rights reserved.
 * @license			GNU Lesser General Public License version 3 or later; see <https://www.gnu.org/licenses/lgpl-3.0.en.html>
 */

defined('_JEXEC') or die();

$s = "";

if (!empty($event)){
    $s .= ".{$moduleName} [module-item-id={$moduleName}_{$idModule}_{$date->month}_{$count}] .nb-day__end:before, .{$moduleName} [module-item-id={$moduleName}_{$idModule}_{$date->month}_{$count}] .nb-day__end::before{";
            $s .= "background-color: " . (!empty($event->event_text_color) ? $event->event_text_color : $custom->events_texts_color) . ";"; 
    $s .= "}";
}

// chama função que adiciona prefixo em todo o estilo que foi concatenado na variável $s 
$assetsObject->addStyleWithPrefix($s); 

?>
