Merge pull request #1015 from ArthurHoaro/theme/tag-cloud-center

Fix alignement and better clarity for 'List all links with those tags' button
This commit is contained in:
ArthurHoaro 2017-11-11 10:55:54 +01:00 committed by GitHub
commit 488786d3e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 4 deletions

View file

@ -1327,4 +1327,22 @@ form[name="linkform"].page-form {
.markdown *:last-child { .markdown *:last-child {
margin-bottom: 5px !important; margin-bottom: 5px !important;
} }
/**
* 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;
}

View file

@ -14,8 +14,10 @@
{$countTags=count($tags)} {$countTags=count($tags)}
<h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2>
{if="!empty($search_tags)"} {if="!empty($search_tags)"}
<p class="enter"> <p class="center">
<a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli">
{'List all links with those tags'|t}
</a>
</p> </p>
{/if} {/if}

View file

@ -15,7 +15,9 @@
<h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2>
{if="!empty($search_tags)"} {if="!empty($search_tags)"}
<p class="center"> <p class="center">
<a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli">
{'List all links with those tags'|t}
</a>
</p> </p>
{/if} {/if}