Restore toolbar background to bg-nebula; add toolbar backdrop blur
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<title>{{ $page_title ?? 'Upload Artwork' }}</title>
|
||||
@extends('layouts.nova')
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
@push('head')
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
|
||||
<script>
|
||||
window.SKINBASE_FLAGS = Object.assign({}, window.SKINBASE_FLAGS || {}, {
|
||||
uploads_v2: @json((bool) config('features.uploads_v2', false)),
|
||||
@@ -19,16 +12,28 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
@vite(['resources/css/app.css','resources/scss/nova.scss','resources/js/entry-topbar.jsx','resources/js/upload.jsx'])
|
||||
</head>
|
||||
<body class="bg-nebula-900 text-white min-h-screen">
|
||||
<div id="topbar-root"></div>
|
||||
@include('layouts.nova.toolbar')
|
||||
@vite(['resources/js/entry-topbar.jsx','resources/js/upload.jsx'])
|
||||
<style>
|
||||
/* Upload page spacing: extra top padding and bottom space so sticky action bar won't overlap content */
|
||||
body.page-upload main {
|
||||
padding-top: 6rem; /* slightly larger top padding on upload */
|
||||
padding-bottom: 6.5rem; /* room for sticky action bar */
|
||||
}
|
||||
|
||||
<main class="pt-16">
|
||||
@inertia
|
||||
</main>
|
||||
/* Ensure the footer is visually separated on short pages */
|
||||
body.page-upload footer {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
@include('layouts.nova.footer')
|
||||
</body>
|
||||
</html>
|
||||
<script>
|
||||
// Mark document to apply upload-specific spacing
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.body.classList.add('page-upload')
|
||||
})
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
@inertia
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user