2017-11-27 15:23:18 -05:00
|
|
|
#reply-control {
|
|
|
|
.reply-area {
|
|
|
|
margin: 0 auto;
|
2021-11-30 11:41:22 -05:00
|
|
|
padding: 8px;
|
2017-11-27 15:23:18 -05:00
|
|
|
box-sizing: border-box;
|
2021-12-29 11:03:21 -05:00
|
|
|
height: calc(100% - 11px);
|
2017-11-27 15:23:18 -05:00
|
|
|
width: 100%;
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2017-11-27 15:23:18 -05:00
|
|
|
.submit-panel {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 22:49:10 -05:00
|
|
|
|
2021-10-29 16:26:37 -04:00
|
|
|
.select-kit.is-expanded {
|
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2018-02-14 22:49:10 -05:00
|
|
|
}
|
2018-04-25 20:46:54 -04:00
|
|
|
|
2021-10-29 16:26:37 -04:00
|
|
|
&.private-message {
|
|
|
|
.with-tags {
|
|
|
|
.title-and-category {
|
|
|
|
flex-wrap: nowrap; // force title and tags on same line for PMs
|
|
|
|
.mini-tag-chooser {
|
2021-11-30 11:41:22 -05:00
|
|
|
margin-bottom: 8px; // match title input margin
|
2021-10-29 16:26:37 -04:00
|
|
|
flex: 0 0 auto;
|
2021-12-24 06:38:33 -05:00
|
|
|
margin-left: 8px; // matches margin between category and tag input
|
2021-10-29 16:26:37 -04:00
|
|
|
width: 39%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-11-20 12:32:00 -05:00
|
|
|
|
2021-10-29 16:26:37 -04:00
|
|
|
#private-message-users,
|
|
|
|
.users-input {
|
|
|
|
width: 100%;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
&.can-warn {
|
|
|
|
// space for warning, inverse of mini-tag-chooser width
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-warning {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
span {
|
|
|
|
// protects the space of the user input in case there's a very long translation
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
}
|
2018-04-25 20:46:54 -04:00
|
|
|
}
|
2017-11-27 15:23:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.closed {
|
|
|
|
.grippie {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.open {
|
|
|
|
.grippie {
|
|
|
|
cursor: row-resize;
|
2018-01-25 09:53:36 -05:00
|
|
|
padding: 4px 0;
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--tertiary);
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2017-11-27 15:23:18 -05:00
|
|
|
&:before {
|
2018-06-08 05:49:31 -04:00
|
|
|
content: "";
|
2017-11-27 15:23:18 -05:00
|
|
|
display: block;
|
2021-11-30 11:41:22 -05:00
|
|
|
width: 24px;
|
2017-11-27 15:23:18 -05:00
|
|
|
margin: auto;
|
2021-11-30 11:41:22 -05:00
|
|
|
border-top: 3px double var(--tertiary-medium);
|
2017-11-27 15:23:18 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-25 16:04:14 -05:00
|
|
|
.discourse-touch {
|
|
|
|
.open {
|
|
|
|
.grippie {
|
|
|
|
padding: 7px 0;
|
2021-11-30 11:41:22 -05:00
|
|
|
margin-top: -17px;
|
2019-02-25 16:04:14 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.composer-popup {
|
2021-07-20 13:58:38 -04:00
|
|
|
box-sizing: border-box;
|
2015-12-28 16:51:07 -05:00
|
|
|
position: absolute;
|
2022-01-20 08:21:13 -05:00
|
|
|
width: calc(50% - 16px);
|
|
|
|
top: 19px; // grippie (11px) + .reply-area padding (8px)
|
2021-11-30 11:41:22 -05:00
|
|
|
bottom: 8px;
|
2021-12-24 06:38:33 -05:00
|
|
|
right: 8px;
|
2015-12-28 16:51:07 -05:00
|
|
|
overflow-y: auto;
|
2022-01-20 11:55:55 -05:00
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2021-12-24 06:38:33 -05:00
|
|
|
padding: 1.5em;
|
2021-07-20 13:58:38 -04:00
|
|
|
box-shadow: shadow("dropdown");
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--highlight-medium);
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2014-03-06 18:35:47 -05:00
|
|
|
&.urgent {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--danger-low);
|
2014-03-06 18:35:47 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2015-12-03 22:49:55 -05:00
|
|
|
&.education-message {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--tertiary-low);
|
2015-11-25 06:01:17 -05:00
|
|
|
}
|
|
|
|
|
2021-08-23 18:34:23 -04:00
|
|
|
&.dominating-topic-message,
|
|
|
|
&.get-a-room {
|
2021-07-20 13:58:38 -04:00
|
|
|
bottom: unset;
|
|
|
|
padding: 2.25em 6em 2.5em 2.25em;
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-19 13:45:55 -05:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
a.close {
|
2019-02-25 17:03:29 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-08-18 15:40:34 -04:00
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
2018-06-30 01:02:10 -04:00
|
|
|
top: 10px;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2017-11-08 04:39:26 -05:00
|
|
|
opacity: 0.5;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2017-08-18 15:40:34 -04:00
|
|
|
&:before {
|
2018-06-08 05:49:31 -04:00
|
|
|
content: "esc";
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2017-08-18 15:40:34 -04:00
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
a.close:hover {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 1;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2019-02-25 17:03:29 -05:00
|
|
|
ul {
|
2013-09-05 15:37:07 -04:00
|
|
|
margin: 0;
|
2021-02-18 18:47:27 -05:00
|
|
|
padding: 0 0 0 1.5em;
|
|
|
|
&.list,
|
|
|
|
&.topics {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
li {
|
|
|
|
font-weight: normal;
|
2015-06-26 04:53:19 -04:00
|
|
|
margin-top: 8px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-27 15:23:18 -05:00
|
|
|
.composer-controls {
|
|
|
|
.d-chevron-down {
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
2017-11-08 04:39:26 -05:00
|
|
|
}
|
|
|
|
|
2016-06-06 16:58:35 -04:00
|
|
|
.custom-body {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--tertiary-low);
|
2016-06-06 16:58:35 -04:00
|
|
|
p {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-09 16:54:33 -04:00
|
|
|
.similar-topics {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--tertiary-low);
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
a[href] {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-count {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--tertiary);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2015-06-24 15:08:22 -04:00
|
|
|
|
|
|
|
.search-link {
|
2019-02-25 17:03:29 -05:00
|
|
|
.topic-title {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
span.badge-wrapper {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.blurb {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2015-06-24 15:08:22 -04:00
|
|
|
}
|
2018-10-09 15:38:49 -04:00
|
|
|
.topic-title,
|
|
|
|
.blurb {
|
2019-02-25 17:03:29 -05:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2018-10-09 15:38:49 -04:00
|
|
|
}
|
|
|
|
}
|
2018-01-18 13:52:40 -05:00
|
|
|
span.topic {
|
|
|
|
display: flex;
|
2019-07-02 05:26:43 -04:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.first-line {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.second-line {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.discourse-tags {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
|
|
|
}
|
2018-01-18 13:52:40 -05:00
|
|
|
}
|
2015-06-24 15:08:22 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup:nth-of-type(2) {
|
2015-12-28 16:51:07 -05:00
|
|
|
width: calc(50% - 65px);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2019-05-29 14:37:32 -04:00
|
|
|
a.toggle-preview {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2019-05-29 14:37:32 -04:00
|
|
|
&:hover {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--tertiary);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-08 04:39:26 -05:00
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: right;
|
2014-04-21 11:54:57 -04:00
|
|
|
}
|
2018-10-14 22:59:49 -04:00
|
|
|
|
|
|
|
// fullscreen composer styles
|
|
|
|
.fullscreen-composer {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.profiler-results {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2018-10-14 22:59:49 -04:00
|
|
|
#reply-control {
|
|
|
|
&.fullscreen {
|
|
|
|
// important needed because of inline styles when height is changed manually with grippie
|
|
|
|
height: 100vh !important;
|
2020-06-01 22:24:16 -04:00
|
|
|
max-height: 100%; // prevents devices from miscalculating using vh
|
2021-11-30 11:41:22 -05:00
|
|
|
z-index: z("header") + 1;
|
|
|
|
|
2019-10-01 08:22:17 -04:00
|
|
|
@supports (--custom: property) {
|
|
|
|
height: calc(var(--composer-vh, 1vh) * 100) !important;
|
|
|
|
}
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2018-10-14 22:59:49 -04:00
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
margin-top: 1%;
|
|
|
|
}
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2018-10-14 22:59:49 -04:00
|
|
|
.reply-to {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2021-11-30 11:41:22 -05:00
|
|
|
margin-bottom: 0;
|
2021-12-24 06:38:33 -05:00
|
|
|
padding-bottom: 8px;
|
2018-10-14 22:59:49 -04:00
|
|
|
}
|
2021-11-30 11:41:22 -05:00
|
|
|
|
2018-10-14 22:59:49 -04:00
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
&.show-preview .d-editor-textarea-wrapper {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-right: 1px solid var(--primary-low);
|
2018-10-14 22:59:49 -04:00
|
|
|
}
|
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
|
|
|
margin-left: 0;
|
|
|
|
text-align: initial;
|
|
|
|
}
|
|
|
|
.composer-popup {
|
|
|
|
top: 30px;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
content: "";
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--secondary);
|
2018-10-14 22:59:49 -04:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: fixed;
|
|
|
|
z-index: -1;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-11 02:38:56 -04:00
|
|
|
|
|
|
|
.composer-fullscreen-prompt {
|
|
|
|
animation: fadeIn 1s ease-in-out;
|
|
|
|
animation-delay: 1.5s;
|
|
|
|
animation-direction: reverse;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
top: 10%;
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
.rtl & {
|
|
|
|
// R2 is not smart enough to support this swap
|
|
|
|
transform: translate(50%, 0);
|
|
|
|
}
|
|
|
|
z-index: z("header") + 1;
|
|
|
|
background: var(--primary-very-high);
|
|
|
|
color: var(--secondary);
|
|
|
|
padding: 0.5em 0.75em;
|
|
|
|
pointer-events: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|