mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 15:39:02 +01:00
Styling improvements
This commit is contained in:
parent
ad9a72d494
commit
52f62014f9
3 changed files with 35 additions and 58 deletions
|
|
@ -1,16 +1,22 @@
|
|||
.theme-light .autocomplete {
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
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-blue, @beige);
|
||||
border-color: light-dark(@dark, @beige);
|
||||
border-radius: 6px;
|
||||
color: light-dark(@beige, @dark);
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
z-index: 200;
|
||||
max-height: 400px !important;
|
||||
overflow-y: auto;
|
||||
font-style: @font-body;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
|
||||
.group {
|
||||
font-weight: bold;
|
||||
|
|
@ -18,22 +24,18 @@
|
|||
padding-left: 8px;
|
||||
}
|
||||
|
||||
div[role='option'] {
|
||||
font-size: 14;
|
||||
padding-left: 16px;
|
||||
li[role='option'] {
|
||||
font-size: 14px;
|
||||
padding-left: 10px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@beige-50, @dark-blue);
|
||||
color: light-dark(@dark, @beige);
|
||||
background-color: light-dark(@dark, @beige);
|
||||
color: light-dark(@beige, var(--color-dark-3));
|
||||
}
|
||||
|
||||
.matched {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
> div {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue