Move the sticky/closed icons off of Saint Stallman's face.
This commit is contained in:
parent
811da4ec73
commit
8951e9cd16
@ -441,15 +441,21 @@ a[href="javascript:;"] {
|
|||||||
height: 13px;
|
height: 13px;
|
||||||
padding: 20px 36px;
|
padding: 20px 36px;
|
||||||
}
|
}
|
||||||
.thread-icons {
|
.thread-icons > img {
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
margin: 0;
|
||||||
|
vertical-align: text-top;
|
||||||
|
}
|
||||||
|
.thumb:not(:hover) > .menu-button > i {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.thumb > .menu-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
right: 1px;
|
right: 1px;
|
||||||
}
|
}
|
||||||
.thumb:not(:hover) .menu-button > i {
|
.thumb > .menu-button > i {
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.thread-icons > .menu-button > i {
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.thread-stats {
|
.thread-stats {
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
<a href="/#{thread.board}/res/#{thread.ID}" target="_blank" class="thumb">
|
<a href="/#{thread.board}/res/#{thread.ID}" target="_blank" class="thumb"></a>
|
||||||
<div class="thread-icons"></div>
|
|
||||||
</a>
|
|
||||||
<div class="thread-stats" title="Post count / File count / Page count">
|
<div class="thread-stats" title="Post count / File count / Page count">
|
||||||
<span class="post-count">#{postCount}</span> / <span class="file-count">#{fileCount}</span> / <span class="page-count">#{pageCount}</span>
|
<span class="post-count">#{postCount}</span> / <span class="file-count">#{fileCount}</span> / <span class="page-count">#{pageCount}</span>
|
||||||
|
<span class="thread-icons"></span>
|
||||||
</div>
|
</div>
|
||||||
#{subject}
|
#{subject}
|
||||||
<div class="comment">#{comment}</div>
|
<div class="comment">#{comment}</div>
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Menu =
|
|||||||
innerHTML: '<i class="fa fa-bars"></i>'
|
innerHTML: '<i class="fa fa-bars"></i>'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on menuButton, 'click', Menu.toggle
|
$.on menuButton, 'click', Menu.toggle
|
||||||
$.add @nodes.icons, menuButton
|
$.add @nodes.thumb, menuButton
|
||||||
|
|
||||||
makeButton: ->
|
makeButton: ->
|
||||||
clone = Menu.frag.cloneNode true
|
clone = Menu.frag.cloneNode true
|
||||||
@ -39,7 +39,7 @@ Menu =
|
|||||||
# Posts, inlined posts, hidden replies.
|
# Posts, inlined posts, hidden replies.
|
||||||
post = Get.postFromNode @
|
post = Get.postFromNode @
|
||||||
catch
|
catch
|
||||||
post = if fullID = @parentNode.parentNode.parentNode.dataset.fullID
|
post = if fullID = @parentNode.parentNode.dataset.fullID
|
||||||
g.threads[fullID].OP
|
g.threads[fullID].OP
|
||||||
else
|
else
|
||||||
# Hidden threads.
|
# Hidden threads.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user