Issue #1437 - Make tag cloud/list views buttons more obvious

This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses.
This commit is contained in:
sprak3000 2020-10-02 14:06:02 -04:00
parent 1db2ebbd79
commit f4ea7cd563
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>