From 055ce4bd197de49ef654aa17dc6eceab5c32240e Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 8 Nov 2017 19:21:00 +0100 Subject: Fix alignement and better clarity for 'List all links with those tags' button Fix CSS class typo and display the link as a button Fixes #999 --- tpl/default/css/shaarli.css | 20 +++++++++++++++++++- tpl/default/tag.cloud.html | 6 ++++-- tpl/default/tag.list.html | 4 +++- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 9065f887..14439402 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -1327,4 +1327,22 @@ form[name="linkform"].page-form { .markdown *:last-child { margin-bottom: 5px !important; -} \ No newline at end of file +} + +/** + * Pure Button + */ +.pure-button-success, +.pure-button-error, +.pure-button-warning, +.pure-button-primary, +.pure-button-shaarli, +.pure-button-secondary { + color: white !important; + border-radius: 4px; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); +} + +.pure-button-shaarli { + background-color: #1B926C; +} diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html index 68335c70..12701465 100644 --- a/tpl/default/tag.cloud.html +++ b/tpl/default/tag.cloud.html @@ -14,8 +14,10 @@ {$countTags=count($tags)}

{'Tag cloud'|t} - {$countTags} {'tags'|t}

{if="!empty($search_tags)"} -

- {'List all links with those tags'|t} +

+ + {'List all links with those tags'|t} +

{/if} diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html index a3e741d3..7140c67a 100644 --- a/tpl/default/tag.list.html +++ b/tpl/default/tag.list.html @@ -15,7 +15,9 @@

{'Tag list'|t} - {$countTags} {'tags'|t}

{if="!empty($search_tags)"}

- {'List all links with those tags'|t} + + {'List all links with those tags'|t} +

{/if} -- cgit v1.2.3