add some coom butoon styles
This commit is contained in:
parent
802740e549
commit
0129c48aeb
|
@ -25,6 +25,13 @@
|
||||||
.sync-button
|
.sync-button
|
||||||
margin-top: .5em
|
margin-top: .5em
|
||||||
|
|
||||||
|
.cta-btn
|
||||||
|
text-align: right
|
||||||
|
@media #{$large-up}
|
||||||
|
position: absolute
|
||||||
|
top: 1rem
|
||||||
|
right: 0
|
||||||
|
|
||||||
.profile-getstarted
|
.profile-getstarted
|
||||||
position: relative
|
position: relative
|
||||||
margin-bottom: 3rem
|
margin-bottom: 3rem
|
||||||
|
|
|
@ -97,6 +97,25 @@ $button-border-color: #d4d4d4
|
||||||
.button--fixedwidth
|
.button--fixedwidth
|
||||||
width: 8em
|
width: 8em
|
||||||
|
|
||||||
|
.btn-activate,
|
||||||
|
.btn-activated
|
||||||
|
font-size: $font-size-sm
|
||||||
|
border: none
|
||||||
|
// padding-right: 2.5em
|
||||||
|
&:hover
|
||||||
|
background-color: $grey2
|
||||||
|
|
||||||
|
.btn-activated
|
||||||
|
background-color: #39a85b
|
||||||
|
color: $white
|
||||||
|
// @extend .icon-hook-on
|
||||||
|
// background:
|
||||||
|
// repeat: no-repeat
|
||||||
|
// position: 92% 45%
|
||||||
|
&:hover
|
||||||
|
background-color: darken(#39a85b, 10)
|
||||||
|
|
||||||
|
|
||||||
// temp
|
// temp
|
||||||
#auth #navigation .button--signin,
|
#auth #navigation .button--signin,
|
||||||
#auth #navigation .button--signingin
|
#auth #navigation .button--signingin
|
||||||
|
|
|
@ -18,7 +18,25 @@
|
||||||
</button>
|
</button>
|
||||||
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
|
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
{{#if config.billingEndpoint}}
|
||||||
|
<div class="cta-btn">
|
||||||
|
{{#if view.subscribed}}
|
||||||
|
<a class="btn btn-activated" {{bind-attr href="billingUrl"}}>
|
||||||
|
Subscription active!
|
||||||
|
</a>
|
||||||
|
{{else}}
|
||||||
|
{{#if view.education}}
|
||||||
|
<a class="btn btn-activated" {{bind-attr href="billingUrl"}}>
|
||||||
|
Educational account!
|
||||||
|
</a>
|
||||||
|
{{else}}
|
||||||
|
<a class="btn btn-activate" {{bind-attr href="billingUrl"}}>
|
||||||
|
Sign up this account!
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
{{#if config.pro}}
|
{{#if config.pro}}
|
||||||
<p>We're only showing your private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p>
|
<p>We're only showing your private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -1,22 +1,24 @@
|
||||||
<article class="columns medium-8 float-right profile-main">
|
<article class="columns medium-8 float-right profile-main">
|
||||||
|
|
||||||
{{#if config.billingEndpoint}}
|
{{!-- {{#if config.billingEndpoint}}
|
||||||
{{#if view.subscribed}}
|
<div class="row">
|
||||||
<a class="button activated" {{bind-attr href="billingUrl"}}>
|
{{#if view.subscribed}}
|
||||||
Subscription active!
|
<a class="btn btn-activated" {{bind-attr href="billingUrl"}}>
|
||||||
</a>
|
Subscription active!
|
||||||
{{else}}
|
|
||||||
{{#if view.education}}
|
|
||||||
<a class="button activated" {{bind-attr href="billingUrl"}}>
|
|
||||||
Educational account!
|
|
||||||
</a>
|
</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="button activate" {{bind-attr href="billingUrl"}}>
|
{{#if view.education}}
|
||||||
Sign up this account!
|
<a class="btn btn-activated" {{bind-attr href="billingUrl"}}>
|
||||||
</a>
|
Educational account!
|
||||||
|
</a>
|
||||||
|
{{else}}
|
||||||
|
<a class="btn btn-activate" {{bind-attr href="billingUrl"}}>
|
||||||
|
Sign up this account!
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
</div>
|
||||||
{{/if}}
|
{{/if}} --}}
|
||||||
|
|
||||||
{{!-- {{view 'profile-tabs'}} --}}
|
{{!-- {{view 'profile-tabs'}} --}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user