Skip to content

Commit 2cf71f9

Browse files
committed
Revert previous common CSS update, with a fix.
1 parent 7fb7216 commit 2cf71f9

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

PROJECT/GPS-PFD/scripts/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@
18341834
ChangeAnim("Ctrl_PFDDefaultPanelHeadingTape", "");
18351835
}
18361836
ChangeRotate("CtrlGroup_PFDDefaultPanelHeadingTape", -PFD0.Stats.Heading.Display);
1837-
ChangeText("Label_PFDDefaultPanelHeadingBalloon", Math.trunc(PFD0.Stats.Heading.Display).padStart(3, "0"));
1837+
ChangeText("Label_PFDDefaultPanelHeadingBalloon", Math.trunc(PFD0.Stats.Heading.Display).toString().padStart(3, "0"));
18381838
} else {
18391839
Show("Ctrl_PFDDefaultPanelHeadingStatus");
18401840
ChangeText("Label_PFDDefaultPanelHeadingStatus", Translate("HeadingUnavailable"));

PROJECT/styles/common.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* {
2121
transform-origin: inherit;
2222
box-sizing: inherit; padding: 0; margin: 0;
23-
color: inherit; font-family: inherit; font-size: inherit; font-style: inherit; /* "Color" needs to be set as inherit for Google Chrome compatibility. The latter 3 properties need to be set as inherit due to buttons. */
23+
font-family: inherit; font-size: inherit; font-style: inherit; /* These 3 properties need to be set as inherit due to buttons. */
2424
transition: inherit; scroll-behavior: inherit;
2525
}
2626
#Html {
@@ -318,6 +318,7 @@
318318
.Textbox {
319319
width: 100%; height: 100%; border: 1px solid #00000040; border-radius: 5px; padding: 5px;
320320
background-color: #FFFFE8;
321+
color: #000000;
321322
}
322323
.Textbox.ShownAsLabel {
323324
border: none;

PROJECT/styles/common_Dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
.Textbox {
8484
border: 1px solid #FFFFFF40;
8585
background-color: #303018;
86+
color: #FFFFFF;
8687
}
8788

8889
/* Floating ctrls */

PROJECT/styles/common_HighContrast.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
.Textbox {
8484
border: 1px solid #FFFFFF;
8585
background-color: #202008;
86+
color: #FFFFFF;
8687
}
8788

8889
/* Floating ctrls */

0 commit comments

Comments
 (0)