<?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 = "";
// Hover das setas
$s .= 
    ".{$module->name} .nb-calendar-controls:hover span.fa{
        {$custom->arrows_style_hover}
    }
";
$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;
    }
";

$s .=
    "@media screen and (max-width: 767px){
        .{$module->name}{
            {$sectionStyleMobile}
        }
        .{$module->name} .nb-sidebar__header{
            {$custom->year_header_spacing_mobile}
        }
        .{$module->name} .nb-sidebar__month .nb-sidebar__link{
            {$custom->sidebar_months_spacing_mobile}
        }
        .{$module->name} .nb-sidebar__header .nb-calendar__date *{
            {$custom->year_header_size_mobile}
        }
        .{$module->name} .nb-sidebar__months .month-header-title{
            {$custom->sidebar_months_size_mobile}
        }
        .{$module->name} .nb-calendar__title{
            {$titleStyleMobile}
        }
        .{$module->name} .nb-calendar__subtitle{
            {$subtitleStyleMobile}
        }
        .{$module->name} .nb-sidebar__events-number{
            {$custom->sidebar_months_bullet_size_mobile}
            {$custom->sidebar_months_bullet_width_mobile}
        }
        ";
$s .= "}";

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

?>
