mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 19:38:29 +08:00

Stylelint is a css linter: https://stylelint.io/ As part of this change we have added two javascript scripts: ``` pnpm lint:css pnpm lint:css:fix ``` Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for configuration in VSCode. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
66 lines
1.3 KiB
SCSS
66 lines
1.3 KiB
SCSS
.has-full-page-chat:not(.discourse-sidebar) {
|
|
.full-page-chat {
|
|
.channels-list {
|
|
height: calc(100vh - var(--main-outlet-offset));
|
|
border-right: 1px solid var(--primary-low);
|
|
background: var(--secondary);
|
|
overflow-y: auto;
|
|
|
|
.channel-list-empty-message {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
|
|
svg,
|
|
.channel-title {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.chat-channel-divider {
|
|
padding: 2rem 1rem 0.5rem 1rem;
|
|
|
|
&:first-of-type {
|
|
padding-top: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.loading-container {
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
.chat-channel-row {
|
|
height: 2.5em;
|
|
padding: 0 0.5rem;
|
|
margin: 0 0.5rem 0.125rem 0.5rem;
|
|
|
|
&:hover,
|
|
&.active {
|
|
background-color: var(--primary-low);
|
|
|
|
.chat-channel-title {
|
|
.category-chat-name,
|
|
.chat-name,
|
|
.dm-usernames {
|
|
color: var(--primary);
|
|
}
|
|
}
|
|
}
|
|
|
|
.chat-channel-metadata {
|
|
&__date {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.channels-list-container {
|
|
height: auto;
|
|
}
|
|
|
|
.channels-list-container.center-empty-channels-list {
|
|
height: 90%;
|
|
}
|
|
}
|
|
}
|