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;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-04-21 03:17:11 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
li {
|
2015-06-15 10:59:49 +08:00
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-04-21 03:17:11 +08:00
|
|
|
a[href] {
|
|
|
|
padding: 5px;
|
|
|
|
display: block;
|
|
|
|
span.username {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: darken($primary, 40%);
|
2014-07-05 08:21:58 +08:00
|
|
|
display: inline-block;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
span.name {
|
|
|
|
font-size: 11px;
|
2014-07-05 08:21:58 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 90px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: middle;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
&.selected {
|
2015-05-20 09:10:40 +08:00
|
|
|
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
@include hover {
|
2014-08-12 12:11:58 +08:00
|
|
|
background-color: dark-light-diff($highlight, $secondary, 90%, -80%);
|
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;
|
|
|
|
border-bottom: 2px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
height: 33px;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.ac-wrap {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
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
|
|
|
}
|
|
|
|
a.remove {
|
|
|
|
margin-left: 4px;
|
2014-05-18 16:33:56 +08:00
|
|
|
font-size: 11px;
|
2014-04-21 03:17:11 +08:00
|
|
|
line-height: 10px;
|
2014-05-18 16:33:56 +08:00
|
|
|
padding: 1.5px 1.5px 1.5px 2.5px;
|
|
|
|
border-radius: 12px;
|
2014-04-21 03:17:11 +08:00
|
|
|
width: 10px;
|
|
|
|
display: inline-block;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-04-21 03:17:11 +08:00
|
|
|
&:hover {
|
2014-05-07 11:53:04 +08:00
|
|
|
background-color: scale-color($danger, $lightness: 75%);
|
2014-05-06 13:50:51 +08:00
|
|
|
border: 1px solid scale-color($danger, $lightness: 30%);
|
2014-04-21 03:17:11 +08:00
|
|
|
text-decoration: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger;
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-close-fields {
|
2014-10-11 00:21:44 +08:00
|
|
|
div:not(:first-child) {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
label {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2014-10-11 00:21:44 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
input {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
.examples {
|
2014-10-11 05:32:52 +08:00
|
|
|
color: lighten($primary, 40%);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-auto-close-modal {
|
2014-10-11 00:21:44 +08:00
|
|
|
.btn.pull-right {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.auto-close-fields {
|
|
|
|
i.fa-clock-o {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.143em;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
input {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-11 00:21:44 +08:00
|
|
|
|
|
|
|
.edit-category-modal {
|
|
|
|
.auto-close-fields {
|
|
|
|
input[type=text] {
|
|
|
|
width: 50px;
|
|
|
|
}
|
2015-09-03 06:22:25 +08:00
|
|
|
label {
|
|
|
|
font-size: .929em;
|
|
|
|
}
|
2014-10-11 00:21:44 +08:00
|
|
|
}
|
|
|
|
}
|
2014-10-11 18:46:42 +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
|
|
|
|
2015-09-17 04:04:48 +08:00
|
|
|
#cancel-file-upload {
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft-status, #file-uploading {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2015-09-17 04:04:48 +08:00
|
|
|
|
|
|
|
|