addStyleSheet( 'modules/mod_hot_joomla_carousel_pro/tmpl/hot_joomla_carousel_pro.css' ); if($buttonRadius) { $buttonRadiusHTML = '-moz-border-radius:'.$buttonRadius.'px; '; $buttonRadiusHTML .= '-webkit-border-radius:'.$buttonRadius.'px;'; $buttonRadiusHTML .= 'border-radius:'.$buttonRadius.'px;'; } // style declaration $doc->addStyleDeclaration( ' #hotcarouselmodule-'.$uid.'.hotcarousel li.carouselimage img { border:'.$objectBorderWidth.'px solid '.$objectBorderColor.'; margin:'.$objectMarginReal.'px; padding:'.$objectPadding.'px; } #hotcarouselmodule-'.$uid.'.hotcarousel li .carouselarticle { border:'.$objectBorderWidth.'px solid '.$objectBorderColor.'; margin:'.$objectMarginReal.'px; padding:'.$objectPadding.'px; width:'.$objectWidth.'px; height:'.$objectHeight.'px; overflow:hidden; } #hotcarouselmodule-'.$uid.'.hotcarousel .js { overflow:hidden; height:'.$moduleHeight.'px; } #hotcarouselmodule-'.$uid.'.hotcarousel .carousel-next { background: url('.$mosConfig_live_site.'/modules/mod_hot_joomla_carousel_pro/images/icon'.$arrowStyle.'_right.png) 0 '.$controlPositon.'px no-repeat; float:left; } #hotcarouselmodule-'.$uid.'.hotcarousel .carousel-previous { background: url('.$mosConfig_live_site.'/modules/mod_hot_joomla_carousel_pro/images/icon'.$arrowStyle.'_left.png) 0 '.$controlPositon.'px no-repeat; float:left; } #hotcarouselmodule-'.$uid.'.hotcarousel .carousel-control { height:'.$moduleHeightControl.'px; '.$arrowDisplayHTML.' } #hotcarouselmodule-'.$uid.' div.carousel-pagination a span { border:'.$buttonBorderSize.'px solid '.$buttonBorderColor.'; padding:'.$buttonVertPadding.'px '.$buttonHorizPadding.'px; margin:1px; line-height:20px; background:'.$buttonBgColor.'; '.$buttonRadiusHTML.' cursor:pointer; } #hotcarouselmodule-'.$uid.' div.carousel-pagination span:hover, #hotcarouselmodule-'.$uid.' div.carousel-pagination a.active span { background:'.$buttonBgColorActive.'; cursor:pointer; border:'.$buttonBorderSizeActive.'px solid '.$buttonBorderColorActive.'; } #hotcarouselmodule-'.$uid.' .carousel-wrap { width:'.$moduleWidth.'px; height:'.$moduleHeightControl.'px !important; float:left; } #hotcarouselmodule-'.$uid.' .carouselarticle { background:'.$articleBgColor.'; } #hotcarouselmodule-'.$uid.'.hidecarousel { display:none; } ' ); ?>