Announcement hiding button in font awesome

Close #231
This commit is contained in:
Jordan 2014-01-10 07:44:54 -07:00
parent 28d9e88856
commit 52a287f11f
5 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.2.45 - 2014-01-09
* 4chan X - Version 1.2.45 - 2014-01-10
*
* Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -27,7 +27,8 @@
@font-face{font-family:FontAwesome;src:url('data:application/font-woff;base64,<%= grunt.file.read('node_modules/font-awesome/fonts/fontawesome-webfont.woff', {encoding: 'base64'}) %>') format('woff');font-weight:400;font-style:normal}.fa::before{font-family:FontAwesome;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased;*margin-right:.3em;text-decoration:inherit;display:none;speak:none}
:root.shortcut-icons .fa::before,
.menu-button .fa::before,
.menu-button .fa::before,
.hide-announcement .fa::before,
.hide-reply-button .fa::before,
.hide-thread-button .fa::before {display:inline-block;font-size:13px;visibility:visible}
:root.shortcut-icons #shortcuts .fa::before{font-size:15px!important;margin-top:-3px!important;position:relative;top:1px}
@ -35,6 +36,7 @@
:root.shortcut-icons .shortcut.brackets-wrap::after,:root.shortcut-icons .shortcut.brackets-wrap::before{display:none}
:root.shortcut-icons a .fa,
.menu-button .fa,
.hide-announcement .fa,
.hide-reply-button .fa,
.hide-thread-button .fa {display:inline}

View File

@ -24,7 +24,7 @@ PSAHiding =
$.on entry.el, 'click', PSAHiding.toggle
PSAHiding.btn = btn = $.el 'a',
innerHTML: '<span class=brackets-wrap>&nbsp;-&nbsp;</span>'
innerHTML: '<span class="fa fa-minus-square-o"></span>'
title: 'Hide announcement.'
className: 'hide-announcement'
href: 'javascript:;'