mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:09:35 +08:00
28d67b4583
If the user has not been sent any messages, show a message in the quick access menu with an educational message. If the user can send private messages, also show a link to open the "new message" composer: This also adds a general improvement to the quick-access-panel, to be able to show an `emptyStateWidget` instead of just a message if there is nothing to show in the panel, as well as initial general styles for empty state.
20 lines
304 B
SCSS
20 lines
304 B
SCSS
.empty-state {
|
|
background: var(--tertiary-low);
|
|
color: var(--primary);
|
|
margin: 0;
|
|
padding: 1em 1.5em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.empty-state-title {
|
|
font-weight: 700;
|
|
padding: 0 0 0.5em 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.empty-state-body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
}
|