mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:15:32 +08:00
7e39a21de1
* UX: redesign of chat settings
63 lines
909 B
SCSS
63 lines
909 B
SCSS
.chat-form__section {
|
|
margin: 1.5rem 1rem;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
.chat-form__section-admin-title {
|
|
margin-inline: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--primary-low);
|
|
}
|
|
|
|
.chat-form__field {
|
|
margin-bottom: 1rem;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.chat-form__description {
|
|
margin-top: 3px;
|
|
color: var(--primary-medium);
|
|
font-size: var(--font-down-1);
|
|
}
|
|
|
|
.chat-form__btn {
|
|
border: 0;
|
|
background: none;
|
|
padding: 0.25rem 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.chat-form__label {
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.chat-form__label-actions {
|
|
margin-left: auto;
|
|
|
|
.btn-text {
|
|
color: var(--tertiary);
|
|
font-size: var(--font-down-1);
|
|
}
|
|
}
|
|
|
|
.chat-retention-info {
|
|
margin-top: 2rem;
|
|
color: var(--primary-high);
|
|
|
|
.d-icon {
|
|
margin-right: 0.5em;
|
|
}
|
|
}
|