This commit is contained in:
j m 2024-05-17 09:16:10 +08:00
parent 31524b3326
commit 124519c327
5 changed files with 16 additions and 7 deletions

View File

@ -700,15 +700,24 @@ table td, table th {
.navbar {
&-above {
position: fixed;
&.fixed {
position: sticky;
top: 0;
z-index: 6;
z-index: 99;
}
&-above {
width: 100%;
background-color: var(--background);
transition: all 0.5s;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
&.animation {
position: fixed;
top: 0;
z-index: 6;
}
.container {
display: flex;
align-items: center;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
<header class="navbar" th:classappend="${!theme.config.basic_info.header_fixed}? 'animation'" xmlns:th="https://www.thymeleaf.org">
<header class="navbar" th:classappend="${!theme.config.basic_info.header_fixed}? 'animation' : 'fixed'" xmlns:th="https://www.thymeleaf.org">
<div class="navbar-above" th:classappend="${!theme.config.basic_info.header_fixed}? 'animation'">
<div th:class="${theme.config.basic_style.sidebar_column != 'all' ? 'container two-column' : 'container' }">
<i class="ri-list-unordered navbar-slideicon"></i>

View File

@ -30,7 +30,7 @@ spec:
settingName: theme-dream2-plus-setting
configMapName: theme-dream2-plus-configMap
# 版本号
version: 1.2.2.000000000026
version: 1.2.2.000000000028
# 最低支持的 Halo 版本
require: ">=2.12.0"
# 许可

View File

@ -1 +1 @@
1.2.2
1.2.1