File "frontend.css.php"
Full path: C:/Inetpub/vhosts/drshti.com/httpdocs/wp-content/plugins/ultimate-addons-for-gutenberg/includes/blocks/lottie/frontend.css.php
File
size: 1.54 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
/**
* Frontend CSS & Google Fonts loading File.
*
* @since 2.0.0
*
* @package uagb
*/
$selectors = array();
$t_selectors = array();
$m_selectors = array();
$selectors = array(
'.uagb-lottie__outer-wrap' => array(
'width' => UAGB_Helper::get_css_value( $attr['width'], 'px' ),
'height' => UAGB_Helper::get_css_value( $attr['height'], 'px' ),
'overflow' => 'hidden',
'outline' => 'none',
'background-color' => $attr['backgroundColor'],
),
'.uagb-lottie__left' => array(
'margin-right' => 'auto !important',
'margin-left' => '0px !important',
),
'.uagb-lottie__right' => array(
'margin-left' => 'auto !important',
'margin-right' => '0px !important',
),
'.uagb-lottie__center' => array(
'margin' => '0 auto !important',
),
);
$selectors['.uagb-lottie__outer-wrap:hover'] = array(
'background' => $attr['backgroundHColor'],
);
$t_selectors = array(
'.uagb-lottie__outer-wrap' => array(
'width' => UAGB_Helper::get_css_value( $attr['widthTablet'], 'px' ),
'height' => UAGB_Helper::get_css_value( $attr['heightTablet'], 'px' ),
),
);
$m_selectors = array(
'.uagb-lottie__outer-wrap' => array(
'width' => UAGB_Helper::get_css_value( $attr['widthMob'], 'px' ),
'height' => UAGB_Helper::get_css_value( $attr['heightMob'], 'px' ),
),
);
$combined_selectors = array(
'desktop' => $selectors,
'tablet' => $t_selectors,
'mobile' => $m_selectors,
);
return UAGB_Helper::generate_all_css( $combined_selectors, '.uagb-block-' . $id );