darkwatch/client/src/components/TalentPicker.module.css

82 lines
1.2 KiB
CSS

.container {
position: relative;
}
.searchInput {
width: 100%;
padding: 0.5rem 0.75rem;
background: #0f1a30;
border: 1px solid #333;
border-radius: 6px;
color: #e0e0e0;
font-size: 0.85rem;
}
.searchInput:focus {
outline: none;
border-color: #c9a84c;
}
.dropdown {
position: absolute;
bottom: 100%;
left: 0;
right: 0;
max-height: 220px;
overflow-y: auto;
background: #16213e;
border: 1px solid #444;
border-radius: 6px;
margin-bottom: 0.25rem;
z-index: 200;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}
.group {
padding: 0.25rem 0;
}
.groupLabel {
font-size: 0.7rem;
font-weight: 700;
color: #c9a84c;
text-transform: uppercase;
padding: 0.25rem 0.75rem;
letter-spacing: 0.05em;
}
.item {
display: flex;
flex-direction: column;
padding: 0.35rem 0.75rem;
cursor: pointer;
font-size: 0.85rem;
}
.item:hover {
background: rgba(201, 168, 76, 0.15);
}
.itemName {
color: #e0e0e0;
font-weight: 600;
}
.itemDesc {
color: #888;
font-size: 0.75rem;
}
.customOption {
padding: 0.5rem 0.75rem;
cursor: pointer;
font-size: 0.85rem;
color: #888;
font-style: italic;
border-top: 1px solid #333;
}
.customOption:hover {
background: rgba(201, 168, 76, 0.15);
color: #c9a84c;
}