mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[Feature] Damage-Reroll (#753)
* Added rerolls for damage dice in chat * Fixed multiple dice * Added reroll icon * Fixed new style of dialog
This commit is contained in:
parent
2aaab73699
commit
300719c116
28 changed files with 1094 additions and 167 deletions
|
|
@ -35,7 +35,8 @@
|
|||
border-color: transparent;
|
||||
}
|
||||
[data-view-perm='false'] {
|
||||
&[data-perm-hidden='true'], > * {
|
||||
&[data-perm-hidden='true'],
|
||||
> * {
|
||||
display: none;
|
||||
}
|
||||
&::after {
|
||||
|
|
@ -161,7 +162,7 @@
|
|||
color: var(--text-color);
|
||||
font-weight: 700;
|
||||
font-family: 'Cinzel', sans-serif;
|
||||
line-height: .75;
|
||||
line-height: 0.75;
|
||||
|
||||
.roll-result-value {
|
||||
font-size: var(--font-size-24);
|
||||
|
|
@ -191,10 +192,14 @@
|
|||
.roll-die {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
". a a"
|
||||
"c b b";
|
||||
'. a a'
|
||||
'c b b';
|
||||
gap: 3px;
|
||||
|
||||
.reroll-button:hover {
|
||||
filter: drop-shadow(0 0 3px @golden);
|
||||
}
|
||||
|
||||
label {
|
||||
text-align: center;
|
||||
height: var(--font-size-12);
|
||||
|
|
@ -272,7 +277,7 @@
|
|||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(255,255,255,.1);
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.target-img {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue