Commit a1dd9f35 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Lavaca_require: remove count from clear completed button

parent 75069548
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<a {@eq key=filter value="completed"}class="selected"{/eq} href="/completed">Completed</a> <a {@eq key=filter value="completed"}class="selected"{/eq} href="/completed">Completed</a>
</li> </li>
</ul> </ul>
{@gt key=itemsCompleted value="0"}<button id="clear-completed">Clear completed ({itemsCompleted})</button>{/gt} {@gt key=itemsCompleted value="0"}<button id="clear-completed">Clear completed</button>{/gt}
</footer> </footer>
{/items} {/items}
...@@ -316,20 +316,10 @@ html #clear-completed:active { ...@@ -316,20 +316,10 @@ html #clear-completed:active {
line-height: 20px; line-height: 20px;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
visibility: hidden;
position: relative; position: relative;
} }
#clear-completed::after { #clear-completed:hover {
visibility: visible;
content: 'Clear completed';
position: absolute;
top: 0;
right: 0;
white-space: nowrap;
}
#clear-completed:hover::after {
text-decoration: underline; text-decoration: underline;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment