Files
discourse_theme_ran/scss/self.scss
T
shiran 0ca608ab91
Discourse Theme / ci (push) Failing after 0s
style(scss): 添加重要样式覆盖规则
- 在box-shadow属性上添加!important标记以确保样式覆盖
- 保持原有的背景色、圆角和模糊效果设置不变
- 确保元素具有24px的内边距设置
2026-02-20 21:30:57 +08:00

54 lines
984 B
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{
border-radius: var(--d-border-radius);
}
.welcome-banner {
padding: 0 !important;
box-shadow: #00000094 0 0 11px 0;
}
#list-area{
background-color: unset !important;
}
.regular.ember-view{
background-color: #ffffffa8;
border-radius: var(--d-border-radius);
backdrop-filter: blur(16px);
box-shadow: #00000077 0 0 19px 0 !important;
padding: 24px;
}