mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mlanthaler: default styling for open id login (merged from gsoc branch, r42438)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42968 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
cfaa390102
commit
588b091770
18
css/openid_login.css
Normal file
18
css/openid_login.css
Normal file
@ -0,0 +1,18 @@
|
||||
#OpenIDLoginForm_LoginForm_OpenIDURL {
|
||||
background: url(../../sapphire/images/openid-small.gif) no-repeat;
|
||||
background-color: #fff;
|
||||
background-position: 0 50%;
|
||||
color: #000;
|
||||
padding-left: 18px;
|
||||
width: 284px;
|
||||
}
|
||||
|
||||
#OpenIDDescription {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
#OpenIDDescription p {
|
||||
font-size: 1em;
|
||||
line-height: 1.3em;
|
||||
margin-top: 0.5em !important;
|
||||
}
|
@ -37,10 +37,7 @@ class OpenIDLoginForm extends LoginForm {
|
||||
|
||||
$this->authenticator_class = 'OpenIDAuthenticator';
|
||||
|
||||
$customCSS = project() . '/css/openid_login.css';
|
||||
if(Director::fileExists($customCSS)) {
|
||||
Requirements::css($customCSS);
|
||||
}
|
||||
Requirements::themedCSS('openid_login');
|
||||
|
||||
if(isset($_REQUEST['BackURL'])) {
|
||||
$backURL = $_REQUEST['BackURL'];
|
||||
|
Loading…
Reference in New Issue
Block a user