Files
discourse_theme_ran/scss/self.scss
T
shiran 1fb6a7b5a1
Discourse Theme / ci (push) Failing after 0s
Merge remote-tracking branch 'origin/main'
2026-02-21 09:59:32 +08:00

71 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;
}
#main-outlet-wrapper{
z-index: 0;
}
.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;
}