Fix sidebar scrollbar between nav and content.
Remove independent sidebar scroll so the page scrolls as one unit; add dark themed scrollbars and bump CSS cache versions.
This commit is contained in:
@@ -9,8 +9,11 @@
|
|||||||
.app-sidebar {
|
.app-sidebar {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
height: 100vh;
|
align-self: start;
|
||||||
overflow-y: auto;
|
height: auto;
|
||||||
|
max-height: none;
|
||||||
|
overflow: visible;
|
||||||
|
overflow-x: hidden;
|
||||||
padding: 0.75rem 0.6rem;
|
padding: 0.75rem 0.6rem;
|
||||||
background: #080c12;
|
background: #080c12;
|
||||||
border-right: 1px solid rgba(148, 163, 184, 0.1);
|
border-right: 1px solid rgba(148, 163, 184, 0.1);
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ body { overflow-x: hidden; padding-bottom: var(--safe-bottom); }
|
|||||||
padding-top: max(1rem, var(--safe-top));
|
padding-top: max(1rem, var(--safe-top));
|
||||||
flex-direction: column !important;
|
flex-direction: column !important;
|
||||||
flex-wrap: nowrap !important;
|
flex-wrap: nowrap !important;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
body.nav-open .app-sidebar { transform: translateX(0); }
|
body.nav-open .app-sidebar { transform: translateX(0); }
|
||||||
body.nav-open { overflow: hidden; }
|
body.nav-open { overflow: hidden; }
|
||||||
|
|||||||
@@ -25,6 +25,32 @@ a:hover {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Themed scrollbars (Firefox + WebKit) */
|
||||||
|
html {
|
||||||
|
scrollbar-color: rgba(100, 116, 139, 0.5) rgba(8, 12, 18, 0.65);
|
||||||
|
scrollbar-width: thin;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-track {
|
||||||
|
background: rgba(8, 12, 18, 0.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(100, 116, 139, 0.45);
|
||||||
|
border-radius: 999px;
|
||||||
|
border: 2px solid rgba(8, 12, 18, 0.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgba(148, 163, 184, 0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.layout {
|
.layout {
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|||||||
@@ -12,16 +12,16 @@
|
|||||||
<link rel="manifest" href="/static/manifest.json?v=2" />
|
<link rel="manifest" href="/static/manifest.json?v=2" />
|
||||||
<link rel="icon" href="/static/icons/app-icon.svg" type="image/svg+xml" />
|
<link rel="icon" href="/static/icons/app-icon.svg" type="image/svg+xml" />
|
||||||
<link rel="apple-touch-icon" href="/static/icons/app-icon.svg" />
|
<link rel="apple-touch-icon" href="/static/icons/app-icon.svg" />
|
||||||
<link rel="stylesheet" href="/static/css/palantir-theme.css?v=2" />
|
<link rel="stylesheet" href="/static/css/palantir-theme.css?v=3" />
|
||||||
<link rel="stylesheet" href="/static/css/pulse-theme.css?v=2" />
|
<link rel="stylesheet" href="/static/css/pulse-theme.css?v=2" />
|
||||||
<link rel="stylesheet" href="/static/css/topnav-neo.css?v=6" />
|
<link rel="stylesheet" href="/static/css/topnav-neo.css?v=6" />
|
||||||
<link rel="stylesheet" href="/static/css/vertical-tabs.css?v=8" />
|
<link rel="stylesheet" href="/static/css/vertical-tabs.css?v=8" />
|
||||||
<link rel="stylesheet" href="/static/css/mobile.css?v=5" />
|
<link rel="stylesheet" href="/static/css/mobile.css?v=5" />
|
||||||
<link rel="stylesheet" href="/static/css/herman-dashboard.css?v=18" />
|
<link rel="stylesheet" href="/static/css/herman-dashboard.css?v=22" />
|
||||||
<script defer src="/static/js/alpine.min.js?v=2"></script>
|
<script defer src="/static/js/alpine.min.js?v=2"></script>
|
||||||
<script defer src="/static/js/htmx.min.js?v=2"></script>
|
<script defer src="/static/js/htmx.min.js?v=2"></script>
|
||||||
{% block extra_head %}{% endblock %}
|
{% block extra_head %}{% endblock %}
|
||||||
<link rel="stylesheet" href="/static/css/app-sidebar-neo.css?v=6" />
|
<link rel="stylesheet" href="/static/css/app-sidebar-neo.css?v=7" />
|
||||||
<link rel="stylesheet" href="/static/css/herman-assistant.css?v=1" />
|
<link rel="stylesheet" href="/static/css/herman-assistant.css?v=1" />
|
||||||
</head>
|
</head>
|
||||||
<body x-data="appShell()" x-init="initApp()" :class="{ 'nav-open': navOpen, 'drawer-open': drawerOpen, 'brand-cucina': brand === 'cucina', 'brand-foodlinkk': brand === 'foodlinkk' }">
|
<body x-data="appShell()" x-init="initApp()" :class="{ 'nav-open': navOpen, 'drawer-open': drawerOpen, 'brand-cucina': brand === 'cucina', 'brand-foodlinkk': brand === 'foodlinkk' }">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{% block extra_head %}
|
{% block extra_head %}
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"></script>
|
||||||
<link rel="stylesheet" href="/static/css/hermes.css" />
|
<link rel="stylesheet" href="/static/css/hermes.css" />
|
||||||
<link rel="stylesheet" href="/static/css/herman-dashboard.css?v=22" />
|
<link rel="stylesheet" href="/static/css/herman-dashboard.css?v=23" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="herman-shell hm-neo">
|
<div class="herman-shell hm-neo">
|
||||||
|
|||||||
Reference in New Issue
Block a user