Skip to content

Commit a82d02e

Browse files
author
allen_support
committed
modify login button
1 parent 28e05ad commit a82d02e

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

app/styles/_theme.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,15 @@ body.ember-application {
102102
.cms-message-title {
103103
margin-top: 0;
104104
}
105-
.cms-login-button {
105+
.cms.login-btn{
106106
display: block;
107+
text-align: center;
108+
padding: 1em 0em;
109+
margin-top: 1em;
110+
}
111+
.cms-login-button {
107112
margin-top: 2*$container-padding;
108-
padding: 15px;
113+
padding: 15px 30px;
109114
border-radius: 50px;
110115
-webkit-border-radius: 50px;
111116
color: #fff;

app/templates/components/cms-authenticators/github-api.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
Login to your CMS to add or edit content.
1010
</div>
1111
{{/if}}
12-
12+
<div class="cms login-btn">
1313
<a href="#" class="cms cms-login-button" {{action "authenticate"}}>
1414
Login Now
1515
</a>
16+
</div>
1617
</div>
1718
</div>

app/templates/components/cms-authenticators/netlify-api.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
{{input type="password" class="cms cms-input" value=password placeholder="Your Password"}}
1717
</div>
1818
</div>
19-
19+
<div class="cms login-btn">
2020
<a href="#" class="cms cms-login-button" {{action "authenticate"}}>
2121
Login Now
2222
</a>
23+
</div>
2324
</div>
2425
</div>

app/templates/components/cms-authenticators/test-repo.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
<div class="cms cms-login-message">
77
<p>Login to your CMS to add or edit content.</p>
88
</div>
9-
9+
<div class="cms login-btn">
1010
<a href="#" class="cms cms-login-button" {{action "authenticate"}}>
1111
Login Now
1212
</a>
1313
</div>
14+
</div>
1415
</div>

ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function(defaults) {
3232
// app.import('vendor/bootstrap-progressbar.min.js');
3333
// app.import('vendor/pace.min.js')
3434
// app.import('vendor/easyResponsiveTabs.js')
35-
app.import('vendor/custom.js')
35+
// app.import('vendor/custom.js')
3636

3737

3838

vendor/custom.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@
77
// Sidebar
88

99

10-
11-
$(document).bind('load', function(e){
12-
13-
if( $("div").hasClass("cms-content cms-entry-editor") )
14-
{
15-
$('.navbar.nav_title').addClass("text");
16-
}
17-
18-
})
1910
$(document).ajaxComplete(function () {
2011
// $('body').addClass('nav-md');
2112

0 commit comments

Comments
 (0)