daggerheart/styles/less/ux/autocomplete/autocomplete.less
WBHarry 6e87e4dad0
[Fix] Downtime Rework (#367)
* Fixed so that the dropdown for activeEffectAutocomplete never ends up behind dialog

* Downtime can now display both ShortRest and LongRest options depending on character rules

* Initial downtime layout rework

* Fixed styling for downtime tooltip

* Added icon to homebrew menu for DowntimeActions

* Fixed columns if both types of moves are not available

* Changed the lightmode to darkmode

* Added downtime buttons

* .

* Moved extra rest options from rules to bonuses

* Improved dialog width
2025-07-17 19:48:59 -03:00

43 lines
1,022 B
Text

.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: 14px;
padding-left: 8px;
}
li[role='option'] {
font-size: 14px;
padding-left: 10px;
cursor: pointer;
&:hover {
background-color: light-dark(@dark, @beige);
color: light-dark(@beige, var(--color-dark-3));
}
> div {
white-space: nowrap;
}
}
}