2021-07-19 09:34:44 +08:00
|
|
|
// styles that apply to the "share" modal & popup when sharing a link to a post or topic
|
|
|
|
|
2021-07-20 04:15:09 +08:00
|
|
|
.link-share-container {
|
2021-07-19 09:34:44 +08:00
|
|
|
display: flex;
|
|
|
|
button {
|
|
|
|
transition-property: background-color, color; // don't transition outline
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
margin-bottom: 0;
|
|
|
|
&:focus + button {
|
|
|
|
outline: 1px solid var(--tertiary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-20 04:15:09 +08:00
|
|
|
.link-share-actions {
|
2021-07-19 09:34:44 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sources {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-topic {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alt-actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-twitter {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--twitter);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.share-facebook {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--facebook);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// post share popup
|
2019-02-26 21:15:25 +08:00
|
|
|
|
|
|
|
#share-link {
|
|
|
|
position: absolute;
|
|
|
|
z-index: z("dropdown");
|
|
|
|
box-shadow: shadow("card");
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2021-07-19 09:34:44 +08:00
|
|
|
padding: 0.5em;
|
2019-02-26 21:15:25 +08:00
|
|
|
width: 300px;
|
|
|
|
display: none;
|
|
|
|
&.visible {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-07-19 09:34:44 +08:00
|
|
|
|
2019-02-26 21:15:25 +08:00
|
|
|
input[type="text"] {
|
|
|
|
width: 100%;
|
2021-08-13 22:28:45 +08:00
|
|
|
margin-right: 0.5em;
|
2019-02-26 21:15:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2021-07-19 09:34:44 +08:00
|
|
|
margin-bottom: 0.5em;
|
2019-02-26 21:15:25 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: $font-0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
font-weight: normal;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2021-07-19 09:34:44 +08:00
|
|
|
margin-left: 0.5em;
|
2019-02-26 21:15:25 +08:00
|
|
|
}
|
|
|
|
|
2021-07-19 09:34:44 +08:00
|
|
|
.btn.close {
|
|
|
|
margin-left: auto;
|
2019-02-26 21:15:25 +08:00
|
|
|
}
|
|
|
|
}
|
2021-07-19 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// topic share modal
|
|
|
|
|
|
|
|
.share-topic-modal {
|
|
|
|
form {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invite-users {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 1.5em 0 0.25em;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-right: 0;
|
2019-11-23 02:04:36 +08:00
|
|
|
}
|
2021-07-19 09:34:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notify-user-input {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
.select-kit {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multi-select-header {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-kit.multi-select .choices {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// topic invite modal
|
|
|
|
|
|
|
|
.create-invite-modal {
|
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
margin-right: 0.75em;
|
2019-03-14 01:42:11 +08:00
|
|
|
}
|
2019-02-26 21:15:25 +08:00
|
|
|
}
|
|
|
|
|
2021-07-19 09:34:44 +08:00
|
|
|
textarea {
|
2019-02-26 21:15:25 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-07-19 09:34:44 +08:00
|
|
|
.input-group:not(:last-of-type) {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
.input-group.input-expires-at,
|
|
|
|
.input-group.input-email,
|
|
|
|
.input-group.invite-max-redemptions {
|
|
|
|
input[type="text"] {
|
|
|
|
width: unset;
|
|
|
|
}
|
|
|
|
}
|
2019-02-26 21:15:25 +08:00
|
|
|
|
2021-07-19 09:34:44 +08:00
|
|
|
.existing-topic,
|
|
|
|
p {
|
|
|
|
// p is for "no topics found"
|
|
|
|
margin-left: 1.75em;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-group.input-email {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
label {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2019-03-18 14:30:10 +08:00
|
|
|
|
2021-07-19 09:34:44 +08:00
|
|
|
.invite-email-container {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
#invite-email {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-03-18 14:30:10 +08:00
|
|
|
|
2021-07-19 09:34:44 +08:00
|
|
|
.invite-max-redemptions {
|
|
|
|
label {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-advanced {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-group {
|
|
|
|
textarea#invite-message,
|
|
|
|
&.invite-to-topic input[type="text"],
|
|
|
|
.group-chooser,
|
|
|
|
.user-chooser,
|
2021-09-09 23:01:56 +08:00
|
|
|
.future-date-input-selector,
|
|
|
|
.future-date-input-date-picker,
|
|
|
|
.future-date-input-time-picker {
|
2021-07-19 09:34:44 +08:00
|
|
|
margin-left: 1.75em;
|
|
|
|
width: calc(100% - 1.75em);
|
2019-02-26 21:15:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|