mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
61 lines
1.4 KiB
Text
61 lines
1.4 KiB
Text
@import '../../utils/colors.less';
|
|
@import '../../utils/fonts.less';
|
|
|
|
.theme-light .autocomplete {
|
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
|
color: black;
|
|
}
|
|
|
|
.autocomplete {
|
|
padding: 2px;
|
|
border-width: 0 1px 1px 1px;
|
|
border-style: solid;
|
|
border-color: light-dark(@dark, @beige);
|
|
border-radius: 6px;
|
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
|
max-height: 400px !important;
|
|
width: fit-content !important;
|
|
overflow-y: auto;
|
|
font-family: @font-body;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
|
|
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
|
|
|
.group {
|
|
font-weight: bold;
|
|
font-size: var(--font-size-14);
|
|
padding-left: 8px;
|
|
}
|
|
|
|
li[role='option'] {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: var(--font-size-14);
|
|
padding: 0 10px;
|
|
cursor: pointer;
|
|
|
|
&:hover,
|
|
&.selected {
|
|
background-color: light-dark(@dark, @beige);
|
|
color: light-dark(@beige, var(--color-dark-3));
|
|
}
|
|
|
|
> div {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
img {
|
|
height: 40px;
|
|
width: 40px;
|
|
border-radius: 50%;
|
|
margin-bottom: 10px;
|
|
|
|
&:first-child {
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|