Manage DR and damage roll
This commit is contained in:
@@ -2218,6 +2218,54 @@ i.lethalfantasy {
|
||||
border-color: var(--color-dark-6);
|
||||
color: var(--color-dark-2);
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content {
|
||||
padding: 6px;
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content .header {
|
||||
text-align: center;
|
||||
padding: 4px;
|
||||
margin-bottom: 6px;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content .damage-summary {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 4px 6px;
|
||||
margin-bottom: 6px;
|
||||
background-color: rgba(139, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content .damage-summary .damage-value {
|
||||
color: var(--color-level-error);
|
||||
font-size: calc(var(--font-size-standard) * 1.2);
|
||||
font-weight: bold;
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content .dr-summary {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
gap: 4px;
|
||||
padding: 3px;
|
||||
margin-bottom: 6px;
|
||||
font-size: calc(var(--font-size-standard) * 0.85);
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content .damage-options .option-line {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 3px 6px;
|
||||
margin: 2px 0;
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.dialog.lethalfantasy .apply-damage-dialog .dialog-content .damage-options .option-line strong {
|
||||
color: var(--color-dark-1);
|
||||
font-size: calc(var(--font-size-standard) * 1.05);
|
||||
}
|
||||
.lethalfantasy-roll-dialog fieldset {
|
||||
padding: 4px;
|
||||
}
|
||||
@@ -2261,9 +2309,16 @@ i.lethalfantasy {
|
||||
min-width: 5rem;
|
||||
max-width: 5em;
|
||||
}
|
||||
.dialog-form .form-footer {
|
||||
padding: 4px;
|
||||
gap: 4px;
|
||||
}
|
||||
.dialog-form .form-footer button {
|
||||
min-width: 14rem;
|
||||
min-height: 3.2rem;
|
||||
min-width: 8rem;
|
||||
min-height: 2rem;
|
||||
padding: 2px 6px;
|
||||
margin: 0;
|
||||
font-size: calc(var(--font-size-standard) * 0.9);
|
||||
}
|
||||
.dialog-modifier {
|
||||
display: flex;
|
||||
@@ -2356,6 +2411,62 @@ i.lethalfantasy {
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
text-shadow: 0 0 10px var(--color-shadow-primary);
|
||||
}
|
||||
.dice-roll .damage-result {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
}
|
||||
.dice-roll .damage-result ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.dice-roll .damage-result .li-apply-wounds {
|
||||
list-style: none;
|
||||
margin-top: 10px;
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
.dice-roll .damage-result .li-apply-wounds > div:first-child {
|
||||
font-weight: bold;
|
||||
margin-bottom: 8px;
|
||||
font-size: calc(var(--font-size-standard) * 0.95);
|
||||
text-align: center;
|
||||
}
|
||||
.dice-roll .damage-result .li-apply-wounds .combatants-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 6px;
|
||||
margin-top: 5px;
|
||||
padding: 8px;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 5px;
|
||||
}
|
||||
.dice-roll .damage-result .li-apply-wounds .combatants-grid .apply-wounds-btn {
|
||||
padding: 6px 10px;
|
||||
background: linear-gradient(to bottom, #5a5850 0%, #4b4a44 100%);
|
||||
border: 1px solid #2b2a24;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
color: #f0f0e0;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
font-size: calc(var(--font-size-standard) * 0.85);
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
}
|
||||
.dice-roll .damage-result .li-apply-wounds .combatants-grid .apply-wounds-btn:hover {
|
||||
background: linear-gradient(to bottom, #6a6860 0%, #5a5850 100%);
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
|
||||
transform: translateY(-1px);
|
||||
border-color: #3b3a34;
|
||||
}
|
||||
.dice-roll .damage-result .li-apply-wounds .combatants-grid .apply-wounds-btn:active {
|
||||
transform: translateY(0);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
#token-hud .hp-loss-wrap {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
|
||||
Reference in New Issue
Block a user