aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-11-11 10:55:54 +0100
committerGitHub <noreply@github.com>2017-11-11 10:55:54 +0100
commit488786d3e4e113ef93f5dcddf86315480d2ae5c1 (patch)
treee045e466451f058c4e4cea9c3210c46922c74085
parentb14d34d2c7b7a7360adcc823472a43f64b579e1c (diff)
parent055ce4bd197de49ef654aa17dc6eceab5c32240e (diff)
downloadShaarli-488786d3e4e113ef93f5dcddf86315480d2ae5c1.tar.gz
Shaarli-488786d3e4e113ef93f5dcddf86315480d2ae5c1.tar.zst
Shaarli-488786d3e4e113ef93f5dcddf86315480d2ae5c1.zip
Merge pull request #1015 from ArthurHoaro/theme/tag-cloud-center
Fix alignement and better clarity for 'List all links with those tags' button
-rw-r--r--tpl/default/css/shaarli.css20
-rw-r--r--tpl/default/tag.cloud.html6
-rw-r--r--tpl/default/tag.list.html4
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 {
1327 1327
1328.markdown *:last-child { 1328.markdown *:last-child {
1329 margin-bottom: 5px !important; 1329 margin-bottom: 5px !important;
1330} \ No newline at end of file 1330}
1331
1332/**
1333 * Pure Button
1334 */
1335.pure-button-success,
1336.pure-button-error,
1337.pure-button-warning,
1338.pure-button-primary,
1339.pure-button-shaarli,
1340.pure-button-secondary {
1341 color: white !important;
1342 border-radius: 4px;
1343 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
1344}
1345
1346.pure-button-shaarli {
1347 background-color: #1B926C;
1348}
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 @@
14 {$countTags=count($tags)} 14 {$countTags=count($tags)}
15 <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> 15 <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2>
16 {if="!empty($search_tags)"} 16 {if="!empty($search_tags)"}
17 <p class="enter"> 17 <p class="center">
18 <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> 18 <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli">
19 {'List all links with those tags'|t}
20 </a>
19 </p> 21 </p>
20 {/if} 22 {/if}
21 23
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 @@
15 <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> 15 <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2>
16 {if="!empty($search_tags)"} 16 {if="!empty($search_tags)"}
17 <p class="center"> 17 <p class="center">
18 <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> 18 <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli">
19 {'List all links with those tags'|t}
20 </a>
19 </p> 21 </p>
20 {/if} 22 {/if}
21 23