diff --git a/realms/modules/auth/oauth/models.py b/realms/modules/auth/oauth/models.py
index 72de533..034880e 100644
--- a/realms/modules/auth/oauth/models.py
+++ b/realms/modules/auth/oauth/models.py
@@ -17,7 +17,7 @@ providers = {
access_token_url='https://api.twitter.com/oauth/access_token',
authorize_url='https://api.twitter.com/oauth/authenticate',
access_token_method='GET'),
- 'button': ' Twitter',
+ 'button': '',
'profile': None,
'field_map': {
'id': 'user_id',
@@ -33,7 +33,7 @@ providers = {
access_token_method='POST',
access_token_url='https://github.com/login/oauth/access_token',
authorize_url='https://github.com/login/oauth/authorize'),
- 'button': ' Github',
+ 'button': '',
'profile': 'user',
'field_map': {
'id': 'id',
@@ -51,7 +51,7 @@ providers = {
access_token_method='GET',
authorize_url='https://www.facebook.com/dialog/oauth'
),
- 'button': ' Facebook',
+ 'button': '',
'profile': '/me',
'field_map': {
'id': 'id',
@@ -71,7 +71,7 @@ providers = {
access_token_url='https://accounts.google.com/o/oauth2/token',
authorize_url='https://accounts.google.com/o/oauth2/auth',
),
- 'button': ' Google',
+ 'button': '',
'profile': 'userinfo',
'field_map': {
'id': 'id',
diff --git a/realms/static/css/style.css b/realms/static/css/style.css
index 1116438..fffdea6 100644
--- a/realms/static/css/style.css
+++ b/realms/static/css/style.css
@@ -224,6 +224,26 @@ a.label {
margin-top: 40px;
}
+.btn-facebook {
+ background-color: #325c99;
+ color: #ffffff;
+}
+
+.btn-github {
+ background-color: #4c4c4c;
+ color: #ffffff;
+}
+
+.btn-google {
+ background-color: #dd4b39;
+ color: #ffffff;
+}
+
+.btn-twitter {
+ background-color: #02acec;
+ color: #ffffff;
+}
+
@media (max-width:1000px) {
.ace_content {
padding: 3px;
@@ -285,6 +305,5 @@ a.label {
background-color: #3498db;
color: #fff;
}
-
}