mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 00:19:03 +01:00
add style to hover items and add start setting to features be expanded by default
This commit is contained in:
parent
68c9cd52ea
commit
7318b7b6da
7 changed files with 60 additions and 2 deletions
|
|
@ -35,6 +35,37 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.inventory-item-header .item-label .item-name .expanded-icon {
|
||||
margin-left: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
&:has(.inventory-item-content.extensible) {
|
||||
.inventory-item-header,
|
||||
.inventory-item-content {
|
||||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
}
|
||||
}
|
||||
&:has(.inventory-item-content.extended) {
|
||||
.inventory-item-header .item-label .item-name .expanded-icon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:has(.inventory-item-content.extensible) {
|
||||
.inventory-item-header {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
.inventory-item-content {
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:has(.inventory-item-content.extensible)) .inventory-item-header {
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.inventory-item-header {
|
||||
|
|
@ -42,6 +73,7 @@
|
|||
align-items: center;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
|
||||
.img-portait {
|
||||
flex: 0 0 40px;
|
||||
|
|
@ -75,6 +107,10 @@
|
|||
|
||||
.item-name {
|
||||
font-size: 14px;
|
||||
|
||||
.expanded-icon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.item-tags,
|
||||
|
|
@ -118,6 +154,11 @@
|
|||
justify-content: end;
|
||||
gap: 8px;
|
||||
|
||||
a {
|
||||
width: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.unequipped {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue