discourse/app/assets/stylesheets/common/base/empty-state.scss
Martin Brennan 28d67b4583
FEATURE: Show an educational message in the quick access menu for personal messages when there are none (#12564)
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.
2021-04-01 10:22:40 +10:00

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;
}
}