Merge pull request #1579 from sprak3000/issue-1437-tag-sort-buttons-ui

Fix #1437 - Make tag cloud/list views buttons more obvious
This commit is contained in:
nodiscc 2020-10-04 11:45:24 +00:00 committed by GitHub
commit df25b28dcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1558,11 +1558,11 @@ form {
text-align: center;
a {
background: $almost-white;
display: inline-block;
margin: 0 15px;
padding: 5px;
text-decoration: none;
color: $white;
font-weight: bold;
color: $dark-grey;
}
}

View file

@ -1,8 +1,8 @@
<div class="pure-g">
<div class="pure-u-1 pure-alert pure-alert-success tag-sort">
{'Sort by:'|t}
<a href="{$base_path}/tags/cloud">{'Cloud'|t}</a> &middot;
<a href="{$base_path}/tags/list?sort=usage">{'Most used'|t}</a> &middot;
<a href="{$base_path}/tags/cloud">{'Cloud'|t}</a>
<a href="{$base_path}/tags/list?sort=usage">{'Most used'|t}</a>
<a href="{$base_path}/tags/list?sort=alpha">{'Alphabetical'|t}</a>
</div>
</div>