2017-11-27 15:23:18 -05:00
|
|
|
#reply-control {
|
|
|
|
.reply-area {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 5px 15px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: calc(100% - 11px);
|
|
|
|
width: 100%;
|
|
|
|
.submit-panel {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 22:49:10 -05:00
|
|
|
|
|
|
|
#private-message-users {
|
|
|
|
width: 404px;
|
|
|
|
}
|
2018-04-25 20:46:54 -04:00
|
|
|
|
2019-11-20 12:32:00 -05:00
|
|
|
.item + #private-message-users {
|
2019-12-17 14:56:57 -05:00
|
|
|
width: unset;
|
|
|
|
min-width: 150px;
|
|
|
|
flex: 1 1 auto;
|
2019-11-20 12:32:00 -05:00
|
|
|
}
|
|
|
|
|
2018-04-25 20:46:54 -04:00
|
|
|
.select-kit.is-expanded {
|
2018-07-26 12:11:40 -04:00
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2018-04-25 20:46:54 -04:00
|
|
|
}
|
2017-11-27 15:23:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-input {
|
2018-02-14 22:49:10 -05:00
|
|
|
margin-left: 10px;
|
2017-11-27 15:23:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-title {
|
2017-12-06 11:28:12 -05:00
|
|
|
.d-editor-preview-wrapper {
|
2017-11-27 15:23:18 -05:00
|
|
|
margin-top: -43px;
|
|
|
|
}
|
|
|
|
&:not(.private-message) {
|
2017-12-06 11:28:12 -05:00
|
|
|
.d-editor-preview-wrapper {
|
2017-11-27 15:23:18 -05:00
|
|
|
@media screen and (max-width: 955px) {
|
2018-02-02 22:31:55 -05:00
|
|
|
margin-top: -77px;
|
2017-11-27 15:23:18 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 22:49:10 -05:00
|
|
|
|
2017-11-27 15:23:18 -05:00
|
|
|
.with-tags {
|
2017-12-06 11:28:12 -05:00
|
|
|
.d-editor-preview-wrapper {
|
2018-02-02 22:31:55 -05:00
|
|
|
margin-top: -77px;
|
2017-11-27 15:23:18 -05:00
|
|
|
@media screen and (max-width: 900px) {
|
2018-02-02 22:31:55 -05:00
|
|
|
margin-top: -105px;
|
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;
|
2017-11-27 15:23:18 -05:00
|
|
|
background: $tertiary;
|
|
|
|
&:before {
|
2018-06-08 05:49:31 -04:00
|
|
|
content: "";
|
2017-11-27 15:23:18 -05:00
|
|
|
display: block;
|
|
|
|
width: 27px;
|
|
|
|
margin: auto;
|
|
|
|
border-top: 3px double $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-25 16:04:14 -05:00
|
|
|
.discourse-touch {
|
|
|
|
.open {
|
|
|
|
.grippie {
|
|
|
|
padding: 7px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.composer-popup-container {
|
|
|
|
max-width: 1500px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup {
|
2015-12-28 16:51:07 -05:00
|
|
|
position: absolute;
|
2017-11-27 15:23:18 -05:00
|
|
|
width: calc(50% - 45px);
|
2015-12-28 16:51:07 -05:00
|
|
|
max-width: 724px;
|
2017-11-27 15:23:18 -05:00
|
|
|
top: 20px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 51%;
|
2015-12-28 16:51:07 -05:00
|
|
|
overflow-y: auto;
|
2018-06-08 05:49:31 -04:00
|
|
|
z-index: z("composer", "popover");
|
2017-08-18 15:40:34 -04:00
|
|
|
padding: 10px 10px 35px 10px;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("card");
|
2017-06-11 22:20:14 -04:00
|
|
|
background: $highlight-medium;
|
2018-04-25 21:00:33 -04:00
|
|
|
.hide-preview & {
|
2018-06-08 05:49:31 -04:00
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2018-04-25 21:00:33 -04:00
|
|
|
}
|
2014-03-06 18:35:47 -05:00
|
|
|
|
|
|
|
&.urgent {
|
2017-06-11 22:20:14 -04:00
|
|
|
background: $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 {
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2015-11-25 06:01:17 -05:00
|
|
|
}
|
|
|
|
|
2013-12-19 13:45:55 -05:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
p {
|
2013-12-19 13:45:55 -05:00
|
|
|
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;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $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
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
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 {
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2016-06-06 16:58:35 -04:00
|
|
|
p {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-09 16:54:33 -04:00
|
|
|
.similar-topics {
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
a[href] {
|
2018-01-18 13:52:40 -05:00
|
|
|
color: $primary;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-count {
|
2019-02-25 17:03:29 -05:00
|
|
|
background-color: $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;
|
|
|
|
}
|
|
|
|
.topic-statuses:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
span.badge-wrapper {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.blurb {
|
2019-02-25 17:03:29 -05:00
|
|
|
color: $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 {
|
|
|
|
color: $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 {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
display: contents;
|
|
|
|
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) {
|
|
|
|
margin-left: 10px;
|
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 {
|
|
|
|
color: $primary-high;
|
|
|
|
&:hover {
|
|
|
|
color: $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;
|
|
|
|
}
|
|
|
|
#reply-control {
|
|
|
|
&.fullscreen {
|
|
|
|
// important needed because of inline styles when height is changed manually with grippie
|
|
|
|
height: 100vh !important;
|
2019-10-01 08:22:17 -04:00
|
|
|
@supports (--custom: property) {
|
|
|
|
height: calc(var(--composer-vh, 1vh) * 100) !important;
|
|
|
|
}
|
2018-10-14 22:59:49 -04:00
|
|
|
z-index: z("header") + 1;
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
margin-top: 1%;
|
|
|
|
}
|
|
|
|
.reply-to {
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
margin: 0;
|
|
|
|
.composer-controls {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
&.show-preview .d-editor-textarea-wrapper {
|
|
|
|
border-right: 1px solid $primary-low;
|
|
|
|
}
|
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
|
|
|
margin-left: 0;
|
|
|
|
text-align: initial;
|
|
|
|
}
|
|
|
|
.composer-popup {
|
|
|
|
top: 30px;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
background: $secondary;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: fixed;
|
|
|
|
z-index: -1;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|