aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-12-08 22:59:36 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-12-08 22:59:36 +0200
commit3c749f87053fea88221453f4a6fe4f194726bb6e (patch)
treea3ad15ec41048e1cad6e4f024dc7021501af6c86 /tmpl
parentf23771d9236df540cdc645bb577863ace4ca0bac (diff)
hide inactive history buttons instead of fading
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/kanji.html4
-rw-r--r--tmpl/terms.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index bbc0fc9d..d205cda5 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -89,8 +89,8 @@ No data found
{{#if definitions}}
<div class="term-navigation">
- <a href="#" {{#if source}}class="source-term"{{else}}class="source-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
- <a href="#" {{#if next}}class="next-term"{{else}}class="next-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="Next term (Alt + F)" alt></a>
+ <a href="#" {{#if source}}class="source-term"{{else}}class="source-term invisible"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
+ <a href="#" {{#if next}}class="next-term"{{else}}class="next-term invisible"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="Next term (Alt + F)" alt></a>
</div>
{{#each definitions}}
{{#unless @first}}<hr>{{/unless}}
diff --git a/tmpl/terms.html b/tmpl/terms.html
index 9cfabc58..d0c142d9 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -127,8 +127,8 @@
{{#if definitions}}
<div class="term-navigation">
- <a href="#" {{#if source}}class="source-term"{{else}}class="source-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
- <a href="#" {{#if next}}class="next-term"{{else}}class="next-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="Next term (Alt + F)" alt></a>
+ <a href="#" {{#if source}}class="source-term"{{else}}class="source-term invisible"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
+ <a href="#" {{#if next}}class="next-term"{{else}}class="next-term invisible"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="Next term (Alt + F)" alt></a>
</div>
{{#each definitions}}
{{#unless @first}}<hr>{{/unless}}