Apply icons to all shortcuts, really.
@seaweedchan: This seems more your forte than mine.
This commit is contained in:
parent
ec32e54ef5
commit
decf5e4fab
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -2,8 +2,7 @@ Settings =
|
|||||||
init: ->
|
init: ->
|
||||||
# 4chan X settings link
|
# 4chan X settings link
|
||||||
link = $.el 'a',
|
link = $.el 'a',
|
||||||
className: 'settings-link'
|
className: 'settings-link icon-wrench'
|
||||||
textContent: 'Settings'
|
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on link, 'click', Settings.open
|
$.on link, 'click', Settings.open
|
||||||
|
|
||||||
|
|||||||
@ -206,8 +206,7 @@ a {
|
|||||||
content: "]\\00a0";
|
content: "]\\00a0";
|
||||||
}
|
}
|
||||||
.dead-thread,
|
.dead-thread,
|
||||||
.disabled,
|
.disabled {
|
||||||
.expand-all-shortcut {
|
|
||||||
opacity: .45;
|
opacity: .45;
|
||||||
}
|
}
|
||||||
#shortcuts {
|
#shortcuts {
|
||||||
|
|||||||
@ -3,10 +3,9 @@ ThreadWatcher =
|
|||||||
return if !Conf['Thread Watcher']
|
return if !Conf['Thread Watcher']
|
||||||
|
|
||||||
@shortcut = sc = $.el 'a',
|
@shortcut = sc = $.el 'a',
|
||||||
textContent: 'Watcher'
|
|
||||||
id: 'watcher-link'
|
id: 'watcher-link'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
className: 'disabled'
|
className: 'disabled icon-bookmark'
|
||||||
|
|
||||||
@db = new DataBoard 'watchedThreads', @refresh, true
|
@db = new DataBoard 'watchedThreads', @refresh, true
|
||||||
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', """
|
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', """
|
||||||
|
|||||||
@ -6,8 +6,7 @@ QR =
|
|||||||
|
|
||||||
if Conf['QR Shortcut']
|
if Conf['QR Shortcut']
|
||||||
sc = $.el 'a',
|
sc = $.el 'a',
|
||||||
className: "qr-shortcut #{unless Conf['Persistent QR'] then 'disabled' else ''}"
|
className: "qr-shortcut icon-comment-alt #{unless Conf['Persistent QR'] then 'disabled' else ''}"
|
||||||
textContent: 'QR'
|
|
||||||
title: 'Quick Reply'
|
title: 'Quick Reply'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on sc, 'click', ->
|
$.on sc, 'click', ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user