2016-10-27 07:40:53 +02:00
|
|
|
#compose_buttons {
|
2016-12-02 01:36:40 +01:00
|
|
|
text-align: right;
|
2021-04-15 02:59:34 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2018-11-01 00:58:43 +01:00
|
|
|
|
2019-08-24 12:31:44 +02:00
|
|
|
.new_message_button {
|
2021-04-15 02:59:34 +02:00
|
|
|
margin-left: 4px;
|
2019-08-24 12:31:44 +02:00
|
|
|
|
2019-08-24 12:37:25 +02:00
|
|
|
.button.small {
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 3px 10px;
|
2021-02-09 06:36:15 +01:00
|
|
|
vertical-align: middle;
|
2019-08-24 12:37:25 +02:00
|
|
|
}
|
|
|
|
|
2019-08-24 12:55:15 +02:00
|
|
|
.compose_mobile_button {
|
2023-03-17 22:10:10 +01:00
|
|
|
& span {
|
2019-08-24 12:55:15 +02:00
|
|
|
font-size: 1.2em !important;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
2019-08-24 12:34:35 +02:00
|
|
|
}
|
2021-04-15 02:59:34 +02:00
|
|
|
}
|
2019-08-24 12:55:15 +02:00
|
|
|
|
2021-04-15 02:59:34 +02:00
|
|
|
.reply_button_container {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.compose_reply_button {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-08-24 12:55:15 +02:00
|
|
|
}
|
2018-11-01 00:58:43 +01:00
|
|
|
}
|
2021-04-15 02:59:34 +02:00
|
|
|
|
|
|
|
.mobile_button_container {
|
|
|
|
@media (width >= $sm_min) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-04 16:11:48 +02:00
|
|
|
.new_conversation_button_container,
|
2023-10-04 21:06:27 +02:00
|
|
|
.new_direct_message_button_container {
|
2021-04-15 02:59:34 +02:00
|
|
|
@media (width < $sm_min) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2021-04-30 20:11:03 +02:00
|
|
|
/* Main geometry for this element is in zulip.css */
|
2021-06-10 16:52:29 +02:00
|
|
|
#compose-content {
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: hsl(232deg 30% 92%);
|
2019-08-24 12:26:37 +02:00
|
|
|
transition: background-color 200ms linear;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 4px 4px 8px;
|
2023-03-24 00:09:48 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 10%);
|
|
|
|
border-radius: 9px 9px 0 0;
|
|
|
|
box-shadow: 0 0 0 hsl(236deg 11% 28%);
|
2021-05-17 13:15:11 +02:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2021-09-23 22:17:39 +02:00
|
|
|
box-sizing: border-box;
|
2019-08-24 12:26:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message_comp {
|
|
|
|
display: none;
|
2022-02-01 14:29:57 +01:00
|
|
|
padding: 5px 10px 0 5px;
|
2023-04-21 11:33:13 +02:00
|
|
|
|
|
|
|
#compose_banners {
|
|
|
|
max-height: min(25vh, 240px);
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2019-08-24 12:26:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete_secondary {
|
|
|
|
opacity: 0.8;
|
2023-06-28 09:19:58 +02:00
|
|
|
font-size: 85%;
|
2019-08-24 12:26:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.active .autocomplete_secondary {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
.compose_table {
|
2021-05-17 13:15:11 +02:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
|
2020-06-13 17:32:03 +02:00
|
|
|
.stream-selection-header-colorblock {
|
2023-03-24 00:09:48 +01:00
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid hsl(0deg 0% 80%);
|
|
|
|
border-right: none;
|
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
&.message_header_private_message {
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 3px 0 0 3px;
|
|
|
|
border-bottom: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 27%);
|
2019-08-24 13:13:52 +02:00
|
|
|
}
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2023-04-15 03:35:23 +02:00
|
|
|
#compose-recipient {
|
|
|
|
&.compose-recipient-direct-selected {
|
2023-05-07 14:45:04 +02:00
|
|
|
#compose_select_recipient_widget {
|
2023-04-15 03:35:23 +02:00
|
|
|
border-radius: 4px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream_header_colorblock {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-25 21:49:18 +02:00
|
|
|
.topic-marker-container {
|
|
|
|
/* Ensure the marker ( < ) stays centered vertically
|
|
|
|
with the dropdown, even when adjacent stacking pills
|
|
|
|
in, e.g., a group DM. */
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: var(--compose-recipient-box-min-height);
|
|
|
|
|
|
|
|
.fa-angle-right {
|
|
|
|
font-size: 0.9em;
|
|
|
|
-webkit-text-stroke: 0.05em;
|
|
|
|
align-self: center;
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
2019-08-24 13:13:52 +02:00
|
|
|
}
|
2021-08-16 17:10:43 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a.narrow_to_compose_recipients {
|
2021-08-16 17:10:43 +02:00
|
|
|
background: transparent;
|
|
|
|
font-size: 18px;
|
2023-05-25 18:09:39 +02:00
|
|
|
padding: 0 1px;
|
|
|
|
align-self: center;
|
2021-08-16 17:10:43 +02:00
|
|
|
line-height: 20px;
|
|
|
|
opacity: 0.7;
|
|
|
|
border: 0;
|
|
|
|
margin-left: 3px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2019-08-24 13:13:52 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2023-04-15 03:35:23 +02:00
|
|
|
#compose-direct-recipient {
|
|
|
|
flex-grow: 1;
|
2019-08-24 13:13:52 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
.message_header {
|
|
|
|
background: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 92%);
|
2019-08-24 13:13:52 +02:00
|
|
|
border: none;
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 0;
|
2019-08-24 13:13:52 +02:00
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
.messagebox {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#send_message_form {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0;
|
2021-05-17 13:15:11 +02:00
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.messagebox-wrapper {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:37:32 +02:00
|
|
|
.messagebox {
|
|
|
|
/* normally 5px 14px; pull in the right and bottom a bit */
|
|
|
|
cursor: default;
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-08-24 13:37:32 +02:00
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
2021-05-17 13:15:11 +02:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2019-08-24 13:37:32 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:37:32 +02:00
|
|
|
.message_content {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-right: 0;
|
2019-08-24 13:37:32 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#below-compose-content {
|
2021-11-12 06:29:37 +01:00
|
|
|
display: flex;
|
2021-11-30 06:29:59 +01:00
|
|
|
flex-direction: column;
|
2016-10-27 07:40:53 +02:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 6px;
|
2021-11-19 05:12:00 +01:00
|
|
|
margin-bottom: -2px;
|
2021-11-30 06:29:59 +01:00
|
|
|
|
|
|
|
.compose_bottom_top_container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose_bottom_bottom_container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2021-07-07 12:13:19 +02:00
|
|
|
#compose_limit_indicator {
|
|
|
|
margin-right: 8px;
|
|
|
|
font-size: 12px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(39deg 100% 50%);
|
2021-11-12 06:29:37 +01:00
|
|
|
align-self: center;
|
2021-07-07 12:13:19 +02:00
|
|
|
|
|
|
|
&.over_limit {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 76% 65%);
|
2021-07-07 12:13:19 +02:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
#compose {
|
|
|
|
position: fixed;
|
2020-08-06 02:42:07 +02:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2022-11-16 20:00:48 +01:00
|
|
|
z-index: 4;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#compose-container {
|
2022-02-14 17:43:32 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-10-27 07:40:53 +02:00
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2022-02-01 14:29:57 +01:00
|
|
|
#compose_top {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2023-05-25 21:49:18 +02:00
|
|
|
align-items: flex-start;
|
2022-02-01 14:29:57 +01:00
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2021-05-17 13:15:11 +02:00
|
|
|
#compose_top_right {
|
2022-02-01 14:29:57 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-05-25 21:49:18 +02:00
|
|
|
height: var(--compose-recipient-box-min-height);
|
2021-05-17 13:15:11 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& button {
|
2021-05-17 13:15:11 +02:00
|
|
|
background: transparent;
|
2022-04-29 21:21:12 +02:00
|
|
|
color: inherit;
|
2022-04-19 17:31:49 +02:00
|
|
|
font-size: 15px;
|
|
|
|
font-weight: normal;
|
2021-05-17 13:15:11 +02:00
|
|
|
line-height: 20px;
|
2022-04-29 21:21:12 +02:00
|
|
|
opacity: 0.7;
|
2021-05-17 13:15:11 +02:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin-left: 4px;
|
2021-07-15 23:03:49 +02:00
|
|
|
vertical-align: unset;
|
2022-04-19 17:31:49 +02:00
|
|
|
text-shadow: none;
|
2021-05-17 13:15:11 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapse_composebox_button,
|
|
|
|
#compose_close {
|
|
|
|
display: none;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2023-05-20 01:23:33 +02:00
|
|
|
.main-view-banner {
|
2022-08-19 21:36:33 +02:00
|
|
|
margin-bottom: 20px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid;
|
|
|
|
display: flex;
|
2023-10-06 19:39:16 +02:00
|
|
|
align-items: center;
|
2022-08-19 21:36:33 +02:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
2023-09-13 20:54:12 +02:00
|
|
|
.main-view-banner-elements-wrapper {
|
|
|
|
display: flex;
|
2023-10-06 19:39:16 +02:00
|
|
|
align-items: center;
|
2023-09-13 20:54:12 +02:00
|
|
|
/* Allow this flex container to grow or
|
|
|
|
shrink to fit the outer container. */
|
|
|
|
flex: 1 1 auto;
|
|
|
|
/* Allow items to wrap; this supports an
|
|
|
|
intrinsic layout for banner text and
|
|
|
|
buttons, which will always occupy the
|
|
|
|
space available, without our having
|
|
|
|
to fiddle with tons of media queries. */
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2023-10-06 23:07:46 +02:00
|
|
|
& .banner_content {
|
|
|
|
/* Override Bootstrap when .banner_content is
|
|
|
|
a paragraph element. */
|
|
|
|
margin: 0;
|
2022-08-19 21:36:33 +02:00
|
|
|
/* 5px right padding + 10px left-margin of the neighbouring button will match the left padding */
|
2023-03-15 05:52:54 +01:00
|
|
|
padding: 8px 5px 8px 15px;
|
2023-09-13 20:54:12 +02:00
|
|
|
/* The banner text uses a flex-basis of 150px,
|
|
|
|
which is roughly the width at which banner
|
|
|
|
text lines are still comfortably readable.
|
|
|
|
Still, it can grow and shrink as needed. */
|
|
|
|
flex: 1 1 150px;
|
2023-10-06 23:07:46 +02:00
|
|
|
|
|
|
|
& .banner_message {
|
|
|
|
/* Override Bootstrap when .banner_content
|
|
|
|
contains an inner .banner_message
|
|
|
|
paragraph. */
|
|
|
|
margin: 0;
|
|
|
|
}
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
|
2023-06-06 14:37:19 +02:00
|
|
|
.main-view-banner-action-button,
|
|
|
|
.upload_banner_cancel_button {
|
2022-08-19 21:36:33 +02:00
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-top: 4.5px;
|
|
|
|
margin-bottom: 4.5px;
|
2023-09-13 20:54:12 +02:00
|
|
|
/* Buttons take a minimum height for
|
|
|
|
when their text fits on a single
|
|
|
|
line. */
|
|
|
|
min-height: 32px;
|
|
|
|
/* When we're larger than large mobile
|
|
|
|
scales ($ml_min), flex the button to
|
|
|
|
its max-content, i.e., all its text
|
|
|
|
on a single line. But do not grow in
|
|
|
|
order to avoid awkward, oversized
|
|
|
|
buttons within the flex group. */
|
|
|
|
flex: 0 1 max-content;
|
|
|
|
/* Use this margin-left hack to keep
|
|
|
|
the button to the righthand side of
|
|
|
|
the banner. */
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
@media (width < $ml_min) {
|
|
|
|
/* When we're smaller than large mobile
|
|
|
|
scales, we allow the button to grow,
|
|
|
|
so that it can span the full width of
|
|
|
|
narrow, mobile-scale banners as it
|
|
|
|
wraps onto a second line.
|
|
|
|
|
|
|
|
We also allow the button to shrink,
|
|
|
|
so that, for example, the text can
|
|
|
|
wrap on the schedule-message button
|
|
|
|
that appears when undoing a scheduled
|
|
|
|
message. */
|
|
|
|
flex: 1 1 max-content;
|
|
|
|
/* Use a 10px left margin to keep the
|
|
|
|
button away from the edge of the
|
|
|
|
banner box to match the banner text;
|
|
|
|
we need this only at small scales,
|
|
|
|
when the button grows to the full
|
|
|
|
width of the flex container. */
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2022-12-12 23:10:06 +01:00
|
|
|
/* Extra margin to ensure the layout is identical when there is no
|
|
|
|
close button. */
|
|
|
|
&.right_edge {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-06 19:39:16 +02:00
|
|
|
.main-view-banner-action-button {
|
|
|
|
/* Establish a uniform top and bottom
|
|
|
|
space around the button, which also
|
|
|
|
works with the space around the message
|
|
|
|
text. */
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
/* Make as tall as two lines of banner message
|
|
|
|
text, which have a line-height of 18px, but
|
|
|
|
no more. */
|
|
|
|
max-height: 36px;
|
|
|
|
/* Keep to the top of the box, but stretch
|
|
|
|
taller based on how the box is flexing. */
|
|
|
|
min-height: 0;
|
|
|
|
align-self: stretch;
|
|
|
|
}
|
|
|
|
|
2023-05-15 19:57:31 +02:00
|
|
|
.main-view-banner-close-button {
|
2023-03-15 05:52:54 +01:00
|
|
|
font-size: 16px;
|
2022-08-19 21:36:33 +02:00
|
|
|
text-decoration: none;
|
2023-10-06 19:39:16 +02:00
|
|
|
padding: 0 8px;
|
|
|
|
/* Let the close button's box stretch,
|
|
|
|
but no larger than the height of the
|
|
|
|
banner box when the action button
|
|
|
|
achieves its full height (margin,
|
|
|
|
padding, and height), which keeps
|
|
|
|
the X vertically centered with it. */
|
|
|
|
align-self: stretch;
|
|
|
|
max-height: 52px;
|
|
|
|
/* Display as flexbox to better control
|
|
|
|
the X icon's position. This creates
|
|
|
|
an anonymous flexbox item out of the
|
|
|
|
::before content where the icon sits. */
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner_content + .main-view-banner-close-button {
|
|
|
|
/* When there's no action button, set the max
|
|
|
|
height for the typical height of the box
|
|
|
|
when it contains only banner message text.
|
|
|
|
This will keep the action button aligned
|
|
|
|
with the first or only line of text. */
|
|
|
|
max-height: 34px;
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
|
2022-12-07 01:33:29 +01:00
|
|
|
&.success {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(147deg 43% 92%);
|
|
|
|
border: 1px solid hsl(147deg 57% 25% / 40%);
|
|
|
|
color: hsl(147deg 57% 25%);
|
2022-12-07 01:33:29 +01:00
|
|
|
|
2023-05-15 19:57:31 +02:00
|
|
|
.main-view-banner-close-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(147deg 57% 25% / 50%);
|
2022-12-07 01:33:29 +01:00
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(147deg 57% 25%);
|
2022-12-07 01:33:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(147deg 57% 25% / 75%);
|
2022-12-07 01:33:29 +01:00
|
|
|
}
|
|
|
|
}
|
2023-05-01 14:44:41 +02:00
|
|
|
|
2023-05-15 21:58:45 +02:00
|
|
|
.main-view-banner-action-button {
|
2023-05-01 14:44:41 +02:00
|
|
|
background-color: hsl(147deg 57% 25% / 10%);
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: hsl(147deg 57% 25% / 12%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: hsl(147deg 57% 25% / 15%);
|
|
|
|
}
|
|
|
|
}
|
2022-12-07 01:33:29 +01:00
|
|
|
}
|
|
|
|
|
2023-04-13 18:40:17 +02:00
|
|
|
/* warning and warning-style classes have the same CSS; this is since
|
|
|
|
the warning class has some associated javascript which we do not want
|
|
|
|
for some of the banners, for which we use the warning-style class. */
|
|
|
|
&.warning,
|
|
|
|
&.warning-style {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(50deg 75% 92%);
|
|
|
|
border-color: hsl(38deg 44% 27% / 40%);
|
|
|
|
color: hsl(38deg 44% 27%);
|
2022-08-19 21:36:33 +02:00
|
|
|
|
2023-05-15 19:57:31 +02:00
|
|
|
.main-view-banner-close-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(38deg 44% 27% / 50%);
|
2022-08-19 21:36:33 +02:00
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(38deg 44% 27%);
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(38deg 44% 27% / 75%);
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-15 21:58:45 +02:00
|
|
|
.main-view-banner-action-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(38deg 44% 27% / 10%);
|
2022-08-19 21:36:33 +02:00
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(38deg 44% 27% / 12%);
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(38deg 44% 27% / 15%);
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-19 22:24:06 +02:00
|
|
|
|
|
|
|
&.error {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(4deg 35% 90%);
|
|
|
|
border-color: hsl(3deg 57% 33% / 40%);
|
|
|
|
color: hsl(4deg 58% 33%);
|
2022-08-19 22:24:06 +02:00
|
|
|
|
2023-05-15 19:57:31 +02:00
|
|
|
.main-view-banner-close-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(4deg 58% 33% / 50%);
|
2022-08-19 22:24:06 +02:00
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(4deg 58% 33%);
|
2022-08-19 22:24:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(4deg 58% 33% / 75%);
|
2022-08-19 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-15 21:58:45 +02:00
|
|
|
.main-view-banner-action-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(3deg 57% 33% / 10%);
|
2022-08-19 22:24:06 +02:00
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(3deg 57% 33% / 12%);
|
2022-08-19 22:24:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(3deg 57% 33% / 15%);
|
2022-08-19 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-01-09 07:43:39 +01:00
|
|
|
|
|
|
|
&.info {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(204deg 58% 92%);
|
|
|
|
border-color: hsl(204deg 49% 29% / 40%);
|
2023-01-09 07:43:39 +01:00
|
|
|
position: relative;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(204deg 49% 29%);
|
2023-01-09 07:43:39 +01:00
|
|
|
|
2023-05-15 19:57:31 +02:00
|
|
|
.main-view-banner-close-button {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(204deg 49% 29% / 50%);
|
2023-01-09 07:43:39 +01:00
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(204deg 49% 29%);
|
2023-01-09 07:43:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(204deg 49% 29% / 75%);
|
2023-01-09 07:43:39 +01:00
|
|
|
}
|
|
|
|
}
|
2023-05-20 01:47:08 +02:00
|
|
|
|
2023-06-06 14:37:19 +02:00
|
|
|
.main-view-banner-action-button,
|
|
|
|
.upload_banner_cancel_button {
|
2023-05-20 01:47:08 +02:00
|
|
|
background-color: hsl(204deg 49% 29% / 10%);
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: hsl(204deg 49% 29% / 12%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: hsl(204deg 49% 29% / 15%);
|
|
|
|
}
|
|
|
|
}
|
2023-01-09 07:43:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload_banner {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.moving_bar {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
/* The progress updates seem to come every second or so,
|
|
|
|
so this is the smoothest it can probably get. */
|
|
|
|
transition: width 1s ease-in-out;
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(204deg 63% 85%);
|
2023-01-09 07:43:39 +01:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2023-10-10 16:03:15 +02:00
|
|
|
|
|
|
|
/* Keep these elements visible above the
|
|
|
|
.moving_bar element on file uploads. */
|
|
|
|
.upload_msg,
|
|
|
|
.main-view-banner-close-button,
|
|
|
|
.upload_banner_cancel_button {
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-08-19 21:36:33 +02:00
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
.composition-area {
|
|
|
|
position: relative;
|
2021-05-17 13:15:11 +02:00
|
|
|
flex: 1;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2023-02-16 11:14:13 +01:00
|
|
|
@keyframes message-limit-flash {
|
|
|
|
0% {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 0 1pt hsl(0deg 76% 65%);
|
2023-02-16 11:14:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
textarea.new_message_textarea {
|
|
|
|
display: table-cell;
|
2016-12-02 01:36:40 +01:00
|
|
|
width: calc(100% - 12px);
|
2016-10-27 07:40:53 +02:00
|
|
|
padding: 5px;
|
|
|
|
height: 1.5em;
|
|
|
|
max-height: 22em;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-bottom: 0;
|
2016-11-09 22:32:16 +01:00
|
|
|
resize: vertical !important;
|
2016-10-27 07:40:53 +02:00
|
|
|
margin-top: 5px;
|
2022-11-29 18:47:34 +01:00
|
|
|
border-radius: 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
2021-07-07 12:13:19 +02:00
|
|
|
|
2021-07-10 18:54:00 +02:00
|
|
|
&.over_limit,
|
|
|
|
&.over_limit:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
box-shadow: 0 0 0 1pt hsl(0deg 76% 65%);
|
2021-07-10 19:33:45 +02:00
|
|
|
|
|
|
|
&.flash {
|
2023-02-16 11:14:13 +01:00
|
|
|
animation: message-limit-flash 0.5s ease-in-out infinite;
|
2021-07-10 19:33:45 +02:00
|
|
|
}
|
2021-07-07 12:13:19 +02:00
|
|
|
}
|
2022-11-29 18:47:34 +01:00
|
|
|
|
|
|
|
&:read-only,
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2022-11-29 18:47:34 +01:00
|
|
|
}
|
2023-01-03 09:35:18 +01:00
|
|
|
|
|
|
|
&.invalid,
|
|
|
|
&.invalid:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(3deg 57% 33%);
|
|
|
|
box-shadow: 0 0 2px hsl(3deg 57% 33%);
|
2023-01-03 09:35:18 +01:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2016-12-02 01:36:40 +01:00
|
|
|
textarea.new_message_textarea,
|
2023-10-03 18:18:55 +02:00
|
|
|
#compose_recipient_box {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 20%);
|
2016-12-02 01:36:40 +01:00
|
|
|
box-shadow: none;
|
2017-02-28 00:12:22 +01:00
|
|
|
transition: border 0.2s ease;
|
2023-05-25 18:28:23 +02:00
|
|
|
color: var(--color-text-default);
|
2016-12-02 01:36:40 +01:00
|
|
|
|
2019-08-24 14:02:23 +02:00
|
|
|
&:focus {
|
2022-11-29 18:47:34 +01:00
|
|
|
outline: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 67%);
|
2019-08-24 14:02:23 +02:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-12-02 01:36:40 +01:00
|
|
|
}
|
|
|
|
|
2023-10-03 18:18:55 +02:00
|
|
|
#compose_recipient_box {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 0;
|
2016-10-27 07:40:53 +02:00
|
|
|
border-radius: 3px;
|
2023-10-03 18:18:55 +02:00
|
|
|
background: hsl(0deg 0% 100%);
|
|
|
|
|
|
|
|
/* Give the recipient box, a `<div>`, the
|
|
|
|
correct styles when focus is in the
|
|
|
|
#stream_message_recipient_topic `<input>` */
|
|
|
|
&:focus-within {
|
|
|
|
outline: 0;
|
|
|
|
border: 1px solid hsl(0deg 0% 67%);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#stream_message_recipient_topic,
|
|
|
|
#recipient_box_clear_topic_button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for input in the recipient_box */
|
|
|
|
#stream_message_recipient_topic {
|
|
|
|
/* Override inherited widths; flexbox will ensure
|
|
|
|
that it grows to fit. */
|
|
|
|
width: 0;
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
|
|
/* Override flexbox's effective `max-content` min-width */
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for new conversation button in the recipient_box */
|
|
|
|
#recipient_box_clear_topic_button {
|
|
|
|
/* Set the border radius smaller, relative to the parent */
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 6px;
|
|
|
|
margin: 1px;
|
|
|
|
|
|
|
|
.zulip-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: hsl(231deg 100% 90% / 20%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* This will reset the bootstrap margin-bottom: 10px value for the inputs */
|
|
|
|
& input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2023-05-07 14:45:04 +02:00
|
|
|
#compose_select_recipient_widget {
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
width: auto;
|
2023-05-14 11:06:17 +02:00
|
|
|
outline: none;
|
2023-05-25 18:09:39 +02:00
|
|
|
|
|
|
|
&.dropdown-widget-button {
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#private_message_recipient.recipient_box {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-08-11 08:11:14 +02:00
|
|
|
#compose-send-button {
|
2023-04-27 19:43:53 +02:00
|
|
|
padding: 3px 12px;
|
2020-08-11 08:11:14 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 0.9em;
|
2023-04-14 21:34:41 +02:00
|
|
|
border-radius: 4px 0 0 4px;
|
2021-11-30 06:26:05 +01:00
|
|
|
|
|
|
|
.loader {
|
|
|
|
display: none;
|
|
|
|
position: relative;
|
2021-12-04 06:00:37 +01:00
|
|
|
top: -6px;
|
2021-11-30 06:26:05 +01:00
|
|
|
}
|
2020-08-11 08:11:14 +02:00
|
|
|
}
|
|
|
|
|
2021-12-10 09:07:42 +01:00
|
|
|
.enter_sends_choices {
|
|
|
|
.enter_sends_choice {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
padding-top: 4px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input[type="radio"] {
|
2021-12-10 09:07:42 +01:00
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
2022-11-22 11:15:03 +01:00
|
|
|
width: auto;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 4px 0 0;
|
|
|
|
|
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 1px dotted hsl(0deg 0% 20%);
|
2022-11-22 11:15:03 +01:00
|
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
|
|
outline-offset: -2px;
|
|
|
|
}
|
2021-12-10 09:07:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding: 0 0 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-bottom: 1px solid hsl(0deg 0% 0% / 20%);
|
2021-12-10 09:07:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.enter_sends_choice_text {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enter_sends_minor,
|
|
|
|
.enter_sends_minor kbd {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-size: 11px;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 50%);
|
2021-12-10 09:07:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-01 19:20:19 +02:00
|
|
|
.open_enter_sends_dialog {
|
2021-11-25 10:00:04 +01:00
|
|
|
font-size: 12px;
|
|
|
|
height: 14px;
|
|
|
|
padding-left: 4px;
|
|
|
|
opacity: 0.7;
|
2021-12-02 05:59:26 +01:00
|
|
|
margin-bottom: 5px;
|
2021-12-10 09:07:42 +01:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
cursor: pointer;
|
2021-12-02 05:59:26 +01:00
|
|
|
|
2021-12-02 07:48:43 +01:00
|
|
|
@media (width < $mm_min) {
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& kbd {
|
2021-12-10 09:07:42 +01:00
|
|
|
padding: 0 4px;
|
2021-12-02 05:59:26 +01:00
|
|
|
}
|
2021-11-25 10:00:04 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2021-11-25 10:00:04 +01:00
|
|
|
.enter_sends_true,
|
|
|
|
.enter_sends_false {
|
|
|
|
display: none;
|
2019-08-24 13:53:10 +02:00
|
|
|
}
|
2021-12-03 11:09:18 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2021-12-10 09:07:42 +01:00
|
|
|
padding-left: 3px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
2021-12-03 11:09:18 +01:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2023-04-15 03:35:23 +02:00
|
|
|
#compose-recipient {
|
2018-03-31 01:46:43 +02:00
|
|
|
display: flex;
|
2023-10-03 18:18:55 +02:00
|
|
|
flex: 1 1 0;
|
2023-05-25 18:09:39 +02:00
|
|
|
/* Use this containing flex element to
|
|
|
|
establish the minimum height of all its
|
|
|
|
children; the default `align-items: stretch`
|
|
|
|
(which is set on any flexbox without specifying
|
|
|
|
it) ensures that the child flex items will
|
|
|
|
always stretch to fit the height set here;
|
|
|
|
larger heights, such as on group-DM pills,
|
|
|
|
will allow this to grow as needed.
|
|
|
|
Child flex items like chevrons take
|
|
|
|
`align-self: center` to center only
|
|
|
|
themselves, where necessary. */
|
|
|
|
min-height: var(--compose-recipient-box-min-height);
|
2018-07-11 18:29:48 +02:00
|
|
|
}
|
|
|
|
|
2021-11-12 06:29:37 +01:00
|
|
|
.compose_control_buttons_container {
|
|
|
|
margin-right: auto;
|
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
|
2023-06-22 17:31:32 +02:00
|
|
|
/* We use the selector in this manner to maintain specificity. */
|
|
|
|
.compose_control_button_container .compose_gif_icon {
|
2021-11-12 06:29:37 +01:00
|
|
|
font-size: 22px;
|
2023-06-22 17:31:32 +02:00
|
|
|
|
|
|
|
/* Remove top and bottom padding. This is necessary
|
|
|
|
* because `compose_gif_icon` is no longer a flex item. */
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose_control_button {
|
|
|
|
padding: 5px;
|
|
|
|
opacity: 0.7;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 17px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-11-12 06:29:37 +01:00
|
|
|
}
|
|
|
|
|
2022-02-21 13:15:03 +01:00
|
|
|
.fa-eye {
|
|
|
|
position: relative;
|
|
|
|
top: -0.7px;
|
|
|
|
}
|
|
|
|
|
2021-11-23 19:01:36 +01:00
|
|
|
.compose_control_menu {
|
2023-09-01 19:51:02 +02:00
|
|
|
padding: 0 1px;
|
|
|
|
font-size: 18px;
|
2021-11-23 19:01:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose_control_menu_wrapper {
|
2022-03-08 07:22:44 +01:00
|
|
|
opacity: 0.7;
|
2021-11-23 19:01:36 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2022-03-08 07:22:44 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose_control_menu {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-11-23 19:01:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.hide-sm,
|
|
|
|
.hide-lg {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-11-13 05:44:28 +01:00
|
|
|
.divider {
|
2023-03-24 00:09:48 +01:00
|
|
|
color: hsl(0deg 0% 75%);
|
2021-11-13 05:44:28 +01:00
|
|
|
font-size: 20px;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
2022-02-03 12:53:14 +01:00
|
|
|
|
|
|
|
.compose_draft_button {
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 600;
|
2023-03-27 12:47:59 +02:00
|
|
|
font-family: "Source Sans 3 VF", sans-serif;
|
2022-02-18 14:50:59 +01:00
|
|
|
padding: 0 5px;
|
2022-02-21 13:15:03 +01:00
|
|
|
position: relative;
|
|
|
|
top: 0.7px;
|
2022-02-03 12:53:14 +01:00
|
|
|
}
|
2022-02-03 12:54:49 +01:00
|
|
|
|
|
|
|
.compose_help_button {
|
2022-02-18 14:51:25 +01:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 17px;
|
2022-02-03 12:54:49 +01:00
|
|
|
}
|
2021-11-12 06:29:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose_right_float_container {
|
|
|
|
display: flex;
|
2023-04-14 21:34:41 +02:00
|
|
|
flex-direction: row;
|
2021-11-12 06:29:37 +01:00
|
|
|
white-space: nowrap;
|
2021-11-25 10:00:04 +01:00
|
|
|
margin-top: 2px;
|
2023-04-14 21:34:41 +02:00
|
|
|
height: 24px;
|
2023-04-23 14:18:48 +02:00
|
|
|
|
|
|
|
&.disabled-compose-send-button-container {
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
|
|
& button {
|
|
|
|
pointer-events: none;
|
|
|
|
background-color: hsl(0deg 0% 65%);
|
|
|
|
}
|
|
|
|
}
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
.drag {
|
|
|
|
display: none;
|
|
|
|
height: 18px;
|
|
|
|
width: 100%;
|
|
|
|
top: 23px;
|
|
|
|
position: relative;
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
|
2019-02-05 14:44:16 +01:00
|
|
|
.preview_message_area {
|
2016-10-27 07:40:53 +02:00
|
|
|
/* minus 5px padding. */
|
2016-12-02 01:36:40 +01:00
|
|
|
width: calc(100% - 12px);
|
2016-10-27 07:40:53 +02:00
|
|
|
padding: 5px;
|
2021-06-12 00:45:36 +02:00
|
|
|
margin-top: 5px;
|
2016-10-27 07:40:53 +02:00
|
|
|
/* the maximum height the textarea gets to. */
|
|
|
|
max-height: 308px;
|
|
|
|
/* the minimum height the textarea collapses to. */
|
2021-06-12 00:45:36 +02:00
|
|
|
min-height: 42px;
|
2016-10-27 07:40:53 +02:00
|
|
|
overflow: auto;
|
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 67%);
|
2016-10-27 07:40:53 +02:00
|
|
|
border-radius: 4px;
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: hsl(0deg 0% 98%);
|
2017-02-24 00:21:28 +01:00
|
|
|
cursor: not-allowed;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2021-04-20 19:50:01 +02:00
|
|
|
.markdown_preview_spinner {
|
2016-10-27 07:40:53 +02:00
|
|
|
margin: auto;
|
|
|
|
}
|
2017-12-11 11:39:49 +01:00
|
|
|
|
2023-07-19 16:09:53 +02:00
|
|
|
#compose_select_recipient_widget_wrapper {
|
2022-10-21 00:44:55 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
2023-05-25 21:49:18 +02:00
|
|
|
height: var(--compose-recipient-box-min-height);
|
2022-10-21 00:44:55 +02:00
|
|
|
|
|
|
|
.stream_header_colorblock {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-19 16:09:53 +02:00
|
|
|
.dropdown_widget_value {
|
2022-10-21 00:44:55 +02:00
|
|
|
flex-grow: 1;
|
2023-02-13 22:59:13 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2023-05-25 18:28:23 +02:00
|
|
|
color: var(--color-text-default);
|
2023-05-10 10:42:00 +02:00
|
|
|
|
|
|
|
.stream-privacy-type-icon {
|
|
|
|
font-size: 13px;
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
2022-10-21 00:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fa-chevron-down {
|
|
|
|
padding-left: 5px;
|
|
|
|
color: hsl(0deg 0% 58%);
|
|
|
|
font-weight: lighter;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* This is the "Select a stream" default message */
|
|
|
|
.text-warning {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-24 13:59:46 +02:00
|
|
|
.dropdown-menu {
|
2023-03-17 22:10:10 +01:00
|
|
|
& ul {
|
2019-08-24 13:59:46 +02:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(0deg 0% 100%);
|
2019-08-24 13:59:46 +02:00
|
|
|
}
|
2019-07-26 12:39:14 +02:00
|
|
|
|
2019-08-24 13:59:46 +02:00
|
|
|
.typeahead-header {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
2019-09-09 06:30:00 +02:00
|
|
|
padding-top: 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border-top: 1px solid hsl(0deg 0% 0% / 20%);
|
2019-08-24 13:59:46 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-07-26 12:39:14 +02:00
|
|
|
|
2019-08-24 13:59:46 +02:00
|
|
|
#typeahead-header-text {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.typeahead {
|
2023-03-20 22:08:47 +01:00
|
|
|
background: hsl(0deg 0% 100%);
|
2019-08-24 13:59:46 +02:00
|
|
|
}
|
2019-07-26 12:39:14 +02:00
|
|
|
}
|
|
|
|
|
2018-08-13 23:13:00 +02:00
|
|
|
.compose_mobile_stream_button i,
|
2023-10-04 21:06:27 +02:00
|
|
|
.compose_mobile_direct_message_button i {
|
2018-08-13 23:13:00 +02:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
|
2023-04-14 21:34:41 +02:00
|
|
|
/* `^` icon located next to `Send` / `Scheduled` button which shows
|
|
|
|
options to schedule the message. */
|
|
|
|
#send_later {
|
2023-05-02 19:04:39 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-14 21:34:41 +02:00
|
|
|
float: right;
|
|
|
|
color: hsl(0deg 0% 100%);
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
2023-04-27 19:43:08 +02:00
|
|
|
.zulip-icon {
|
2023-09-01 19:51:02 +02:00
|
|
|
padding: 5px 3px;
|
|
|
|
font-size: 17px;
|
2023-05-02 19:04:39 +02:00
|
|
|
}
|
2023-04-14 21:34:41 +02:00
|
|
|
|
2023-05-02 19:04:39 +02:00
|
|
|
.separator-line {
|
|
|
|
background-color: hsl(0deg 0% 100% / 65%);
|
|
|
|
height: 70%;
|
|
|
|
width: 1px;
|
2023-04-14 21:34:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $xl_min) {
|
2021-06-10 16:52:29 +02:00
|
|
|
#compose-content {
|
2019-10-24 05:38:18 +02:00
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2021-06-10 16:52:29 +02:00
|
|
|
#compose-content {
|
2019-10-24 05:38:18 +02:00
|
|
|
margin-right: 7px;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $mm_min) {
|
2021-06-10 16:52:29 +02:00
|
|
|
#compose-content {
|
2019-10-24 05:38:18 +02:00
|
|
|
margin-right: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2021-05-17 13:15:11 +02:00
|
|
|
|
|
|
|
#compose.compose-fullscreen {
|
|
|
|
z-index: 99;
|
|
|
|
|
|
|
|
#compose-container {
|
2021-07-15 21:26:16 +02:00
|
|
|
height: 100%;
|
2021-05-17 13:15:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message_comp {
|
|
|
|
flex: 1;
|
|
|
|
display: flex !important;
|
|
|
|
flex-flow: column;
|
|
|
|
}
|
|
|
|
|
2022-01-31 11:57:30 +01:00
|
|
|
#compose-textarea,
|
2021-07-19 10:56:08 +02:00
|
|
|
#preview_message_area {
|
2022-12-07 12:19:31 +01:00
|
|
|
/* Setting height to 0 is necessary to make the flex+Simplebar
|
|
|
|
combination work correctly, without pushing the compose
|
|
|
|
controls offscreen when previewing a very tall message. */
|
2022-01-31 11:57:30 +01:00
|
|
|
max-height: none !important;
|
2022-12-07 12:19:31 +01:00
|
|
|
height: 0;
|
2021-07-19 10:56:08 +02:00
|
|
|
flex: 1;
|
|
|
|
}
|
2021-05-17 13:15:11 +02:00
|
|
|
}
|
2022-01-30 16:00:45 +01:00
|
|
|
|
|
|
|
.preview_mode {
|
|
|
|
.preview_mode_disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.3;
|
|
|
|
|
|
|
|
.compose_control_button {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|