Last active
April 30, 2025 04:05
-
-
Save cliffordp/96aeba5b0348ec00f5eb4c4f48296272 to your computer and use it in GitHub Desktop.
GHL Login Screen custom CSS for AbleProApp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This code: https://gist.github.com/cliffordp/96aeba5b0348ec00f5eb4c4f48296272 | |
* Modified from this source: https://www.facebook.com/groups/gohighlevel/permalink/2333866730406182/ | |
*/ | |
/* GHL Login Screen */ | |
:root { | |
--main-body-bg: #fff; | |
--main-body-image: url(https://storage.googleapis.com/msgsndr/BNxDfo4mNns3odfcbYu9/media/66f4c4058fdba12698dd782f.png); | |
--main-login-bg: #fff; | |
--login-logo: url(https://msgsndr-private.storage.googleapis.com/companyPhotos/b667e1c8-409c-4143-a547-1ac8d145560d.png); | |
--login-heading-color: #a12631; | |
--login-input-color: #a12631; | |
--login-input-border: #a12631; | |
--login-error-color: red; | |
--login-forgot-pass-color: #a12631; | |
--login-button-bg: #a12631; | |
--login-button-color: #0000; | |
--login-button-hover-bg: #a12631; | |
--login-button-hover-color: #a12631; | |
--login-foot-note-color: #a12631; | |
--login-foot-note-link-color: #1d1f25; | |
} | |
span.text-gray-700 { | |
color: #333; | |
} | |
.hl_login p.ml-2 { | |
color: white; | |
} | |
.hl_login .flex > p.ml-2 { | |
/* Verify Security Code */ | |
color: #000000; | |
} | |
body .hl_login--body * { | |
font-family: var(--main-font); | |
} | |
.hl_login { | |
background: var(--main-body-bg) !important; | |
} | |
.hl_login--header { | |
position: absolute; | |
background: transparent !important; | |
margin-bottom: 0 !important; | |
border: none !important; | |
z-index: 99; | |
} | |
.hl_login--header .container-fluid a img { | |
display: none; | |
} | |
.hl_login--body .container-fluid { | |
display: flex; | |
align-items: left; | |
justify-content: left; | |
text-align: left; | |
padding: 0 !important; | |
background: #a12631; | |
} | |
.hl_login--body .card { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
text-align: center; | |
height: 100vh; | |
border: none !important; | |
box-shadow: none !important; | |
background: var(--main-login-bg) !important; | |
border-radius: 0 !important; | |
margin: 0 !important; | |
} | |
.hl_login--body .card .card-body { | |
display: block; | |
margin-top: 80px !important; | |
box-sizing: border-box; | |
width: 50rem !important; | |
text-align: left; | |
} | |
@media all and (min-width: 981px) { | |
.hl_login--body .container-fluid:after { | |
content: ""; | |
position: relative; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
text-align: center; | |
width: 100%; | |
height: 100vh; | |
max-width: 67%; | |
background-image: var(--main-body-image); | |
background-position: center center; | |
background-repeat: no-repeat; | |
background-size: contain; | |
background-color: #a12631; | |
} | |
} | |
.hl_login--body .card .login-card-heading h2.heading2:before { | |
content: ""; | |
background-image: var(--login-logo); | |
background-position: center center; | |
background-repeat: no-repeat; | |
background-size: contain; | |
position: relative; | |
display: block; | |
margin: 0 auto 10px; | |
width: 150px; | |
height: 150px; | |
max-width: 100%; | |
left: 0; | |
right: 0; | |
} | |
.hl_login--body .card button:not(#wl_google_login_button) { | |
background-color: var(--login-button-bg); | |
cursor: pointer; | |
} | |
.hl_login--body .card button#wl_google_login_button { | |
border: solid 2px var(--login-button-bg); | |
} | |
.hl_login--body h2 { | |
color: var(--login-heading-color); | |
} | |
.hl_login--body a.forgot-password { | |
color: var(--login-foot-note-link-color); | |
} | |
.hl_login--body .foot-note { | |
color: var(--login-foot-note-color); | |
} | |
.hl_login--body .foot-note a { | |
color: var(--login-foot-note-link-color); | |
} | |
.hl_login--body .foot-note a { | |
cursor: pointer; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This code: https://gist.github.com/cliffordp/96aeba5b0348ec00f5eb4c4f48296272 */ | |
* This alternative is simpler than the other snippet. Source offers several Canva templates. | |
* Source: https://login.agencyownersupport.com/courses/products/6fc922ae-92c1-4da3-8707-ded9d8d3efca/categories/d348f901-ecb3-498f-b678-d0e8303e7cd5/posts/3f2010e1-2d18-4a9c-8ff1-45855c4d7ca0 | |
*/ | |
/* Start of Login Page Custom CSS */ | |
:root { | |
--loginBtnColor: #6619ff; | |
--loginBtnHover: #6619ff; | |
--bodyBgColor: #fff; | |
--login-button-background-color: #6619ff; | |
--login-button-background-hover-color: #6619ff; | |
--login-button-text-color: #ffffff; | |
} | |
/* BG Image CSS Code */ | |
/* Background Image Size: 1963 x 1265 */ | |
.hl_login { | |
background-image: url("https://storage.googleapis.com/msgsndr/R7wowVuXh4zZQCIICvE6/media/6709a48ca913c811ca2f91dc.png") !important; | |
background-position: center center; | |
background-size: cover; | |
background-repeat: no-repeat; | |
display: flex !important; | |
flex-direction: column !important; | |
justify-content: center !important; | |
align-items: center !important; | |
margin: 0 auto !important; | |
padding: 0 !important; | |
height: 100vh; | |
} | |
.hl_login--header { | |
background: #fff0 !important; | |
border-bottom: 0 !important; | |
padding: 0 !important; | |
margin-bottom: 20px !important; | |
} | |
div.hl_login--body { | |
max-width: 450px !important; | |
width: 100% !important; | |
background: var(--bodyBgColor) !important; | |
border-radius: 10px !important; | |
} | |
.hl_login--body .card { | |
width: 100% !important; | |
max-width: 100% !important; | |
margin: 0 auto !important; | |
box-shadow: none !important; | |
padding: 0 !important; | |
margin: 0 !important; | |
} | |
.hl_login--body .card .card-body { | |
max-width: 100% !important; | |
width: 100% !important; | |
margin: 0 auto; | |
padding-top: 50px; | |
padding-bottom: 50px; | |
} | |
.hl_login .form-control { | |
background: #fff !important; | |
font-size: .875rem; | |
color: #2a3135; | |
border: 1px solid #bdbdbd !important; | |
border-radius: 5px !important; | |
padding: 10px 10px !important; | |
} | |
.hl_login--body .login-card-heading { | |
margin-bottom: 20px; | |
text-align: center; | |
} | |
.hl_login--body .heading2 { | |
margin-bottom: 10px; | |
font-size: 25px; | |
} | |
.hl_login .button-holder.form-group { | |
margin: 10px auto !important; | |
} | |
.hl_login .btn.btn-blue, | |
.hl_login .btn.btn-blue:active, | |
.hl_login .btn.btn-blue:focus { | |
background-color: var(--loginBtnColor); | |
border-color: var(--loginBtnColor); | |
color: #fff; | |
transition: 0.3s ease-in; | |
} | |
.hl_login .btn.btn-blue:hover { | |
background-color: var(--loginBtnHover); | |
border-color: var(--loginBtnHover); | |
color: #fff; | |
transition: 0.3s ease-in; | |
} | |
.hl_login button { | |
background-color: var(--login-button-background-color); | |
color: var(--login-button-text-color); | |
min-height: 55px; | |
} | |
.hl_login .hover\:bg-curious-blue-600:hover, | |
.hl_login button:hover { | |
background-color: var(--login-button-background-hover-color) !important; | |
} | |
/* End of Login Page Custom CSS */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment