Update FontAwesome.
This commit is contained in:
parent
cbd01e9fb9
commit
4ff5fd287a
@ -842,7 +842,7 @@ a.hide-announcement {
|
||||
.menu-button {
|
||||
position: relative;
|
||||
}
|
||||
.menu-button i:not(.icon-reorder) {
|
||||
.menu-button i:not(.fa-reorder) {
|
||||
border-top: 6px solid;
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
@ -851,10 +851,10 @@ a.hide-announcement {
|
||||
vertical-align: middle;
|
||||
}
|
||||
@media screen and (resolution: 1dppx) {
|
||||
.icon-reorder {
|
||||
.fa-reorder {
|
||||
font-size: 14px;
|
||||
}
|
||||
#shortcuts .icon-reorder {
|
||||
#shortcuts .fa-reorder {
|
||||
vertical-align: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<span class="move">Thread Watcher <span id="watcher-status"></span></span>
|
||||
<a class="menu-button" href="javascript:;"><i class="icon-reorder"></i></a>
|
||||
<a class="menu-button" href="javascript:;"><i class="fa fa-reorder"></i></a>
|
||||
</div>
|
||||
<div id="watched-threads"></div>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"font-awesome": "git://github.com/MayhemYDG/Font-Awesome.git#df4285951124f9ca1f3907438462e5ba9e464bcb",
|
||||
"font-awesome": "https://github.com/FortAwesome/Font-Awesome/archive/v4.0.0.tar.gz",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-bump": "~0.0.11",
|
||||
"grunt-concurrent": "~0.4.0",
|
||||
|
||||
@ -12,7 +12,7 @@ Header =
|
||||
@menu = new UI.Menu 'header'
|
||||
menuButton = $.el 'a',
|
||||
className: 'menu-button'
|
||||
innerHTML: '<i class=icon-reorder></i>'
|
||||
innerHTML: '<i class="fa fa-reorder"></i>'
|
||||
href: 'javascript:;'
|
||||
$.on menuButton, 'click', @menuToggle
|
||||
@addShortcut menuButton, 0
|
||||
|
||||
@ -311,7 +311,7 @@ Main =
|
||||
css: """
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('data:application/font-woff;base64,<%= grunt.file.read('node_modules/font-awesome/font/fontawesome-webfont.woff', {encoding: 'base64'}) %>') format('woff');
|
||||
src: url('data:application/font-woff;base64,<%= grunt.file.read('node_modules/font-awesome/fonts/fontawesome-webfont.woff', {encoding: 'base64'}) %>') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@ ImageExpand =
|
||||
return if g.VIEW is 'catalog' or !Conf['Image Expansion']
|
||||
|
||||
@EAI = $.el 'a',
|
||||
className: 'expand-all-shortcut icon-resize-full'
|
||||
className: 'expand-all-shortcut fa fa-resize-full'
|
||||
title: 'Expand All Images'
|
||||
href: 'javascript:;'
|
||||
$.on @EAI, 'click', ImageExpand.cb.toggleAll
|
||||
@ -32,11 +32,11 @@ ImageExpand =
|
||||
toggleAll: ->
|
||||
$.event 'CloseMenu'
|
||||
if ImageExpand.on = $.hasClass ImageExpand.EAI, 'expand-all-shortcut'
|
||||
ImageExpand.EAI.className = 'contract-all-shortcut icon-resize-small'
|
||||
ImageExpand.EAI.className = 'contract-all-shortcut fa fa-resize-small'
|
||||
ImageExpand.EAI.title = 'Contract All Images'
|
||||
func = ImageExpand.expand
|
||||
else
|
||||
ImageExpand.EAI.className = 'expand-all-shortcut icon-resize-full'
|
||||
ImageExpand.EAI.className = 'expand-all-shortcut fa fa-resize-full'
|
||||
ImageExpand.EAI.title = 'Expand All Images'
|
||||
func = ImageExpand.contract
|
||||
for ID, post of g.posts
|
||||
|
||||
@ -149,10 +149,10 @@ ThreadWatcher =
|
||||
for threadID, thread of g.BOARD.threads
|
||||
$.extend $('.watcher-toggler', thread.OP.nodes.post),
|
||||
if ThreadWatcher.db.get {boardID: thread.board.ID, threadID}
|
||||
className: 'watcher-toggler icon-bookmark'
|
||||
className: 'watcher-toggler fa fa-bookmark'
|
||||
title: 'Unwatch thread'
|
||||
else
|
||||
className: 'watcher-toggler icon-bookmark-empty'
|
||||
className: 'watcher-toggler fa fa-bookmark-o'
|
||||
title: 'Watch thread'
|
||||
|
||||
for refresher in ThreadWatcher.menu.refreshers
|
||||
|
||||
@ -19,7 +19,7 @@ QR =
|
||||
return unless QR.postingIsEnabled
|
||||
|
||||
sc = $.el 'a',
|
||||
className: 'qr-shortcut icon-comment-alt'
|
||||
className: 'qr-shortcut fa fa-comment-o'
|
||||
title: 'Quick Reply'
|
||||
href: 'javascript:;'
|
||||
$.on sc, 'click', ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user