| Current Path : /var/www/html/modules/mod_nobosstestimonials/tmpl/style/ |
| Current File : /var/www/html/modules/mod_nobosstestimonials/tmpl/style/model3.php |
<?php
/**
* @package No Boss Extensions
* @subpackage No Boss Testimonials
* @author No Boss Technology <contact@nobosstechnology.com>
* @copyright Copyright (C) 2018 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($testimonialsBackgroundType == "background-image" && !empty($backgroundImageSrc) && $testimonialsFilter){
$s .=
".{$module->name}:before {
content: '';
{$testimonialsBackgroundColor}
}";
}
$s .=
".{$module->name} .testimonials-content__text:after {
border-top-color: {$itemsCustomization->items_background_color}
}";
if($paramsTestimonials->itemsOrientation == 'vertical'){
$s .=
"@media screen and (min-width: 768px){
.{$module->name} .testimonials--vertical .testimonials-content:nth-of-type(even) .testimonials-content__text:after {
border-top-color: transparent;
border-left-color: {$itemsCustomization->items_background_color};
}
.{$module->name} .testimonials--vertical .testimonials-content:nth-of-type(odd) .testimonials-content__text:after {
border-top-color: transparent;
border-right-color: {$itemsCustomization->items_background_color};
}";
$s .= "}";
}
$s .=
"@media screen and (max-width: 767px){";
$s .=
".{$module->name}{
{$sectionStyleMobile}
}
.{$module->name}{
{$externalArea->external_area_height_mobile}
}
";
$s .=
".{$module->name} .testimonials-text{
{$paramsTestimonials->testimonialTextStyleMobile}
}";
$s .= "}";
$assetsObject->addStyleWithPrefix($s);
?>