<?php
/**
 * Close button style
 *
 * @package wp-viral-click
 * @author InstaProduct
 * @link http://insta-product.com/
 */

$st = $this->setting;

$classid  = '.ipjck-widget-' . $this->widget->ID;
$bgcolor  = $st->getSetting( 'minimize_bgcolor', '#f9f9f9' );
$color    = $st->getSetting( 'minimize_color', '#333333' );
$bowidth  = $st->getSetting( 'minimize_border_width' );
$bocolor  = $st->getSetting( 'minimize_border_color', '#dddddd' );
?>

<style>
<?php echo $classid; ?> .ipjck-minimize-button {
  background-color: <?php echo $bgcolor ?>;
  color: <?php echo $color; ?>;
  <?php
  if ( $bowidth ) {
    echo 'border:' . $bowidth . 'px solid ' . $bocolor . ';';
  }
  ?>
}
</style>
<div class="ipjck-widget-minimize">
  <a href="#" class="ipjck-minimize-button">
    <i class="ipjck-fa ipjck-fa-chevron-down"></i>
  </a>
</div>
