discourse-gated-topics-in-c.../common/common.scss

77 lines
1.3 KiB
SCSS
Raw Normal View History

2022-04-05 17:03:17 -04:00
.custom-gated-topic-container {
2022-04-05 14:23:15 -04:00
background: var(--tertiary-low);
2022-04-05 17:03:17 -04:00
border-top: 5px solid var(--tertiary);
position: fixed;
2022-04-05 14:23:15 -04:00
width: 100%;
bottom: 0;
left: 0;
right: 0;
z-index: 999;
min-height: 50%;
2022-04-05 17:03:17 -04:00
}
.custom-gated-topic-content {
text-align: center;
2022-04-13 15:08:45 -04:00
margin: 10vh auto 0;
padding: 1rem;
2022-04-05 17:03:17 -04:00
&--header {
font-size: var(--font-up-5);
margin-bottom: 1rem;
font-weight: 700;
}
&--text {
font-size: var(--font-up-2);
}
&--cta {
margin-top: 2rem;
2022-04-05 17:03:17 -04:00
&__signup {
margin-bottom: 1rem;
}
&__login {
#cta-login-link {
background: transparent;
color: var(--primary-high);
}
}
2022-04-05 17:03:17 -04:00
}
2022-04-05 14:23:15 -04:00
}
.topic-in-gated-category {
2022-04-05 17:03:17 -04:00
overflow-y: hidden;
height: 100%;
2022-04-05 14:23:15 -04:00
.topic-navigation {
visibility: hidden;
}
2022-04-05 14:23:15 -04:00
.post-stream {
max-height: 150vh;
overflow: hidden;
}
2022-04-13 15:08:45 -04:00
.container.posts::before {
// ensure to cover most of the content when zoomed out
content: "";
position: absolute;
2022-04-14 17:30:53 -04:00
bottom: 0;
left: 0;
right: 0;
width: 100%;
2022-04-14 17:30:53 -04:00
height: 90%;
z-index: 50;
background: rgb(255, 255, 255);
background: linear-gradient(
0deg,
rgba(255, 255, 255, 1) 0%,
rgba(255, 255, 255, 1) 60%,
rgba(255, 255, 255, 1) 70%,
rgba(255, 255, 255, 0) 100%
);
2022-04-13 15:08:45 -04:00
}
}