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-06-12 10:20:14 +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-06-12 10:20:14 +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-10-11 04:07:46 +08:00
|
|
|
background-color: dark-light-choose($highlight-low, $highlight-medium);
|
2014-04-21 03:17:11 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-08 07:38:44 +08:00
|
|
|
#reply-control {
|
|
|
|
.d-editor-textarea-wrapper .spinner {
|
|
|
|
z-index: 1000;
|
|
|
|
margin-top: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-button-bar {
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 5px;
|
2017-06-12 10:20:14 +08:00
|
|
|
border-bottom: 2px solid $primary-low;
|
2015-11-08 07:38:44 +08:00
|
|
|
height: 33px;
|
2017-06-12 10:20:14 +08:00
|
|
|
.btn:hover {
|
|
|
|
color: $primary-low;
|
|
|
|
}
|
2015-11-08 07:38:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2015-10-17 02:57:17 +08:00
|
|
|
}
|
|
|
|
|
2015-11-08 07:38:44 +08:00
|
|
|
|
2015-10-14 01:05:55 +08:00
|
|
|
.saving-text .spinner {
|
|
|
|
display: inline-block;
|
|
|
|
left: 5px;
|
|
|
|
top: 4px;
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
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-06-12 10:20:14 +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-06-12 10:20:14 +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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-14 01:55:47 +08:00
|
|
|
#reply-control {
|
|
|
|
.composer-loading {
|
2014-10-11 19:08:16 +08:00
|
|
|
position: absolute;
|
2014-12-24 15:44:21 +08:00
|
|
|
left: 48%;
|
2014-10-12 14:19:04 +08:00
|
|
|
top: 20%;
|
2014-10-11 19:08:16 +08:00
|
|
|
}
|
2015-09-16 01:28:50 +08:00
|
|
|
.whisper {
|
|
|
|
margin-left: 1em;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2014-10-11 19:08:16 +08:00
|
|
|
}
|
2015-01-12 18:24:06 +08:00
|
|
|
|
2016-12-05 20:31:43 +08:00
|
|
|
#reply-control.topic-featured-link-only.open {
|
|
|
|
.wmd-controls { display: none; }
|
|
|
|
}
|
|
|
|
|
2015-09-17 04:04:48 +08:00
|
|
|
#cancel-file-upload {
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft-status, #file-uploading {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2015-09-17 04:04:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.composer-bottom-right {
|
|
|
|
.spinner.small {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
}
|
|
|
|
}
|
2015-09-16 01:28:50 +08:00
|
|
|
|
2015-01-12 18:24:06 +08:00
|
|
|
// this removes the topmost margin from the first element in the topic post
|
|
|
|
// if we don't do this, all posts would have extra space at the top
|
2015-11-04 05:25:37 +08:00
|
|
|
.d-editor-preview > *:first-child {
|
2015-01-12 18:24:06 +08:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.cooked > *:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|