.frm_focus_field input[type=search],
.frm_form_fields_active_style,
.<?php 
echo $style_class;
?>
 .chosen-container-active .chosen-choices{
    background-color:#<?php 
echo $bg_color_active . $important;
?>
;
    border-color:#<?php 
echo $border_color_active . $important;
?>
;
    box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(<?php 
echo FrmStylesHelper::hex2rgb($border_color_active);
?>
, 0.6);
}

<?php 
if (!$submit_style) {
    ?>
.<?php 
    echo $style_class;
    ?>
 input[type=submit],
.<?php 
    echo $style_class;
    ?>
 .frm_submit input[type=button],
 .frm_focus_field input[type=search],
.frm_form_fields_active_style,
.<?php 
echo esc_html($style_class);
?>
 .chosen-container-active .chosen-choices{
    background-color:#<?php 
echo esc_html($bg_color_active . $important);
?>
;
    border-color:#<?php 
echo esc_html($border_color_active . $important);
?>
;
    box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(<?php 
echo esc_html(FrmStylesHelper::hex2rgb($border_color_active));
?>
, 0.6);
}

<?php 
if (!$submit_style) {
    ?>
.<?php 
    echo esc_html($style_class);
    ?>
 input[type=submit],
.<?php 
    echo esc_html($style_class);
    ?>
 .frm_submit input[type=button],
Ejemplo n.º 3
0
 public static function hex2rgb($hex)
 {
     _deprecated_function(__FUNCTION__, '2.0', 'FrmStylesHelper::hex2rgb');
     return FrmStylesHelper::hex2rgb($hex);
 }