mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Added a button to spend/restore uses of an action
This commit is contained in:
parent
d186c62ee5
commit
aef9828f86
7 changed files with 91 additions and 14 deletions
|
|
@ -486,8 +486,43 @@
|
|||
flex-wrap: wrap;
|
||||
margin-top: 2px;
|
||||
|
||||
button {
|
||||
white-space: nowrap;
|
||||
.item-button {
|
||||
display: flex;
|
||||
border: 1px solid light-dark(#18162e, #18162e);
|
||||
color: light-dark(#18162e, #18162e);
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
border-radius: 6px;
|
||||
|
||||
button {
|
||||
padding: 6px 6px 6px 10px;
|
||||
border-radius: 3px 0px 0px 3px;
|
||||
color: light-dark(@dark-blue, @dark-blue);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
font-family: @font-body;
|
||||
|
||||
&:hover {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
padding: 6px;
|
||||
background: light-dark(@dark-blue-10, @golden-secondary);
|
||||
border-radius: 0px 3px 3px 0px;
|
||||
color: light-dark(@dark-blue, @dark-golden);
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@light-black, @dark-blue);
|
||||
color: light-dark(@dark-blue, @golden-secondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.spacer {
|
||||
border-right: 1px solid black;
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,13 +24,15 @@
|
|||
width: 100%;
|
||||
list-style-type: none;
|
||||
|
||||
&:not(.single-img):hover {
|
||||
.inventory-item-header .img-portait {
|
||||
.roll-img {
|
||||
opacity: 1;
|
||||
}
|
||||
.item-img {
|
||||
opacity: 0;
|
||||
&:not(.single-img) {
|
||||
.inventory-item-header:hover {
|
||||
.img-portait {
|
||||
.roll-img {
|
||||
opacity: 1;
|
||||
}
|
||||
.item-img {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
@golden-10: #f3c26710;
|
||||
@golden-40: #f3c26740;
|
||||
@golden-bg: #f3c2671a;
|
||||
@golden-secondary: #eaaf42;
|
||||
|
||||
@chat-blue: #8f87ee;
|
||||
@chat-blue-10: #8f87ee10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue