Update web/templates/base.html
This commit is contained in:
parent
ee6faf3a11
commit
7accd71b7f
@ -52,8 +52,6 @@
|
|||||||
.topbar-wrap {
|
.topbar-wrap {
|
||||||
border-bottom: 1px solid var(--nav-border);
|
border-bottom: 1px solid var(--nav-border);
|
||||||
background: var(--nav-bg);
|
background: var(--nav-bg);
|
||||||
|
|
||||||
/* make it sticky */
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
@ -152,6 +150,45 @@
|
|||||||
.user-menu .menu-item:hover{ background:var(--btn-hover); }
|
.user-menu .menu-item:hover{ background:var(--btn-hover); }
|
||||||
.user-menu .danger-btn{ color:#b91c1c; }
|
.user-menu .danger-btn{ color:#b91c1c; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- Classic-only gradient override (ensures it wins even if another CSS sets background) -->
|
||||||
|
<style>
|
||||||
|
/* Show gradient on pages that already use your historic class */
|
||||||
|
html[data-theme="classic"] body.themed-bg,
|
||||||
|
html[data-theme="classic"] .login-page {
|
||||||
|
min-height: 100vh;
|
||||||
|
background:
|
||||||
|
linear-gradient(110deg,
|
||||||
|
#d7b592 0%,
|
||||||
|
#e7e3db 30%,
|
||||||
|
#8fbfe0 100%
|
||||||
|
);
|
||||||
|
background-attachment: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Match your translucent topbar over gradients */
|
||||||
|
html[data-theme="classic"] body.themed-bg .topbar-wrap,
|
||||||
|
html[data-theme="classic"] .login-page .topbar-wrap {
|
||||||
|
background: rgba(248,250,252,.85);
|
||||||
|
backdrop-filter: blur(6px);
|
||||||
|
-webkit-backdrop-filter: blur(6px);
|
||||||
|
border-bottom: 1px solid rgba(229,231,235,.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Keep cards readable over gradient */
|
||||||
|
html[data-theme="classic"] body.themed-bg .card,
|
||||||
|
html[data-theme="classic"] body.themed-bg .result-card,
|
||||||
|
html[data-theme="classic"] body.themed-bg .search-form,
|
||||||
|
html[data-theme="classic"] body.themed-bg .form-card,
|
||||||
|
html[data-theme="classic"] .login-page .card,
|
||||||
|
html[data-theme="classic"] .login-page .result-card,
|
||||||
|
html[data-theme="classic"] .login-page .search-form,
|
||||||
|
html[data-theme="classic"] .login-page .form-card {
|
||||||
|
background:#ffffff;
|
||||||
|
border:1px solid #e5e7eb;
|
||||||
|
box-shadow:0 10px 30px rgba(0,0,0,.06);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{% block body_class %}{% endblock %}">
|
<body class="{% block body_class %}{% endblock %}">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user