Switch the menu button on posts to the fontawesome icon.
This commit is contained in:
parent
bbf7abd6fa
commit
0fac43ee46
@ -978,14 +978,6 @@ a.remove {
|
||||
.menu-button {
|
||||
position: relative;
|
||||
}
|
||||
.menu-button i:not(.fa-bars) {
|
||||
border-top: 6px solid;
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
display: inline-block;
|
||||
margin: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@media screen and (resolution: 1dppx) {
|
||||
.fa-bars {
|
||||
font-size: 14px;
|
||||
|
||||
@ -4,7 +4,7 @@ Menu =
|
||||
|
||||
a = $.el 'a',
|
||||
className: 'menu-button'
|
||||
innerHTML: '[<i></i>]'
|
||||
innerHTML: '<i class="fa fa-bars"></i>'
|
||||
href: 'javascript:;'
|
||||
@frag = $.nodes [$.tn(' '), a]
|
||||
|
||||
@ -22,12 +22,7 @@ Menu =
|
||||
return
|
||||
$.add @nodes.info, Menu.makeButton()
|
||||
catalogNode: ->
|
||||
menuButton = $.el 'a',
|
||||
className: 'menu-button'
|
||||
innerHTML: '<i class="fa fa-bars"></i>'
|
||||
href: 'javascript:;'
|
||||
$.on menuButton, 'click', Menu.toggle
|
||||
$.add @nodes.thumb, menuButton
|
||||
$.add @nodes.thumb, Menu.makeButton()
|
||||
|
||||
makeButton: ->
|
||||
clone = Menu.frag.cloneNode true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user