176 Zeilen
3 KiB
SCSS
176 Zeilen
3 KiB
SCSS
div.ac-wrap {
|
|
overflow: visible;
|
|
max-height: 150px;
|
|
min-height: 34px;
|
|
background-color: var(--secondary);
|
|
border: 1px solid var(--primary-medium);
|
|
padding: 5px 4px 1px 4px;
|
|
|
|
div.item {
|
|
float: left;
|
|
margin-bottom: 4px;
|
|
margin-right: 10px;
|
|
|
|
span {
|
|
height: 24px;
|
|
display: inline-block;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
.ac-collapsed-button {
|
|
float: left;
|
|
border-radius: 20px;
|
|
position: relative;
|
|
top: -2px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
border: 0;
|
|
}
|
|
|
|
.remove-link {
|
|
margin-left: 4px;
|
|
font-size: $font-down-1;
|
|
line-height: $line-height-small;
|
|
padding: 1px 3.5px;
|
|
border-radius: 12px;
|
|
box-sizing: border-box;
|
|
border: 1px solid var(--primary-low);
|
|
|
|
&:hover {
|
|
background-color: var(--danger-low);
|
|
border: 1px solid var(--danger-medium);
|
|
text-decoration: none;
|
|
color: var(--danger);
|
|
}
|
|
}
|
|
}
|
|
|
|
img.avatar {
|
|
border-radius: 50%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.autocomplete {
|
|
z-index: 999999;
|
|
position: absolute;
|
|
width: 240px;
|
|
background-color: var(--secondary);
|
|
border: 1px solid var(--primary-low);
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
li {
|
|
.d-users {
|
|
color: var(--primary-medium);
|
|
padding: 0 2px;
|
|
}
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
a {
|
|
padding: 5px;
|
|
display: block;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
color: var(--primary);
|
|
|
|
img {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
span.username {
|
|
color: var(--primary);
|
|
vertical-align: middle;
|
|
}
|
|
span.name {
|
|
font-size: $font-down-1;
|
|
vertical-align: middle;
|
|
margin-left: 5px;
|
|
color: var(--primary);
|
|
}
|
|
&.selected {
|
|
background-color: var(--tertiary);
|
|
color: var(--secondary);
|
|
}
|
|
&:hover {
|
|
background-color: var(--highlight-low);
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ac-wrap {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
|
|
.ac-loading {
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 5px;
|
|
}
|
|
|
|
.item {
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.autocomplete {
|
|
width: inherit;
|
|
left: 0 !important;
|
|
width: 100%;
|
|
top: 30px !important;
|
|
box-sizing: border-box;
|
|
|
|
li,
|
|
.no-results {
|
|
padding: 10px;
|
|
}
|
|
|
|
ul > label {
|
|
margin: 5px 0;
|
|
padding: 0 5px;
|
|
font-size: 80%;
|
|
line-height: 1.4em;
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ac-form-result {
|
|
cursor: pointer;
|
|
background-color: var(--secondary);
|
|
display: flex;
|
|
|
|
&:hover,
|
|
&.selected {
|
|
background-color: var(--tertiary);
|
|
color: white;
|
|
|
|
label {
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
label {
|
|
flex: 1 1 auto;
|
|
margin-bottom: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
i {
|
|
margin-right: 5px;
|
|
}
|
|
}
|