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
This commit is contained in:
parent
b14d34d2c7
commit
055ce4bd19
3 changed files with 26 additions and 4 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
||||||
|
|
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue