<?php
/**
 * @package			No Boss Extensions
 * @subpackage  	No Boss Calendar
 * @author			No Boss Technology <contact@nobosstechnology.com>
 * @copyright		Copyright (C) 2022 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 = "";
$s .=  
".{$module->name} .nb-month__day--event:hover .nb-month__date{
    background-color: {$custom->events_background_color};
    color: #fff;
}
";

$s .=  
".{$module->name} .nb-month__day--event.is-active .nb-month__date{
    background-color: {$custom->events_background_color};
    color: #fff;
}
";

// Acesso mobile
$s .= "@media screen and (max-width: 767px){
    .{$module->name}{
        {$sectionStyleMobile}
    }
    .{$module->name} .nb-calendar__title{
        {$titleStyleMobile}
    }
    .{$module->name} .nb-calendar__subtitle{
        {$subtitleStyleMobile}
    }";
$s .= "}";

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