Get rid of more Catalog stuff
This commit is contained in:
parent
7301f43289
commit
19cd95cf78
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,57 +1,57 @@
|
||||
"""#{if Style.lightTheme then "
|
||||
.prettyprint {
|
||||
background-color: #e7e7e7;
|
||||
border: 1px solid #dcdcdc;
|
||||
background-color: #e7e7e7 !important;
|
||||
border: 1px solid #dcdcdc !important;
|
||||
}
|
||||
.com {
|
||||
color: #dd0000;
|
||||
color: #dd0000 !important;
|
||||
}
|
||||
.str,
|
||||
.atv {
|
||||
color: #7fa61b;
|
||||
color: #7fa61b !important;
|
||||
}
|
||||
.pun {
|
||||
color: #61663a;
|
||||
color: #61663a !important;
|
||||
}
|
||||
.tag {
|
||||
color: #117743;
|
||||
color: #117743 !important;
|
||||
}
|
||||
.kwd {
|
||||
color: #5a6F9e;
|
||||
color: #5a6F9e !important;
|
||||
}
|
||||
.typ,
|
||||
.atn {
|
||||
color: #9474bd;
|
||||
color: #9474bd !important;
|
||||
}
|
||||
.lit {
|
||||
color: #368c72;
|
||||
color: #368c72 !important;
|
||||
}
|
||||
" else "
|
||||
.prettyprint {
|
||||
background-color: rgba(0,0,0,.1);
|
||||
border: 1px solid rgba(0,0,0,0.5);
|
||||
background-color: rgba(0,0,0,.1) !important;
|
||||
border: 1px solid rgba(0,0,0,0.5) !important;
|
||||
}
|
||||
.tag {
|
||||
color: #96562c;
|
||||
color: #96562c !important;
|
||||
}
|
||||
.pun {
|
||||
color: #5b6f2a;
|
||||
color: #5b6f2a !important;
|
||||
}
|
||||
.com {
|
||||
color: #a34443;
|
||||
color: #a34443 !important;
|
||||
}
|
||||
.str,
|
||||
.atv {
|
||||
color: #8ba446;
|
||||
color: #8ba446 !important;
|
||||
}
|
||||
.kwd {
|
||||
color: #987d3e;
|
||||
color: #987d3e !important;
|
||||
}
|
||||
.typ,
|
||||
.atn {
|
||||
color: #897399;
|
||||
color: #897399 !important;
|
||||
}
|
||||
.lit {
|
||||
color: #558773;
|
||||
color: #558773 !important;
|
||||
}
|
||||
"}"""
|
||||
@ -9,6 +9,3 @@
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pages cataloglink">
|
||||
<a href="./" data-index-mode="catalog">Catalog</a>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
CatalogLinks =
|
||||
init: ->
|
||||
$.ready @ready
|
||||
return unless Conf['Catalog Links']
|
||||
CatalogLinks.el = el = $.el 'label',
|
||||
id: 'toggleCatalog'
|
||||
@ -52,10 +51,3 @@ CatalogLinks =
|
||||
"http://4index.gropes.us/#{board}"
|
||||
else
|
||||
"/#{board}/catalog"
|
||||
|
||||
ready: ->
|
||||
if catalogLink = ($('.pages.cataloglink a', d.body) or $ '[href=".././catalog"]', d.body)
|
||||
catalogLink.textContent = ''
|
||||
catalogLink.className = 'a-icon'
|
||||
Header.addShortcut catalogLink, true
|
||||
catalogLink.id = 'catalog'
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
QuoteYou =
|
||||
init: ->
|
||||
return if g.VIEW is 'catalog' or !Conf['Mark Quotes of You']
|
||||
return if !Conf['Mark Quotes of You']
|
||||
|
||||
if Conf['Highlight Own Posts']
|
||||
$.addClass doc, 'highlight-own'
|
||||
@ -27,9 +27,9 @@ QuoteYou =
|
||||
return unless @quotes.length
|
||||
|
||||
for quotelink in @nodes.quotelinks when QR.db.get Get.postDataFromLink quotelink
|
||||
$.add quotelink, $.tn QuoteYou.text
|
||||
$.addClass quotelink, 'you'
|
||||
$.addClass @nodes.root, 'quotesYou'
|
||||
$.add quotelink, $.tn QuoteYou.text
|
||||
$.addClass quotelink, 'you'
|
||||
$.addClass @nodes.root, 'quotesYou'
|
||||
return
|
||||
|
||||
cb:
|
||||
|
||||
@ -146,19 +146,17 @@ Style =
|
||||
slideNav = $.el 'span',
|
||||
id: 'so-nav'
|
||||
innerHTML: '<i class=a-icon></a>'
|
||||
exec = -> if g.VIEW is 'catalog' then $ '#threads .thread' else true
|
||||
$.asap exec, ->
|
||||
$.add slideNav, $.id('boardNavDesktopFoot')
|
||||
Header.addShortcut slideNav, true
|
||||
$.add slideNav, $.id('boardNavDesktopFoot')
|
||||
Header.addShortcut slideNav, true
|
||||
|
||||
# Announcements
|
||||
if Conf['Announcements'] is 'slideout'
|
||||
if (psa = $.id 'globalMessage') and !psa.hidden
|
||||
psaIcon = $.el 'i',
|
||||
id: 'so-psa'
|
||||
innerHTML: '<i class=a-icon></a>'
|
||||
$.add psaIcon, psa
|
||||
Header.addShortcut psaIcon, true
|
||||
# Announcements
|
||||
if Conf['Announcements'] is 'slideout'
|
||||
if (psa = $.id 'globalMessage') and !psa.hidden
|
||||
psaIcon = $.el 'i',
|
||||
id: 'so-psa'
|
||||
innerHTML: '<i class=a-icon></a>'
|
||||
$.add psaIcon, psa
|
||||
Header.addShortcut psaIcon, true
|
||||
|
||||
if g.VIEW is 'thread'
|
||||
el = $('body > div.navLinks > a')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user