Menu button changes, close #223

This commit is contained in:
Jordan 2014-01-09 00:23:43 -07:00
parent 8575c0ce87
commit f217d94299
8 changed files with 31 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.2.45 - 2014-01-08
* 4chan X - Version 1.2.45 - 2014-01-09
*
* 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

File diff suppressed because one or more lines are too long

View File

@ -1032,6 +1032,14 @@ a:only-of-type > .remove {
margin: 2px;
vertical-align: middle;
}
.reply .menu-button,
.op .menu-button,
#thread-watcher .menu-button {
margin-left: -5px !important;
}
.menu-button + .container:not(:empty) {
margin-left: -5px !important;
}
#menu {
position: fixed;
outline: none;

View File

@ -1,2 +1,2 @@
<div class="move">Thread Watcher <span id="watcher-status"></span><a class="menu-button brackets-wrap" href="javascript:;"><i></i></a><a class=close href=javascript:;>×</a></span></div>
<div class="move">Thread Watcher <span id="watcher-status"></span><a class="menu-button" href="javascript:;"><i class="fa fa-angle-down"></i></a><a class=close href=javascript:;>×</a></span></div>
<div id="watched-threads"></div>

View File

@ -21,7 +21,7 @@ Menu =
$.tn(' ')
$.el 'a',
className: 'menu-button'
innerHTML: '[<i></i>]'
innerHTML: '<i class="fa fa-angle-down"></i>'
href: 'javascript:;'
]
clone = frag.cloneNode true

View File

@ -6,7 +6,7 @@ ThreadWatcher =
id: 'watcher-link'
textContent: 'Watcher'
href: 'javascript:;'
className: 'disabled fa fa-eye'
className: 'disabled fa fa-eye-open'
@db = new DataBoard 'watchedThreads', @refresh, true
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', <%= importHTML('Monitoring/ThreadWatcher') %>