Files
discourse_theme_ran/scss/self.scss
T
shiran baf01610e4
Discourse Theme / ci (push) Failing after 1s
style(theme): 更新主题样式和视觉效果
- 替换梦幻光效变量为基于三级颜色的新配色方案
- 调整模糊滤镜强度从48px增加到56px
- 修改径向渐变透明度值以优化视觉层次
- 在列表容器中添加隔离层以改善渲染性能
- 更新话题卡片背景渐变使用RGB颜色变量
- 调整阴影效果和透明度以增强深度感
- 优化选中状态边框颜色使用三级颜色变量
- 添加悬停状态变换效果提升交互体验
2026-02-20 21:54:43 +08:00

67 lines
1.3 KiB
SCSS

@use "lib/viewport";
#main-outlet {
@if $home_bg_image != "" {
background-image: url($home_bg_image);
background-size: cover;
background-position: center;
background-attachment: fixed;
}
}
.container.list-container{
position: relative;
isolation: isolate;
}
.container.list-container::before{
position: absolute;
content: "";
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background:
linear-gradient(
180deg,
rgb(var(--secondary-rgb) / 0.46) 0%,
rgb(var(--secondary-rgb) / 0.34) 100%
);
border-radius: var(--d-border-radius);
backdrop-filter: blur(8px);
box-shadow: rgb(0 0 0 / 28%) 0 10px 26px -16px;
pointer-events: none;
z-index: 0;
}
.container.list-container > * {
position: relative;
z-index: 1;
}
.topic-list-header{
background-color: transparent;
}
.list-controls, .search-container{
border-radius: var(--d-border-radius);
}
.welcome-banner {
padding: 0 !important;
box-shadow: #00000094 0 0 11px 0;
}
#list-area{
background-color: transparent;
}
.regular.ember-view{
background-color: rgb(var(--secondary-rgb) / 0.58);
border-radius: var(--d-border-radius);
backdrop-filter: blur(10px);
box-shadow: rgb(0 0 0 / 24%) 0 10px 24px -14px;
padding: 24px;
}