"Fake hide" service webviews to enable actual preloading

Closes #16
This commit is contained in:
Alice Gaudon 2020-06-15 15:25:58 +02:00
parent 175b56d8f2
commit 2822a2e110

View File

@ -265,10 +265,22 @@ body {
height: 100%; height: 100%;
} }
#services > :not(.active):not(.loader):not(#url-preview) { #services > :not(.active):not(.loader):not(#url-preview):not(webview) {
display: none; display: none;
} }
#services > webview {
position: absolute;
width: 100%;
height: 100%;
z-index: 10;
background-color: rgb(43, 43, 43);
}
#services > webview.active {
z-index: 20;
}
#services > .loader { #services > .loader {
width: 64px; width: 64px;
height: 64px; height: 64px;