Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Refined empty state for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzimon committed Aug 21, 2019
1 parent 0b31dbd commit 9efdd5c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app/styles/layouts/tags.css
Expand Up @@ -12,6 +12,11 @@
margin-bottom: 24px;
}

.gh-tags-count:hover {
color: color-mod(var(--blue) l(-25%) s(+15%));
font-weight: 500;
}

.gh-tag-settings-header h1 {
font-size: 2.2rem;
line-height: 1.15em;
Expand Down
7 changes: 7 additions & 0 deletions app/styles/spirit/_animations.css
Expand Up @@ -49,6 +49,13 @@
}


/* Underline */

.underline:hover {
text-decoration: underline;
}


/*
Lighter variation
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/gh-tags-list-item.hbs
Expand Up @@ -14,7 +14,7 @@
{{/link-to}}

{{#if this.postsCount}}
{{#link-to "posts" (query-params type=null author=null tag=tag.slug order=null) class="gh-list-data blue f8" title="List posts with this tag"}}
{{#link-to "posts" (query-params type=null author=null tag=tag.slug order=null) class="gh-list-data blue gh-tags-count f8" title=(concat "List posts tagged with '" this.tag.name "'")}}
<span class="nowrap">{{this.postsLabel}}</span>
{{/link-to}}
{{else}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/tags.hbs
Expand Up @@ -12,7 +12,7 @@
</header>

<section class="content-list">
<ol class="posts-list gh-list {{unless tags "no-posts"}}">
<ol class="posts-list gh-list {{unless sortedTags "no-posts"}}">
{{#if sortedTags}}
<li class="gh-list-row header">
<div class="gh-list-header gh-list-cellwidth-1-2">Tag</div>
Expand Down
2 changes: 1 addition & 1 deletion public/assets/icons/tags-placeholder.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9efdd5c

Please sign in to comment.