Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #572 from siv123456/dev
Browse files Browse the repository at this point in the history
#552 : small change in how google/facebook login buttons look.
  • Loading branch information
danielhers committed Apr 12, 2016
2 parents 363b1a1 + 0f56e4c commit bdfbb51
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -757,4 +757,23 @@ input[type='checkbox']{
margin: 15px;
margin-right: 0px;
}
/* for login popup*/
.modal-header {
background-color = gray;
}
.modal-header h3 {
font-size: 16px;
}
.btn-social-icon {
width: 160px;
border-radius: 0px;
color: #fff !important;
}
.btn-facebook {

background-color: blue;
}

.btn-google {
background-color: red;
}
10 changes: 5 additions & 5 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ <h5> אנו מפתחים תכונות חדשות לאתר. הנך מוזמנ/ת
<div class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>{{ gettext('Login') }}</h3>
<h3>{{ gettext('היכנס') }}</h3>
</div>
<div class="modal-body" style="width: 50%; margin: 0 auto;">
<div class="control-group" style="width: 100%; margin: 0 auto;">
Expand All @@ -430,7 +430,7 @@ <h2> {{ gettext('Hi') + ' ' + current_user.nickname }}</h2>
<span class="fa fa-facebook"></span>
</a>
<br/>
<h3>OR</h3>
<!--<h3>OR</h3>-->
<br/>
<a class="btn btn-social-icon btn-google" href="{{ url_for('oauth_authorize', provider='google') }}">
{{ gettext('Login with Google') }}
Expand All @@ -439,9 +439,9 @@ <h3>OR</h3>
{% endif %}
</div>
</div>
<div class="modal-footer">
<a class="btn close-button">סגור</a>
</div>
<!--<div class="modal-footer">-->
<!--<a class="btn close-button">סגור</a>-->
<!--</div>-->
</div>
</div>

Expand Down

0 comments on commit bdfbb51

Please sign in to comment.