| @@ -32,44 +32,8 @@ | ||
| 32 | 32 | text-align:center; |
| 33 | 33 | } |
| 34 | 34 | <?php } ?> |
| 35 | 35 | |
| 36 | -<?php if ( ! empty( $label_color ) ) { ?> | |
| 37 | -.<?php echo esc_html( $style_class ); ?> .frm_icon_font{ | |
| 38 | - color:<?php echo esc_html( $label_color . $important ); ?>; | |
| 39 | -} | |
| 40 | -<?php } ?> | |
| 41 | - | |
| 42 | -.<?php echo esc_html( $style_class ); ?> .frm_icon_font.frm_minus_icon:before{ | |
| 43 | - content:"\e<?php echo esc_html( isset( $minus_icons[ $repeat_icon ] ) ? $minus_icons[ $repeat_icon ]['-'] : $minus_icons[1]['-'] ); ?>"; | |
| 44 | -} | |
| 45 | - | |
| 46 | -.<?php echo esc_html( $style_class ); ?> .frm_icon_font.frm_plus_icon:before{ | |
| 47 | - content:"\e<?php echo esc_html( isset( $minus_icons[ $repeat_icon ] ) ? $minus_icons[ $repeat_icon ]['+'] : $minus_icons[1]['+'] ); ?>"; | |
| 48 | -} | |
| 49 | - | |
| 50 | -.<?php echo esc_html( $style_class ); ?> .frm_icon_font.frm_minus_icon:before, | |
| 51 | -.<?php echo esc_html( $style_class ); ?> .frm_icon_font.frm_plus_icon:before{ | |
| 52 | - <?php if ( ! empty( $submit_text_color ) ) { ?> | |
| 53 | - color:<?php echo esc_html( $submit_text_color . $important ); ?>; | |
| 54 | - <?php } ?> | |
| 55 | - vertical-align:middle; | |
| 56 | -} | |
| 57 | - | |
| 58 | -.<?php echo esc_html( $style_class ); ?> .frm_trigger.active .frm_icon_font.frm_arrow_icon:before{ | |
| 59 | - content:"\e<?php echo esc_html( isset( $arrow_icons[ $collapse_icon ] ) ? $arrow_icons[ $collapse_icon ]['-'] : $arrow_icons[1]['-'] ); ?>"; | |
| 60 | - <?php if ( ! empty( $section_color ) ) { ?> | |
| 61 | - color:<?php echo esc_html( $section_color . $important ); ?>; | |
| 62 | - <?php } ?> | |
| 63 | -} | |
| 64 | - | |
| 65 | -.<?php echo esc_html( $style_class ); ?> .frm_trigger .frm_icon_font.frm_arrow_icon:before{ | |
| 66 | - content:"\e<?php echo esc_html( isset( $arrow_icons[ $collapse_icon ] ) ? $arrow_icons[ $collapse_icon ]['+'] : $arrow_icons[1]['+'] ); ?>"; | |
| 67 | - <?php if ( ! empty( $section_color ) ) { ?> | |
| 68 | - color:<?php echo esc_html( $section_color . $important ); ?>; | |
| 69 | - <?php } ?> | |
| 70 | -} | |
| 71 | - | |
| 72 | 36 | <?php if ( ! empty( $field_margin ) ) { ?> |
| 73 | 37 | .<?php echo esc_html( $style_class ); ?> .form-field{ |
| 74 | 38 | margin-bottom:<?php echo esc_html( $field_margin . $important ); ?>; |
| 75 | 39 | } |
| @@ -86,8 +50,10 @@ | ||
| 86 | 50 | .<?php echo esc_html( $style_class ); ?> .frm_error, |
| 87 | 51 | .<?php echo esc_html( $style_class ); ?> .frm_pro_max_limit_desc{ |
| 88 | 52 | <?php if ( ! empty( $description_margin ) ) { ?> |
| 89 | 53 | margin:<?php echo esc_html( $description_margin . $important ); ?>; |
| 54 | + <?php } else { ?> | |
| 55 | + margin-top: 6px; | |
| 90 | 56 | <?php } ?> |
| 91 | 57 | padding:0; |
| 92 | 58 | <?php if ( ! empty( $font ) ) { ?> |
| 93 | 59 | font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>; |
| @@ -187,9 +153,8 @@ | ||
| 187 | 153 | color: <?php echo esc_html( $text_color_disabled . $important ); ?>; |
| 188 | 154 | } |
| 189 | 155 | .<?php echo esc_html( $style_class ); ?> input::-moz-placeholder, |
| 190 | 156 | .<?php echo esc_html( $style_class ); ?> textarea::-moz-placeholder{ |
| 191 | - color: <?php echo esc_html( $text_color_disabled . $important ); ?>; | |
| 192 | 157 | opacity: 1; |
| 193 | 158 | } |
| 194 | 159 | .<?php echo esc_html( $style_class ); ?> input:-ms-input-placeholder, |
| 195 | 160 | <?php echo esc_html( $style_class ); ?> textarea:-ms-input-placeholder{ |
| @@ -194,24 +159,22 @@ | ||
| 194 | 159 | .<?php echo esc_html( $style_class ); ?> input:-ms-input-placeholder, |
| 195 | 160 | <?php echo esc_html( $style_class ); ?> textarea:-ms-input-placeholder{ |
| 196 | 161 | color: <?php echo esc_html( $text_color_disabled . $important ); ?>; |
| 197 | 162 | } |
| 198 | -.<?php echo esc_html( $style_class ); ?> input:-moz-placeholder, | |
| 199 | -.<?php echo esc_html( $style_class ); ?> textarea:-moz-placeholder{ | |
| 200 | - color: <?php echo esc_html( $text_color_disabled . $important ); ?>; | |
| 201 | -} | |
| 202 | 163 | |
| 203 | 164 | .<?php echo esc_html( $style_class ); ?> .frm_default, |
| 204 | 165 | .<?php echo esc_html( $style_class ); ?> input.frm_default, |
| 205 | 166 | .<?php echo esc_html( $style_class ); ?> textarea.frm_default, |
| 206 | 167 | .<?php echo esc_html( $style_class ); ?> select.frm_default, |
| 207 | -.<?php echo esc_html( $style_class ); ?> .placeholder, | |
| 168 | +<?php if ( $use_chosen_js ) { ?> | |
| 208 | 169 | .<?php echo esc_html( $style_class ); ?> .chosen-container-multi .chosen-choices li.search-field .default, |
| 209 | -.<?php echo esc_html( $style_class ); ?> .chosen-container-single .chosen-default{ | |
| 170 | +.<?php echo esc_html( $style_class ); ?> .chosen-container-single .chosen-default, | |
| 171 | +<?php } ?> | |
| 172 | +.<?php echo esc_html( $style_class ); ?> .placeholder { | |
| 210 | 173 | color: <?php echo esc_html( $text_color_disabled . $important ); ?>; |
| 211 | 174 | } |
| 212 | 175 | |
| 213 | -.<?php echo esc_html( $style_class ); ?> .form-field input:not([type=file]):focus, | |
| 176 | +.<?php echo esc_html( $style_class ); ?> .form-field input:not([type=file]):not([type=range]):not([readonly]):focus, | |
| 214 | 177 | .<?php echo esc_html( $style_class ); ?> select:focus, |
| 215 | 178 | .<?php echo esc_html( $style_class ); ?> textarea:focus, |
| 216 | 179 | .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=text], |
| 217 | 180 | .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=password], |
| @@ -220,11 +183,13 @@ | ||
| 220 | 183 | .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=url], |
| 221 | 184 | .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=tel], |
| 222 | 185 | .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=search], |
| 223 | 186 | .frm_form_fields_active_style, |
| 224 | -.<?php echo esc_html( $style_class ); ?> .frm_focus_field .frm-card-element.StripeElement, | |
| 187 | +<?php if ( $use_chosen_js ) { ?> | |
| 225 | 188 | .<?php echo esc_html( $style_class ); ?> .chosen-container-single.chosen-container-active .chosen-single, |
| 226 | -.<?php echo esc_html( $style_class ); ?> .chosen-container-active .chosen-choices{ | |
| 189 | +.<?php echo esc_html( $style_class ); ?> .chosen-container-active .chosen-choices, | |
| 190 | +<?php } ?> | |
| 191 | +.<?php echo esc_html( $style_class ); ?> .frm_focus_field .frm-card-element.StripeElement { | |
| 227 | 192 | background-color:<?php echo esc_html( $bg_color_active . $important ); ?>; |
| 228 | 193 | border-color:<?php echo esc_html( $border_color_active . $important ); ?>; |
| 229 | 194 | color: var(--text-color); |
| 230 | 195 | <?php if ( isset( $remove_box_shadow_active ) && $remove_box_shadow_active ) { ?> |
| @@ -230,9 +195,9 @@ | ||
| 230 | 195 | <?php if ( isset( $remove_box_shadow_active ) && $remove_box_shadow_active ) { ?> |
| 231 | 196 | box-shadow:none; |
| 232 | 197 | outline: none; |
| 233 | 198 | <?php } else { ?> |
| 234 | - 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); | |
| 199 | + box-shadow:0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6); | |
| 235 | 200 | <?php } ?> |
| 236 | 201 | } |
| 237 | 202 | |
| 238 | 203 | <?php if ( ! $submit_style ) { ?> |
| @@ -258,25 +223,21 @@ | ||
| 258 | 223 | } |
| 259 | 224 | echo esc_html( $important ); |
| 260 | 225 | ?> |
| 261 | 226 | ; |
| 227 | + <?php if ( '' !== $submit_border_width ) : ?> | |
| 262 | 228 | border-width:<?php echo esc_html( $submit_border_width ); ?>; |
| 229 | + <?php endif; ?> | |
| 263 | 230 | border-color: <?php echo esc_html( $submit_border_color . $important ); ?>; |
| 264 | 231 | border-style:solid; |
| 265 | 232 | color:<?php echo esc_html( $submit_text_color . $important ); ?>; |
| 266 | 233 | cursor:pointer; |
| 267 | 234 | font-weight:<?php echo esc_html( $submit_weight . $important ); ?>; |
| 268 | - -moz-border-radius:<?php echo esc_html( $submit_border_radius . $important ); ?>; | |
| 269 | - -webkit-border-radius:<?php echo esc_html( $submit_border_radius . $important ); ?>; | |
| 270 | 235 | border-radius:<?php echo esc_html( $submit_border_radius . $important ); ?>; |
| 271 | 236 | text-shadow:none; |
| 272 | 237 | padding:<?php echo esc_html( $submit_padding . $important ); ?>; |
| 273 | - -moz-box-sizing:border-box; | |
| 274 | 238 | box-sizing:border-box; |
| 275 | - -ms-box-sizing:border-box; | |
| 276 | 239 | <?php if ( ! empty( $submit_shadow_color ) ) { ?> |
| 277 | - -moz-box-shadow:0 1px 1px <?php echo esc_html( $submit_shadow_color ); ?>; | |
| 278 | - -webkit-box-shadow:0 1px 1px <?php echo esc_html( $submit_shadow_color ); ?>; | |
| 279 | 240 | box-shadow:0 1px 1px <?php echo esc_html( $submit_shadow_color ); ?>; |
| 280 | 241 | <?php } ?> |
| 281 | 242 | margin:<?php echo esc_html( $submit_margin ); ?>; |
| 282 | 243 | <?php |
| @@ -329,8 +290,9 @@ | ||
| 329 | 290 | .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:active, |
| 330 | 291 | .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:focus{ |
| 331 | 292 | color: transparent <?php echo esc_html( $important ); ?>; |
| 332 | 293 | background: <?php echo esc_html( $submit_bg_color . $important ); ?>; |
| 294 | + border-color: <?php echo esc_html( $submit_bg_color . $important ); ?>; | |
| 333 | 295 | } |
| 334 | 296 | |
| 335 | 297 | .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:before, |
| 336 | 298 | .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:before { |
| @@ -343,10 +305,10 @@ | ||
| 343 | 305 | max-width:<?php echo esc_html( $submit_width ); ?>; |
| 344 | 306 | <?php } ?> |
| 345 | 307 | } |
| 346 | 308 | <?php |
| 347 | - } | |
| 348 | -} | |
| 309 | + }//end if | |
| 310 | +}//end if | |
| 349 | 311 | ?> |
| 350 | 312 | |
| 351 | 313 | .<?php echo esc_html( $style_class ); ?>.frm_inline_top .frm_submit::before, |
| 352 | 314 | .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit::before { |
| @@ -393,11 +355,13 @@ | ||
| 393 | 355 | .frm_form_fields_error_style, |
| 394 | 356 | .<?php echo esc_html( $style_class ); ?> .frm_blank_field .frm-g-recaptcha iframe, |
| 395 | 357 | .<?php echo esc_html( $style_class ); ?> .frm_blank_field .g-recaptcha iframe, |
| 396 | 358 | .<?php echo esc_html( $style_class ); ?> .frm_blank_field .frm-card-element.StripeElement, |
| 359 | +<?php if ( $use_chosen_js ) { ?> | |
| 397 | 360 | .<?php echo esc_html( $style_class ); ?> .frm_blank_field .chosen-container-multi .chosen-choices, |
| 398 | 361 | .<?php echo esc_html( $style_class ); ?> .frm_blank_field .chosen-container-single .chosen-single, |
| 399 | -.<?php echo esc_html( $style_class ); ?> .frm_form_field :invalid{ | |
| 362 | +<?php } ?> | |
| 363 | +.<?php echo esc_html( $style_class ); ?> .frm_form_field :invalid { | |
| 400 | 364 | color:<?php echo esc_html( $text_color_error . $important ); ?>; |
| 401 | 365 | background-color:<?php echo esc_html( $bg_color_error . $important ); ?>; |
| 402 | 366 | border-color:<?php echo esc_html( $border_color_error . $important ); ?>; |
| 403 | 367 | border-width:<?php echo esc_html( $border_width_error . $important ); ?>; |
| @@ -412,9 +376,8 @@ | ||
| 412 | 376 | .<?php echo esc_html( $style_class ); ?> .frm_limit_error{ |
| 413 | 377 | font-weight:<?php echo esc_html( $weight . $important ); ?>; |
| 414 | 378 | } |
| 415 | 379 | |
| 416 | -.<?php echo esc_html( $style_class ); ?> .frm_blank_field label, | |
| 417 | 380 | .<?php echo esc_html( $style_class ); ?> .frm_error, |
| 418 | 381 | .<?php echo esc_html( $style_class ); ?> .frm_limit_error{ |
| 419 | 382 | color:<?php echo esc_html( $border_color_error . $important ); ?>; |
| 420 | 383 | } |