aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsprak3000 <sprak3000+github@gmail.com>2020-10-02 14:06:02 -0400
committersprak3000 <sprak3000+github@gmail.com>2020-10-02 14:06:02 -0400
commitf4ea7cd5633773a0f6438a1d50dbb70eeacf2f04 (patch)
tree60b95f43ede39c73bd12f6b74bc3661f435a7dce
parent1db2ebbd79bb82e9e40a7093bbf1bfc50d06b077 (diff)
downloadShaarli-f4ea7cd5633773a0f6438a1d50dbb70eeacf2f04.tar.gz
Shaarli-f4ea7cd5633773a0f6438a1d50dbb70eeacf2f04.tar.zst
Shaarli-f4ea7cd5633773a0f6438a1d50dbb70eeacf2f04.zip
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.
-rw-r--r--assets/default/scss/shaarli.scss6
-rw-r--r--tpl/default/tag.sort.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss
index f3782875..a528adb0 100644
--- a/assets/default/scss/shaarli.scss
+++ b/assets/default/scss/shaarli.scss
@@ -1558,11 +1558,11 @@ form {
1558 text-align: center; 1558 text-align: center;
1559 1559
1560 a { 1560 a {
1561 background: $almost-white;
1561 display: inline-block; 1562 display: inline-block;
1562 margin: 0 15px; 1563 padding: 5px;
1563 text-decoration: none; 1564 text-decoration: none;
1564 color: $white; 1565 color: $dark-grey;
1565 font-weight: bold;
1566 } 1566 }
1567} 1567}
1568 1568
diff --git a/tpl/default/tag.sort.html b/tpl/default/tag.sort.html
index 8718b188..b3764e29 100644
--- a/tpl/default/tag.sort.html
+++ b/tpl/default/tag.sort.html
@@ -1,8 +1,8 @@
1<div class="pure-g"> 1<div class="pure-g">
2 <div class="pure-u-1 pure-alert pure-alert-success tag-sort"> 2 <div class="pure-u-1 pure-alert pure-alert-success tag-sort">
3 {'Sort by:'|t} 3 {'Sort by:'|t}
4 <a href="{$base_path}/tags/cloud">{'Cloud'|t}</a> &middot; 4 <a href="{$base_path}/tags/cloud">{'Cloud'|t}</a>
5 <a href="{$base_path}/tags/list?sort=usage">{'Most used'|t}</a> &middot; 5 <a href="{$base_path}/tags/list?sort=usage">{'Most used'|t}</a>
6 <a href="{$base_path}/tags/list?sort=alpha">{'Alphabetical'|t}</a> 6 <a href="{$base_path}/tags/list?sort=alpha">{'Alphabetical'|t}</a>
7 </div> 7 </div>
8</div> 8</div>