Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix(ui): Remove drop shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent 1fe28a7 commit 73ac39d
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 43 deletions.
3 changes: 0 additions & 3 deletions packages/userscript/source/ui/BonfireSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export class BonfireSettingsUi extends SettingsSectionUi<BonfireSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
this._options.$trigger = this._triggerButton;
Expand Down Expand Up @@ -93,7 +92,6 @@ export class BonfireSettingsUi extends SettingsSectionUi<BonfireSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -379,7 +377,6 @@ export class BonfireSettingsUi extends SettingsSectionUi<BonfireSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$max = maxButton;
Expand Down
5 changes: 0 additions & 5 deletions packages/userscript/source/ui/CraftSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export class CraftSettingsUi extends SettingsSectionUi<CraftSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
this._options.$trigger = this._triggerButton;
Expand Down Expand Up @@ -96,7 +95,6 @@ export class CraftSettingsUi extends SettingsSectionUi<CraftSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -225,7 +223,6 @@ export class CraftSettingsUi extends SettingsSectionUi<CraftSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -309,7 +306,6 @@ export class CraftSettingsUi extends SettingsSectionUi<CraftSettings> {
css: {
cursor: "pointer",
display: "inline-block",
textShadow: "3px 3px 4px gray",
borderBottom: "1px solid rgba(185, 185, 185, 0.7)",
},
});
Expand All @@ -322,7 +318,6 @@ export class CraftSettingsUi extends SettingsSectionUi<CraftSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down
2 changes: 0 additions & 2 deletions packages/userscript/source/ui/DistributeSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export class DistributeSettingsUi extends SettingsSectionUi<DistributeSettings>
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -173,7 +172,6 @@ export class DistributeSettingsUi extends SettingsSectionUi<DistributeSettings>
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$max = maxButton;
Expand Down
1 change: 0 additions & 1 deletion packages/userscript/source/ui/FilterSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export class FiltersSettingsUi extends SettingsSectionUi<FilterSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down
2 changes: 0 additions & 2 deletions packages/userscript/source/ui/OptionsSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export class OptionsSettingsUi extends SettingsSectionUi<OptionsSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -171,7 +170,6 @@ export class OptionsSettingsUi extends SettingsSectionUi<OptionsSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$subTrigger = triggerButton;
Expand Down
4 changes: 0 additions & 4 deletions packages/userscript/source/ui/ReligionSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export class ReligionSettingsUi extends SettingsSectionUi<ReligionSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
this._options.$trigger = this._triggerButton;
Expand Down Expand Up @@ -94,7 +93,6 @@ export class ReligionSettingsUi extends SettingsSectionUi<ReligionSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -333,7 +331,6 @@ export class ReligionSettingsUi extends SettingsSectionUi<ReligionSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", this._options.addition.adore);
this._options.addition.adore.$subTrigger = triggerButtonAdore;
Expand Down Expand Up @@ -380,7 +377,6 @@ export class ReligionSettingsUi extends SettingsSectionUi<ReligionSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", this._options.addition.autoPraise);
this._options.addition.autoPraise.$subTrigger = triggerButtonAutoPraise;
Expand Down
4 changes: 1 addition & 3 deletions packages/userscript/source/ui/SettingsSectionUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export abstract class SettingsSectionUi<TState> {
const item = $("<div/>", {
id: `resource-add-${resource.name}`,
text: ucfirst(resource.title ? resource.title : resource.name),
css: { cursor: "pointer", textShadow: "3px 3px 4px gray" },
css: { cursor: "pointer" },
});

item.on("click", () => {
Expand Down Expand Up @@ -232,7 +232,6 @@ export abstract class SettingsSectionUi<TState> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -328,7 +327,6 @@ export abstract class SettingsSectionUi<TState> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down
3 changes: 0 additions & 3 deletions packages/userscript/source/ui/SpaceSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
this._options.$trigger = this._triggerButton;
Expand Down Expand Up @@ -93,7 +92,6 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -288,7 +286,6 @@ export class SpaceSettingsUi extends SettingsSectionUi<SpaceSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$max = maxButton;
Expand Down
14 changes: 0 additions & 14 deletions packages/userscript/source/ui/TimeControlSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -131,7 +130,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$subTrigger = triggerButton;
Expand All @@ -158,7 +156,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$maximum = maximunButton;
Expand All @@ -184,7 +181,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand All @@ -210,7 +206,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -960,7 +955,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
filter: "grayscale(100%)",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
const spaceButton = $("<div/>", {
Expand All @@ -973,7 +967,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
filter: "grayscale(100%)",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
const resourcesButton = $("<div/>", {
Expand All @@ -985,7 +978,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
const religionButton = $("<div/>", {
Expand All @@ -998,7 +990,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
filter: "grayscale(100%)",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
const timeButton = $("<div/>", {
Expand All @@ -1011,7 +1002,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
filter: "grayscale(100%)",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -1083,7 +1073,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$subTrigger = triggerButton;
Expand Down Expand Up @@ -1184,7 +1173,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
}).data("option", option);
option.$triggerForReset = minButton;
Expand Down Expand Up @@ -1252,7 +1240,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
css: {
cursor: "pointer",
display: "inline-block",
textShadow: "3px 3px 4px gray",
borderBottom: "1px solid rgba(185, 185, 185, 0.7)",
},
});
Expand All @@ -1265,7 +1252,6 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down
2 changes: 0 additions & 2 deletions packages/userscript/source/ui/TimeSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export class TimeSettingsUi extends SettingsSectionUi<TimeSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
this._options.$trigger = this._triggerButton;
Expand Down Expand Up @@ -93,7 +92,6 @@ export class TimeSettingsUi extends SettingsSectionUi<TimeSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down
3 changes: 0 additions & 3 deletions packages/userscript/source/ui/TradingSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export class TradingSettingsUi extends SettingsSectionUi<TradingSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});
this._options.$trigger = this._triggerButton;
Expand Down Expand Up @@ -94,7 +93,6 @@ export class TradingSettingsUi extends SettingsSectionUi<TradingSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down Expand Up @@ -203,7 +201,6 @@ export class TradingSettingsUi extends SettingsSectionUi<TradingSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down
1 change: 0 additions & 1 deletion packages/userscript/source/ui/UnlockingSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export class UnlockingSettingsUi extends SettingsSectionUi<UnlockingSettings> {
display: "inline-block",
float: "right",
paddingRight: "5px",
textShadow: "3px 3px 4px gray",
},
});

Expand Down

0 comments on commit 73ac39d

Please sign in to comment.