Skip to content

Commit 8320a7f

Browse files
committed
Alien:add missing power support
1 parent 879353d commit 8320a7f

File tree

3 files changed

+111
-18
lines changed

3 files changed

+111
-18
lines changed

alien_rpg/alien_rpg.css

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
align-self: start;
7070
min-height: 35rem;
7171
}
72+
.ui-dialog .charactersheet .inventory .input_row {
73+
border: unset;
74+
}
75+
.ui-dialog .charactersheet .inventory button {
76+
font-size: inherit;
77+
}
78+
.ui-dialog .charactersheet .inventory .repitem {
79+
border-bottom: 2px dotted var(--inputBorderColor);
80+
}
7281
.ui-dialog .charactersheet .Health {
7382
width: 60%;
7483
}
@@ -645,6 +654,7 @@
645654
font-size: 12px;
646655
line-height: 1;
647656
width: 15px;
657+
color: var(--brightTextColor);
648658
}
649659
.tab.npc.npc .skill_button.skill_button label.__big:focus, .tab.npc.npc .skill_button.skill_button label.__big:focus-within, .tab.npc.npc .skill_button.skill_button label.__big:hover {
650660
background: var(--hoverHighlightBack);
@@ -1145,6 +1155,9 @@
11451155
.ui-dialog .tab-content .charsheet .tabs__nav-list {
11461156
display: flex;
11471157
}
1158+
.ui-dialog .tab-content .charsheet .second-row {
1159+
margin-top: 5px;
1160+
}
11481161
.ui-dialog .tab-content .charsheet .death-roll {
11491162
position: absolute;
11501163
translate: 0 -100%;
@@ -1470,6 +1483,7 @@ body,
14701483
--col-red: var(--col-1e-red);
14711484
--textColor: var(--col-1e-deep);
14721485
--brightTextColor: var(--col-1e-white);
1486+
--circleInputTextColor: var(--col-1e-white);
14731487
--accentTextColor: var(--col-1e-deep);
14741488
--templateTextColor: var(--col-1e-white);
14751489
--headColor: var(--col-1e-deep);
@@ -1551,7 +1565,8 @@ body:not(.sheet-darkmode):not(.sheet-rolltemplate-darkmode):has(:is(.color-mode[
15511565
--col-teal: var(--col-2e-teal);
15521566
--col-red: var(--col-2e-red);
15531567
--textColor: var(--col-2e-black);
1554-
--brightTextColor: var(--col-2e-deep);
1568+
--brightTextColor: var(--col-2e-light);
1569+
--circleInputTextColor: var(--col-2e-deep);
15551570
--accentTextColor: var(--col-2e-deep);
15561571
--templateTextColor: var(--col-2e-white);
15571572
--headColor: var(--col-2e-black);
@@ -1728,12 +1743,14 @@ body:not(.sheet-darkmode):not(.sheet-rolltemplate-darkmode):has(:is(.color-mode[
17281743
height: 20px;
17291744
display: inline-block;
17301745
}
1731-
.ui-dialog .charactersheet button.roll_icon:hover,
1732-
.sheet-rolltemplate-alien button.roll_icon:hover {
1746+
.ui-dialog .charactersheet button.roll_icon:not(.icon_hover):hover, .ui-dialog .charactersheet button.roll_icon.icon_hover:hover:before,
1747+
.sheet-rolltemplate-alien button.roll_icon:not(.icon_hover):hover,
1748+
.sheet-rolltemplate-alien button.roll_icon.icon_hover:hover:before {
17331749
filter: drop-shadow(0 0 0.25rem white) drop-shadow(0 0 0.25rem var(--hoverHighlightBack)) drop-shadow(0 0 0.5rem var(--hoverHighlightBack)) drop-shadow(0 0 0.5rem white);
17341750
}
1735-
.ui-dialog .charactersheet button.roll_icon:active,
1736-
.sheet-rolltemplate-alien button.roll_icon:active {
1751+
.ui-dialog .charactersheet button.roll_icon:not(.icon_hover):active, .ui-dialog .charactersheet button.roll_icon.icon_hover:active:before,
1752+
.sheet-rolltemplate-alien button.roll_icon:not(.icon_hover):active,
1753+
.sheet-rolltemplate-alien button.roll_icon.icon_hover:active:before {
17371754
filter: brightness(3.5) drop-shadow(0 0 0.25rem white) drop-shadow(0 0 0.25rem var(--hoverHighlightBackStrong)) drop-shadow(0 0 0.5rem var(--hoverHighlightBackStrong)) drop-shadow(0 0 0.5rem white);
17381755
}
17391756
.ui-dialog .charactersheet button.roll_icon[class*=lit],
@@ -2781,7 +2798,7 @@ body:not(.sheet-darkmode):not(.sheet-rolltemplate-darkmode):has(:is(.color-mode[
27812798
text-align: center;
27822799
font-family: var(--font-thick-header);
27832800
font-size: 16px;
2784-
color: var(--brightTextColor);
2801+
color: var(--circleInputTextColor);
27852802
}
27862803
.ui-dialog .charactersheet label.__big:hover::before, .ui-dialog .charactersheet label.__big:focus-within::before,
27872804
.sheet-rolltemplate-alien label.__big:hover::before,

alien_rpg/alien_rpg.html

Lines changed: 82 additions & 10 deletions
Large diffs are not rendered by default.

alien_rpg/translation.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
"ai": "ai",
1212
"air": "air",
1313
"air scrubber": "air scrubber",
14+
"air/power": "air/power",
1415
"always": "always",
1516
"ammo": "ammo",
16-
"ammunition": "ammunition",
17+
"Ammunition": "Ammunition",
1718
"armament": "armament",
1819
"armaments": "armaments",
1920
"armor": "armor",
@@ -165,6 +166,8 @@
165166
"short": "short",
166167
"signature": "signature",
167168
"Signature Item": "Signature Item",
169+
"single shot": "single shot",
170+
"single use": "single use",
168171
"size": "size",
169172
"skill 1": "skill 1",
170173
"skill 2": "skill 2",
@@ -276,5 +279,6 @@
276279
"Edition Based-settings": "Edition Based",
277280
"Game Color Setting-settings": "Game Color Setting",
278281
"drag and drop edition-settings": "Character Drag & Drop Edition",
279-
"NDD Prompt": "Total Time Periods in FTL"
282+
"NDD Prompt": "Total Time Periods in FTL",
283+
"supply roll": "supply roll"
280284
}

0 commit comments

Comments
 (0)