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 {
|
|
|
|
span {
|
|
|
|
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;
|
|
|
|
|
2021-05-10 21:52:57 +02:00
|
|
|
.compose_reply_button_recipient_label {
|
|
|
|
color: hsl(215, 47%, 30%);
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream_button_container,
|
|
|
|
.private_button_container {
|
|
|
|
@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 {
|
2019-08-24 12:26:37 +02:00
|
|
|
border-top: 1px solid hsla(0, 0%, 0%, 0.07);
|
|
|
|
transition: background-color 200ms linear;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 4px 4px 8px;
|
2020-08-06 02:34:58 +02:00
|
|
|
border-left: 1px solid hsl(0, 0%, 93%);
|
|
|
|
border-right: 1px solid hsl(0, 0%, 93%);
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.ztable_comp_col1 {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message_comp {
|
|
|
|
display: none;
|
2022-02-01 14:29:57 +01:00
|
|
|
padding: 5px 10px 0 5px;
|
2019-08-24 12:26:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete_secondary {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
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;
|
2019-08-24 13:13:52 +02:00
|
|
|
background-color: hsl(0, 0%, 27%);
|
|
|
|
}
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
.right_part {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-08-24 13:13:52 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.fa-angle-right {
|
|
|
|
font-size: 0.9em;
|
|
|
|
-webkit-text-stroke: 0.05em;
|
|
|
|
position: relative;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 5px;
|
2019-08-24 13:13:52 +02:00
|
|
|
}
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
.pm_recipient {
|
|
|
|
margin-left: 5px;
|
2021-07-14 11:51:04 +02:00
|
|
|
margin-right: 35px;
|
2019-08-24 13:13:52 +02:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
#private-message .to_text {
|
|
|
|
vertical-align: middle;
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2021-11-20 04:20:21 +01:00
|
|
|
#compose-lock-icon,
|
|
|
|
#compose-globe-icon {
|
2019-08-24 13:13:52 +02:00
|
|
|
position: relative;
|
|
|
|
left: 5px;
|
2020-08-06 02:42:07 +02:00
|
|
|
width: 0;
|
2019-08-24 13:13:52 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2021-11-20 04:20:21 +01:00
|
|
|
#compose-globe-icon {
|
|
|
|
top: 1px;
|
|
|
|
left: 4.5px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
|
2019-08-24 13:13:52 +02:00
|
|
|
.message_header {
|
|
|
|
background: none;
|
|
|
|
background-color: hsl(0, 0%, 92%);
|
|
|
|
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;
|
|
|
|
color: hsl(39, 100%, 50%);
|
2021-11-12 06:29:37 +01:00
|
|
|
align-self: center;
|
2021-07-07 12:13:19 +02:00
|
|
|
|
|
|
|
&.over_limit {
|
2021-12-02 06:48:45 +01:00
|
|
|
color: hsl(0, 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;
|
2016-10-27 07:40:53 +02:00
|
|
|
z-index: 2;
|
|
|
|
width: 100%;
|
2017-11-16 01:26:02 +01:00
|
|
|
|
2018-10-08 22:31:26 +02:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#compose-container {
|
|
|
|
width: 100%;
|
2020-09-15 22:23:01 +02:00
|
|
|
/* This should match the value for .app-main */
|
2016-10-27 07:40:53 +02:00
|
|
|
max-width: 1400px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2022-02-01 14:29:57 +01:00
|
|
|
#compose_top {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
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;
|
2021-05-17 13:15:11 +02:00
|
|
|
|
|
|
|
button {
|
|
|
|
background: transparent;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 20px;
|
|
|
|
opacity: 0.6;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin-left: 4px;
|
2021-07-15 23:03:49 +02:00
|
|
|
vertical-align: unset;
|
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
|
|
|
}
|
|
|
|
|
2021-07-27 21:48:11 +02:00
|
|
|
.compose_resolved_topic,
|
2017-10-14 15:18:21 +02:00
|
|
|
.compose_invite_user,
|
2018-02-28 07:01:19 +01:00
|
|
|
.compose_private_stream_alert,
|
|
|
|
.compose-all-everyone,
|
2018-04-04 19:38:09 +02:00
|
|
|
.compose-announce,
|
|
|
|
.compose_not_subscribed {
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 4px 0;
|
2018-02-28 07:01:19 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-10-17 20:28:40 +02:00
|
|
|
position: relative;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2018-04-04 19:38:09 +02:00
|
|
|
#compose_not_subscribed_close {
|
2021-10-17 20:28:40 +02:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
2018-04-04 19:38:09 +02:00
|
|
|
}
|
|
|
|
|
2021-07-27 21:48:11 +02:00
|
|
|
.compose_resolved_topic_close,
|
2017-10-14 15:18:21 +02:00
|
|
|
.compose_invite_close,
|
|
|
|
.compose_private_stream_alert_close {
|
2018-02-28 07:01:19 +01:00
|
|
|
display: inline-block;
|
2016-10-27 07:40:53 +02:00
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
2021-07-27 21:48:11 +02:00
|
|
|
.compose_resolved_topic_user_controls,
|
2016-10-27 07:40:53 +02:00
|
|
|
.compose-all-everyone-controls,
|
2017-12-18 16:09:41 +01:00
|
|
|
.compose-announce-controls,
|
2017-10-14 15:18:21 +02:00
|
|
|
.compose_invite_user_controls,
|
|
|
|
.compose_private_stream_alert_controls {
|
2016-10-27 07:40:53 +02:00
|
|
|
float: right;
|
2018-02-28 07:01:19 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2018-04-04 19:38:09 +02:00
|
|
|
.compose_invite_user p,
|
2021-07-27 21:48:11 +02:00
|
|
|
.compose_resolved_topic p,
|
2018-04-04 19:38:09 +02:00
|
|
|
.compose_not_subscribed p {
|
2021-07-27 21:48:11 +02:00
|
|
|
margin: 5px 20px;
|
2018-02-28 07:01:19 +01:00
|
|
|
display: inline-block;
|
|
|
|
max-width: calc(100% - 100px);
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2018-04-04 19:38:09 +02:00
|
|
|
#error-message-sub-button {
|
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
/* Like .nav-tabs > li > a */
|
2017-11-28 22:36:58 +01:00
|
|
|
div[id^="message-edit-send-status"],
|
2017-11-26 19:58:36 +01:00
|
|
|
#compose-send-status {
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 8px 14px;
|
2016-12-02 01:36:40 +01:00
|
|
|
margin-bottom: 8px;
|
2016-10-27 07:40:53 +02:00
|
|
|
line-height: 20px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-04-10 23:36:07 +02:00
|
|
|
#compose-send-status .progress {
|
|
|
|
height: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
/* Like .alert .close */
|
2017-11-28 22:36:58 +01:00
|
|
|
.send-status-close,
|
2017-11-26 20:01:37 +01:00
|
|
|
.compose-send-status-close {
|
2017-03-14 16:36:22 +01:00
|
|
|
font-size: 17px;
|
2016-10-27 07:40:53 +02:00
|
|
|
font-weight: bold;
|
2017-11-13 16:34:06 +01:00
|
|
|
color: hsl(0, 0%, 0%);
|
2019-01-23 00:33:18 +01:00
|
|
|
text-shadow: 0 1px 0 hsl(0, 0%, 100%);
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.2;
|
2017-03-14 16:36:22 +01:00
|
|
|
float: right;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2017-11-28 22:36:58 +01:00
|
|
|
.send-status-close:hover,
|
2017-11-26 20:01:37 +01:00
|
|
|
.compose-send-status-close:hover {
|
2017-03-14 16:36:22 +01:00
|
|
|
cursor: pointer;
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.4;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#out-of-view-notification {
|
|
|
|
position: relative;
|
2017-12-01 02:13:22 +01:00
|
|
|
margin-bottom: 6px;
|
|
|
|
|
2018-10-08 22:31:26 +02:00
|
|
|
background-color: hsla(152, 51%, 63%, 0.25);
|
2017-12-01 02:13:22 +01:00
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.1);
|
|
|
|
border-radius: 4px;
|
2020-06-08 19:48:00 +02:00
|
|
|
|
|
|
|
.close {
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
top: 4px;
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: hsl(0, 0%, 0%);
|
|
|
|
text-shadow: 0 1px 0 hsl(0, 0%, 100%);
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.2;
|
2020-06-08 19:48:00 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose-notifications-content {
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 4px 22px;
|
2016-10-27 07:40:53 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composition-area {
|
|
|
|
position: relative;
|
2021-05-17 13:15:11 +02:00
|
|
|
flex: 1;
|
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;
|
2021-07-07 12:13:19 +02:00
|
|
|
|
2021-07-10 19:33:45 +02:00
|
|
|
@keyframes flash {
|
|
|
|
0% {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-07-10 19:33:45 +02:00
|
|
|
100% {
|
2021-12-02 06:48:45 +01:00
|
|
|
box-shadow: 0 0 0 1pt hsl(0, 76%, 65%);
|
2021-07-10 19:33:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-10 18:54:00 +02:00
|
|
|
&.over_limit,
|
|
|
|
&.over_limit:focus {
|
2021-12-02 06:48:45 +01:00
|
|
|
box-shadow: 0 0 0 1pt hsl(0, 76%, 65%);
|
2021-07-10 19:33:45 +02:00
|
|
|
|
|
|
|
&.flash {
|
|
|
|
animation: flash 0.5s ease-in-out infinite;
|
|
|
|
}
|
2021-07-07 12:13:19 +02:00
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2016-12-02 01:36:40 +01:00
|
|
|
textarea.new_message_textarea,
|
2017-10-24 20:44:44 +02:00
|
|
|
.compose_table .recipient_box {
|
2017-11-16 00:52:41 +01:00
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.2);
|
2016-12-02 01:36:40 +01:00
|
|
|
box-shadow: none;
|
2017-02-28 00:12:22 +01:00
|
|
|
transition: border 0.2s ease;
|
2016-12-02 01:36:40 +01:00
|
|
|
|
2019-08-24 14:02:23 +02:00
|
|
|
&:focus {
|
|
|
|
border: 1px solid hsl(0, 0%, 67%);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-12-02 01:36:40 +01:00
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
input.recipient_box {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0;
|
2016-10-27 07:40:53 +02:00
|
|
|
height: 1.1em;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2018-11-13 17:16:02 +01:00
|
|
|
#stream_message_recipient_stream.recipient_box {
|
2016-10-27 07:40:53 +02:00
|
|
|
width: 20%;
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
border-left: 0;
|
2022-02-01 14:29:57 +01:00
|
|
|
|
|
|
|
@media (width > $sm_min) {
|
|
|
|
min-width: 120px;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 14:06:44 +02:00
|
|
|
&:focus {
|
|
|
|
border-left: none;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
|
2019-08-24 14:06:44 +02:00
|
|
|
&.lock-padding {
|
|
|
|
padding-left: 18px;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2019-08-24 14:05:09 +02:00
|
|
|
#stream_message_recipient_topic.recipient_box {
|
2020-05-28 00:58:41 +02:00
|
|
|
width: calc(20% + 14px);
|
2021-12-02 07:38:53 +01:00
|
|
|
min-width: 120px;
|
2019-08-24 14:05:09 +02:00
|
|
|
max-width: 165px;
|
|
|
|
}
|
|
|
|
|
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 {
|
2021-11-23 18:53:29 +01:00
|
|
|
height: 24px;
|
2020-08-11 08:11:14 +02:00
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 0.9em;
|
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;
|
|
|
|
|
|
|
|
input[type="radio"] {
|
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding: 0 0 4px;
|
|
|
|
border-bottom: 1px solid hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.enter_sends_choice_text {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enter_sends_minor,
|
|
|
|
.enter_sends_minor kbd {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-size: 11px;
|
|
|
|
color: hsl(0, 0%, 50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-25 10:00:04 +01:00
|
|
|
.enter_sends {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2021-12-02 05:59:26 +01:00
|
|
|
kbd {
|
|
|
|
height: 16px;
|
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
|
|
|
|
2021-12-10 09:07:42 +01:00
|
|
|
i {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2021-11-25 10:00:04 +01:00
|
|
|
.compose_left_wrapper {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
#stream-message,
|
|
|
|
#private-message {
|
2018-03-31 01:46:43 +02:00
|
|
|
display: flex;
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2018-07-11 18:29:48 +02:00
|
|
|
#private-message {
|
|
|
|
align-items: center;
|
2022-02-01 14:29:57 +01:00
|
|
|
width: 100%;
|
2018-07-11 18:29:48 +02:00
|
|
|
}
|
|
|
|
|
2021-12-03 11:17:24 +01:00
|
|
|
.tippy-content .compose_control_buttons_container {
|
|
|
|
.compose_gif_icon {
|
|
|
|
bottom: 5px;
|
2021-11-23 19:01:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-12 06:29:37 +01:00
|
|
|
.compose_control_buttons_container {
|
|
|
|
margin-right: auto;
|
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.compose_gif_icon {
|
|
|
|
font-size: 22px;
|
2021-12-03 11:17:24 +01:00
|
|
|
height: 18px;
|
|
|
|
position: relative;
|
|
|
|
bottom: 6px;
|
2021-11-12 06:29:37 +01:00
|
|
|
}
|
|
|
|
|
2021-11-23 19:01:36 +01:00
|
|
|
.compose_control_menu {
|
2022-02-03 12:54:49 +01:00
|
|
|
padding: 0 7px;
|
2021-11-23 19:01:36 +01:00
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose_control_menu_wrapper {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide-sm,
|
|
|
|
.hide-lg {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-11-13 05:44:28 +01:00
|
|
|
.divider {
|
|
|
|
color: hsl(0, 0%, 88%);
|
|
|
|
font-size: 20px;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
2022-02-03 12:53:14 +01:00
|
|
|
|
|
|
|
.compose_draft_button {
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 600;
|
|
|
|
font-family: "Source Sans 3", sans-serif;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2022-02-03 12:54:49 +01:00
|
|
|
|
|
|
|
.compose_help_button {
|
|
|
|
font-size: 21px;
|
|
|
|
line-height: 27px;
|
|
|
|
font-weight: 550;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-11-12 06:29:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose_right_float_container {
|
|
|
|
display: flex;
|
2021-11-25 10:00:04 +01:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
2021-11-12 06:29:37 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
gap: 4px;
|
2021-11-25 10:00:04 +01:00
|
|
|
margin-top: 2px;
|
2021-03-19 13:21:18 +01:00
|
|
|
}
|
|
|
|
|
2021-04-14 20:25:35 +02:00
|
|
|
a.compose_control_button {
|
2021-11-12 06:29:37 +01:00
|
|
|
padding: 5px;
|
2021-06-08 02:21:02 +02:00
|
|
|
opacity: 0.7;
|
2017-11-30 00:02:15 +01:00
|
|
|
color: inherit;
|
2016-10-27 07:40:53 +02:00
|
|
|
text-decoration: none;
|
2021-11-12 06:29:37 +01:00
|
|
|
font-size: 17px;
|
2016-10-27 07:40:53 +02:00
|
|
|
text-align: center;
|
|
|
|
|
2019-08-24 13:58:05 +02:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-10-27 07:40:53 +02:00
|
|
|
}
|
|
|
|
|
2021-04-15 16:18:36 +02:00
|
|
|
/* This is used to override the
|
|
|
|
* properties of `a.compose_control_button`
|
|
|
|
* without using `!important`.
|
|
|
|
*/
|
|
|
|
a.compose_control_button.hide {
|
2021-04-27 21:58:19 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-10-27 07:40:53 +02:00
|
|
|
.drag {
|
|
|
|
display: none;
|
|
|
|
height: 18px;
|
|
|
|
width: 100%;
|
|
|
|
top: 23px;
|
|
|
|
position: relative;
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-subscribe-error {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
2018-10-12 07:22:46 +02:00
|
|
|
border: 1px solid hsl(0, 0%, 67%);
|
2016-10-27 07:40:53 +02:00
|
|
|
border-radius: 4px;
|
2017-11-16 01:33:33 +01:00
|
|
|
background-color: hsla(0, 0%, 0%, 0.02);
|
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
|
|
|
|
2019-08-24 13:59:46 +02:00
|
|
|
.dropdown-menu {
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
background: hsl(0, 0%, 100%);
|
|
|
|
}
|
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;
|
2019-07-31 09:11:25 +02:00
|
|
|
border-top: 1px solid hsla(0, 0%, 0%, 0.2);
|
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 {
|
|
|
|
background: hsl(0, 0%, 100%);
|
|
|
|
}
|
2019-07-26 12:39:14 +02:00
|
|
|
}
|
|
|
|
|
2018-08-13 23:13:00 +02:00
|
|
|
.compose_mobile_stream_button i,
|
|
|
|
.compose_mobile_private_button i {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2019-10-24 05:38:18 +02:00
|
|
|
|
|
|
|
/* This max-width must be synced with message_viewport.is_narrow */
|
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) {
|
2019-10-24 05:38:18 +02:00
|
|
|
#stream_message_recipient_topic.recipient_box {
|
2021-12-02 07:38:53 +01:00
|
|
|
width: calc(100% - 192px);
|
2022-02-01 14:29:57 +01:00
|
|
|
min-width: 110px;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
|
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-01-31 11:57:30 +01:00
|
|
|
max-height: none !important;
|
2021-07-19 10:56:08 +02:00
|
|
|
flex: 1;
|
|
|
|
}
|
2021-05-17 13:15:11 +02:00
|
|
|
}
|