Simplify, clarify z-index CSS.

This commit is contained in:
ccd0 2014-10-12 19:02:25 -07:00
parent 9749e41d3e
commit 6acff0b326

View File

@ -120,9 +120,6 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
#overlay { #overlay {
z-index: 900; z-index: 900;
} }
#notifications {
z-index: 70;
}
#qp, #ihover { #qp, #ihover {
z-index: 60; z-index: 60;
} }
@ -132,18 +129,18 @@ 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 { :root.fixed #header-bar, #notifications {
z-index: 35; z-index: 35;
} }
#qr { #a-gallery {
z-index: 30; z-index: 30;
} }
#thread-watcher { #qr {
z-index: 8;
}
:root.fixed-watcher #thread-watcher {
z-index: 20; z-index: 20;
} }
#thread-watcher {
z-index: 10;
}
/* Header */ /* Header */
.fixed.top-header body { .fixed.top-header body {
padding-top: 2em; padding-top: 2em;
@ -949,7 +946,6 @@ span.hide-announcement {
cursor: pointer; cursor: pointer;
} }
#qr { #qr {
z-index: 20;
position: fixed; position: fixed;
padding: 1px; padding: 1px;
border: 1px solid transparent; border: 1px solid transparent;
@ -1419,7 +1415,6 @@ div.boardTitle {
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 30;
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
-webkit-flex-direction: row; -webkit-flex-direction: row;