catalog-postContainer -> catalog-container

This commit is contained in:
ccd0 2016-09-28 21:44:37 -07:00
parent 947e6f98fb
commit 03460875e4
9 changed files with 38 additions and 38 deletions

View File

@ -260,6 +260,6 @@ class Post
return
setCatalogOP: (isCatalogOP) ->
@nodes.root.classList.toggle 'catalog-postContainer', isCatalogOP
@nodes.root.classList.toggle 'catalog-container', isCatalogOP
@nodes.root.classList.toggle 'opContainer', !isCatalogOP
@nodes.post.classList.toggle 'catalog-post', isCatalogOP

View File

@ -31,13 +31,13 @@
}
/* Catalog */
:root.burichan.catalog-hover-expand .catalog-postContainer:hover > .post {
:root.burichan.catalog-hover-expand .catalog-container:hover > .post {
background-color: #D6DAF0;
}
:root.burichan.werkTyme .catalog-thread:not(:hover),
:root.burichan.werkTyme:not(.catalog-hover-expand) .catalog-thread,
:root.burichan.catalog-hover-expand .catalog-postContainer:hover > .post,
:root.burichan.catalog-hover-expand .catalog-postContainer:hover .catalog-reply {
:root.burichan.catalog-hover-expand .catalog-container:hover > .post,
:root.burichan.catalog-hover-expand .catalog-container:hover .catalog-reply {
border-color: #B7C5D9;
}

View File

@ -31,13 +31,13 @@
}
/* Catalog */
:root.futaba.catalog-hover-expand .catalog-postContainer:hover > .post {
:root.futaba.catalog-hover-expand .catalog-container:hover > .post {
background-color: #F0E0D6;
}
:root.futaba.werkTyme .catalog-thread:not(:hover),
:root.futaba.werkTyme:not(.catalog-hover-expand) .catalog-thread,
:root.futaba.catalog-hover-expand .catalog-postContainer:hover > .post,
:root.futaba.catalog-hover-expand .catalog-postContainer:hover .catalog-reply {
:root.futaba.catalog-hover-expand .catalog-container:hover > .post,
:root.futaba.catalog-hover-expand .catalog-container:hover .catalog-reply {
border-color: #D9BFB7;
}

View File

@ -31,13 +31,13 @@
}
/* Catalog */
:root.photon.catalog-hover-expand .catalog-postContainer:hover > .post {
:root.photon.catalog-hover-expand .catalog-container:hover > .post {
background-color: #DDD;
}
:root.photon.werkTyme .catalog-thread:not(:hover),
:root.photon.werkTyme:not(.catalog-hover-expand) .catalog-thread,
:root.photon.catalog-hover-expand .catalog-postContainer:hover > .post,
:root.photon.catalog-hover-expand .catalog-postContainer:hover .catalog-reply {
:root.photon.catalog-hover-expand .catalog-container:hover > .post,
:root.photon.catalog-hover-expand .catalog-container:hover .catalog-reply {
border-color: #CCC;
}

View File

@ -732,18 +732,18 @@ div.catalog-thread {
width: 270px;
height: 410px;
}
.catalog-postContainer {
.catalog-container {
position: absolute;
top: -4px;
left: 0;
right: 0;
bottom: 0;
}
.catalog-postContainer:not(:hover),
:root:not(.catalog-hover-expand) .catalog-postContainer {
.catalog-container:not(:hover),
:root:not(.catalog-hover-expand) .catalog-container {
overflow: hidden;
}
:root.catalog-hover-expand .catalog-postContainer:hover {
:root.catalog-hover-expand .catalog-container:hover {
z-index: 1;
}
.catalog-post {
@ -761,11 +761,11 @@ div.catalog-post {
margin-top: -7px;
padding-top: 6px;
}
:root.catalog-hover-expand .catalog-postContainer:hover > .catalog-post {
:root.catalog-hover-expand .catalog-container:hover > .catalog-post {
margin-left: -61px;
margin-right: -61px;
}
:root.catalog-hover-expand .catalog-postContainer:hover > * > :not(.catalog-replies) {
:root.catalog-hover-expand .catalog-container:hover > * > :not(.catalog-replies) {
padding-left: 2px;
padding-right: 2px;
}
@ -818,13 +818,13 @@ div.catalog-post {
margin: 0;
padding-bottom: .3em;
}
.catalog-postContainer:not(:hover) > * > .file,
.catalog-postContainer:not(:hover) > * > .postInfo > :not(.subject),
.catalog-postContainer:not(:hover) > * > .catalog-replies,
:root:not(.catalog-hover-expand) .catalog-postContainer > * > .file,
:root:not(.catalog-hover-expand) .catalog-postContainer > * > .postInfo > :not(.subject),
:root:not(.catalog-hover-expand) .catalog-postContainer > * > .catalog-replies,
.catalog-thread > .catalog-postContainer > :not(.catalog-post),
.catalog-container:not(:hover) > * > .file,
.catalog-container:not(:hover) > * > .postInfo > :not(.subject),
.catalog-container:not(:hover) > * > .catalog-replies,
:root:not(.catalog-hover-expand) .catalog-container > * > .file,
:root:not(.catalog-hover-expand) .catalog-container > * > .postInfo > :not(.subject),
:root:not(.catalog-hover-expand) .catalog-container > * > .catalog-replies,
.catalog-thread > .catalog-container > :not(.catalog-post),
.catalog-post > .file > :not(.fileText),
.catalog-post > * > .fileText > :not(:first-child),
.catalog-post > .postInfo > :not(.subject):not(.nameBlock):not(.dateTime),
@ -870,7 +870,7 @@ div.catalog-post > div.postInfo {
}
.catalog-post > * > .nameBlock,
.catalog-post > * > .dateTime,
:root.catalog-hover-expand .catalog-postContainer:hover > * > .postMessage:not(:empty) {
:root.catalog-hover-expand .catalog-container:hover > * > .postMessage:not(:empty) {
padding-top: .3em;
}
.catalog-reply {
@ -1322,13 +1322,13 @@ input[name="Default Volume"] {
.catalog-thread.filter-highlight .catalog-thumb,
:root.werkTyme .catalog-thread.filter-highlight:not(:hover),
:root.werkTyme:not(.catalog-hover-expand) .catalog-thread.filter-highlight,
:root.werkTyme.catalog-hover-expand .catalog-thread.filter-highlight > .catalog-postContainer:hover > .catalog-post {
:root.werkTyme.catalog-hover-expand .catalog-thread.filter-highlight > .catalog-container:hover > .catalog-post {
box-shadow: 0 0 3px 3px rgba(255, 0, 0, .5);
}
.catalog-thread.watched .catalog-thumb,
:root.werkTyme .catalog-thread.watched:not(:hover),
:root.werkTyme:not(.catalog-hover-expand) .catalog-thread.watched,
:root.werkTyme.catalog-hover-expand .catalog-thread.watched > .catalog-postContainer:hover > .catalog-post {
:root.werkTyme.catalog-hover-expand .catalog-thread.watched > .catalog-container:hover > .catalog-post {
outline: 2px solid rgba(255, 0, 0, .75);
}

View File

@ -30,13 +30,13 @@
}
/* Catalog */
:root.tomorrow.catalog-hover-expand .catalog-postContainer:hover > .post {
:root.tomorrow.catalog-hover-expand .catalog-container:hover > .post {
background-color: #282A2E;
}
:root.tomorrow.werkTyme .catalog-thread:not(:hover),
:root.tomorrow.werkTyme:not(.catalog-hover-expand) .catalog-thread,
:root.tomorrow.catalog-hover-expand .catalog-postContainer:hover > .post,
:root.tomorrow.catalog-hover-expand .catalog-postContainer:hover .catalog-reply {
:root.tomorrow.catalog-hover-expand .catalog-container:hover > .post,
:root.tomorrow.catalog-hover-expand .catalog-container:hover .catalog-reply {
border-color: #111;
}
@ -81,13 +81,13 @@
:root.tomorrow .catalog-thread.filter-highlight .catalog-thumb,
:root.tomorrow.werkTyme .catalog-thread.filter-highlight:not(:hover),
:root.tomorrow.werkTyme:not(.catalog-hover-expand) .catalog-thread.filter-highlight,
:root.tomorrow.werkTyme.catalog-hover-expand .catalog-thread.filter-highlight > .catalog-postContainer:hover > .catalog-post {
:root.tomorrow.werkTyme.catalog-hover-expand .catalog-thread.filter-highlight > .catalog-container:hover > .catalog-post {
box-shadow: 0 0 3px 3px rgba(64, 192, 255, .7);
}
:root.tomorrow .catalog-thread.watched .catalog-thumb,
:root.tomorrow.werkTyme .catalog-thread.watched:not(:hover),
:root.tomorrow.werkTyme:not(.catalog-hover-expand) .catalog-thread.watched,
:root.tomorrow.werkTyme.catalog-hover-expand .catalog-thread.watched > .catalog-postContainer:hover > .catalog-post {
:root.tomorrow.werkTyme.catalog-hover-expand .catalog-thread.watched > .catalog-container:hover > .catalog-post {
outline: 2px solid rgb(64, 192, 255);
}

View File

@ -31,13 +31,13 @@
}
/* Catalog */
:root.yotsuba-b.catalog-hover-expand .catalog-postContainer:hover > .post {
:root.yotsuba-b.catalog-hover-expand .catalog-container:hover > .post {
background-color: #D6DAF0;
}
:root.yotsuba-b.werkTyme .catalog-thread:not(:hover),
:root.yotsuba-b.werkTyme:not(.catalog-hover-expand) .catalog-thread,
:root.yotsuba-b.catalog-hover-expand .catalog-postContainer:hover > .post,
:root.yotsuba-b.catalog-hover-expand .catalog-postContainer:hover .catalog-reply {
:root.yotsuba-b.catalog-hover-expand .catalog-container:hover > .post,
:root.yotsuba-b.catalog-hover-expand .catalog-container:hover .catalog-reply {
border-color: #B7C5D9;
}

View File

@ -31,13 +31,13 @@
}
/* Catalog */
:root.yotsuba.catalog-hover-expand .catalog-postContainer:hover > .post {
:root.yotsuba.catalog-hover-expand .catalog-container:hover > .post {
background-color: #F0E0D6;
}
:root.yotsuba.werkTyme .catalog-thread:not(:hover),
:root.yotsuba.werkTyme:not(.catalog-hover-expand) .catalog-thread,
:root.yotsuba.catalog-hover-expand .catalog-postContainer:hover > .post,
:root.yotsuba.catalog-hover-expand .catalog-postContainer:hover .catalog-reply {
:root.yotsuba.catalog-hover-expand .catalog-container:hover > .post,
:root.yotsuba.catalog-hover-expand .catalog-container:hover .catalog-reply {
border-color: #D9BFB7;
}

View File

@ -229,7 +229,7 @@ Main =
bgColor = window.getComputedStyle(div).backgroundColor
$.rm div
Main.bgColorStyle.textContent = """
.dialog, .suboption-list > div:last-of-type, :root.catalog-hover-expand .catalog-postContainer:hover > .post {
.dialog, .suboption-list > div:last-of-type, :root.catalog-hover-expand .catalog-container:hover > .post {
background-color: #{bgColor};
}
"""