Apply initial style changes for Settings change

This commit is contained in:
Johnny 2019-06-02 17:27:03 +10:00 committed by GitHub
parent 90da9764f4
commit 5e5ea0fe73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,6 @@ audio.controls-added {
/* fixed, z-index */ /* fixed, z-index */
#overlay, #overlay,
#fourchanx-settings,
#qp, #ihover, #qp, #ihover,
#navlinks, .fixed #header-bar, #navlinks, .fixed #header-bar,
:root.float #updater, :root.float #updater,
@ -198,11 +197,8 @@ audio.controls-added {
#qr { #qr {
position: fixed; position: fixed;
} }
#fourchanx-settings {
z-index: 999;
}
#overlay { #overlay {
z-index: 900; z-index: 999;
} }
#qp, #ihover { #qp, #ihover {
z-index: 60; z-index: 60;
@ -513,6 +509,8 @@ audio.controls-added {
} }
#overlay { #overlay {
background-color: rgba(0, 0, 0, .5); background-color: rgba(0, 0, 0, .5);
display: -webkit-flex;
display: flex;
top: 0; top: 0;
left: 0; left: 0;
height: 100%; height: 100%;
@ -528,11 +526,10 @@ audio.controls-added {
max-width: 100%; max-width: 100%;
margin: auto; margin: auto;
padding: 3px; padding: 3px;
top: 50%; display: -webkit-flex;
left: 50%; display: flex;
-moz-transform: translate(-50%, -50%); -webkit-flex-direction: column;
-webkit-transform: translate(-50%, -50%); flex-direction: column;
transform: translate(-50%, -50%);
} }
#fourchanx-settings > nav { #fourchanx-settings > nav {
padding: 2px 2px 0; padding: 2px 2px 0;