mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 16:33:41 +08:00
8f7f5204db
When `must_approve_users` is enabled then staff users assume that all users will have to be approved manually. But in case of invite we auto-approve users if they are invited by users. This commit adds an info on the bottom of invite modal informing staff users that new users will be auto-approved as soon as they accept invite.
144 lines
2.2 KiB
SCSS
144 lines
2.2 KiB
SCSS
.share-and-invite.modal {
|
|
.modal-body {
|
|
max-width: 475px;
|
|
min-width: 320px;
|
|
padding: 0;
|
|
}
|
|
|
|
.modal-panel {
|
|
padding: 0.667em;
|
|
}
|
|
|
|
.modal-header {
|
|
.modal-close {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.share-and-invite.modal .share.modal-panel {
|
|
.header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
.title {
|
|
font-size: $font-0;
|
|
font-weight: normal;
|
|
margin-bottom: 8px;
|
|
|
|
.post-date {
|
|
color: var(--primary-medium);
|
|
font-size: $font-down-1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.topic-share-url {
|
|
width: 100%;
|
|
height: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.topic-share-url {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.sources {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
|
|
.social-link {
|
|
font-size: $font-up-6;
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.share-and-invite.modal .invite.modal-panel,
|
|
.invite-link.modal-panel {
|
|
.error-message,
|
|
.success-message {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.body {
|
|
.invite-user-control,
|
|
.group-access-control,
|
|
.show-custom-message-control {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.invite-user-control input.email-or-username-input {
|
|
line-height: 1.75em;
|
|
}
|
|
|
|
.group-access-control {
|
|
.select-kit.multi-select input.filter-input {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.group-chooser {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.instructions {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.instructions.approval-notice {
|
|
color: var(--secondary-medium);
|
|
}
|
|
|
|
.email-or-username-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.max-redemptions-allowed {
|
|
margin-bottom: 8px;
|
|
|
|
.max-redemptions-allowed-input {
|
|
width: 20%;
|
|
min-width: 100px;
|
|
}
|
|
}
|
|
|
|
.invite-link-expires-at .date-picker,
|
|
.time-input {
|
|
width: 150px;
|
|
}
|
|
|
|
.invite-user-input-wrapper {
|
|
display: flex;
|
|
div.ac-wrap {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.invite-link-input {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.btn-primary {
|
|
margin-right: 8px;
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|