| @@ -90,10 +90,10 @@ | ||
| 90 | 90 | |
| 91 | 91 | ?> |
| 92 | 92 | <style> |
| 93 | 93 | .passster-form { |
| 94 | - max-width: <?php echo esc_html($options['form_max_width']); ?> !important; | |
| 95 | - <?php if( isset($options['center_form']) && $options['center_form']) : ?> margin: 0 auto !important; | |
| 94 | + max-width: <?php echo esc_html($options['form_max_width']); ?>; | |
| 95 | + <?php if( isset($options['center_form']) && $options['center_form']) : ?> margin: 0 auto; | |
| 96 | 96 | <?php endif; ?> |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | .passster-form > form { |
| @@ -114,10 +114,10 @@ | ||
| 114 | 114 | font-weight: <?php echo esc_html($options['instruction_font_weight']); ?>; |
| 115 | 115 | color: <?php echo esc_html($options['instruction_font_color']); ?>; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | - .passster-submit, .passster-submit-recaptcha, | |
| 119 | - .passster-submit, .passster-submit-turnstile { | |
| 118 | + .passster-form button[type="submit"], .passster-form .passster-submit, | |
| 119 | + .passster-form .passster-submit-recaptcha, .passster-form .passster-submit-turnstile { | |
| 120 | 120 | background: <?php echo esc_html($options['button_background_color']); ?>; |
| 121 | 121 | padding: <?php echo esc_html($button_spacing['padding']['top']); ?> <?php echo esc_html($button_spacing['padding']['right']); ?> <?php echo esc_html($button_spacing['padding']['bottom']); ?> <?php echo esc_html($button_spacing['padding']['left']); ?>; |
| 122 | 122 | margin: <?php echo esc_html($button_spacing['margin']['top']); ?> <?php echo esc_html($button_spacing['margin']['right']); ?> <?php echo esc_html($button_spacing['margin']['bottom']); ?> <?php echo esc_html($button_spacing['margin']['left']); ?>; |
| 123 | 123 | border-radius: <?php echo esc_html($options['button_border_radius']); ?>px; |
| @@ -125,10 +125,10 @@ | ||
| 125 | 125 | font-weight: <?php echo esc_html($button_font_weight); ?>; |
| 126 | 126 | color: <?php echo esc_html($options['button_font_color']); ?>; |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | - .passster-submit:hover, .passster-submit-recaptcha:hover, | |
| 130 | - .passster-submit:hover, .passster-submit-turnstile:hover { | |
| 129 | + .passster-form button[type="submit"]:hover, .passster-form .passster-submit:hover, | |
| 130 | + .passster-form .passster-submit-recaptcha:hover, .passster-form .passster-submit-turnstile:hover { | |
| 131 | 131 | background: <?php echo esc_html($options['button_background_color_hover']); ?>; |
| 132 | 132 | color: <?php echo esc_html($options['button_font_color_hover']); ?>; |
| 133 | 133 | } |
| 134 | 134 | </style> |