Manage selective fire

This commit is contained in:
2025-06-15 00:30:24 +02:00
parent e0400793ff
commit 9e4d76298c
35 changed files with 654 additions and 122 deletions

View File

@@ -170,10 +170,62 @@ i.fvtt-cthulhu-eternal {
background-position: 0%;
background-size: 100% 100%;
}
.chat-lethal-damage ul {
list-style-type: none;
padding: 0;
margin: 0;
justify-content: center;
align-items: center;
}
.chat-lethal-damage ul .result-lethal {
color: var(--color-critical-failure);
font-family: var(--font-title);
}
.chat-lethal-damage ul .result-non-lethal {
color: var(--color-failure);
font-family: var(--font-title);
}
.chat-lethal-damage ul li {
margin: 0 10px;
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1.02);
}
.fvtt-cthulhu-eternal .protagonist-sheet-common label {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .hp-unconscious {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b4710c;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .hp-dead {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b40000;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .protagonist-luck {
display: flex;
min-width: 8rem;
max-width: 8rem;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .protagonist-luck .rollable:hover,
.fvtt-cthulhu-eternal .protagonist-sheet-common .protagonist-luck .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
font-size: 0.9rem;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .damage-bonus {
display: flex;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .damage-bonus label {
max-width: 5rem;
min-width: 5rem;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .damage-bonus input {
max-width: 2rem;
min-width: 2rem;
}
.fvtt-cthulhu-eternal .vehicle-sheet-common label {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
@@ -203,6 +255,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
overflow: scroll;
}
.fvtt-cthulhu-eternal .protagonist-content .sheet-tabs a {
@@ -250,7 +303,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .protagonist-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -258,6 +311,38 @@ i.fvtt-cthulhu-eternal {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
}
.fvtt-cthulhu-eternal .protagonist-content .hp-unconscious {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b4710c;
}
.fvtt-cthulhu-eternal .protagonist-content .hp-dead {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b40000;
}
.fvtt-cthulhu-eternal .protagonist-content .protagonist-luck {
display: flex;
min-width: 8rem;
max-width: 8rem;
}
.fvtt-cthulhu-eternal .protagonist-content .protagonist-luck .rollable:hover,
.fvtt-cthulhu-eternal .protagonist-content .protagonist-luck .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
font-size: 0.9rem;
}
.fvtt-cthulhu-eternal .protagonist-content .damage-bonus {
display: flex;
}
.fvtt-cthulhu-eternal .protagonist-content .damage-bonus label {
max-width: 5rem;
min-width: 5rem;
}
.fvtt-cthulhu-eternal .protagonist-content .damage-bonus input {
max-width: 2rem;
min-width: 2rem;
}
.fvtt-cthulhu-eternal .sheet-tabs {
background-color: var(--color-light-1);
}
@@ -295,9 +380,6 @@ i.fvtt-cthulhu-eternal {
width: 2rem;
margin-left: 4px;
}
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-left .protagonist-hp .damage-bonus {
font-size: calc(var(--font-size-standard) * 0.8);
}
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-left .protagonist-hp .hp-separator {
font-size: calc(var(--font-size-standard) * 1.2);
display: flex;
@@ -867,6 +949,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
overflow: scroll;
}
.fvtt-cthulhu-eternal .vehicle-content .sheet-tabs a {
@@ -914,7 +997,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .vehicle-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -1124,6 +1207,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
overflow: scroll;
}
.fvtt-cthulhu-eternal .creature-content .sheet-tabs a {
@@ -1171,7 +1255,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .creature-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -1782,6 +1866,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .skill-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -1828,7 +1913,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .skill-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -1876,6 +1961,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .injury-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -1922,7 +2008,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .injury-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -1970,6 +2056,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .weapon-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2016,7 +2103,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .weapon-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2056,6 +2143,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .armor-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2102,7 +2190,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .armor-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2142,6 +2230,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .motivation-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2188,7 +2277,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .motivation-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2228,6 +2317,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .mentaldisorder-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2274,7 +2364,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .mentaldisorder-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2314,6 +2404,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .bond-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2360,7 +2451,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .bond-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2416,6 +2507,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .gear-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2462,7 +2554,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .gear-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2502,6 +2594,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .arcane-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2548,7 +2641,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .arcane-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2588,6 +2681,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .archetype-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2634,7 +2728,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .archetype-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2674,6 +2768,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .ritual-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2720,7 +2815,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .ritual-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2768,6 +2863,7 @@ i.fvtt-cthulhu-eternal {
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .tome-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
@@ -2814,7 +2910,7 @@ i.fvtt-cthulhu-eternal {
}
.fvtt-cthulhu-eternal .tome-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold;
letter-spacing: 1px;
}
@@ -2940,6 +3036,11 @@ i.fvtt-cthulhu-eternal {
margin-left: 2rem;
display: none;
}
.dice-roll .intro-chat .intro-right ul .healing-roll {
font-size: calc(var(--font-size-standard) * 1);
margin-left: 2rem;
display: none;
}
.dice-roll .intro-chat .intro-right ul .roll-damage {
font-size: calc(var(--font-size-standard) * 1);
margin-left: 2rem;