Refactor social login button styles and update text for Facebook login

- Updated CSS for social login buttons to improve layout and hover effects.
- Changed the text for the Facebook login button from "Sign in with Facebook" to "Zaloguj się za pomocą Facebook" for localization.
- Adjusted JavaScript to reflect the new button text.
This commit is contained in:
2025-10-31 00:29:49 +01:00
parent c32410eefd
commit d4df30d692
6 changed files with 6988 additions and 869 deletions

View File

@@ -1,4 +1,4 @@
{*
{*
* @Module Name: Leo Quick Login
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
@@ -13,8 +13,8 @@
<!--
<div class="fb-login-button" data-max-rows="1" data-size="large" data-button-type="login_with" data-show-faces="false" data-auto-logout-link="false" data-use-continue-as="false" scope="public_profile,email" onlogin="checkLoginState();"></div>
-->
<button class="btn social-login-bt facebook-login-bt" onclick="doFbLogin();"><span class="fa fa-facebook"></span>{if $show_button_text}{l s='Sign in with Facebook' mod='leoquicklogin'}{/if}</button>
<button class="btn social-login-bt facebook-login-bt" onclick="doFbLogin();"><span class="fa fa-facebook"></span>{if $show_button_text}{l s='Zaloguj się za pomocą Facebook' mod='leoquicklogin'}{/if}</button>
{/if}
<!--
<div class="g-signin2" data-scope="profile email" data-longtitle="true" data-theme="dark" data-onsuccess="googleSignIn" data-onfailure="googleFail"></div>