Display avatars in entity search autocomplete
Fixes https://github.com/coreos/bugs/issues/1819
This commit is contained in:
parent
2ef55a5842
commit
fcff867bfd
4 changed files with 57 additions and 36 deletions
|
@ -55,4 +55,53 @@
|
|||
|
||||
.entity-search-element .menuitem .avatar {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.entity-mini-listing {
|
||||
margin: 2px;
|
||||
white-space: nowrap !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.entity-mini-listing i {
|
||||
margin-right: 8px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.entity-mini-listing i.fa {
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
line-height: 16px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.entity-mini-listing i.fa-exclamation-triangle {
|
||||
position: absolute;
|
||||
right: -14px;
|
||||
top: 4px;
|
||||
color: #c09853;
|
||||
}
|
||||
|
||||
.entity-mini-listing i.fa.ci-robot {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.entity-mini-listing i.fa .avatar-image {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.entity-mini-listing .warning {
|
||||
margin-top: 6px;
|
||||
font-size: 10px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.entity-mini-listing span.title {
|
||||
color: #aaa;
|
||||
font-size: 12px;
|
||||
display: block;
|
||||
}
|
Reference in a new issue