Merge branch 'bstable'
This commit is contained in:
commit
2262ed5204
@ -13,6 +13,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
|||||||
|
|
||||||
### v1.11.10
|
### v1.11.10
|
||||||
|
|
||||||
|
**v1.11.10.7** *(2015-09-30)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.7/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
- Show party hats in 4chan X catalog view.
|
||||||
|
|
||||||
**v1.11.10.6** *(2015-09-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.6/builds/4chan-X-noupdate.crx "Chromium version")]
|
**v1.11.10.6** *(2015-09-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.6/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
- Update 4chan banner list.
|
- Update 4chan banner list.
|
||||||
- Update for Recaptcha changes.
|
- Update for Recaptcha changes.
|
||||||
|
|||||||
@ -88,9 +88,12 @@ Index =
|
|||||||
$.asap (-> $('.board > .thread > .postContainer', doc) or d.readyState isnt 'loading'), ->
|
$.asap (-> $('.board > .thread > .postContainer', doc) or d.readyState isnt 'loading'), ->
|
||||||
return unless Main.isThisPageLegit()
|
return unless Main.isThisPageLegit()
|
||||||
Index.hat = $ '.board > .thread > img:first-child'
|
Index.hat = $ '.board > .thread > img:first-child'
|
||||||
if Index.hat and Index.nodes
|
if Index.hat
|
||||||
for threadRoot in Index.nodes
|
if Index.nodes
|
||||||
$.prepend threadRoot, Index.hat.cloneNode false
|
for threadRoot in Index.nodes
|
||||||
|
$.prepend threadRoot, Index.hat.cloneNode false
|
||||||
|
$.addClass doc, 'hats-enabled'
|
||||||
|
$.addStyle ".catalog-thread::after {background-image: url(#{Index.hat.src});}"
|
||||||
|
|
||||||
board = $ '.board'
|
board = $ '.board'
|
||||||
$.replace board, Index.root
|
$.replace board, Index.root
|
||||||
|
|||||||
@ -669,6 +669,7 @@ div[data-checked="false"] > .suboption-list {
|
|||||||
margin: 0 2px 5px;
|
margin: 0 2px 5px;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.catalog-thread > a {
|
.catalog-thread > a {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
@ -750,6 +751,24 @@ div[data-checked="false"] > .suboption-list {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
:root.hats-enabled .catalog-thread::after {
|
||||||
|
content: '';
|
||||||
|
pointer-events: none;
|
||||||
|
position: absolute;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
:root.hats-enabled .catalog-small .catalog-thread::after {
|
||||||
|
left: -10px;
|
||||||
|
top: -65px;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
:root.hats-enabled .catalog-large .catalog-thread::after {
|
||||||
|
left: -15px;
|
||||||
|
top: -105px;
|
||||||
|
width: 160px;
|
||||||
|
height: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Announcement Hiding */
|
/* Announcement Hiding */
|
||||||
:root.hide-announcement #globalMessage {
|
:root.hide-announcement #globalMessage {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user