UX: search banner and chat styles, remove slider (#34)

This commit is contained in:
Kris 2023-08-17 15:16:31 -04:00 committed by GitHub
parent 3a45f9e281
commit 1e5882a154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 1 deletions

View File

@ -4,7 +4,6 @@
"license_url": null, "license_url": null,
"components": [ "components": [
"https://github.com/jordanvidrine/discourse-category-group-boxes.git", "https://github.com/jordanvidrine/discourse-category-group-boxes.git",
"https://github.com/discourse/discourse-loading-slider.git",
"https://github.com/discourse/discourse-clickable-topic.git", "https://github.com/discourse/discourse-clickable-topic.git",
"https://github.com/discourse/discourse-search-banner.git" "https://github.com/discourse/discourse-search-banner.git"
], ],

View File

@ -55,6 +55,24 @@
} }
} }
// Ideally the search banner component should be set to use the below-site-header outlet,
// but this ensures the default works too
.above-main-container-outlet.search-banner {
.custom-search-banner-wrap {
padding: 1em 0 2em;
color: var(--tertiary);
.mobile-view & {
color: var(--secondary);
}
h1 {
margin-bottom: 0;
}
.search-widget {
margin-top: 2em;
}
}
}
// Main customizations // Main customizations
.alert { .alert {
margin: 1em 0; margin: 1em 0;

View File

@ -11,6 +11,18 @@ html body.has-sidebar-page.has-full-page-chat {
border: none !important; border: none !important;
} }
.chat-channel {
height: calc(100vh - (var(--header-offset) + 6em));
}
.chat-composer__wrapper {
background: transparent;
}
.full-page-chat .chat-full-page-header {
border-radius: 1em 1em 0 0;
}
.has-full-page-chat #main-outlet.wrap { .has-full-page-chat #main-outlet.wrap {
margin-bottom: 30px; margin-bottom: 30px;
padding-bottom: 0px !important; padding-bottom: 0px !important;