discourse/app/assets/stylesheets/common/base/compose.scss
2014-04-21 11:54:57 -04:00

114 lines
2.1 KiB
SCSS

.autocomplete {
z-index: 999999;
position: absolute;
width: 240px;
background-color: $primary_background_color;
border: 1px solid $primary_border_color;
ul {
list-style: none;
padding: 0;
margin: 0;
li {
border-bottom: 1px solid $primary_border_color;
a[href] {
padding: 5px;
display: block;
span.username {
color: $primary_text_color;
}
span.name {
font-size: 11px;
}
&.selected {
background-color: lighten($secondary_background_color, 60%);
}
@include hover {
background-color: lighten($secondary_background_color, 60%);
text-decoration: none;
}
}
}
}
}
div.ac-wrap.disabled {
input {
display:none;
}
.item a {
display:none;
}
}
div.ac-wrap {
background-color: $primary_background_color;
border: 1px solid $primary_border_color;
padding: 5px 10px;
div.item {
float: left;
margin-right: 10px;
margin-bottom: 5px;
span {
padding-left: 5px;
height: 22px;
display: inline-block;
line-height: 22px;
vertical-align: bottom;
}
a.remove {
margin-left: 4px;
font-size: 10px;
line-height: 10px;
padding: 2px 1px 1px 3px;
border-radius: 10px;
width: 10px;
display: inline-block;
border: 1px solid $primary_border_color;
&:hover {
background-color: $warning_background_color;
border: 1px solid $warning_border_color;
text-decoration: none;
color: $warning_text_color;
}
}
}
input[type="text"] {
float: left;
margin-top: 5px;
border: 0;
padding: 0;
margin: 4px 0 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: $secondary_text_color;
}
}
.edit-auto-close-modal {
form {
margin: 0;
}
.auto-close-fields {
i.fa-clock-o {
font-size: 16px;
line-height: 8px;
}
input {
margin: 0;
}
}
}