2013-09-06 03:37:07 +08:00
|
|
|
.composer-popup-container {
|
2017-08-30 03:45:02 +08:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-09-10 04:54:33 +08:00
|
|
|
.composer-popup {
|
2017-08-30 03:45:02 +08:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2017-08-30 03:45:02 +08:00
|
|
|
#reply-control {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("mobile-composer");
|
2018-06-08 17:49:31 +08:00
|
|
|
.reply-area {
|
|
|
|
padding: 0 10px;
|
2019-04-11 00:23:18 +08:00
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
2018-06-08 17:49:31 +08:00
|
|
|
@media screen and (max-width: 374px) {
|
|
|
|
padding: 0 5px;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2016-02-09 14:10:24 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&.open {
|
|
|
|
height: 250px;
|
|
|
|
&.edit-title {
|
|
|
|
height: 100%;
|
2019-10-01 01:56:39 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-15 21:02:24 +08:00
|
|
|
.keyboard-visible &.open {
|
2019-10-01 01:56:39 +08:00
|
|
|
height: calc(var(--composer-vh, 1vh) * 100);
|
2020-04-17 08:19:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.keyboard-visible body.ios-safari-composer-hacks &.open .reply-area {
|
|
|
|
padding-bottom: 0px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
|
2021-09-09 01:35:09 +08:00
|
|
|
// iOS 15 Safari has a floating address bar that displays above the composer submit bar
|
|
|
|
// we cannot detect its preseence, so we need to add extra padding
|
|
|
|
// Apple says it's a known issue, see https://bugs.webkit.org/show_bug.cgi?id=229876
|
|
|
|
.keyboard-visible body.ios-safari-15-hack &.open .reply-area {
|
|
|
|
padding-bottom: 45px;
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.reply-to {
|
|
|
|
margin: 5px 0;
|
2018-11-14 00:12:58 +08:00
|
|
|
.reply-details {
|
|
|
|
max-width: calc(100% - 75px);
|
|
|
|
}
|
2019-07-11 21:57:53 +08: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;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2016-02-09 14:10:24 +08:00
|
|
|
|
2021-04-08 04:15:07 +08:00
|
|
|
.toggle-minimize {
|
2018-06-08 17:49:31 +08:00
|
|
|
.d-icon-chevron-down {
|
|
|
|
vertical-align: text-top;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&.draft {
|
2020-06-05 09:24:14 +08:00
|
|
|
z-index: z("footer-nav") + 1;
|
2019-04-11 00:23:18 +08:00
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.toggle-toolbar,
|
2021-04-08 04:15:07 +08:00
|
|
|
.toggle-minimize {
|
2018-06-08 17:49:31 +08:00
|
|
|
top: 8px;
|
2014-10-15 05:12:48 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.draft-text {
|
|
|
|
width: calc(100% - 40px);
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
#reply-title {
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.category-input {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2017-08-30 23:04:17 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.submit-panel {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
align-items: baseline;
|
|
|
|
.save-or-cancel {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
2019-05-30 02:37:32 +08:00
|
|
|
margin-left: 6px;
|
2017-08-24 22:04:47 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.cancel {
|
2019-05-30 02:37:32 +08:00
|
|
|
font-size: 1.4em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-low-mid);
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-left: 0.6em;
|
2019-05-30 02:37:32 +08:00
|
|
|
padding: 3px 6px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-30 02:37:32 +08:00
|
|
|
.mobile-file-upload:not(.hidden),
|
|
|
|
.mobile-preview {
|
|
|
|
// Alignment fix, remove if converted to buttons
|
|
|
|
display: inline-flex;
|
2014-06-06 00:09:08 +08:00
|
|
|
}
|
2019-05-29 02:19:02 +08: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 17:49:31 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&.show-preview {
|
2020-07-23 02:36:05 +08:00
|
|
|
.submit-panel {
|
|
|
|
padding-top: 10px;
|
2020-07-23 00:17:51 +08:00
|
|
|
z-index: z("fullscreen") + 1;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2020-07-23 02:36:05 +08:00
|
|
|
.cancel,
|
|
|
|
.mobile-file-upload,
|
|
|
|
.mobile-preview {
|
2020-07-23 00:17:51 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
position: fixed;
|
2019-06-04 23:08:21 +08:00
|
|
|
z-index: z("fullscreen");
|
2018-06-08 17:49:31 +08:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border-bottom: 40px solid var(--secondary);
|
2018-06-08 17:49:31 +08:00
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: auto;
|
|
|
|
.d-editor-preview {
|
|
|
|
margin-bottom: 40px;
|
2017-06-06 00:25:20 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2015-11-07 04:51:21 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&.hide-preview {
|
|
|
|
.d-editor-preview-wrapper {
|
2015-11-04 05:25:37 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2016-02-09 14:10:24 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.d-editor-button-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-07-04 16:15:36 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.toolbar-visible .d-editor-button-bar {
|
|
|
|
display: flex;
|
|
|
|
}
|
2016-02-09 14:10:24 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.d-editor-button-bar .btn {
|
|
|
|
&.preview {
|
2017-11-08 17:39:26 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2016-02-09 14:10:24 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.title-and-category,
|
|
|
|
.user-selector {
|
|
|
|
margin: 0;
|
|
|
|
.users-input {
|
|
|
|
margin-bottom: 5px;
|
2016-02-09 14:10:24 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
2017-08-30 03:45:02 +08:00
|
|
|
|
2018-07-24 02:25:21 +08:00
|
|
|
.with-tags {
|
|
|
|
.mini-tag-chooser {
|
2018-08-16 13:17:15 +08:00
|
|
|
z-index: z("base");
|
2021-08-23 16:44:19 +08:00
|
|
|
margin-bottom: 5px;
|
2018-07-24 02:25:21 +08:00
|
|
|
}
|
2020-02-18 02:55:04 +08:00
|
|
|
|
|
|
|
.selected-name {
|
|
|
|
.name {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
.badge-wrapper {
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-09 23:01:56 +08:00
|
|
|
|
|
|
|
.formated-selection {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.without-tags {
|
|
|
|
.category-input {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2018-07-24 02:25:21 +08:00
|
|
|
}
|
|
|
|
|
2020-08-27 07:38:20 +08:00
|
|
|
.user-selector {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.users-input,
|
|
|
|
.add-warning {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-warning {
|
|
|
|
margin: 0 0 5px 5px;
|
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
|
|
|
|
.whisper {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|