Clearer when archive links are N/A.

This commit is contained in:
milky 2014-02-09 07:00:15 +11:00
parent 0fac43ee46
commit f7b4e0556d
2 changed files with 9 additions and 2 deletions

View File

@ -177,6 +177,9 @@ a[href="javascript:;"] {
#header.bottom #header-bar.autohide #toggle-header-bar {
cursor: n-resize;
}
#header-bar a.inactive {
color: inherit !important;
}
#header-bar a:not(.entry) {
text-decoration: none;
padding: 1px;

View File

@ -140,8 +140,12 @@ Header =
else
a.textContent
if /-archive/.test(t) and href = Redirect.to 'board', {boardID}
a.href = href
if /-archive/.test(t)
if href = Redirect.to 'board', {boardID}
a.href = href
else
$.addClass a, 'inactive'
a.removeAttribute 'href'
$.addClass a, 'navSmall' if boardID is '@'
return a