top of page
Search
newkuhndoubrupho

Login with Facebook CSS: How to Use the JavaScript SDK to Trigger the Facebook Login Process on Your



I am using the Facebook Login Button for Single Sign On in my webapp (code below). But I can't figure out how to control the button's styles with css. I see the Facebook plugin inserts an iframe in my page...


As you can see in the fb docu, the div.fb-login-button is replaced by an iframe by the script you load externally. To style this button yourself, you could just create a button which is styled depending on your wishes and trigger the login mechanism yourself.




login with facebook css



This gives an alternative to the colour of text, and suited my requirements as I had a black background and the default 'light' scheme uses black text, which meant no text in the FB iframe was visible with the default settings.


I am using facebook login at my login page, my website is fully responsive, but my facebook login button is not responsive. (i.e when i am using small screen size, facebook login button should change it's with)Please refer images below:


Please note that I am using react-facebook-login package for rendering facebook button and react-google-login package for rendering google button.


.login-facebook-textalign-items: center;border-bottom-color: rgb(59, 89, 152);border-bottom-style: solid;border-bottom-width: 1px;border-image-outset: 0px;border-image-repeat: stretch;border-image-slice: 100%;border-image-source: none;border-image-width: 1;border-left-color: rgb(59, 89, 152);border-left-style: solid;border-left-width: 1px;border-right-color: rgb(59, 89, 152);border-right-style: solid;border-right-width: 1px;border-top-color: rgb(59, 89, 152);border-top-style: solid;border-top-width: 1px;color: rgb(59, 89, 152);cursor: pointer;display: flex;font-family: HelveticaNeueW01-55Roma, HelveticaNeueW02-55Roma, HelveticaNeueW10-55Roma, sans-serif;font-size: 16px;font-stretch: normal;font-style: normal;font-variant-caps: normal;font-variant-east-asian: normal;font-variant-ligatures: normal;font-variant-numeric: normal;font-weight: 400;height: 46px;justify-content: center;letter-spacing: normal;line-height: 24px;text-align: center;text-indent: 0;text-rendering: auto;text-shadow: none;text-transform: none;transition-delay: 0s;transition-duration: 0.3s;transition-property: background;transition-timing-function: ease;width: 239px;word-spacing: 0;writing-mode: horizontal-tb;-webkit-font-smoothing: antialiased;.login-facebook-iconalign-items: center;background-color: rgb(59, 89, 152);color: rgb(255, 255, 255);cursor: pointer;display: flex;font-family: Arial, sans-serif;font-size: 23px;font-stretch: normal;font-style: normal;font-variant-caps: normal;font-variant-east-asian: normal;font-variant-ligatures: normal;font-variant-numeric: normal;font-weight: 400;height: 48px;justify-content: center;letter-spacing: normal;line-height: normal;text-align: center;text-indent: 0;text-rendering: auto;text-shadow: none;text-transform: none;width: 58px;word-spacing: 0;writing-mode: horizontal-tb;-webkit-font-smoothing: antialiased;fContinue with Facebook


.login-button display: inline-block; cursor: pointer;.login-button:hover background: rgba(59, 89, 152, .1);.login-facebook-icon background-color: #3b5998; color: #fff; font-family: Arial, sans-serif; font-weight: 400; font-size: 36px; line-height: 48px; text-align: center; height: 48px; width: 58px; float: left;.login-facebook-text color: #3b5998; font-family: HelveticaNeueW01-55Roma, HelveticaNeueW02-55Roma, HelveticaNeueW10-55Roma, sans-serif; font-size: 16px; font-weight: 400; line-height: 46px; text-align: center; width: 239px; height: 46px; padding-left: 58px; border: 1px solid #3b5998; f Continue with Facebook


Let me tell you that none of the buttons, functions, and links of this Facebook login page template work. So if you want to make this code dynamic. Or to make working, you can add additional functions added to it according to your need. And if you want, you can also add a database.


First style them so they both would be the same size. Then put them in a div with style of display: inline should work I think. From there you can just style them separately so one float there or other one there, off page is the limit!


.loginBtn box-sizing: border-box; position: relative; margin: 0.2em; padding: 0 15px 0 46px; border: none; text-align: left; line-height: 34px; white-space: nowrap; border-radius: 0.2em; font-size: 16px; color: #FFF;.loginBtn:before content: ""; box-sizing: border-box; position: absolute; top: 0; left: 0; width: 34px; height: 100%;.loginBtn:focus outline: none;.loginBtn:active box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);.loginBtn--facebook background-color: #4C69BA; background-image: linear-gradient(#4C69BA, #3B55A0); text-shadow: 0 -1px 0 #354C8C;.loginBtn--facebook:before border-right: #364e92 1px solid; background: url(' -us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;.loginBtn--facebook:hover,.loginBtn--facebook:focus background-color: #5B7BD5; background-image: linear-gradient(#5B7BD5, #4864B1);.loginBtn--google background: #DD4B39;.loginBtn--google:before border-right: #BB3F30 1px solid; background: url(' -us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;.loginBtn--google:hover,.loginBtn--google:focus background: #E74B37; Login with Facebook Login with Google


WordPress Social Login Plugin allows social login, social share & commenting using widely used apps like Facebook, Google, LinkedIn, Twitter, Apple, Discord, Twitch, Line, Wechat, 40 other apps available. Instead of requiring your visitors to waste time filling out the typical registration form, it allows them to register/login to your website using their social media profiles.


Social Login allows your visitors to login, register, share, and comment with many Social Media applications.We provide different display options with beautiful login button customizations for free! No CSS knowledge is needed!


Please follow the steps given below to download and activate the social login premium plugin:1. Login to miniOrange dashboard here.2. Click on the License option on the left-hand menu.3. You will see the download the social login premium plugin link Click on Download Plugin and extract the zip.4. Do not delete the older files just replace the old plugin files with the new plugin.5. To activate the newly installed plugin you need a license key. Click on the View License Key button in the License option on the left-hand menu of the miniOrange dashboard.6. Copy the Licence key.7. Go to miniOrange Social Login Plugin on the WordPress dashboard and after login into the plugin, it will ask for the license key paste the license key which you copied from the miniOrange dashboard.


Our very simple and easy registration lets you register with Social Login, Social Sharing by miniOrange works if you are connected to miniOrange.Once you have registered with a valid email address, you will be able to enable Social Login, Social Sharing by miniOrange.


This assignment for the advanced prep work of Viking Code School involved using HTML and CSS to clone the login and about pages of Facebook. Harry Potter was used for the demo profile as displayed in the mockup provided with the assignment. It was recommended we use a single CSS file rather than separate ones for each page.


AWS Amplify UI recently announced a new version of the Authenticator component for JavaScript (JS)-based web apps, giving developers the easiest way to add login experiences to their app with a single line of code. The new version of the Amplify UI library ships with connected components such as the Authenticator for React, Angular, and Vue, along with a set of themeable UI primitives such as buttons, text, and inputs. This gives you a single library to build your entire app user interface leveraging our connected and primitive components.


In this blog post we will deploy a React app with Amplify Hosting, set up auth, and then integrate the UI component in minutes. We will then show how to customize the UI, and share the same auth backend across a React and Vue app.


You can now use Amplify UI to build consistent login experiences across React, Vue, and Angular apps. To connect to the same auth backend from your Vue app, run the Amplify CLI from your Vue project root. When the CLI asks you if you want to modify the backend from this app, choose N. You should see an aws-exports.js added to your src folder that contains all the same information about your backend.


In this blog post we walked through hosting a React app with full-stack CI/CD, adding authentication to it, customizing the UI, and the building a Vue app with the same backend. To clean up your project, simply run amplify delete from the command line or delete the app from the AWS console.


There are many different types of Billings and each one can have a differing account and customer id settings. Citizen Self Service (CSS) can link these different billing accounts to your one CSS login to help make finding and paying for your bills online easier.


2. Search for your Account: On the top right of your bi-monthly sewer bills you will see an Account Number and a Customer ID (or CID). Enter both required numbers into their search fields and then click the Submit button 3. If a match is found it will link the Sewer Account to your CSS login and open to the Account Summary page where you can find current balance information, payment history and other details. You are now linked to your Sewer Billing Account. You can view bill information, make payments and view payment history. 2ff7e9595c


1 view0 comments

Recent Posts

See All

Comments


bottom of page