Files
discourse_theme_ran/scss/self.scss
T
shiran 7d30ebd133
Discourse Theme / ci (push) Failing after 0s
fix(style): 更新CSS选择器以正确应用背景样式
- 修改了.edit-category类的选择器定位方式
- 从直接类选择器改为ID选择器配合后代选择器
- 确保编辑分类页面的背景色和圆角样式正确应用
- 保持原有的毛玻璃效果和透明度设置不变
2026-02-26 14:33:10 +08:00

76 lines
1.6 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;
}
.container.list-container::before{
position: absolute;
content: "";
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: #fff9;
border-radius: var(--d-border-radius);
backdrop-filter: blur(10px);
box-shadow: #00000077 0 0 19px 0;
}
.topic-list-header{
background-color: unset;
}
.list-controls, .search-container{
border-radius: var(--d-border-radius);
}
.welcome-banner {
padding: 0 !important;
box-shadow: #00000094 0 0 11px 0;
}
#list-area, .topic-list-header, .admin-detail{
background-color: unset !important;
}
.user-content, .details{
border-radius: var(--d-border-radius);
}
.regular.ember-view, .user-main, .reviewable, .admin-content, .contents.clearfix.body-page, .search-container, .show-badge, .users-directory, #main-outlet>.edit-category {
background-color: #ffffffa8 !important;
border-radius: var(--d-border-radius);
backdrop-filter: blur(32px);
box-shadow: #00000077 0 0 19px 0;
padding: 24px;
}
.topic-post.clearfix.regular, .post-list-item.user-stream-item, .search-header, .admin-plugin-config-page__content {
background: var(--d-chat-input-bg-color);
border-radius: var(--d-border-radius);
box-shadow: #00000024 0 0 7px 2px;
margin: 10px 0;
position: relative;
padding: 16px 12px;
overflow: hidden;
}
.user-content{
background-color: unset;
}
.powered-by-discourse{
display: none;
}