添加渐变滚动条可选设置
This commit is contained in:
parent
f46a9bbe34
commit
edad1a5434
|
@ -2390,6 +2390,15 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
- label: 禁用
|
- label: 禁用
|
||||||
value: false
|
value: false
|
||||||
|
- $formkit: radio
|
||||||
|
name: scrollbarLinearGradientEnable
|
||||||
|
label: 渐变滚动条效果
|
||||||
|
value: false
|
||||||
|
options:
|
||||||
|
- label: 启用
|
||||||
|
value: true
|
||||||
|
- label: 禁用
|
||||||
|
value: false
|
||||||
- $formkit: group
|
- $formkit: group
|
||||||
name: greeting
|
name: greeting
|
||||||
label: 首页问候语
|
label: 首页问候语
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|
||||||
--light-grey: rgba(255, 255, 255, 0.7);
|
--light-grey: rgba(255, 255, 255, 0.7);
|
||||||
--white: rgba(255, 255, 255, 0.9);
|
--white: rgba(255, 255, 255, 0.9);
|
||||||
}
|
}
|
||||||
|
@ -13,7 +11,6 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.back-home-button {
|
.back-home-button {
|
||||||
color: rgba(255, 255, 255, 0.7);
|
color: rgba(255, 255, 255, 0.7);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,13 @@
|
||||||
|
|
||||||
<link rel="stylesheet" th:href="${assets_link + '/zhheo/commentBarrage.css'}">
|
<link rel="stylesheet" th:href="${assets_link + '/zhheo/commentBarrage.css'}">
|
||||||
|
|
||||||
|
<style th:if="${theme.config.other.scrollbarLinearGradientEnable}">
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background-color: var(--heo-main);
|
||||||
|
background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.4) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.4) 75%,transparent 75%,transparent);
|
||||||
|
border-radius: 2em
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<link media="print"
|
<link media="print"
|
||||||
onload='this.media="all"'
|
onload='this.media="all"'
|
||||||
|
|
Loading…
Reference in New Issue