2021-06-09 20:43:22 +02:00
|
|
|
.modal-body {
|
|
|
|
max-height: 60vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-bg {
|
2023-05-23 19:45:04 +02:00
|
|
|
background-color: var(--color-background-modal);
|
2021-06-09 20:43:22 +02:00
|
|
|
}
|
2021-07-04 08:47:08 +02:00
|
|
|
|
|
|
|
/* Styles for the Micromodal-based modals */
|
|
|
|
.modal__overlay {
|
|
|
|
position: fixed;
|
2023-03-16 21:42:51 +01:00
|
|
|
inset: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(0deg 0% 0% / 60%);
|
2021-07-04 08:47:08 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
z-index: 105;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-05-23 19:45:04 +02:00
|
|
|
background-color: var(--color-background-modal);
|
2021-07-04 08:47:08 +02:00
|
|
|
max-width: calc(100% - 32px);
|
|
|
|
max-height: 96%;
|
|
|
|
width: 32.5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__header {
|
|
|
|
padding: 16px 24px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
padding: 20px 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.375rem;
|
2022-07-23 14:59:19 +02:00
|
|
|
font-weight: 600;
|
2021-07-04 08:47:08 +02:00
|
|
|
line-height: 1.25;
|
2023-04-04 21:22:03 +02:00
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
2022-03-20 17:09:52 +01:00
|
|
|
|
|
|
|
/* help_link_widget margin for the fa-circle-o. */
|
2022-03-25 15:24:33 +01:00
|
|
|
.help_link_widget {
|
2022-03-20 17:09:52 +01:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
|
2023-01-27 07:18:43 +01:00
|
|
|
.user_profile_name_heading {
|
|
|
|
padding-right: 1rem;
|
|
|
|
max-width: 80%;
|
2023-02-24 10:53:39 +01:00
|
|
|
display: flex;
|
2023-01-27 07:18:43 +01:00
|
|
|
|
|
|
|
.user_profile_name {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-04 08:47:08 +02:00
|
|
|
.modal__close {
|
|
|
|
&::before {
|
|
|
|
content: "\2715";
|
|
|
|
}
|
|
|
|
margin-right: -4px;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(0deg 0% 90%);
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__content {
|
2022-09-23 16:52:55 +02:00
|
|
|
display: flex;
|
2023-03-31 05:40:47 +02:00
|
|
|
flex-direction: column;
|
2021-07-04 08:47:08 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 0 24px;
|
|
|
|
line-height: 1.5;
|
2022-09-23 16:52:55 +02:00
|
|
|
|
|
|
|
&.simplebar-scrollable-y + .modal__footer {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-top: 1px solid hsl(0deg 0% 87%);
|
2022-09-23 16:52:55 +02:00
|
|
|
}
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal__btn {
|
|
|
|
font-size: 0.875rem;
|
|
|
|
padding: 0.5rem 1rem;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 90%);
|
2021-07-04 08:47:08 +02:00
|
|
|
border-radius: 0.25rem;
|
|
|
|
border-width: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
text-transform: none;
|
|
|
|
overflow: visible;
|
|
|
|
line-height: 1.15;
|
|
|
|
margin: 0;
|
|
|
|
will-change: transform;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
transform: translateZ(0);
|
|
|
|
transition: transform 0.25s ease-out;
|
2021-11-14 14:21:48 +01:00
|
|
|
|
2022-09-25 08:39:20 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-11-14 14:21:48 +01:00
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal__btn:focus,
|
|
|
|
.modal__btn:hover {
|
|
|
|
transform: scale(1.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog_cancel_button {
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(300deg 2% 11% / 30%);
|
2021-07-04 08:47:08 +02:00
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(0deg 0% 97%);
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog_submit_button {
|
|
|
|
margin-left: 12px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(240deg 96% 68%);
|
|
|
|
color: hsl(0deg 0% 100%) !important;
|
2023-03-07 20:01:01 +01:00
|
|
|
|
|
|
|
&:disabled {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 65%);
|
2023-03-07 20:01:01 +01:00
|
|
|
}
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
|
2021-06-16 21:15:47 +02:00
|
|
|
#read_receipts_error,
|
2021-11-23 17:43:56 +01:00
|
|
|
#dialog_error {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-06-25 12:06:27 +02:00
|
|
|
#archive-stream-modal .notification_stream_archive_warning {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-24 01:21:31 +02:00
|
|
|
#read_receipts_modal {
|
|
|
|
.modal__container {
|
|
|
|
width: 360px;
|
|
|
|
|
|
|
|
.modal__content {
|
|
|
|
/* When showing read receipts, we use simplebar
|
|
|
|
to make the list scrollable. It requires this to
|
|
|
|
be flex. */
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
/* Setting a minimum height prevents the loading indicator
|
|
|
|
appearing/disappearing from resizing the modal in the
|
|
|
|
common case that one is requesting read receipts for
|
2023-06-16 17:40:47 +02:00
|
|
|
direct messages. */
|
2022-09-24 01:21:31 +02:00
|
|
|
min-height: 120px;
|
|
|
|
/* Setting a maximum height is just for aesthetics; the modal looks
|
|
|
|
weird if its aspect ratio gets too stretched. */
|
|
|
|
max-height: 480px;
|
|
|
|
|
|
|
|
/* For the notification bot error, we want to keep the modal clean and small.
|
|
|
|
The 16px padding is intended to match the padding at the top of the modal. */
|
|
|
|
&.compact {
|
|
|
|
min-height: unset;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__header {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& hr {
|
2022-09-24 01:21:31 +02:00
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__content {
|
|
|
|
padding: 0 24px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading_indicator {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#read_receipts_list {
|
|
|
|
margin-left: 0;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li {
|
2022-09-24 01:21:31 +02:00
|
|
|
.read_receipts_user_avatar {
|
|
|
|
display: inline-block;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
position: relative;
|
|
|
|
right: 8px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
margin: 2px 0;
|
|
|
|
list-style-type: none;
|
|
|
|
overflow-x: hidden;
|
|
|
|
padding-left: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: 26px;
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0% / 5%);
|
2022-09-24 01:21:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0% / 10%);
|
2022-09-24 01:21:31 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-27 15:26:09 +01:00
|
|
|
.email_field {
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
.email_field_textarea {
|
|
|
|
width: 97%;
|
|
|
|
resize: vertical;
|
2022-12-06 17:44:18 +01:00
|
|
|
margin-bottom: 10px;
|
2021-11-27 15:26:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.border-top {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-top: 1px solid hsl(300deg 2% 11% / 30%);
|
2021-11-27 15:26:09 +01:00
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-body {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-05 20:03:20 +02:00
|
|
|
#select_stream_widget {
|
|
|
|
.dropdown-toggle:disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-04 08:47:08 +02:00
|
|
|
@keyframes mmfadeIn {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mmfadeOut {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal.modal--opening,
|
|
|
|
.micromodal.modal--open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal[aria-hidden="true"] .modal__overlay {
|
|
|
|
animation: mmfadeOut 75ms cubic-bezier(0, 0, 0.2, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal[aria-hidden="false"] .modal__overlay {
|
|
|
|
animation: mmfadeIn 120ms cubic-bezier(0, 0, 0.2, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal[aria-hidden="true"] .modal__container {
|
|
|
|
animation: mmfadeOut 75ms cubic-bezier(0, 0, 0.2, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal[aria-hidden="false"] .modal__container {
|
|
|
|
animation: mmfadeIn 120ms cubic-bezier(0, 0, 0.2, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal .modal__container,
|
|
|
|
.micromodal .modal__overlay {
|
|
|
|
will-change: transform;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__spinner .loading_indicator_spinner {
|
|
|
|
height: 16px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& path {
|
2023-03-20 22:08:47 +01:00
|
|
|
fill: hsl(0deg 0% 100%);
|
2021-07-04 08:47:08 +02:00
|
|
|
}
|
|
|
|
}
|
2022-10-22 09:23:31 +02:00
|
|
|
|
|
|
|
.modal__spinner {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2022-03-04 11:07:16 +01:00
|
|
|
|
|
|
|
#copy_email_address_modal {
|
|
|
|
width: 800px;
|
|
|
|
|
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2022-03-04 11:14:07 +01:00
|
|
|
|
|
|
|
.question-which-parts {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream-email-header {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
2022-03-04 11:07:16 +01:00
|
|
|
}
|
2022-12-25 11:42:44 +01:00
|
|
|
|
2023-02-16 11:20:07 +01:00
|
|
|
.modal_select {
|
2022-12-25 11:42:44 +01:00
|
|
|
height: 30px;
|
|
|
|
width: 220px;
|
2023-03-31 09:21:02 +02:00
|
|
|
padding: 0 6px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
2022-12-25 11:42:44 +01:00
|
|
|
border-radius: 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
2022-12-25 11:42:44 +01:00
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2022-12-25 11:42:44 +01:00
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
2023-02-16 15:23:32 +01:00
|
|
|
|
|
|
|
/* The background-color of select elements inside modal is different than the others in
|
|
|
|
settings pages, because the background of the modal is brighter than the setting page. */
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 90%);
|
2022-12-25 11:42:44 +01:00
|
|
|
}
|
|
|
|
}
|
2023-03-27 10:24:27 +02:00
|
|
|
|
2023-06-20 05:19:50 +02:00
|
|
|
.dropdown-widget-button {
|
2023-03-27 10:24:27 +02:00
|
|
|
width: 206px;
|
|
|
|
}
|
2023-06-19 09:52:47 +02:00
|
|
|
|
2023-06-19 11:31:39 +02:00
|
|
|
.modal_password_input,
|
2023-06-20 05:19:50 +02:00
|
|
|
.modal_url_input,
|
|
|
|
.modal_text_input {
|
2023-06-19 09:52:47 +02:00
|
|
|
padding: 4px 6px;
|
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
|
|
|
transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
|
|
margin-bottom: 10px;
|
2023-06-19 11:56:03 +02:00
|
|
|
width: 206px;
|
2023-06-19 09:52:47 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: hsl(206deg 80% 62% / 80%);
|
|
|
|
outline: 0;
|
|
|
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
|
|
|
|
0 0 8px hsl(206deg 80% 62% / 60%);
|
|
|
|
}
|
|
|
|
}
|