2017-11-28 04:23:18 +08: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-15 11:49:10 +08:00
|
|
|
|
|
|
|
#private-message-users {
|
|
|
|
width: 404px;
|
|
|
|
}
|
2018-04-26 08:46:54 +08:00
|
|
|
|
|
|
|
.select-kit.is-expanded {
|
2018-07-27 00:11:40 +08:00
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2018-04-26 08:46:54 +08:00
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-input {
|
2018-02-15 11:49:10 +08:00
|
|
|
margin-left: 10px;
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-title {
|
2017-12-07 00:28:12 +08:00
|
|
|
.d-editor-preview-wrapper {
|
2017-11-28 04:23:18 +08:00
|
|
|
margin-top: -43px;
|
|
|
|
}
|
|
|
|
&:not(.private-message) {
|
2017-12-07 00:28:12 +08:00
|
|
|
.d-editor-preview-wrapper {
|
2017-11-28 04:23:18 +08:00
|
|
|
@media screen and (max-width: 955px) {
|
2018-02-03 11:31:55 +08:00
|
|
|
margin-top: -77px;
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-15 11:49:10 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.with-tags {
|
2017-12-07 00:28:12 +08:00
|
|
|
.d-editor-preview-wrapper {
|
2018-02-03 11:31:55 +08:00
|
|
|
margin-top: -77px;
|
2017-11-28 04:23:18 +08:00
|
|
|
@media screen and (max-width: 900px) {
|
2018-02-03 11:31:55 +08:00
|
|
|
margin-top: -105px;
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.closed {
|
|
|
|
.grippie {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.open {
|
|
|
|
.grippie {
|
|
|
|
cursor: row-resize;
|
2018-01-25 22:53:36 +08:00
|
|
|
padding: 4px 0;
|
2017-11-28 04:23:18 +08:00
|
|
|
background: $tertiary;
|
|
|
|
&:before {
|
2018-06-08 17:49:31 +08:00
|
|
|
content: "";
|
2017-11-28 04:23:18 +08:00
|
|
|
display: block;
|
|
|
|
width: 27px;
|
|
|
|
margin: auto;
|
|
|
|
border-top: 3px double $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.composer-popup-container {
|
|
|
|
max-width: 1500px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup {
|
2015-12-29 05:51:07 +08:00
|
|
|
position: absolute;
|
2017-11-28 04:23:18 +08:00
|
|
|
width: calc(50% - 45px);
|
2015-12-29 05:51:07 +08:00
|
|
|
max-width: 724px;
|
2017-11-28 04:23:18 +08:00
|
|
|
top: 20px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 51%;
|
2015-12-29 05:51:07 +08:00
|
|
|
overflow-y: auto;
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("composer", "popover");
|
2017-08-19 03:40:34 +08:00
|
|
|
padding: 10px 10px 35px 10px;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("card");
|
2017-06-12 10:20:14 +08:00
|
|
|
background: $highlight-medium;
|
2018-04-26 09:00:33 +08:00
|
|
|
.hide-preview & {
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2018-04-26 09:00:33 +08:00
|
|
|
}
|
2014-03-07 07:35:47 +08:00
|
|
|
|
|
|
|
&.urgent {
|
2017-06-12 10:20:14 +08:00
|
|
|
background: $danger-low;
|
2014-03-07 07:35:47 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2015-12-04 11:49:55 +08:00
|
|
|
&.education-message {
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $tertiary-low;
|
2015-11-25 19:01:17 +08:00
|
|
|
}
|
|
|
|
|
2013-12-20 02:45:55 +08:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
p {
|
2013-12-20 02:45:55 +08:00
|
|
|
margin-bottom: 10px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a.close {
|
2017-08-19 03:40:34 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
2018-06-30 13:02:10 +08:00
|
|
|
top: 10px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2017-11-08 17:39:26 +08:00
|
|
|
opacity: 0.5;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2017-08-19 03:40:34 +08:00
|
|
|
&:before {
|
2018-06-08 17:49:31 +08:00
|
|
|
content: "esc";
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2017-08-19 03:40:34 +08:00
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a.close:hover {
|
2018-06-08 17:49:31 +08:00
|
|
|
opacity: 1;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.topics {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-weight: normal;
|
2015-06-26 16:53:19 +08:00
|
|
|
margin-top: 8px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.composer-controls {
|
|
|
|
.d-chevron-down {
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
2016-06-07 04:58:35 +08:00
|
|
|
.custom-body {
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $tertiary-low;
|
2016-06-07 04:58:35 +08:00
|
|
|
p {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-10 04:54:33 +08:00
|
|
|
.similar-topics {
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $tertiary-low;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
|
|
|
a[href] {
|
2018-01-19 02:52:40 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-count {
|
2017-10-11 04:07:46 +08:00
|
|
|
background-color: dark-light-choose($tertiary, $tertiary-medium);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2015-06-25 03:08:22 +08:00
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.search-link {
|
2018-06-08 17:49:31 +08:00
|
|
|
.blurb {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-high, $secondary-medium);
|
2015-06-25 03:08:22 +08:00
|
|
|
}
|
2018-10-10 03:38:49 +08:00
|
|
|
.topic-title,
|
|
|
|
.blurb {
|
|
|
|
.fa {
|
|
|
|
color: dark-light-choose($primary-high, $secondary-medium);
|
|
|
|
}
|
|
|
|
}
|
2018-01-19 02:52:40 +08:00
|
|
|
span.topic {
|
|
|
|
display: flex;
|
2018-01-19 02:57:18 +08:00
|
|
|
flex-wrap: wrap;
|
2018-01-19 02:52:40 +08:00
|
|
|
}
|
2015-06-25 03:08:22 +08:00
|
|
|
}
|
2015-09-29 17:14:37 +08:00
|
|
|
.badge-wrapper {
|
2018-01-19 02:52:40 +08:00
|
|
|
margin-left: 5px;
|
2015-09-29 17:14:37 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup:nth-of-type(2) {
|
|
|
|
margin-left: 10px;
|
2015-12-29 05:51:07 +08:00
|
|
|
width: calc(50% - 65px);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.composer-bottom-right {
|
|
|
|
a {
|
2018-01-16 02:37:29 +08:00
|
|
|
color: $primary-high;
|
2017-11-28 04:23:18 +08:00
|
|
|
&:hover {
|
|
|
|
color: $tertiary;
|
2015-11-07 08:10:22 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-08 17:39:26 +08:00
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: right;
|
2014-04-21 23:54:57 +08:00
|
|
|
}
|
2018-10-15 10:59:49 +08: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;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|