-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(oauth): remove code according to user prompts
- Loading branch information
Showing
15 changed files
with
84 additions
and
106 deletions.
There are no files selected for viewing
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
20 changes: 10 additions & 10 deletions
20
app/templates/client/app/account(auth)/login/login(css).css
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
.btn-facebook { | ||
<% if (filters.oauth) { %><% if (filters.facebookAuth) { %>.btn-facebook { | ||
color: #fff; | ||
background-color: #3B5998; | ||
border-color: #133783; | ||
} | ||
|
||
<% } if (filters.twitterAuth) { %> | ||
.btn-twitter { | ||
color: #fff; | ||
background-color: #2daddc; | ||
border-color: #0271bf; | ||
} | ||
|
||
.btn-github { | ||
color: #fff; | ||
background-color: #fafafa; | ||
border-color: #ccc; | ||
} | ||
|
||
<% } if (filters.googleAuth) { %> | ||
.btn-google-plus { | ||
color: #fff; | ||
background-color: #dd4b39; | ||
border-color: #c53727; | ||
} | ||
} | ||
<% } %> | ||
.btn-github { | ||
color: #fff; | ||
background-color: #fafafa; | ||
border-color: #ccc; | ||
}<% } %> |
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
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
36 changes: 14 additions & 22 deletions
36
app/templates/client/app/account(auth)/login/login(less).less
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,30 @@ | ||
<% if(filters.bootstrap) { %> | ||
// Colors | ||
<% if(filters.bootstrap) { %>// Colors | ||
// -------------------------------------------------- | ||
|
||
@btnText: #fff; | ||
@btnTextAlt: #000; | ||
|
||
@btnTextAlt: #000;<% if (filters.oauth) { %> | ||
<% if (filters.facebookAuth) { %> | ||
@btnFacebookBackground: #3B5998; | ||
@btnFacebookBackgroundHighlight: #133783; | ||
|
||
@btnFacebookBackgroundHighlight: #133783;<% } if (filters.twitterAuth) { %> | ||
@btnTwitterBackground: #2daddc; | ||
@btnTwitterBackgroundHighlight: #0271bf; | ||
|
||
@btnTwitterBackgroundHighlight: #0271bf;<% } if (filters.googleAuth) { %> | ||
@btnGooglePlusBackground: #dd4b39; | ||
@btnGooglePlusBackgroundHighlight: #c53727;<% } %> | ||
@btnGithubBackground: #fafafa; | ||
@btnGithubBackgroundHighlight: #ccc; | ||
|
||
@btnGooglePlusBackground: #dd4b39; | ||
@btnGooglePlusBackgroundHighlight: #c53727; | ||
|
||
|
||
// Social buttons | ||
// -------------------------------------------------- | ||
|
||
<% if (filters.facebookAuth) { %> | ||
.btn-facebook { | ||
.button-variant(@btnText; @btnFacebookBackgroundHighlight; @btnFacebookBackgroundHighlight); | ||
} | ||
|
||
}<% } if (filters.twitterAuth) { %> | ||
.btn-twitter { | ||
.button-variant(@btnText; @btnTwitterBackground; @btnTwitterBackgroundHighlight); | ||
} | ||
|
||
.btn-github { | ||
.button-variant(@btnTextAlt; @btnGithubBackground; @btnGithubBackgroundHighlight); | ||
} | ||
|
||
}<% } if (filters.googleAuth) { %> | ||
.btn-google-plus { | ||
.button-variant(@btnText; @btnGooglePlusBackground; @btnGooglePlusBackgroundHighlight); | ||
}<% } %> | ||
}<% } %> | ||
.btn-github { | ||
.button-variant(@btnTextAlt; @btnGithubBackground; @btnGithubBackgroundHighlight); | ||
}<% } %><% } %> |
36 changes: 14 additions & 22 deletions
36
app/templates/client/app/account(auth)/login/login(sass).scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,30 @@ | ||
<% if(filters.bootstrap) { %> | ||
// Colors | ||
<% if(filters.bootstrap) { %>// Colors | ||
// -------------------------------------------------- | ||
|
||
$btnText: #fff; | ||
$btnTextAlt: #000; | ||
|
||
$btnTextAlt: #000;<% if (filters.oauth) { %> | ||
<% if (filters.facebookAuth) { %> | ||
$btnFacebookBackground: #3B5998; | ||
$btnFacebookBackgroundHighlight: #133783; | ||
|
||
$btnFacebookBackgroundHighlight: #133783;<% } if (filters.twitterAuth) { %> | ||
$btnTwitterBackground: #2daddc; | ||
$btnTwitterBackgroundHighlight: #0271bf; | ||
|
||
$btnTwitterBackgroundHighlight: #0271bf;<% } if (filters.googleAuth) { %> | ||
$btnGooglePlusBackground: #dd4b39; | ||
$btnGooglePlusBackgroundHighlight: #c53727;<% } %> | ||
$btnGithubBackground: #fafafa; | ||
$btnGithubBackgroundHighlight: #ccc; | ||
|
||
$btnGooglePlusBackground: #dd4b39; | ||
$btnGooglePlusBackgroundHighlight: #c53727; | ||
|
||
|
||
// Social buttons | ||
// -------------------------------------------------- | ||
|
||
<% if (filters.facebookAuth) { %> | ||
.btn-facebook { | ||
@include button-variant($btnText, $btnFacebookBackgroundHighlight, $btnFacebookBackgroundHighlight); | ||
} | ||
|
||
}<% } if (filters.twitterAuth) { %> | ||
.btn-twitter { | ||
@include button-variant($btnText, $btnTwitterBackground, $btnTwitterBackgroundHighlight); | ||
} | ||
|
||
.btn-github { | ||
@include button-variant($btnTextAlt, $btnGithubBackground, $btnGithubBackgroundHighlight); | ||
} | ||
|
||
}<% } if (filters.googleAuth) { %> | ||
.btn-google-plus { | ||
@include button-variant($btnText, $btnGooglePlusBackground, $btnGooglePlusBackgroundHighlight); | ||
}<% } %> | ||
}<% } %> | ||
.btn-github { | ||
@include button-variant($btnTextAlt, $btnGithubBackground, $btnGithubBackgroundHighlight); | ||
}<% } %><% } %> |
20 changes: 10 additions & 10 deletions
20
app/templates/client/app/account(auth)/login/login(stylus).styl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
// Social buttons | ||
<% if (filters.oauth) { %>// Social buttons | ||
// -------------------------------------------------- | ||
|
||
<% if (filters.facebookAuth) { %> | ||
.btn-facebook | ||
color: #fff; | ||
background-color: #3B5998; | ||
border-color: #133783; | ||
|
||
<% } if (filters.twitterAuth) { %> | ||
.btn-twitter | ||
color: #fff; | ||
background-color: #2daddc; | ||
border-color: #0271bf; | ||
|
||
.btn-github | ||
color: #fff; | ||
background-color: #fafafa; | ||
border-color: #ccc; | ||
|
||
<% } if (filters.googleAuth) { %> | ||
.btn-google-plus | ||
color: #fff; | ||
background-color: #dd4b39; | ||
border-color: #c53727; | ||
border-color: #c53727; | ||
<% } %> | ||
.btn-github | ||
color: #fff; | ||
background-color: #fafafa; | ||
border-color: #ccc;<% } %> |
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
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
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
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
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
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
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
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