Revert "Fix error notifications in gallery another way."
This reverts commit 235e9199c2f90c4df76f2f02e13d603679a64590.
This commit is contained in:
parent
6b5c8a203e
commit
d71d2e6edc
@ -132,7 +132,7 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
|
|||||||
#navlinks, #updater, #thread-stats {
|
#navlinks, #updater, #thread-stats {
|
||||||
z-index: 40;
|
z-index: 40;
|
||||||
}
|
}
|
||||||
:root.fixed #header-bar {
|
.fixed #header-bar.autohide {
|
||||||
z-index: 35;
|
z-index: 35;
|
||||||
}
|
}
|
||||||
#qr {
|
#qr {
|
||||||
@ -144,6 +144,9 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
|
|||||||
:root.fixed-watcher #thread-watcher {
|
:root.fixed-watcher #thread-watcher {
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
|
.fixed #header-bar {
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
/* Header */
|
/* Header */
|
||||||
.fixed.top-header body {
|
.fixed.top-header body {
|
||||||
padding-top: 2em;
|
padding-top: 2em;
|
||||||
@ -285,10 +288,8 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
|
|||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
transition: all .8s .6s cubic-bezier(.55, .055, .675, .19);
|
transition: all .8s .6s cubic-bezier(.55, .055, .675, .19);
|
||||||
visibility: visible;
|
|
||||||
}
|
}
|
||||||
:root.fixed.top-header:not(.gallery-open) #header-bar #notifications,
|
.fixed.top-header #header-bar #notifications {
|
||||||
:root.fixed.top-header #header-bar.autohide #notifications {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
}
|
}
|
||||||
@ -1646,11 +1647,6 @@ div.boardTitle {
|
|||||||
.field[name="Slide Delay"] {
|
.field[name="Slide Delay"] {
|
||||||
width: 4em;
|
width: 4em;
|
||||||
}
|
}
|
||||||
:root.gallery-open.fixed #header-bar:not(.autohide),
|
|
||||||
:root.gallery-open.fixed #header-bar:not(.autohide) .fa::before {
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (resolution: 1dppx) {
|
@media screen and (resolution: 1dppx) {
|
||||||
.fa-bars {
|
.fa-bars {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|||||||
@ -78,7 +78,6 @@ Gallery =
|
|||||||
candidate = post.file.thumb.parentNode
|
candidate = post.file.thumb.parentNode
|
||||||
if Header.getTopOf(candidate) + candidate.getBoundingClientRect().height >= 0
|
if Header.getTopOf(candidate) + candidate.getBoundingClientRect().height >= 0
|
||||||
image = candidate
|
image = candidate
|
||||||
$.addClass doc, 'gallery-open'
|
|
||||||
$.add d.body, dialog
|
$.add d.body, dialog
|
||||||
|
|
||||||
nodes.thumbs.scrollTop = 0
|
nodes.thumbs.scrollTop = 0
|
||||||
@ -260,7 +259,6 @@ Gallery =
|
|||||||
close: ->
|
close: ->
|
||||||
Gallery.nodes.current.pause?()
|
Gallery.nodes.current.pause?()
|
||||||
$.rm Gallery.nodes.el
|
$.rm Gallery.nodes.el
|
||||||
$.rmClass doc, 'gallery-open'
|
|
||||||
delete Gallery.nodes
|
delete Gallery.nodes
|
||||||
delete Gallery.fullIDs
|
delete Gallery.fullIDs
|
||||||
doc.style.overflow = ''
|
doc.style.overflow = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user