UX: Add styling for chat (#7)
This commit is contained in:
parent
fc690dc1e5
commit
781d34e3af
@ -1 +1,2 @@
|
||||
@import "showcased-categories";
|
||||
@import "chat-desktop";
|
@ -1,3 +1,5 @@
|
||||
@import "chat-mobile";
|
||||
|
||||
.custom-search-banner-wrap {
|
||||
h1 {
|
||||
font-size: 2.5em !important;
|
||||
|
21
scss/chat-desktop.scss
Normal file
21
scss/chat-desktop.scss
Normal file
@ -0,0 +1,21 @@
|
||||
.has-full-page-chat #main-outlet.wrap {
|
||||
overflow: hidden;
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 0px !important;
|
||||
.full-page-chat {
|
||||
grid-template-rows: calc(var(--full-page-chat-height) - 30px);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1366px) {
|
||||
.has-full-page-chat:not(.discourse-sidebar) #main-outlet.wrap {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
.full-page-chat {
|
||||
grid-template-rows: var(--full-page-chat-height);
|
||||
}
|
||||
}
|
||||
}
|
16
scss/chat-mobile.scss
Normal file
16
scss/chat-mobile.scss
Normal file
@ -0,0 +1,16 @@
|
||||
html
|
||||
body.has-full-page-chat
|
||||
#main-outlet.wrap {
|
||||
width: 100% !important;
|
||||
padding: 0 !important;
|
||||
background-color: var(--secondary) !important;
|
||||
}
|
||||
|
||||
html body.chat-enabled #main-outlet {
|
||||
width: 100% !important;
|
||||
padding: 0 !important;
|
||||
background-color: var(--secondary) !important;
|
||||
.chat-channels {
|
||||
height: var(--full-page-chat-height);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user