Move the sticky/closed icons off of Saint Stallman's face.
Conflicts: html/General/Thread-catalog-view.html src/General/css/style.css src/Menu/Menu.coffee
This commit is contained in:
parent
f4d40629df
commit
1bff6f816d
@ -353,10 +353,10 @@ Build =
|
|||||||
$.extend root, <%= html(
|
$.extend root, <%= html(
|
||||||
'<a href="/${thread.board}/thread/${thread.ID}" target="_blank">' +
|
'<a href="/${thread.board}/thread/${thread.ID}" target="_blank">' +
|
||||||
'&{thumb}' +
|
'&{thumb}' +
|
||||||
'<div class="thread-icons"></div>' +
|
|
||||||
'</a>' +
|
'</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">&{thread.OP.nodes.comment}</div>'
|
'<div class="comment">&{thread.OP.nodes.comment}</div>'
|
||||||
|
|||||||
@ -535,15 +535,21 @@ hr ~ div.center:not(.ad-cnt) {
|
|||||||
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;
|
||||||
|
}
|
||||||
|
.catalog-thread > a:not(:hover) > .menu-button > i {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.catalog-thread > a > .menu-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
right: 1px;
|
right: 1px;
|
||||||
}
|
}
|
||||||
.catalog-thread > a:not(:hover) .menu-button {
|
.catalog-thread > a > .menu-button > i {
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.thread-icons > .menu-button > i {
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.thread-stats {
|
.thread-stats {
|
||||||
|
|||||||
@ -22,7 +22,7 @@ Menu =
|
|||||||
$.add @nodes.info, Menu.makeButton()
|
$.add @nodes.info, Menu.makeButton()
|
||||||
|
|
||||||
catalogNode: ->
|
catalogNode: ->
|
||||||
$.add @nodes.icons, Menu.makeButton()
|
$.add @nodes.thumb.parentNode, Menu.makeButton()
|
||||||
|
|
||||||
makeButton: ->
|
makeButton: ->
|
||||||
clone = Menu.button.cloneNode true
|
clone = Menu.button.cloneNode true
|
||||||
@ -33,6 +33,6 @@ Menu =
|
|||||||
try
|
try
|
||||||
post = Get.postFromNode @
|
post = Get.postFromNode @
|
||||||
catch
|
catch
|
||||||
fullID = @parentNode.parentNode.parentNode.dataset.fullID
|
fullID = @parentNode.parentNode.dataset.fullID
|
||||||
post = g.threads[fullID].OP
|
post = g.threads[fullID].OP
|
||||||
Menu.menu.toggle e, @, post
|
Menu.menu.toggle e, @, post
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user