128 lines
2.2 KiB
CSS
128 lines
2.2 KiB
CSS
/* Autocomplete */
|
|
.autocomplete-dropdown {
|
|
position: absolute;
|
|
background: #2a2a2a;
|
|
border: 1px solid #4a9eff;
|
|
border-radius: 6px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
display: none;
|
|
z-index: 10000;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
min-width: 200px;
|
|
}
|
|
|
|
.autocomplete-item {
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
color: #e0e0e0;
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.autocomplete-item:hover,
|
|
.autocomplete-item.selected {
|
|
background: #3a3a3a;
|
|
}
|
|
|
|
.autocomplete-tag {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.autocomplete-count {
|
|
font-size: 11px;
|
|
color: #888;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
/* Category-specific colors */
|
|
.tag-category-1 .autocomplete-tag {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.tag-category-3 .autocomplete-tag {
|
|
color: #b794f4;
|
|
}
|
|
|
|
.tag-category-4 .autocomplete-tag {
|
|
color: #68d391;
|
|
}
|
|
|
|
.tag-category-5 .autocomplete-tag {
|
|
color: #f6e05e;
|
|
}
|
|
|
|
/* Alias display styles */
|
|
.alias-name {
|
|
color: #888;
|
|
font-style: italic;
|
|
}
|
|
|
|
.alias-arrow {
|
|
color: #666;
|
|
}
|
|
|
|
.alias-target {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.category-label {
|
|
font-size: 11px;
|
|
color: #888;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.preset-label {
|
|
font-size: 10px;
|
|
color: #4a9eff;
|
|
font-weight: 600;
|
|
margin-left: 4px;
|
|
padding: 1px 4px;
|
|
background: rgba(74, 158, 255, 0.2);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.autocomplete-dropdown::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.autocomplete-dropdown::-webkit-scrollbar-track {
|
|
background: #1a1a1a;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.autocomplete-dropdown::-webkit-scrollbar-thumb {
|
|
background: #4a4a4a;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
|
|
background: #5a5a5a;
|
|
}
|
|
|
|
/* Thumbnail hover display */
|
|
.autocomplete-thumbnail {
|
|
position: fixed;
|
|
z-index: 1000001;
|
|
display: none;
|
|
background: #2a2a2a;
|
|
border: 1px solid #4a9eff;
|
|
border-radius: 6px;
|
|
padding: 4px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.autocomplete-thumbnail img {
|
|
display: block;
|
|
width: 128px;
|
|
height: 128px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
}
|