<?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 = "";

$s .=
".{$module->name} .nb-month__day--today, .{$module->name} .nb-week__day--today{
    color: $custom->highlight_month_day_color;
}";

// Definada exibicao de borda abaixo da linha da semana
if (isset($custom->show_days_week_edge) && ($custom->show_days_week_edge == '1')){
    $s .=
    ".{$module->name} .nb-week{
        border-bottom: {$custom->days_week_edge}px solid;
    }";
}

$s .=
    "@media screen and (max-width: 767px){
        .{$module->name} .nb-week{
            {$custom->days_week_size_mobile}";
            // Definada exibicao de borda abaixo da linha da semana
            if (isset($custom->show_days_week_edge) && ($custom->show_days_week_edge == '1')){
                $s .= "border-bottom: {$custom->days_week_edge_mobile}px solid;";
            }
    $s .="}
        .{$module->name} .nb-month__date{
            {$custom->days_month_size_mobile}
        }
        .{$module->name} .nb-legends__categories{
            {$custom->categories_size_mobile}
        }
        .{$moduleName} .nb-event__title{
            {$custom->events_title_style_mobile}
        }
        .{$moduleName} .nb-event__description{
            {$custom->events_subtitle_style_mobile}
        }
        .{$moduleName} .nb-event__date{
            {$custom->events_date_style_mobile}
        }
        .{$moduleName} .nb-event__time{
            {$custom->events_schedule_style_mobile}
        }
        .{$moduleName} .nb-event__localization{
            {$custom->events_address_style_mobile}
        }      
    }";
    
$assetsObject->addStyleWithPrefix($s);

?>
