MDL-59294 theme_bootstrapbase: Fix display of ID provider buttons

This commit is contained in:
Jun Pataleta 2017-06-26 15:59:25 +08:00
parent f4a2d69631
commit 7c482415a9
3 changed files with 27 additions and 42 deletions

View File

@ -123,21 +123,20 @@
</div>
<div class="signuppanel">
{{#hasinstructions}}
<div class="signuppanel">
<h2>{{#str}} firsttime {{/str}}</h2>
<div class="subcontent">
{{{instructions}}}
{{#cansignup}}
<div class="signupform">
<form action="{{signupurl}}" method="get" id="signup">
<div>
<input type="submit" value={{#quote}}{{#str}} startsignup {{/str}}{{/quote}} />
</div>
</form>
</div>
{{/cansignup}}
</div>
<h2>{{#str}} firsttime {{/str}}</h2>
<div class="subcontent">
{{{instructions}}}
{{#cansignup}}
<div class="signupform">
<form action="{{signupurl}}" method="get" id="signup">
<div>
<input type="submit" value={{#quote}}{{#str}} startsignup {{/str}}{{/quote}} />
</div>
</form>
</div>
{{/cansignup}}
</div>
{{/hasinstructions}}
@ -147,17 +146,18 @@
<div class="potentialidplist">
{{#identityproviders}}
<div class="potentialidp">
<a href="{{url}}" title={{#quote}}{{name}}{{/quote}}>
{{#iconurl}}
<img src="{{iconurl}}" alt="" width="24" height="24"/>
{{/iconurl}}
{{name}}
<a href="{{url}}" title={{#quote}}{{name}}{{/quote}} class="btn">
{{#iconurl}}
<img src="{{iconurl}}" alt="" width="24" height="24"/>
{{/iconurl}}
{{name}}
</a>
</div>
{{/identityproviders}}
</div>
</div>
{{/hasidentityproviders}}
</div>
</div>
{{#js}}

View File

@ -505,24 +505,14 @@ a.skip:active {
margin-bottom: 5px;
margin-top: 15px;
}
.loginbox .signuppanel .subcontent {
text-align: left;
}
.loginbox .loginsub {
margin-left: 0;
margin-right: 0;
}
.loginbox .guestsub,
.loginbox .forgotsub,
.loginbox .potentialidps {
.loginbox .forgotsub {
margin: 5px 12%;
}
.loginbox .potentialidps .potentialidplist {
margin-left: 40%;
}
.loginbox .potentialidps .potentialidplist div {
text-align: left;
}
.loginbox .loginform {
margin-top: 1em;
text-align: left;
@ -558,7 +548,9 @@ a.skip:active {
margin-bottom: -2000px;
padding-bottom: 2000px;
}
.loginbox .potentialidp {
margin-bottom: 0.3em;
}
.loginbox .potentialidp .smallicon {
vertical-align: text-bottom;
margin: 0 .3em;

View File

@ -2796,24 +2796,14 @@ a.skip:active {
margin-bottom: 5px;
margin-top: 15px;
}
.loginbox .signuppanel .subcontent {
text-align: left;
}
.loginbox .loginsub {
margin-left: 0;
margin-right: 0;
}
.loginbox .guestsub,
.loginbox .forgotsub,
.loginbox .potentialidps {
.loginbox .forgotsub {
margin: 5px 12%;
}
.loginbox .potentialidps .potentialidplist {
margin-left: 40%;
}
.loginbox .potentialidps .potentialidplist div {
text-align: left;
}
.loginbox .loginform {
margin-top: 1em;
text-align: left;
@ -2851,6 +2841,9 @@ a.skip:active {
margin-bottom: -2000px;
padding-bottom: 2000px;
}
.loginbox .potentialidp {
margin-bottom: 0.3em;
}
.loginbox .potentialidp .smallicon {
vertical-align: text-bottom;
margin: 0 .3em;