diff --git a/public/content.css b/public/content.css index e8e019e2..a4d2dfbd 100644 --- a/public/content.css +++ b/public/content.css @@ -173,6 +173,7 @@ } .sponsorSkipNoticeTableContainer { + color: white; background-color: rgba(28, 28, 28, 0.9); border-radius: 5px; min-width: 100%; @@ -530,6 +531,11 @@ input::-webkit-inner-spin-button { padding: 3px; } +.sponsorTimeEditSelector > option { + background-color: rgba(28, 28, 28, 0.9); + color: white; +} + .helpButton { height: 25px; cursor: pointer; diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 17651e19..42a8d070 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -96,14 +96,6 @@ class SponsorTimeEditComponent extends React.Component { - if (node) { - node.style.setProperty("color", "black", "important"); - node.style.setProperty("text-shadow", "none", "important"); - } - }; // Create time display let timeDisplay: JSX.Element; const timeDisplayStyle: React.CSSProperties = {}; @@ -123,8 +115,8 @@ class SponsorTimeEditComponent extends React.Component {this.handleOnChange(0, e, sponsorTime, e.target.value)}} onWheel={(e) => {this.changeTimesWhenScrolling(0, e, sponsorTime)}}> @@ -138,8 +130,8 @@ class SponsorTimeEditComponent extends React.Component {this.handleOnChange(1, e, sponsorTime, e.target.value)}} onWheel={(e) => {this.changeTimesWhenScrolling(1, e, sponsorTime)}}> @@ -185,6 +177,7 @@ class SponsorTimeEditComponent extends React.Component {this.getCategoryOptions()} @@ -208,6 +201,7 @@ class SponsorTimeEditComponent extends React.Component this.actionTypeSelectionChange(e)}> {this.getActionTypeOptions(sponsorTime)}