Last active
August 22, 2016 03:58
-
-
Save battis/ff7627303138dc35c8b1e994e825c568 to your computer and use it in GitHub Desktop.
Styling Canvas Mobile Login
This file contains 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
/* from https://github.com/smtech/canvashack-plugin-stmarks-branding */ | |
/* set the background color of the page -- depends on javascript */ | |
body > #f1_container, body.stmarks-branding-mobile-login { | |
background-color: #003359; | |
} | |
/* apply our logo to the login */ | |
#f1_container{ | |
background: url("login.svg") no-repeat center top; | |
background-size: 100% auto; | |
width: 302px; /* haven't tested if this is still necessary! */ | |
} | |
/* make the "forgot your password" link the right color */ | |
#f1_container a { | |
color: white; | |
text-decoration: none; | |
} |
This file contains 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
$('body:has(#f1_container)').addClass('stmarks-branding-mobile-login'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment