Apply icons to all shortcuts, really.

@seaweedchan: This seems more your forte than mine.
This commit is contained in:
Zixaphir 2013-08-17 21:11:00 -07:00
parent ec32e54ef5
commit decf5e4fab
6 changed files with 12 additions and 20 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,8 +2,7 @@ Settings =
init: ->
# 4chan X settings link
link = $.el 'a',
className: 'settings-link'
textContent: 'Settings'
className: 'settings-link icon-wrench'
href: 'javascript:;'
$.on link, 'click', Settings.open

View File

@ -206,8 +206,7 @@ a {
content: "]\\00a0";
}
.dead-thread,
.disabled,
.expand-all-shortcut {
.disabled {
opacity: .45;
}
#shortcuts {

View File

@ -3,10 +3,9 @@ ThreadWatcher =
return if !Conf['Thread Watcher']
@shortcut = sc = $.el 'a',
textContent: 'Watcher'
id: 'watcher-link'
href: 'javascript:;'
className: 'disabled'
className: 'disabled icon-bookmark'
@db = new DataBoard 'watchedThreads', @refresh, true
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', """

View File

@ -6,8 +6,7 @@ QR =
if Conf['QR Shortcut']
sc = $.el 'a',
className: "qr-shortcut #{unless Conf['Persistent QR'] then 'disabled' else ''}"
textContent: 'QR'
className: "qr-shortcut icon-comment-alt #{unless Conf['Persistent QR'] then 'disabled' else ''}"
title: 'Quick Reply'
href: 'javascript:;'
$.on sc, 'click', ->