2013-09-05 14:37:07 -05:00
|
|
|
.composer-popup-container {
|
2017-08-29 14:45:02 -05:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
2013-09-09 15:54:33 -05:00
|
|
|
.composer-popup {
|
2017-08-29 14:45:02 -05:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
2017-08-29 14:45:02 -05:00
|
|
|
#reply-control {
|
2018-01-16 18:05:12 -06:00
|
|
|
z-index: z("mobile-composer");
|
2021-11-30 12:50:28 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.reply-area {
|
2021-11-30 12:50:28 -06:00
|
|
|
padding: 6px;
|
2021-11-30 13:02:22 -06:00
|
|
|
padding-bottom: unquote("max(env(safe-area-inset-bottom), 6px)");
|
2018-06-08 04:49:31 -05:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2016-02-09 00:10:24 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
&.open {
|
|
|
|
height: 250px;
|
|
|
|
&.edit-title {
|
|
|
|
height: 100%;
|
2019-09-30 12:56:39 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-15 08:02:24 -05:00
|
|
|
.keyboard-visible &.open {
|
2021-12-03 16:02:22 -06:00
|
|
|
height: 100%; // Android: Reduces composer jumpiness when the keyboard toggles
|
2020-04-16 19:19:23 -05:00
|
|
|
}
|
|
|
|
|
2021-12-03 16:02:22 -06:00
|
|
|
.keyboard-visible body.ios-safari-composer-hacks &.open {
|
|
|
|
height: calc(var(--composer-vh, 1vh) * 100);
|
|
|
|
.reply-area {
|
2021-12-24 05:38:33 -06:00
|
|
|
padding-bottom: 6px;
|
2021-12-03 16:02:22 -06:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
|
|
|
|
2022-09-29 09:35:01 -05:00
|
|
|
// Firefox for Android hack
|
|
|
|
@supports (-moz-appearance: none) {
|
|
|
|
.keyboard-visible #reply-control.open {
|
|
|
|
position: sticky;
|
|
|
|
height: calc(100vh - var(--header-offset, 4em));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.reply-to {
|
2021-11-30 12:50:28 -06:00
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
2018-11-13 10:12:58 -06:00
|
|
|
.reply-details {
|
|
|
|
max-width: calc(100% - 75px);
|
|
|
|
}
|
2019-07-11 08:57:53 -05:00
|
|
|
|
|
|
|
// Protection for languages with long strings on very small screens. This
|
|
|
|
// has no effect on most users but we need it for some cases. If this is
|
|
|
|
// not added, "add edit reason" will overlap with the composer controls
|
|
|
|
@include breakpoint(mobile-small) {
|
|
|
|
.reply-details {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-edit-reason {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-controls {
|
|
|
|
align-self: flex-start;
|
2021-12-24 05:38:33 -06:00
|
|
|
gap: 6px;
|
2019-07-11 08:57:53 -05:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2016-02-09 00:10:24 -06:00
|
|
|
|
2021-04-07 15:15:07 -05:00
|
|
|
.toggle-minimize {
|
2018-06-08 04:49:31 -05:00
|
|
|
.d-icon-chevron-down {
|
|
|
|
vertical-align: text-top;
|
2017-11-08 03:39:26 -06:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2017-11-08 03:39:26 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
&.draft {
|
2020-06-04 20:24:14 -05:00
|
|
|
z-index: z("footer-nav") + 1;
|
2019-04-10 11:23:18 -05:00
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.toggle-toolbar,
|
2021-04-07 15:15:07 -05:00
|
|
|
.toggle-minimize {
|
2021-12-24 05:38:33 -06:00
|
|
|
top: 6px;
|
2014-10-14 16:12:48 -05:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
.draft-text {
|
|
|
|
width: calc(100% - 40px);
|
2019-11-06 13:00:29 -06:00
|
|
|
@include ellipsis;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
#reply-title {
|
|
|
|
width: calc(100% - 20px);
|
2021-12-24 05:38:33 -06:00
|
|
|
margin-bottom: 6px;
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2017-11-08 03:39:26 -06:00
|
|
|
|
2022-02-01 14:33:06 -06:00
|
|
|
.category-input,
|
2023-06-26 12:12:32 -05:00
|
|
|
.with-tags.with-category .category-input {
|
2021-11-30 12:50:28 -06:00
|
|
|
margin-bottom: 6px;
|
2022-02-01 14:33:06 -06:00
|
|
|
max-width: calc(50% - 3px);
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2017-08-30 10:04:17 -05:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.submit-panel {
|
2021-11-30 12:50:28 -06:00
|
|
|
margin-top: 6px;
|
2023-04-11 14:11:00 -05:00
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.25em 0;
|
|
|
|
|
|
|
|
.create {
|
|
|
|
max-width: 50vw;
|
|
|
|
span {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
}
|
2021-11-30 12:50:28 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.save-or-cancel {
|
2023-04-11 14:11:00 -05:00
|
|
|
margin-right: 0.5em;
|
2018-06-08 04:49:31 -05:00
|
|
|
flex: 1 1 auto;
|
2021-12-24 05:38:33 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
2019-05-29 13:37:32 -05:00
|
|
|
margin-left: 6px;
|
2017-08-24 09:04:47 -05:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
.cancel {
|
2019-05-29 13:37:32 -05:00
|
|
|
font-size: 1.4em;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary-low-mid);
|
2018-06-08 04:49:31 -05:00
|
|
|
margin-left: 0.6em;
|
2019-05-29 13:37:32 -05:00
|
|
|
padding: 3px 6px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
2019-05-29 13:37:32 -05:00
|
|
|
.mobile-file-upload:not(.hidden),
|
|
|
|
.mobile-preview {
|
|
|
|
// Alignment fix, remove if converted to buttons
|
|
|
|
display: inline-flex;
|
2014-06-05 11:09:08 -05:00
|
|
|
}
|
2019-05-28 13:19:02 -05:00
|
|
|
.mobile-file-upload {
|
|
|
|
&.hidden + .mobile-preview {
|
|
|
|
// Hide preview button while file is uploading to make room for upload progress
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-preview {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2017-11-08 03:39:26 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
&.show-preview {
|
2020-07-22 13:36:05 -05:00
|
|
|
.submit-panel {
|
|
|
|
padding-top: 10px;
|
2020-07-22 11:17:51 -05:00
|
|
|
z-index: z("fullscreen") + 1;
|
2020-08-03 21:57:10 -05:00
|
|
|
background-color: var(--secondary);
|
2020-07-22 13:36:05 -05:00
|
|
|
.cancel,
|
|
|
|
.mobile-file-upload,
|
|
|
|
.mobile-preview {
|
2020-07-22 11:17:51 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
position: fixed;
|
2019-06-04 10:08:21 -05:00
|
|
|
z-index: z("fullscreen");
|
2018-06-08 04:49:31 -05:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-08-03 21:57:10 -05:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border-bottom: 40px solid var(--secondary);
|
2018-06-08 04:49:31 -05:00
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: auto;
|
|
|
|
.d-editor-preview {
|
|
|
|
margin-bottom: 40px;
|
2017-06-05 11:25:20 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2015-11-06 14:51:21 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
&.hide-preview {
|
|
|
|
.d-editor-preview-wrapper {
|
2015-11-03 15:25:37 -06:00
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2016-02-09 00:10:24 -06:00
|
|
|
|
2022-09-13 13:20:33 -05:00
|
|
|
.wmd-controls:not(.toolbar-visible) {
|
|
|
|
.d-editor-button-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2016-02-09 00:10:24 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.d-editor-button-bar .btn {
|
|
|
|
&.preview {
|
2017-11-08 03:39:26 -06:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2016-02-09 00:10:24 -06:00
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.title-and-category,
|
|
|
|
.user-selector {
|
|
|
|
margin: 0;
|
|
|
|
.users-input {
|
2021-12-24 05:38:33 -06:00
|
|
|
margin-bottom: 6px;
|
2016-02-09 00:10:24 -06:00
|
|
|
}
|
2017-11-08 03:39:26 -06:00
|
|
|
}
|
2017-08-29 14:45:02 -05:00
|
|
|
|
2018-07-23 13:25:21 -05:00
|
|
|
.with-tags {
|
2021-10-15 09:25:11 -05:00
|
|
|
.mini-tag-chooser,
|
|
|
|
.category-chooser {
|
2018-08-16 00:17:15 -05:00
|
|
|
z-index: z("base");
|
2021-12-24 05:38:33 -06:00
|
|
|
}
|
|
|
|
|
2024-06-19 09:55:29 -05:00
|
|
|
.tags-input {
|
2021-12-24 05:38:33 -06:00
|
|
|
margin: 0 0 6px 6px;
|
2022-02-01 14:33:06 -06:00
|
|
|
max-width: calc(50% - 3px);
|
2024-06-19 09:55:29 -05:00
|
|
|
width: 100%;
|
2018-07-23 13:25:21 -05:00
|
|
|
}
|
2021-09-09 10:01:56 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.without-tags {
|
|
|
|
.category-input {
|
2021-12-24 05:38:33 -06:00
|
|
|
margin-left: 6px;
|
2021-09-09 10:01:56 -05:00
|
|
|
}
|
2018-07-23 13:25:21 -05:00
|
|
|
}
|
|
|
|
|
2020-08-26 18:38:20 -05:00
|
|
|
.user-selector {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.users-input,
|
|
|
|
.add-warning {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-12-24 05:38:33 -06:00
|
|
|
.users-input .select-kit.multi-select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-06-08 04:49:31 -05:00
|
|
|
.add-warning {
|
2021-12-24 05:38:33 -06:00
|
|
|
margin-bottom: 6px;
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|
2018-11-26 15:49:57 -06:00
|
|
|
|
|
|
|
.whisper {
|
2021-12-24 05:38:33 -06:00
|
|
|
margin-right: 6px;
|
2018-11-26 15:49:57 -06:00
|
|
|
}
|
2018-06-08 04:49:31 -05:00
|
|
|
}
|