mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-02-04 23:48:31 -06:00
Set box shadow to all sites, prevent scrolling
This commit is contained in:
@@ -28,6 +28,20 @@ body {
|
||||
-webkit-box-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
body::after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/* This creates the inset border effect */
|
||||
box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5);
|
||||
/* Essential: allows clicking buttons/inputs through the shadow */
|
||||
pointer-events: none;
|
||||
/* Ensures it stays above the background but below modals if needed */
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: middle;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -58,11 +58,6 @@
|
||||
{{ else }}
|
||||
<title>{{.PublicName}}</title>
|
||||
{{end }}
|
||||
<style>
|
||||
body {
|
||||
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
|
||||
}
|
||||
</style>
|
||||
{{ if .CustomContent.UseCustomCss }}
|
||||
<link href="./custom/custom.v{{.CustomContent.Version}}.css" rel="stylesheet">
|
||||
{{ end }}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{{define "publicUpload"}}{{template "header" .}}
|
||||
|
||||
|
||||
<main style="margin-top: 2rem">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
|
||||
Reference in New Issue
Block a user