fadeout repos descriptions
This commit is contained in:
parent
3aa3dd5e00
commit
13fc4e83e5
|
@ -16,9 +16,9 @@
|
||||||
font-size: $font-size-sm
|
font-size: $font-size-sm
|
||||||
color: #adaaab
|
color: #adaaab
|
||||||
margin: 2rem 0 1rem 0
|
margin: 2rem 0 1rem 0
|
||||||
a
|
a
|
||||||
color: #adaaab
|
color: #adaaab
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
h1, .sync-button, .ember-view
|
h1, .sync-button, .ember-view
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
@ -114,8 +114,6 @@ p.profile-user-last
|
||||||
width: grid-calc(7, 24)
|
width: grid-calc(7, 24)
|
||||||
@media #{$large-up}
|
@media #{$large-up}
|
||||||
width: grid-calc(5, 24)
|
width: grid-calc(5, 24)
|
||||||
a
|
|
||||||
text-decoration: none
|
|
||||||
.switch
|
.switch
|
||||||
display: inline-block
|
display: inline-block
|
||||||
.profile-settings
|
.profile-settings
|
||||||
|
@ -130,8 +128,10 @@ p.profile-user-last
|
||||||
|
|
||||||
.profile-repo
|
.profile-repo
|
||||||
@extend %border-radius-4px
|
@extend %border-radius-4px
|
||||||
|
position: relative
|
||||||
width: grid-calc(14, 24)
|
width: grid-calc(14, 24)
|
||||||
padding: .25em .5em .3em
|
padding: .25em .5em .3em
|
||||||
|
white-space: nowrap
|
||||||
span
|
span
|
||||||
display: none
|
display: none
|
||||||
margin-left: 2rem
|
margin-left: 2rem
|
||||||
|
@ -139,8 +139,14 @@ p.profile-user-last
|
||||||
color: #484849
|
color: #484849
|
||||||
&:hover
|
&:hover
|
||||||
background-color: #ededec
|
background-color: #ededec
|
||||||
|
&:after
|
||||||
|
content: ""
|
||||||
|
@include fadeOut(right, -90deg, #ededec)
|
||||||
.active &:hover
|
.active &:hover
|
||||||
background-color: #e2eee2
|
background-color: #e2eee2
|
||||||
|
&:after
|
||||||
|
content: ""
|
||||||
|
@include fadeOut(right, -90deg, #e2eee2)
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
width: grid-calc(17, 24)
|
width: grid-calc(17, 24)
|
||||||
height: 30px
|
height: 30px
|
||||||
|
|
|
@ -24,75 +24,76 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>We're only showing you public repositories. You can find your private projects on <a href="https://travis-ci.com" title="travis-ci.com">travis-ci.com</a>.</p>
|
<p>We're only showing you public repositories. You can find your private projects on <a href="https://travis-ci.com" title="travis-ci.com">travis-ci.com</a>.</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="profile-getstarted">
|
<section class="profile-getstarted">
|
||||||
<a href="#" class="dismiss"><span class="icon icon--dismiss-grey"></span></a>
|
<a href="#" class="dismiss"><span class="icon icon--dismiss-grey"></span></a>
|
||||||
<ol class="row">
|
<ol class="row">
|
||||||
<li class="columns medium-4">
|
<li class="columns medium-4">
|
||||||
<figure>
|
<figure>
|
||||||
<img src="/images/svg/hooks-step-1-01.svg" alt="">
|
<img src="/images/svg/hooks-step-1-01.svg" alt="">
|
||||||
<figcaption>Flick the repository switch on</figcaption>
|
<figcaption>Flick the repository switch on</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li class="columns medium-4">
|
||||||
|
<figure>
|
||||||
|
<img src="/images/svg/hooks-step-2-01.svg" alt="">
|
||||||
|
<figcaption>Add .travis.yml file to your repository</figcaption>
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li class="columns medium-4">
|
||||||
|
<figure>
|
||||||
|
<img src="/images/svg/hooks-step-3-01.svg" alt="">
|
||||||
|
<figcaption>Trigger your first build with a git push</figcaption>
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<ul class="profile-hooklist">
|
||||||
|
{{#each hook in hooks}}
|
||||||
|
<li {{bind-attr class="hook.active:active :row"}}>
|
||||||
|
<div class="columns">
|
||||||
|
{{travis-switch action="toggle" target=hook toggleAutomatically="false"}}
|
||||||
|
{{!-- <button class="switch is-on"></button> --}}
|
||||||
|
{{#link-to "settings" hook.ownerName hook.name class="profile-settings" title="Repository settings"}}<span class="icon icon--cog"></span>{{/link-to}}
|
||||||
|
</div>
|
||||||
|
{{#if hook.isSaving}}<span class="loading"></span>{{/if}}
|
||||||
|
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow" class="profile-repo columns">{{hook.slug}}
|
||||||
|
<span>{{hook.description}}</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="columns medium-4">
|
{{else}}
|
||||||
<figure>
|
<li>
|
||||||
<img src="/images/svg/hooks-step-2-01.svg" alt="">
|
{{#if hooksWithoutAdmin.length}}
|
||||||
<figcaption>Add .travis.yml file to your repository</figcaption>
|
Sorry, but we can't find any repositories you have admin access to.
|
||||||
</figure>
|
{{else}}
|
||||||
|
Sorry, it seems like we couldn't find any repositories you have access to on GitHub.
|
||||||
|
{{/if}}
|
||||||
</li>
|
</li>
|
||||||
<li class="columns medium-4">
|
{{/each}}
|
||||||
<figure>
|
</ul>
|
||||||
<img src="/images/svg/hooks-step-3-01.svg" alt="">
|
</div>
|
||||||
<figcaption>Trigger your first build with a git push</figcaption>
|
|
||||||
</figure>
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<div>
|
{{!-- {{#if hooksWithoutAdmin.length}}
|
||||||
<ul class="profile-hooklist">
|
<div id="unadministerable-hooks">
|
||||||
{{#each hook in hooks}}
|
<h3>Repositories without admin access</h3>
|
||||||
<li {{bind-attr class="hook.active:active :row"}}>
|
|
||||||
<div class="columns">
|
|
||||||
{{travis-switch action="toggle" target=hook toggleAutomatically="false"}}
|
|
||||||
{{!-- <button class="switch is-on"></button> --}}
|
|
||||||
{{#link-to "settings" hook.ownerName hook.name class="profile-settings" title="Repository settings"}}<span class="icon icon--cog"></span>{{/link-to}}
|
|
||||||
</div>
|
|
||||||
{{#if hook.isSaving}}<span class="loading"></span>{{/if}}
|
|
||||||
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow" class="profile-repo columns">{{hook.slug}}
|
|
||||||
<span>{{hook.description}}</span></a>
|
|
||||||
</li>
|
|
||||||
{{else}}
|
|
||||||
<li>
|
|
||||||
{{#if hooksWithoutAdmin.length}}
|
|
||||||
Sorry, but we can't find any repositories you have admin access to.
|
|
||||||
{{else}}
|
|
||||||
Sorry, it seems like we couldn't find any repositories you have access to on GitHub.
|
|
||||||
{{/if}}
|
|
||||||
</li>
|
|
||||||
{{/each}}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{!-- {{#if hooksWithoutAdmin.length}}
|
<p class="tip">
|
||||||
<div id="unadministerable-hooks">
|
You only have pull or push access to the repositories below.
|
||||||
<h3>Repositories without admin access</h3>
|
</p>
|
||||||
|
|
||||||
<p class="tip">
|
<ul>
|
||||||
You only have pull or push access to the repositories below.
|
{{#each hook in hooksWithoutAdmin}}
|
||||||
</p>
|
<li {{bind-attr class="hook.active:active"}}>
|
||||||
|
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow">{{hook.slug}}</a>
|
||||||
<ul>
|
<p class="description">{{hook.description}}</p>
|
||||||
{{#each hook in hooksWithoutAdmin}}
|
</li>
|
||||||
<li {{bind-attr class="hook.active:active"}}>
|
{{/each}}
|
||||||
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow">{{hook.slug}}</a>
|
</ul>
|
||||||
<p class="description">{{hook.description}}</p>
|
</div>
|
||||||
</li>
|
{{/if}} --}}
|
||||||
{{/each}}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{{/if}} --}}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
|
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user