Update font-awesome.

This commit is contained in:
Mayhem 2013-11-07 22:34:41 +01:00
parent 2d20943049
commit 6975a766b9
5 changed files with 9 additions and 9 deletions

View File

@ -851,7 +851,7 @@ a.hide-announcement {
.menu-button {
position: relative;
}
.menu-button i:not(.fa-reorder) {
.menu-button i:not(.fa-bars) {
border-top: 6px solid;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
@ -860,10 +860,10 @@ a.hide-announcement {
vertical-align: middle;
}
@media screen and (resolution: 1dppx) {
.fa-reorder {
.fa-bars {
font-size: 14px;
}
#shortcuts .fa-reorder {
#shortcuts .fa-bars {
vertical-align: -1px;
}
}

View File

@ -1,5 +1,5 @@
<div>
<span class="move">Thread Watcher <span id="watcher-status"></span></span>
<a class="menu-button" href="javascript:;"><i class="fa fa-reorder"></i></a>
<a class="menu-button" href="javascript:;"><i class="fa fa-bars"></i></a>
</div>
<div id="watched-threads"></div>

View File

@ -21,7 +21,7 @@
}
},
"devDependencies": {
"font-awesome": "https://github.com/FortAwesome/Font-Awesome/archive/v4.0.0.tar.gz",
"font-awesome": "https://github.com/FortAwesome/Font-Awesome/archive/v4.0.3.tar.gz",
"grunt": "~0.4.1",
"grunt-bump": "~0.0.11",
"grunt-concurrent": "~0.4.0",

View File

@ -11,7 +11,7 @@ Header =
@menu = new UI.Menu 'header'
menuButton = $.el 'a',
className: 'menu-button'
innerHTML: '<i class="fa fa-reorder"></i>'
innerHTML: '<i class="fa fa-bars"></i>'
href: 'javascript:;'
$.on menuButton, 'click', @menuToggle
@addShortcut menuButton, 0

View File

@ -3,7 +3,7 @@ ImageExpand =
return if g.VIEW is 'catalog' or !Conf['Image Expansion']
@EAI = $.el 'a',
className: 'expand-all-shortcut fa fa-resize-full'
className: 'expand-all-shortcut fa fa-expand'
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 fa fa-resize-small'
ImageExpand.EAI.className = 'contract-all-shortcut fa fa-compress'
ImageExpand.EAI.title = 'Contract All Images'
func = ImageExpand.expand
else
ImageExpand.EAI.className = 'expand-all-shortcut fa fa-resize-full'
ImageExpand.EAI.className = 'expand-all-shortcut fa fa-expand'
ImageExpand.EAI.title = 'Expand All Images'
func = ImageExpand.contract
for ID, post of g.posts