PluginProbe
Passster – Password Protect Pages and Content / 4.3.17
Passster – Password Protect Pages and Content v4.3.17
4.3.17 4.3.16 4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 All 49 releases
← All changes | inc/admin/inc/class-ps-dynamic-styles.php +6 -6 4.3.10 → 4.3.17 View file →
@@ -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>