2013-09-05 15:37:07 -04:00
|
|
|
.composer-popup-container {
|
2017-08-29 15:45:02 -04:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2013-09-09 16:54:33 -04:00
|
|
|
.composer-popup {
|
2017-08-29 15:45:02 -04:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2017-08-29 15:45:02 -04:00
|
|
|
#reply-control {
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("mobile-composer");
|
2018-06-08 05:49:31 -04:00
|
|
|
.reply-area {
|
|
|
|
padding: 0 10px;
|
2019-04-10 12:23:18 -04:00
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
2018-06-08 05:49:31 -04:00
|
|
|
@media screen and (max-width: 374px) {
|
|
|
|
padding: 0 5px;
|
2017-11-08 04:39:26 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2016-02-09 01:10:24 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.open {
|
|
|
|
height: 250px;
|
|
|
|
&.edit-title {
|
|
|
|
height: 100%;
|
2019-09-30 13:56:39 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-08 11:16:41 -04:00
|
|
|
body.ios-safari-composer-hacks &.open {
|
2019-09-30 13:56:39 -04:00
|
|
|
height: calc(var(--composer-vh, 1vh) * 100);
|
|
|
|
.reply-area {
|
|
|
|
padding-bottom: 0px;
|
2017-11-08 04:39:26 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.reply-to {
|
|
|
|
margin: 5px 0;
|
2018-11-13 11:12:58 -05:00
|
|
|
.reply-details {
|
|
|
|
max-width: calc(100% - 75px);
|
|
|
|
}
|
2019-07-11 09:57:53 -04: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 05:49:31 -04:00
|
|
|
}
|
2016-02-09 01:10:24 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.toggler {
|
|
|
|
margin-left: -5px;
|
|
|
|
.d-icon-chevron-down {
|
|
|
|
vertical-align: text-top;
|
2017-11-08 04:39:26 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2017-11-08 04:39:26 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.draft {
|
2019-04-10 12:23:18 -04:00
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.toggle-toolbar,
|
2017-11-08 04:39:26 -05:00
|
|
|
.toggler {
|
2018-06-08 05:49:31 -04:00
|
|
|
top: 8px;
|
2014-10-14 17:12:48 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.draft-text {
|
|
|
|
width: calc(100% - 40px);
|
2019-11-06 14:00:29 -05:00
|
|
|
@include ellipsis;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
#reply-title {
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
}
|
2017-11-08 04:39:26 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.category-input {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
.category-chooser {
|
|
|
|
width: 100% !important;
|
2017-11-08 04:39:26 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2017-08-30 11:04:17 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.submit-panel {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
align-items: baseline;
|
|
|
|
.save-or-cancel {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
2019-05-29 14:37:32 -04:00
|
|
|
margin-left: 6px;
|
2017-08-24 10:04:47 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.cancel {
|
2019-05-29 14:37:32 -04:00
|
|
|
font-size: 1.4em;
|
2018-06-08 05:49:31 -04:00
|
|
|
color: $primary-low-mid;
|
|
|
|
margin-left: 0.6em;
|
2019-05-29 14:37:32 -04:00
|
|
|
padding: 3px 6px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2019-05-29 14:37:32 -04:00
|
|
|
.mobile-file-upload:not(.hidden),
|
|
|
|
.mobile-preview {
|
|
|
|
// Alignment fix, remove if converted to buttons
|
|
|
|
display: inline-flex;
|
2014-06-05 12:09:08 -04:00
|
|
|
}
|
2019-05-28 14:19:02 -04: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 05:49:31 -04:00
|
|
|
}
|
2017-11-08 04:39:26 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-11-08 04:39:26 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.show-preview {
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
position: fixed;
|
2019-06-04 11:08:21 -04:00
|
|
|
z-index: z("fullscreen");
|
2018-06-08 05:49:31 -04:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: $secondary;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: auto;
|
|
|
|
.d-editor-preview {
|
|
|
|
margin-bottom: 40px;
|
2017-06-05 12:25:20 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.btn.hide-preview {
|
|
|
|
position: fixed;
|
|
|
|
right: 5px;
|
|
|
|
bottom: 5px;
|
2019-06-04 11:08:21 -04:00
|
|
|
z-index: z("fullscreen") + 1;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
|
|
|
}
|
2015-11-06 15:51:21 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.hide-preview {
|
|
|
|
.d-editor-preview-wrapper {
|
2015-11-03 16:25:37 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2016-02-09 01:10:24 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.d-editor-button-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-07-04 04:15:36 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.toolbar-visible .d-editor-button-bar {
|
|
|
|
display: flex;
|
|
|
|
}
|
2016-02-09 01:10:24 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.d-editor-button-bar .btn {
|
|
|
|
&.preview {
|
2017-11-08 04:39:26 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2016-02-09 01:10:24 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
#mobile-uploader {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-02-09 01:10:24 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.title-and-category,
|
|
|
|
.user-selector {
|
|
|
|
margin: 0;
|
|
|
|
.users-input {
|
|
|
|
margin-bottom: 5px;
|
2016-02-09 01:10:24 -05:00
|
|
|
}
|
2017-11-08 04:39:26 -05:00
|
|
|
}
|
2017-08-29 15:45:02 -04:00
|
|
|
|
2018-07-23 14:25:21 -04:00
|
|
|
.with-tags {
|
|
|
|
.category-input {
|
2019-01-21 13:40:55 -05:00
|
|
|
flex: 1 0 0px;
|
2018-07-23 14:25:21 -04:00
|
|
|
margin: 0;
|
|
|
|
width: 45%;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mini-tag-chooser {
|
|
|
|
width: 50%;
|
2019-01-21 13:40:55 -05:00
|
|
|
flex: 1 0 0px;
|
2018-07-23 14:25:21 -04:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-bottom: 5px;
|
2018-08-16 01:17:15 -04:00
|
|
|
z-index: z("base");
|
2018-07-23 14:25:21 -04:00
|
|
|
}
|
2020-02-17 13:55:04 -05:00
|
|
|
|
|
|
|
.selected-name {
|
|
|
|
overflow: hidden;
|
|
|
|
.name {
|
|
|
|
@include ellipsis;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
.badge-wrapper {
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title-and-category .select-kit {
|
|
|
|
min-width: unset;
|
|
|
|
}
|
2018-07-23 14:25:21 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.title-input,
|
|
|
|
.category-input,
|
|
|
|
.users-input,
|
|
|
|
.add-warning {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-warning {
|
|
|
|
margin: 0 0 5px 5px;
|
|
|
|
}
|
2018-11-26 16:49:57 -05:00
|
|
|
|
|
|
|
.whisper {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|