2017-11-08 17:39:26 +08:00
|
|
|
#reply-control {
|
|
|
|
background-color: $primary-low;
|
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
bottom: 0;
|
|
|
|
height: 0;
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
transition: height 250ms ease;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 999;
|
|
|
|
|
|
|
|
.toggler,
|
|
|
|
.toggle-toolbar {
|
|
|
|
position: absolute;
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggler {
|
|
|
|
right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-toolbar {
|
|
|
|
right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.saving-text,
|
|
|
|
.draft-text {
|
|
|
|
display: none;
|
|
|
|
padding-left: 10px;
|
|
|
|
.spinner {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
height: 300px;
|
|
|
|
&.edit-title {
|
|
|
|
height: 400px; // more room when editing the title
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.closed {
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.draft,
|
|
|
|
&.saving {
|
|
|
|
height: 40px !important;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.draft {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
.draft-text {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.grippie, .saving-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.toggler {
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.saving .saving-text {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"] {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-to {
|
|
|
|
color: $tertiary;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
i {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.whisper,
|
|
|
|
.display-edit-reason {
|
|
|
|
font-style: italic;
|
|
|
|
color: $primary-medium !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#edit-reason {
|
|
|
|
margin: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-selector,
|
|
|
|
.title-and-category {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title-input {
|
|
|
|
position: relative;
|
|
|
|
.popup-tip {margin-top: -30px;}
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-warning {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#reply-title {
|
|
|
|
width: 400px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-chooser {
|
|
|
|
margin: 5px 0 0 0;
|
|
|
|
flex-basis: 30%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-controls {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-button-bar .btn {
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.save-or-cancel {
|
|
|
|
margin-top: 5px;
|
|
|
|
flex-basis: 50%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
|
|
|
margin-left: 25px;
|
|
|
|
}
|
|
|
|
#file-uploading {
|
|
|
|
display: flex;
|
|
|
|
.spinner {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-bottom-right {
|
|
|
|
flex-basis: 50%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
.toggle-preview {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-tags {
|
|
|
|
.composer-bottom-right {
|
|
|
|
flex-basis: 60%;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.save-or-cancel {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.create {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft-status, #file-uploading {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cooked > *:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.autocomplete {
|
|
|
|
z-index: 999999;
|
|
|
|
position: absolute;
|
|
|
|
width: 240px;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2017-11-08 17:39:26 +08:00
|
|
|
border: 1px solid $primary-low;
|
2014-04-21 03:17:11 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-01-04 11:39:21 +08:00
|
|
|
|
2017-01-04 12:37:02 +08:00
|
|
|
li {
|
2017-07-28 03:03:41 +08:00
|
|
|
.d-icon-users {
|
2015-11-30 14:03:47 +08:00
|
|
|
color: lighten($primary, 40%);
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
2017-01-04 11:39:21 +08:00
|
|
|
|
2017-11-08 17:39:26 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2017-01-04 11:39:21 +08:00
|
|
|
|
|
|
|
a {
|
2014-04-21 03:17:11 +08:00
|
|
|
padding: 5px;
|
|
|
|
display: block;
|
2017-01-04 11:39:21 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
span.username {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: darken($primary, 40%);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
span.name {
|
|
|
|
font-size: 11px;
|
2014-07-05 08:21:58 +08:00
|
|
|
vertical-align: middle;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
&.selected {
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $tertiary-low;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
@include hover {
|
2017-11-08 17:39:26 +08:00
|
|
|
background-color: $highlight-low;
|
2014-04-21 03:17:11 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.ac-wrap.disabled {
|
|
|
|
input {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
.item a {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-09 21:52:04 +08:00
|
|
|
div.ac-wrap div.item a.remove, .remove-link {
|
|
|
|
margin-left: 4px;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 10px;
|
|
|
|
padding: 1.5px 1.5px 1.5px 2.5px;
|
|
|
|
border-radius: 12px;
|
|
|
|
width: 10px;
|
|
|
|
display: inline-block;
|
2017-11-08 17:39:26 +08:00
|
|
|
border: 1px solid $primary-low;
|
2015-11-09 21:52:04 +08:00
|
|
|
&:hover {
|
2017-10-11 04:07:46 +08:00
|
|
|
background-color: $danger-low;
|
|
|
|
border: 1px solid $danger-medium;
|
2015-11-09 21:52:04 +08:00
|
|
|
text-decoration: none;
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
div.ac-wrap {
|
2016-06-28 16:14:06 +08:00
|
|
|
overflow: auto;
|
|
|
|
max-height: 150px;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2017-11-08 17:39:26 +08:00
|
|
|
border: 1px solid $primary-low;
|
2014-05-18 16:33:56 +08:00
|
|
|
padding: 5px 4px 1px 4px;
|
2014-04-21 03:17:11 +08:00
|
|
|
div.item {
|
|
|
|
float: left;
|
2014-05-18 16:33:56 +08:00
|
|
|
margin-bottom: 4px;
|
2014-04-21 03:17:11 +08:00
|
|
|
margin-right: 10px;
|
|
|
|
span {
|
2014-05-18 16:33:56 +08:00
|
|
|
height: 24px;
|
2014-04-21 03:17:11 +08:00
|
|
|
display: inline-block;
|
2014-05-18 16:33:56 +08:00
|
|
|
line-height: 20px;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2016-06-28 16:14:06 +08:00
|
|
|
|
|
|
|
.ac-collapsed-button {
|
|
|
|
float: left;
|
|
|
|
border-radius: 20px;
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
input[type="text"] {
|
|
|
|
float: left;
|
2014-05-18 16:33:56 +08:00
|
|
|
margin-bottom: 4px;
|
|
|
|
height: 24px;
|
|
|
|
display: block;
|
2014-04-21 03:17:11 +08:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-14 22:19:52 +08:00
|
|
|
.future-date-input {
|
2014-04-21 03:17:11 +08:00
|
|
|
.examples {
|
2014-10-11 05:32:52 +08:00
|
|
|
color: lighten($primary, 40%);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2017-11-13 14:52:15 +08:00
|
|
|
|
|
|
|
.md-table {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|