mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
113 lines
2 KiB
SCSS
113 lines
2 KiB
SCSS
.autocomplete {
|
|
z-index: 999999;
|
|
position: absolute;
|
|
width: 240px;
|
|
background-color: $secondary;
|
|
border: 1px solid scale-color-diff();
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
li {
|
|
border-bottom: 1px solid scale-color-diff();
|
|
a[href] {
|
|
padding: 5px;
|
|
display: block;
|
|
span.username {
|
|
color: darken($primary, 40%);
|
|
}
|
|
span.name {
|
|
font-size: 11px;
|
|
}
|
|
&.selected {
|
|
background-color: scale-color($tertiary, $lightness: 90%);
|
|
}
|
|
@include hover {
|
|
background-color: scale-color($highlight, $lightness: 60%);
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.ac-wrap.disabled {
|
|
input {
|
|
display:none;
|
|
}
|
|
.item a {
|
|
display:none;
|
|
}
|
|
}
|
|
|
|
|
|
div.ac-wrap {
|
|
background-color: $secondary;
|
|
border: 1px solid scale-color-diff();
|
|
padding: 5px 4px 1px 4px;
|
|
div.item {
|
|
float: left;
|
|
margin-bottom: 4px;
|
|
margin-right: 10px;
|
|
span {
|
|
height: 24px;
|
|
display: inline-block;
|
|
line-height: 20px;
|
|
}
|
|
a.remove {
|
|
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;
|
|
border: 1px solid scale-color-diff();
|
|
&:hover {
|
|
background-color: scale-color($danger, $lightness: 75%);
|
|
border: 1px solid scale-color($danger, $lightness: 30%);
|
|
text-decoration: none;
|
|
color: $danger;
|
|
}
|
|
}
|
|
}
|
|
input[type="text"] {
|
|
float: left;
|
|
margin-bottom: 4px;
|
|
height: 24px;
|
|
display: block;
|
|
border: 0;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
#reply-control.topic #wmd-quote-post {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.auto-close-fields {
|
|
input {
|
|
width: 150px;
|
|
}
|
|
.examples {
|
|
margin: 10px 0 0 0;
|
|
color: $primary;
|
|
}
|
|
}
|
|
|
|
.edit-auto-close-modal {
|
|
form {
|
|
margin: 0;
|
|
}
|
|
.auto-close-fields {
|
|
i.fa-clock-o {
|
|
font-size: 16px;
|
|
line-height: 8px;
|
|
}
|
|
input {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|