hide inactive history buttons instead of fading
This commit is contained in:
parent
f23771d923
commit
3c749f8705
@ -143,11 +143,11 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
|
|||||||
},"33":function(container,depth0,helpers,partials,data) {
|
},"33":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"source-term\"";
|
return "class=\"source-term\"";
|
||||||
},"35":function(container,depth0,helpers,partials,data) {
|
},"35":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"source-term term-button-fade\"";
|
return "class=\"source-term invisible\"";
|
||||||
},"37":function(container,depth0,helpers,partials,data) {
|
},"37":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"next-term\"";
|
return "class=\"next-term\"";
|
||||||
},"39":function(container,depth0,helpers,partials,data) {
|
},"39":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"next-term term-button-fade\"";
|
return "class=\"next-term invisible\"";
|
||||||
},"41":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
},"41":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
||||||
var stack1;
|
var stack1;
|
||||||
|
|
||||||
@ -491,11 +491,11 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
|
|||||||
},"67":function(container,depth0,helpers,partials,data) {
|
},"67":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"source-term\"";
|
return "class=\"source-term\"";
|
||||||
},"69":function(container,depth0,helpers,partials,data) {
|
},"69":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"source-term term-button-fade\"";
|
return "class=\"source-term invisible\"";
|
||||||
},"71":function(container,depth0,helpers,partials,data) {
|
},"71":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"next-term\"";
|
return "class=\"next-term\"";
|
||||||
},"73":function(container,depth0,helpers,partials,data) {
|
},"73":function(container,depth0,helpers,partials,data) {
|
||||||
return "class=\"next-term term-button-fade\"";
|
return "class=\"next-term invisible\"";
|
||||||
},"75":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
},"75":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
||||||
var stack1;
|
var stack1;
|
||||||
|
|
||||||
|
@ -82,10 +82,6 @@ ol, ul {
|
|||||||
right: 0px;
|
right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.term-button-fade {
|
|
||||||
opacity: 0.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Search page
|
* Search page
|
||||||
|
@ -89,8 +89,8 @@ No data found
|
|||||||
|
|
||||||
{{#if definitions}}
|
{{#if definitions}}
|
||||||
<div class="term-navigation">
|
<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 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 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 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>
|
</div>
|
||||||
{{#each definitions}}
|
{{#each definitions}}
|
||||||
{{#unless @first}}<hr>{{/unless}}
|
{{#unless @first}}<hr>{{/unless}}
|
||||||
|
@ -127,8 +127,8 @@
|
|||||||
|
|
||||||
{{#if definitions}}
|
{{#if definitions}}
|
||||||
<div class="term-navigation">
|
<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 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 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 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>
|
</div>
|
||||||
{{#each definitions}}
|
{{#each definitions}}
|
||||||
{{#unless @first}}<hr>{{/unless}}
|
{{#unless @first}}<hr>{{/unless}}
|
||||||
|
Loading…
Reference in New Issue
Block a user