b1c65791ab
Discourse Theme / ci (push) Failing after 0s
- 在 scss 文件中添加了 $home_bg_image 变量用于背景图片配置 - 将 settings.yml 中的列表默认值格式从数组改为多行字符串格式 - 更新 extra_glass_morphism_selectors 和 extra_card_item_selectors 的默认值格式 - 保持所有选择器功能不变,仅调整配置文件的可读性 - 为首页背景功能提供了默认空值配置选项
72 lines
1.4 KiB
SCSS
72 lines
1.4 KiB
SCSS
@use "lib/viewport";
|
|
|
|
$home_bg_image: "" !default;
|
|
|
|
#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,
|
|
.container.groups-index,
|
|
.container.group{
|
|
background-color: #ffffffa8 !important;
|
|
border-radius: var(--d-border-radius);
|
|
backdrop-filter: blur(32px);
|
|
box-shadow: #00000077 0 0 19px 0;
|
|
padding: 24px;
|
|
}
|
|
|
|
.user-content{
|
|
background-color: unset;
|
|
}
|
|
|
|
.powered-by-discourse{
|
|
display: none;
|
|
}
|